@import url("../unfallgutachten-obernburg-am-main/leistung.css?v=werkstatt");

/* Gemeinsame Navigation der Unterseiten */
.interior header.mast { background: #111014; color: #fff; }
.mast-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5.1rem; }
.site-nav { display: flex; gap: clamp(.7rem,2.1vw,2rem); align-items: center; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 0; font-size: .94rem; font-weight: 680; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current], .site-nav a.in-section { text-decoration: underline; text-decoration-color: #f5a0a5; text-underline-offset: .45em; }
.site-nav a:last-child { padding-inline: 1.05rem; border: 1px solid #b17b83; }
.mobile-menu { display: none; }
.detail .breadcrumbs { font-size: .86rem; row-gap: .24rem; }
.detail .breadcrumbs [aria-current] { color: inherit; }
.detail .page-intro { background: #f6e5e6; color: #291a1e; padding-block: clamp(2.4rem,5.3vw,5rem); border-bottom: 1px solid #ddc4c9; }
.detail .page-intro .breadcrumbs a { color: #79404b; }
.detail .page-intro h1 { max-width: 21ch; margin: 1.5rem 0 1rem; font-size: clamp(2.35rem,5.1vw,5.1rem); }
.detail .page-intro p { font-size: clamp(1.04rem,1.35vw,1.22rem); line-height: 1.55; max-width: 59ch; }
.detail .editorial { padding-block: clamp(2.8rem,5.3vw,5.4rem); }
.detail .editorial + .editorial, .detail .guide + .editorial { padding-top: 0; }
.detail .editorial > h2, .detail .related h2 { max-width: 26ch; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.detail a.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.15rem,2vw,2rem); text-decoration: none; color: #21181c; border: 1px solid #d7ccce; border-top: 3px solid #aa5361; background: #fffdfb; }
.card:hover { box-shadow: inset 0 0 0 1px #aa5361; }
.detail .card h3 { margin: .6rem 0 .6rem; overflow-wrap: break-word; hyphens: auto; }
.card-topic { color: #884454; font-weight: 700; font-size: .86rem; }
.detail .card p { color: #51494c; margin: 0 0 .75rem; }
.card .arrow { align-self: flex-end; margin-top: auto; font-size: 1.38rem; color: #943f50; }
.text-rows { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.text-rows li { padding: 1.15rem 0; border-top: 1px solid #d9ccce; max-width: 65ch; }
.text-rows li:last-child { padding-bottom: 0; }
.text-rows p { color: #51494c; }
.text-rows.counted { counter-reset: stage; }
.text-rows.counted li { position: relative; padding-left: 2.65rem; counter-increment: stage; }
.text-rows.counted li::before { content: counter(stage,decimal-leading-zero); position: absolute; left: 0; top: 1.15rem; color: #964354; font-weight: 700; font-variant-numeric: tabular-nums; }
.detail .inline-link { display: inline-block; font-weight: 650; margin-top: .4rem; }
.detail .faq { max-width: 83rem; }
.faq details { border-top: 1px solid #d4c7ca; max-width: 55rem; }
.faq details:last-child { border-bottom: 1px solid #d4c7ca; }
.faq summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; cursor:pointer; padding:1rem .15rem; list-style:none; font-weight:680; color:#34252a; }
.faq summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display:none; }
.faq summary::after { content:'+'; color: #983e50; font-size:1.35rem; line-height:1; }
.faq details[open] summary::after { content:'−'; }
.faq details p { max-width: 67ch; padding:0 .2rem 1rem; }
summary:focus-visible { outline: 3px solid #b4495b; outline-offset: 2px; }
.detail .related { padding-block: 1.5rem 3rem; }
.detail .related h2 { font-size: clamp(1.3rem,2.15vw,1.9rem); }
.related > div { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; }
.related a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.article-wrap { display: grid; grid-template-columns: minmax(11rem,.58fr) minmax(0,1.65fr); gap: clamp(2rem,6vw,7rem); padding-block: clamp(2.5rem,5vw,5.2rem); }
.article-wrap .article-nav { display: grid; align-self: start; border-left: 3px solid #e39aa4; gap: .65rem; padding-left: 1.1rem; }
.article-nav strong { color: #66414a; }
.detail .article-body { max-width: 65ch; }
.detail .article-body h2 { font-size: clamp(1.6rem,2.65vw,2.4rem); }
.detail .article-body p { margin-bottom: .8rem; }
.detail .article-body p:last-child { margin-bottom: 0; }
.detail .article-body section { border-top: 1px solid #dbced1; padding: 1.6rem 0; }
.detail .article-body section:first-child { border: 0; padding-top: 0; }
.detail .article-body ul { padding-left: 1.25rem; }
.detail .article-body li + li { margin-top: .5rem; }
.detail .example { padding: 1.05rem 1.25rem; background:#f4e6e8; border-left: 3px solid #b46777; }
.contact-intent { display:flex; flex-wrap:wrap; gap: .5rem 1.1rem; margin-block:1.2rem; }
.contact-intent a { display:inline-flex; align-items:center; min-height:44px; font-weight:650; }
.interior .page-footer { padding: 2.4rem 0 1.4rem; background: #151317; color: #ece5e7; }
.foot-top { display:grid; grid-template-columns:1.35fr 1fr 1fr; gap:2rem; padding-bottom:1.8rem; }
.foot-top p { margin:.5rem 0 0; color:#d8ced1; }
.foot-top nav { display:grid; justify-items:start; align-content:start; gap:.2rem; }
.page-footer a { color:inherit; font-size:.94rem; text-underline-offset:.22em; }
.foot-top a { text-decoration:none; }
.foot-top a:hover { text-decoration:underline; }
.foot-bottom { border-top:1px solid #56464b; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1.4rem; padding-top:1rem; }
.foot-bottom nav { display:flex; flex-wrap:wrap; gap:1.1rem; }
.legal-doc .title { background:#f6e5e6; }
.legal-doc .body { padding-block:clamp(2.3rem,5vw,5rem); }
@media(max-width:880px) {
  .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .mast-row { min-height:4.4rem; position:relative; }
  .wide-nav { display:none; }
  .mobile-menu { display:block; }
  .mobile-menu summary { list-style:none; cursor:pointer; display:flex; align-items:center; min-height:44px; padding:.35rem .9rem; border:1px solid #bd8490; font-weight:650; }
  .mobile-menu summary::after { content:'▾'; margin-left:.45rem; }
  .mobile-menu[open] summary::after { content:'▴'; }
  .mobile-menu .site-nav { position:absolute; z-index:5; top:100%; right:0; display:grid; align-items:stretch; width:min(18rem,100%); gap:0; padding:.55rem 1rem; background:#211a20; box-shadow:0 .5rem 1rem #21151b44; }
  .mobile-menu .site-nav a { border:0; border-bottom:1px solid #54454b; padding:.48rem .1rem; }
  .mobile-menu .site-nav a:last-child { border:0; }
  .article-wrap { grid-template-columns:1fr; gap:2.2rem; }
  .foot-top { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.35rem; }
  .foot-top > div { grid-column:1/-1; }
}
@media(max-width:560px) {
  .cards { grid-template-columns:1fr; }
  .foot-bottom { align-items:flex-start; flex-direction:column; }
}
@media print {
  .mast, .page-footer, .mobile-menu, .article-nav, .related { display:none; }
  .detail .hero figure { position:static; }
  .detail .hero figure img, .detail .hero figure figcaption { display:none; }
  .detail .hero-layout { min-height:0; padding:1rem 0; }
  .detail .hero-copy { max-width:none; }
  .guide,.article-wrap { display:block; }
}

.callback { margin-top: 2rem; }
