.ahse-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ahse-directory-card{display:flex;flex-direction:column;min-width:0;background:var(--surface,#f5f6f7);color:var(--bg,#13264c);border:1px solid var(--line-light,#ccd0d8);border-radius:8px;overflow:hidden;scroll-margin-top:140px}
.ahse-directory-media{margin:0;aspect-ratio:4/3;overflow:hidden;background:#e1e4e8}
.ahse-directory-media img{width:100%;height:100%;object-fit:cover}
.ahse-directory-body{position:relative;display:flex;flex-direction:column;align-items:flex-start;flex-grow:1;padding:24px;gap:16px}
.ahse-directory-number{color:#79572d;font:700 .72rem var(--font-display,Montserrat,sans-serif);letter-spacing:.15em}
.ahse-directory-card h3{font-size:clamp(1.125rem,1.5vw,1.4rem);line-height:1.25;overflow-wrap:anywhere;margin:0;max-width:100%}
.ahse-directory-card p{margin:0;line-height:1.7;flex-grow:1;opacity:.86}
.ahse-directory-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:inherit;font:700 .7rem var(--font-display,Montserrat,sans-serif);letter-spacing:.055em;text-decoration:none;border-bottom:1px solid currentColor}
.ahse-directory-link:hover{color:#79572d}
.ahse-directory-link:focus-visible{outline:3px solid #9b6328;outline-offset:5px}
.ahse-sector-page .hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.ahse-sector-page .hero-copy{min-width:0}
.ahse-sector-page .hero-visual{min-width:0}
.ahse-sector-page .sector-hero-image img{width:100%;height:100%;min-height:420px;object-fit:cover}
.ahse-sector-page .sector-hero-image{overflow:hidden;border:1px solid var(--line-dark);border-radius:8px}
.ahse-sector-page .sector-caption{color:var(--muted-dark);font-size:.8rem;line-height:1.6;margin:12px 0 0}
.ahse-sector-page .sector-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:32px;padding-top:24px;border-top:1px solid var(--line-dark)}
.ahse-sector-page .sector-facts h3{font-size:.875rem;color:var(--accent);line-height:1.5}
.ahse-sector-page .sector-facts p{font-size:.825rem;color:var(--muted-dark);margin:8px 0 0}
.ahse-sector-page .sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ahse-sector-page .sector-card{border-top:1px solid var(--line-light);padding:28px 0;min-width:0}
.ahse-sector-page .section--deep .sector-card{border-color:var(--line-dark)}
.ahse-sector-page .sector-card h3{line-height:1.35;max-width:24ch}
.ahse-sector-page .sector-card p{margin:16px 0 0;opacity:.85}
.ahse-sector-page .sector-card a{margin-top:18px}
.ahse-sector-page .sector-note{padding:24px 28px;border-left:3px solid var(--accent);background:var(--raised);margin-top:36px}
.ahse-sector-page .sector-note p{margin:0;color:var(--muted-dark)}
.ahse-sector-page .ahse-breadcrumbs{margin-bottom:28px}
.ahse-sector-page .ahse-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0;font-size:.7rem;line-height:1.6;color:var(--muted-dark)}
.ahse-sector-page .ahse-breadcrumbs li+li::before{content:'/';margin-inline-end:8px;opacity:.55}
.ahse-sector-page .ahse-breadcrumbs a{display:inline-block;text-decoration:none;padding-block:6px}
.ahse-sector-page .ahse-breadcrumbs [aria-current]{display:inline-block;padding-block:6px}
.ahse-sector-page .sector-faq-intro{max-width:65ch}
.ahse-sector-page .sector-overview-hero h1{max-width:18ch}
.ahse-sector-page .sector-overview-hero .hero-grid{align-items:start}
.ahse-sector-page .sector-overview-panel{padding:32px;border:1px solid var(--line-dark);border-radius:8px;background:var(--raised)}
.ahse-sector-page .sector-overview-panel h2{font-size:clamp(1.5rem,2.5vw,2.5rem)}
.ahse-sector-page .sector-overview-panel p{margin:20px 0 0;color:var(--muted-dark)}
.ahse-sector-page [id]{scroll-margin-top:140px}
@media(min-width:1101px){.ahse-directory:has(>.ahse-directory-card:nth-child(8)){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.ahse-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.ahse-sector-page .sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.ahse-sector-page .hero-grid{grid-template-columns:minmax(0,1fr)}.ahse-sector-page .sector-hero-image img{min-height:0;aspect-ratio:4/3}.ahse-sector-page .hero-visual{max-width:640px;width:100%}.ahse-sector-page .sector-facts{gap:12px}.ahse-sector-page .sector-overview-panel{padding:24px}}
@media(max-width:640px){.ahse-directory,.ahse-sector-page .sector-grid{grid-template-columns:minmax(0,1fr)}.ahse-directory-body{padding:24px}.ahse-sector-page .sector-facts{grid-template-columns:minmax(0,1fr);gap:18px}.ahse-sector-page .sector-card{padding:24px 0}.ahse-sector-page .sector-facts p{margin-top:4px}.ahse-directory-card,.ahse-sector-page [id]{scroll-margin-top:90px}}
@media(prefers-reduced-motion:reduce){.ahse-sector-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Full source documents: native editable content, un-cropped preview media. */
.ahse-source-page :is(h1,h2,h3,p,li,summary,a){overflow-wrap:anywhere;hyphens:auto}
.ahse-source-page .container{width:min(1280px,calc(100% - 48px));margin-inline:auto;padding-inline:0}
.ahse-source-page h1{font-size:clamp(2rem,4.5vw,4.5rem);line-height:1.12}
.ahse-source-page h2{font-size:clamp(1.625rem,3.2vw,2.75rem);line-height:1.2}
.ahse-source-page h3{font-size:clamp(1.15rem,1.8vw,1.5rem);line-height:1.35}
.ahse-source-page .source-intro{line-height:1.75;color:var(--muted-dark);margin-top:20px}
.ahse-source-page .ahse-content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 48px}
.ahse-source-page .ahse-content-grid:has(>.sector-card:only-child){grid-template-columns:minmax(0,1fr);max-width:85ch}
.ahse-source-page .source-list{margin-top:20px;line-height:1.75}
.ahse-source-page .source-list ul{padding-left:1.35em}
.ahse-source-page .source-list li+li{margin-top:8px}
.ahse-source-page .ahse-source-intro{padding:52px 0 16px;background:var(--surface,#f5f6f7);color:var(--bg,#13264c)}
.ahse-source-page img.ahse-document-image,.ahse-source-page .sector-hero-image img.ahse-document-image{display:block;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain}
.ahse-source-page .sector-hero-image img.ahse-document-image{aspect-ratio:auto}
.ahse-source-page .ahse-kb-faq{width:min(1280px,calc(100% - 48px));margin:clamp(56px,7vw,104px) auto;padding:0;background:transparent}
@media(max-width:640px){.ahse-source-page .ahse-kb-faq{width:calc(100% - 40px)}}
.ahse-source-page .ahse-kb-faq h2{max-width:30ch;margin-bottom:32px}
.ahse-source-page .sector-hero-image{margin:0}
.ahse-source-page .ahse-source-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:32px;align-items:start}
.ahse-source-page .ahse-source-gallery:has(>.ahse-source-photo:only-child){max-width:850px;grid-template-columns:minmax(0,1fr)}
.ahse-source-page .ahse-source-photo{margin:0;min-width:0}
.ahse-source-page .section--light .sector-caption{color:#595f6c}
.ahse-source-page .ahse-source-cta{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px}
.ahse-source-page .ahse-source-cta :is(h2,p){flex-basis:100%;margin:0}
.ahse-source-page .button{white-space:normal;max-width:100%;text-align:center}
/* Open-design editorial rhythm: generous headings, readable text, fine gold rules. */
.ahse-source-page > .section{padding-block:clamp(56px,6vw,88px)}
.ahse-source-page .section > .container > h2{max-width:38ch;margin-bottom:36px;font-size:clamp(1.625rem,2.7vw,2.4rem);padding-inline-start:20px;border-inline-start:2px solid var(--accent)}
.ahse-source-page .section > .container > p{max-width:76ch;line-height:1.8;margin-block:20px}
.ahse-source-page .section > .container > .source-list{max-width:76ch}
.ahse-source-page .sector-card h3{max-width:none;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.45}
.ahse-source-page .sector-card h3::before{content:'';display:block;width:26px;height:2px;background:var(--accent);margin-bottom:14px}
.ahse-source-page .sector-card p{line-height:1.8;margin-top:16px}
.ahse-source-page .ahse-content-grid{gap:20px 56px;margin-top:12px}
.ahse-source-page .ahse-source-photo img{border-radius:4px}
.ahse-source-page .ahse-source-cta h2{max-width:32ch;font-size:clamp(1.625rem,3vw,2.7rem)}
.ahse-source-page .ahse-source-cta > p{max-width:76ch;line-height:1.8}
@media(min-width:1000px){.ahse-source-page .ahse-kb-faq{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,2fr);gap:64px;align-items:start}.ahse-source-page .ahse-kb-faq h2{font-size:clamp(1.625rem,2.4vw,2.1rem);line-height:1.35;margin:0}.ahse-source-page .ahse-kb-list{grid-column:2}}
@media(max-width:640px){.ahse-source-page .ahse-content-grid,.ahse-source-page .ahse-source-gallery{grid-template-columns:minmax(0,1fr)}.ahse-source-page .container{width:calc(100% - 40px)}.ahse-source-page .section > .container > h2{padding-inline-start:14px;margin-bottom:28px}}
/* Captions created by the image widget itself use the same quiet style as the existing sector captions on these pages. */
.ahse-sector-page figcaption.image-caption{position:static;inset:auto;max-width:none;padding:0;border:0;background:none;color:var(--muted-dark);font-size:.8rem;line-height:1.6;margin:12px 0 0;font-family:inherit;font-weight:inherit;letter-spacing:normal;text-transform:none}
.ahse-source-page .section--light figcaption.image-caption{color:#595f6c}

/* ===== Branchendetailseiten: gestalterische Aufwertung (22.09.2026). Nur .ahse-source-page, d. h. die acht Branchenunterseiten; Startseite und Branchenübersicht unberührt. ===== */
.ahse-source-page{--sd-line-light:color-mix(in oklch,#13264c 14%,transparent);--sd-line-strong:color-mix(in oklch,#13264c 34%,transparent);--sd-line-dark:color-mix(in oklch,#f5f6f7 18%,transparent);--sd-raised:color-mix(in oklch,#f5f6f7 5%,transparent);--sd-copper-tint:color-mix(in oklch,#d49e5c 14%,transparent);--sd-copper-line:color-mix(in oklch,#d49e5c 46%,transparent);--sd-ease:cubic-bezier(.2,0,0,1)}
/* Hero: klarere Hierarchie der Einleitungsabsätze, gerahmtes Bild mit Goldkante */
.ahse-source-page .page-hero{padding-block:clamp(36px,5vw,80px) clamp(56px,7vw,104px)}
.ahse-source-page .hero-copy .lead{max-width:58ch}
.ahse-source-page .hero-copy .lead:first-of-type{margin-top:26px;font-family:var(--font-display);font-size:clamp(1.12rem,1.5vw,1.38rem);font-weight:500;line-height:1.45;color:var(--fg)}
.ahse-source-page .hero-copy .lead:first-of-type ~ .lead{margin-top:14px;font-size:clamp(.98rem,1.15vw,1.08rem);line-height:1.65}
.ahse-source-page .hero-copy .source-intro{max-width:62ch;margin-top:22px;padding-top:20px;border-top:1px solid var(--sd-line-dark);font-size:.98rem}
.ahse-source-page .hero-actions{margin-top:30px;gap:12px}
.ahse-source-page .hero-actions .button{flex:1 1 220px;max-width:100%}
.ahse-source-page .hero-visual{position:relative;padding:0 10px 10px 0}
.ahse-source-page .sector-hero-image{position:relative;isolation:isolate;overflow:visible;border:1px solid var(--sd-line-dark);border-radius:8px;background:var(--sd-raised);box-shadow:0 28px 64px color-mix(in oklch,#000 32%,transparent)}
.ahse-source-page .sector-hero-image img.ahse-document-image{border-radius:8px}
.ahse-source-page .sector-hero-image::before{content:'';position:absolute;inset:16px -10px -10px 16px;border:1px solid var(--sd-copper-line);border-radius:8px;pointer-events:none;z-index:-1}
.ahse-source-page .sector-hero-image::after{content:'';position:absolute;top:0;left:0;width:72px;height:3px;background:var(--accent);border-radius:8px 0 4px 0}
.ahse-source-page .hero-visual .sector-caption{margin-top:14px}
/* Einleitung mit Themen-Navigation (native Button-Widgets, Anker auf die Abschnitte) */
.ahse-source-page .ahse-source-intro{padding:56px 0 44px}
.ahse-source-page .ahse-source-intro h2{max-width:26ch;margin:0}
.ahse-source-page .sector-toc{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.ahse-source-page .sector-toc__link{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 18px 8px 14px;border:1px solid var(--sd-line-light);border-radius:999px;background:#fff;color:var(--bg);text-decoration:none;font-family:var(--font-display);font-size:.8rem;font-weight:600;line-height:1.3;transition:border-color .22s var(--sd-ease),background .22s var(--sd-ease),color .22s var(--sd-ease)}
.ahse-source-page .sector-toc__link::before{content:'';flex:none;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.ahse-source-page .sector-toc__link:hover{border-color:var(--bg);background:var(--bg);color:var(--fg)}
.ahse-source-page .section--deep .sector-toc__link{background:var(--sd-raised);color:var(--fg);border-color:var(--sd-line-dark)}
.ahse-source-page .section--deep .sector-toc__link:hover{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.ahse-source-page .section > .container > .sector-toc{margin-top:32px}
/* Abschnittsüberschriften: Goldlinie unter der Überschrift statt Randbalken */
.ahse-source-page .section > .container > h2{max-width:28ch;margin-bottom:16px;padding-inline-start:0;border-inline-start:0}
.ahse-source-page .section > .container > h2::after{content:'';display:block;width:64px;height:2px;margin-top:20px;background:var(--accent)}
.ahse-source-page .section > .container > h2 + .ahse-content-grid{margin-top:36px}
/* Karten: gerahmte Informationsblöcke mit Glyphe, ruhiger Hover, dunkle/helle Variante */
.ahse-source-page .ahse-content-grid{gap:20px;margin-top:36px}
.ahse-source-page .sector-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:28px 28px 30px;border:1px solid var(--sd-line-light);border-top:1px solid var(--sd-line-light);border-radius:8px;background:#fff;transition:border-color .22s var(--sd-ease),transform .22s var(--sd-ease),box-shadow .22s var(--sd-ease)}
.ahse-source-page .sector-card::before{content:'';position:absolute;inset-block:28px;inset-inline-start:-1px;width:2px;background:var(--accent);opacity:0;transition:opacity .22s var(--sd-ease)}
.ahse-source-page .sector-card:hover{border-color:var(--sd-line-strong);transform:translateY(-2px);box-shadow:0 18px 40px color-mix(in oklch,#13264c 12%,transparent)}
.ahse-source-page .sector-card:hover::before{opacity:1}
.ahse-source-page .section--deep .sector-card{background:var(--sd-raised);border-color:var(--sd-line-dark)}
.ahse-source-page .section--deep .sector-card:hover{border-color:color-mix(in oklch,#f5f6f7 40%,transparent);box-shadow:0 18px 40px color-mix(in oklch,#000 30%,transparent)}
.ahse-source-page .sector-card__icon,.ahse-source-page .section-icon{display:block;box-sizing:border-box;width:50px;height:50px;padding:12px;border:1px solid var(--sd-copper-line);border-radius:50%;color:var(--accent);flex:none}
.ahse-source-page .sector-card__icon{margin-bottom:18px}
.ahse-source-page .section-icon{margin-bottom:22px}
.ahse-source-page .section--light .sector-card__icon,.ahse-source-page .section--light .section-icon{color:var(--bg);border-color:var(--sd-line-light);background:var(--sd-copper-tint)}
.ahse-source-page .sector-card h3{font-size:clamp(1.08rem,1.35vw,1.28rem);line-height:1.4}
.ahse-source-page .sector-card h3::before{display:none}
.ahse-source-page .sector-card p{margin-top:12px;opacity:1;color:var(--muted-light);font-size:.98rem;line-height:1.75}
.ahse-source-page .section--deep .sector-card p{color:var(--muted-dark)}
.ahse-source-page .sector-card .source-list{margin-top:14px;font-size:.98rem}
.ahse-source-page .sector-card .source-list li+li{margin-top:6px}
.ahse-source-page .ahse-content-grid:has(>.sector-card:only-child){max-width:none}
.ahse-source-page .ahse-content-grid:has(>.sector-card:only-child) .sector-card{max-width:85ch}
/* Prosa-Abschnitte (Überschrift + Fließtext): zweispaltig ab 1000 px, Glyphe und Überschrift links, Text rechts */
.ahse-source-page .section--prose > .container > p{max-width:70ch}
.ahse-source-page .section--prose > .container > .source-list{max-width:70ch}
@media(min-width:1000px){
 .ahse-source-page .section--prose > .container{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:64px;align-items:start}
 .ahse-source-page .section--prose > .container > :is(.section-icon,h2){grid-column:1}
 .ahse-source-page .section--prose > .container > :is(p,.source-list,.sector-toc){grid-column:2}
 .ahse-source-page .section--prose > .container > h2{margin-bottom:0}
 .ahse-source-page .section--prose > .container > p:first-of-type{margin-top:0}
 .ahse-source-page .section--prose > .container > .sector-toc{margin-top:8px}
}
/* Galerie: gerahmte Vorschauen, Wasserzeichen bleiben vollständig sichtbar (object-fit: contain unverändert) */
.ahse-source-page .ahse-source-gallery{gap:28px;margin-top:40px}
.ahse-source-page .ahse-source-photo{padding:12px;border:1px solid var(--sd-line-light);border-radius:8px;background:#fff}
.ahse-source-page .ahse-source-photo img{border-radius:4px}
.ahse-source-page .ahse-source-photo .sector-caption{margin:12px 4px 2px}
/* Abschluss: Panel mit Goldkante, Buttons nebeneinander */
.ahse-source-page .cta-band{padding-block:clamp(40px,5vw,72px)}
.ahse-source-page .cta-band .ahse-source-cta{padding:clamp(28px,4vw,56px);border:1px solid var(--sd-line-dark);border-top:3px solid var(--accent);border-radius:16px;background:var(--sd-raised);gap:16px}
.ahse-source-page .cta-band .ahse-source-cta > p{margin-bottom:12px}
/* FAQ bleibt unverändert; nur Abstand zur Themenfolge */
.ahse-source-page .ahse-kb-faq{margin-top:clamp(48px,6vw,88px)}
/* Tastaturfokus auf hellen Flächen */
.ahse-source-page .section--light :is(a,button,summary):focus-visible,.ahse-source-page .ahse-source-intro :is(a,button):focus-visible{outline:3px solid var(--bg);outline-offset:4px}
/* Mobil: gestapelte Karten, kompakte Chips, volle Buttonbreite */
@media(max-width:800px){.ahse-source-page .hero-visual{padding:0 10px 10px 0;margin-top:8px}}
@media(max-width:640px){
 .ahse-source-page .sector-card{padding:22px 20px 24px}
 .ahse-source-page .sector-card::before{inset-block:22px}
 .ahse-source-page .sector-toc{gap:8px}
 .ahse-source-page .sector-toc__link{font-size:.76rem;padding:6px 14px 6px 12px}
 .ahse-source-page .hero-copy .lead:first-of-type{font-size:1.1rem;margin-top:20px}
 .ahse-source-page .hero-actions .button{flex-basis:100%}
 .ahse-source-page .cta-band .ahse-source-cta{padding:24px 20px 26px}
 .ahse-source-page .cta-band .ahse-source-cta .button{width:100%}
 .ahse-source-page .ahse-source-photo{padding:8px}
 .ahse-source-page .section > .container > h2::after{margin-top:14px;width:48px}
}
@media(max-width:380px){.ahse-source-page .sector-toc__link{max-width:100%;white-space:normal;text-align:left}}
