:root {
  --ink: #171c1a;
  --ink-2: #2b322f;
  --paper: #f5f3ee;
  --white: #ffffff;
  --line: #dcd8cf;
  --muted: #69706c;
  --green: #89b952;      /* Logo-Grün */
  --green-deep: #2f4a1f;
  --serif: "Inter Tight", "Inter", system-ui, sans-serif; /* schlanke Grotesk für Überschriften */
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: 24px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green-deep); margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.eyebrow--light { color: rgba(255,255,255,.85); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 2px; background: var(--green); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; transition: background .2s, transform .2s; border: 1px solid var(--green); }
.btn:hover { background: #9dcc66; }
.btn__motion { display: inline-flex; align-items: center; gap: inherit; pointer-events: none; transition: transform .35s var(--ease, ease); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--small { padding: 11px 18px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 40px; padding: 22px var(--gutter); color: #fff; transition: background .3s, padding .3s, color .3s, box-shadow .3s; }
.nav__logo { display:block; flex:0 0 148px; }
.nav__logo img { height:auto; width:148px; }
.nav .logo--dark { display: none; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a, .nav__lang { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .9; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--green); }
.nav__meta { display: flex; align-items: center; gap: 22px; }
.nav.is-solid { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .logo--light { display: none; }
.nav.is-solid .logo--dark { display: block; }
.nav__burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 6px 0; color: inherit; }
@media (min-width:1001px) and (max-width:1250px) {
  .nav { gap:20px; }
  .nav__links { gap:18px; }
  .nav__meta { gap:14px; }
  .nav__links > a, .mega__toggle, .nav__meta .btn { white-space:nowrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #2c2a26; color: #fff; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__hold { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none; }
.hero__hold[hidden] { display:none; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,18,16,.72) 0%, rgba(14,18,16,.35) 45%, rgba(14,18,16,0) 75%),
  linear-gradient(0deg, rgba(14,18,16,.55) 0%, rgba(14,18,16,0) 40%); }
.hero__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(80px, 13vh, 140px); max-width: 760px; }
.hero__title { font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; font-weight: 200; margin-bottom: 28px; }
.hero__title .line { display: block; opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.hero__title .line:nth-child(2) { transition-delay: .35s; font-weight: 400; }
.hero__lead, .hero__cta, .hero .eyebrow { opacity: 0; transition: opacity 1s ease .9s; }
.hero.is-ready .line { opacity: 1; transform: none; }
.hero.is-ready .hero__lead, .hero.is-ready .hero__cta, .hero.is-ready .eyebrow { opacity: 1; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; color: rgba(255,255,255,.88); margin: 0 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__replay { position: absolute; right: var(--gutter); bottom: 36px; background: none; border: 0; color: rgba(255,255,255,.75); font: 500 13px var(--sans); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s; }
.hero__replay:hover { color: #fff; }
.hero.is-ended .hero__replay { opacity: 1; pointer-events: auto; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Vertrauen ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__list li { padding: 30px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list strong { font: 500 22px var(--serif); }
.trust__list span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.trust__datev { flex-direction: row !important; align-items: center; gap: 14px !important; }
.trust__datev img { width: 56px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--ink { background: var(--ink); color: #fff; }
.section--paper { background: var(--paper); }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section__head--row > div { max-width: 720px; }
.section__lead { font-size: 19px; color: var(--muted); margin: 22px 0 0; max-width: 560px; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 4px; white-space: nowrap; }

/* ---------- Leistungen ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.pillar { padding: 36px 32px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar__num { font: 500 14px var(--sans); color: var(--green-deep); }
.pillar h3 { font-size: 44px; margin: 14px 0 10px; }
.pillar__title-link { display: inline-flex; align-items: baseline; gap: .3em; min-height: 44px; text-decoration: none; }
.pillar__title-link > span { font: 400 .5em var(--sans); color: var(--green-deep); }
.pillar__title-link:hover { color: var(--green-deep); }
.pillar__title-link:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 6px; border-radius: 2px; }
.pillar__top p { color: var(--muted); margin: 0 0 26px; min-height: 3.2em; }
.pillar__list { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.pillar__list li { border-top: 1px solid var(--line); }
.pillar__list li:last-child { border-bottom: 1px solid var(--line); }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
.pillar__list summary { padding: 15px 30px 15px 0; position: relative; font-weight: 500; }
.pillar__list summary::after, .faq__list summary::after, .more summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font: 300 22px var(--sans); color: var(--green-deep); transition: transform .25s; }
.pillar__list details[open] summary::after, .faq__list details[open] summary::after, .more[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pillar__list summary:hover { color: var(--green-deep); }
.pillar__list details p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.pillar__list details a { display: inline-block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--green-deep); }
.pillar__more { font-weight: 600; text-decoration: none; color: var(--ink); }
.pillar__more:hover { color: var(--green-deep); }

/* ---------- Anlässe ---------- */
.section--ink h2 { color: #fff; }
.occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.occ { position: relative; background: var(--ink); padding: 34px 30px 70px; text-decoration: none; min-height: 200px; transition: background .25s; }
.occ:hover { background: #222a26; }
.occ__tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.occ h3 { font-size: 26px; margin-top: 14px; color: #fff; }
.occ__arrow { position: absolute; left: 30px; bottom: 26px; font-size: 22px; color: var(--green); transition: transform .25s; }
.occ:hover .occ__arrow { transform: translateX(6px); }

/* ---------- Person ---------- */
.person__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.person__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person blockquote { font: 300 clamp(24px, 2.4vw, 32px)/1.3 var(--serif); margin: 30px 0 18px; padding-left: 24px; border-left: 2px solid var(--green); }
.person__sig { font-weight: 600; margin: 0 0 28px; padding-left: 26px; }
.person__sig span { font-weight: 400; color: var(--muted); font-size: 15px; }
.person__text > p { color: var(--ink-2); }
.more { margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more summary { padding: 16px 30px 16px 0; position: relative; font-weight: 600; }
.timeline { list-style: none; margin: 0 0 20px; padding: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.timeline b { font-weight: 600; color: var(--green-deep); }

/* ---------- Zahlen ---------- */
.numbers { background: var(--paper); padding: 70px 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 24px; }
.numbers strong { font: 300 clamp(64px, 8vw, 108px)/1 var(--serif); letter-spacing: -0.03em; }
.numbers sup { font: 400 24px var(--serif); color: var(--green-deep); vertical-align: top; margin-left: 2px; }
.numbers span { display: block; margin-top: 12px; font-size: clamp(18px,2vw,23px); color: var(--muted); }

/* ---------- Team ---------- */
.team { position: relative; }
.team > img { width: 100%; height: clamp(420px, 62vw, 760px); object-fit: cover; object-position: center 30%; }
.team__card { position: absolute; right: var(--gutter); bottom: clamp(24px, 5vw, 60px); background: #fff; padding: clamp(28px, 3vw, 44px); max-width: 440px; }
.team__card h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 14px; }
.team__card p:last-child { margin: 0; color: var(--ink-2); }

/* ---------- Einblicke ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.post { padding: 26px 26px 30px 0; margin-right: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
.post time { font-size: 13px; color: var(--muted); }
.post h3 { font-size: 22px; flex: 1; }
.post span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px; }
.newsletter { margin-top: 50px; padding: 28px 32px; background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.newsletter strong { display: block; font: 500 22px var(--serif); }
.newsletter span { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: 60px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; padding: 22px 40px 22px 0; font: 400 21px/1.35 var(--serif); }
.faq__list details p { margin: 0 0 24px; color: var(--ink-2); max-width: 640px; }

/* ---------- Kontakt ---------- */
.contact { position: relative; color: #fff; padding: clamp(90px, 12vw, 160px) 0; background: linear-gradient(90deg, rgba(14,18,16,.9) 0%, rgba(14,18,16,.7) 55%, rgba(14,18,16,.45) 100%), url("video/poster-ende.jpg?v=20261123") center / cover; }
.contact__grid { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; }
.contact h2 { color: #fff; }
.contact__lead { font-size: 19px; color: rgba(255,255,255,.82); max-width: 480px; margin-top: 22px; }
.contact__card { background: #fff; color: var(--ink); padding: 40px; }
.contact__big { display: block; font: 400 28px var(--serif); text-decoration: none; }
.contact__big:hover { color: var(--green-deep); }
.contact__card p { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.contact__card hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 60px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 44px; width: auto; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__copy { margin-top: 50px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Leistungsseite ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 170px 0 80px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); }
.page-hero p { font-size: 20px; color: rgba(255,255,255,.8); max-width: 640px; margin: 24px 0 0; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.service { display: grid; grid-template-columns: 4fr 7fr; gap: 60px; padding: 56px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 1px solid var(--ink); }
.service h2 { font-size: clamp(30px, 3vw, 40px); }
.service__summary { font: 400 22px/1.4 var(--serif); margin: 0 0 20px; }
.service__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; list-style: none; padding: 0; margin: 20px 0 22px; }
.service__points li { padding-left: 22px; position: relative; font-size: 15px; }
.service__points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--green); transform: rotate(45deg); }
.service .more p { color: var(--ink-2); font-size: 16px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .nav__links, .nav__meta .btn { display: none; }
  .nav__burger { display: block; color: inherit; }
  .nav__meta { gap: 12px; margin-left: auto; }
  .nav.is-open { background: #fff; color: var(--ink); flex-wrap: wrap; }
  .nav.is-open .logo--light { display: none; }
  .nav.is-open .logo--dark { display: block; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; width: 100%; gap: 18px; padding: 20px 0 10px; order: 5; font-size: 20px; }
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__list li { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .trust__list li:nth-child(-n+2) { border-top: 0; }
  .trust__list li:nth-child(odd) { padding-left: 0; }
  .pillars, .occasions { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child, .pillar:last-child { padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar__top p { min-height: 0; }
  .person__grid, .faq, .contact__grid, .service { grid-template-columns: 1fr; gap: 36px; }
  .person__img { max-width: 460px; }
  .numbers__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .posts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
  .team__card { position: static; max-width: none; margin: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__logo img { height: 32px; }
  .hero { min-height: 560px; }
  .hero__shade { background: linear-gradient(0deg, rgba(14,18,16,.85) 0%, rgba(14,18,16,.45) 55%, rgba(14,18,16,.15) 100%); }
  .hero__content { bottom: 90px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero .eyebrow::before { display: none; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr; }
  .post { margin-right: 0; padding-right: 0; }
  .section__head--row { flex-direction: column; align-items: start; }
  .contact__card { padding: 28px; }
  .contact__big { font-size: 23px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .service__points { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title .line, .hero__lead, .hero__cta, .hero .eyebrow { transition: none; }
  .hero__scroll span { animation: none; }
}

/* ===== Korrekturen nach Review ===== */
/* Bühne und Navigation auf dasselbe Raster wie der Seiteninhalt */
:root { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.nav { padding-left: var(--edge); padding-right: var(--edge); }
.hero__content { left: var(--edge); right: var(--edge); max-width: 1120px; }
.hero__replay { display: none; }
@media (min-width: 641px) { .hero__title .line { white-space: nowrap; } }
.hero__lead { text-shadow: 0 1px 18px rgba(0,0,0,.35); }

/* Pause-Taste fürs Video (WCAG 2.2.2) */
.hero__pause { position: absolute; right: var(--edge); bottom: 30px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.15); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hero__pause:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.i-pause { width: 12px; height: 14px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.i-play { display: none; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }

/* Alte Seiten enthalten diese Ebene noch; sie darf den Loop nicht verdunkeln. */
.hero__seam { display: none; }
.seite-inaktiv-banner { position:fixed; bottom:20px; left:16px; right:16px; width:max-content; max-width:calc(100% - 32px); z-index:100; padding:12px 18px; background:#fff0cb; color:#554000; border:1px solid #e2c97f; border-radius:4px; font:500 15px/1.5 var(--sans); }
.hero__shade, .hero__content, .hero__scroll { z-index: 2; }

/* Sichtbarer Tastaturfokus */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }
summary:focus-visible { outline-offset: -2px; }

/* Sprungziele nicht unter der Navigation */
section[id], details[id] { scroll-margin-top: 96px; }

/* Aktiver Menüpunkt */
.nav__links a.is-current { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--green); text-decoration-thickness: 2px; }

/* Teamkarte überlappt die Tischkante statt Personen */
.team__card { position: relative; right: auto; bottom: auto; margin: -140px var(--edge) 0 auto; max-width: 460px; z-index: 1; box-shadow: 0 30px 60px rgba(0,0,0,.08); }

/* FAQ-Überschrift bleibt beim Lesen stehen */
@media (min-width: 1001px) { .faq .section__head { position: sticky; top: 120px; align-self: start; } }

/* Kurzer Aufmerksamkeitsblink beim Ansprung einer Leistung */
details.is-target { animation: target 1.6s ease; }
@keyframes target { 0%, 40% { background: rgba(137,185,82,.18); } 100% { background: transparent; } }

@media (max-width: 1000px) {
  .team__card { margin: -60px var(--gutter) 0; max-width: none; }
}
@media (max-width: 640px) {
  .hero__pause { bottom: 22px; width: 40px; height: 40px; }
}
.br-m { display: none; }
@media (max-width: 640px) {
  .br-m { display: inline; }
  .hide-m { display: none; }
  .hero__title { font-size: clamp(38px, 11vw, 48px); }
}
/* Mehr Kontrast hinter der Schlagzeile (Türschild im Video ist hell) */
@media (min-width: 641px) {
  .hero__shade { background:
    linear-gradient(90deg, rgba(14,18,16,.78) 0%, rgba(14,18,16,.55) 38%, rgba(14,18,16,.12) 70%, rgba(14,18,16,0) 85%),
    linear-gradient(0deg, rgba(14,18,16,.5) 0%, rgba(14,18,16,0) 40%); }
}

/* Zentrale Login-Adresse und Kanzlei-Hinweise. Ohne Konfiguration kein neues Markup. */
.client-login { display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;font-weight:500; }
.client-login--mobil { display:none; }
.client-login__icon { position:relative;display:inline-block;width:12px;height:10px;border:1.5px solid currentColor;border-radius:2px;flex-shrink:0;margin-top:5px; }
.client-login__icon::before { content:"";position:absolute;bottom:8px;left:1px;width:7px;height:7px;border:1.5px solid currentColor;border-bottom:0;border-radius:6px 6px 0 0; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.kanzlei-band { background:var(--ink,#171c1a);color:#fff;position:relative;z-index:51;padding:8px var(--gutter,6vw);border-bottom:3px solid var(--green,#93c354); }
.kanzlei-hinweis { display:flex;align-items:center;gap:12px;max-width:1400px;margin:auto;font-size:16px;line-height:1.5; }
.kanzlei-hinweis p { margin:4px 0;flex:1;overflow-wrap:anywhere; }
.kanzlei-hinweis a { color:inherit;text-underline-offset:3px; }
.kanzlei-hinweis button { color:inherit;background:transparent;border:1px solid currentColor;border-radius:50%;width:44px;height:44px;flex:0 0 44px;cursor:pointer;font:inherit;font-size:26px; }
.kanzlei-hinweis [hidden],.kanzlei-band[hidden],.kanzlei-hinweis[hidden] { display:none; }
.kanzlei-band + .nav { position:sticky;top:0;background:#fff;color:var(--ink); }
.kanzlei-band + .nav .logo--light { display:none; }
.kanzlei-band + .nav .logo--dark { display:block; }
.kanzlei-kontakt-hinweise { padding:16px;border-left:3px solid var(--green);margin:24px 0;background:var(--paper,#f5f3ee); }
@media (min-width:1001px) and (max-width:1350px) { .nav:has(.client-login) { gap:18px; } .nav:has(.client-login) .nav__links { gap:16px; } .nav:has(.client-login) .nav__meta { gap:12px; } }
@media (max-width:1000px) { .client-login--kopf { display:none; } .nav.is-open .client-login--mobil { display:inline-flex; } }

/* Der Startseiten-Einstieg wächst auf kleinen Displays mit seinem Inhalt. */
@media (max-width: 640px) {
  .home .hero { height: auto; min-height: 100svh; display: flex; align-items: flex-end; padding: 110px var(--gutter) 90px; }
  .home .hero__content { position: relative; left: auto; right: auto; bottom: auto; width: 100%; }
  .home .hero__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .home .faq { grid-template-columns: minmax(0, 1fr); }
  .home .faq__list summary { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
}

/* Client meetings stay in the footer; employee access remains in the header. */
.footer__brand{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.footer__brand .footer__logo{max-width:100%;height:auto;width:163px}
.footer .meeting-entry{display:inline-flex;align-items:center;gap:10px;color:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.35);border-radius:4px;padding:10px 14px;font-size:14px;text-decoration:none;white-space:nowrap;min-height:44px}
.footer .meeting-entry:hover{color:#fff;border-color:#fff;background:rgba(255,255,255,.06)}
.footer .meeting-entry:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.meeting-entry__icon{position:relative;width:15px;height:11px;border:1.5px solid currentColor;border-radius:2px;display:block}
.meeting-entry__icon:after{content:"";position:absolute;left:13px;top:1px;border:4px solid transparent;border-right:5px solid currentColor;transform:translateX(-1px)}
.staff-entry{display:inline-flex;gap:5px;align-items:center;text-decoration:none;white-space:nowrap;font-size:12px;padding:9px 2px;opacity:.85}
.staff-entry:hover{opacity:1;text-decoration:underline}.staff-entry--mobil,.nav__lang--mobil{display:none}
@media(min-width:1001px) and (max-width:1350px){.nav{gap:14px}.nav .nav__links{gap:12px}.nav .nav__meta{gap:9px}.staff-entry{font-size:11px}}
@media(max-width:1000px){.footer__brand{grid-column:1/-1}.nav__meta .staff-entry,.nav__meta .nav__lang{display:none}.nav__links .staff-entry--mobil,.nav__links .nav__lang--mobil{display:block;font-size:16px;padding:12px 0}.nav__meta{gap:10px}.nav{gap:12px}.nav__logo img{height:30px}}
@media(max-width:380px){.nav{padding-left:14px;padding-right:14px;gap:8px}.nav__logo img{height:26px}.nav__meta{gap:8px}}


.staff-entry__icon{display:block;width:10px;height:9px;border:1px solid currentColor;border-radius:1px;position:relative;margin:3px 2px 0}.staff-entry__icon:before{content:"";position:absolute;width:6px;height:6px;left:1px;top:-6px;border:1px solid currentColor;border-radius:5px 5px 0 0}

/* Editable, time-synchronised lettering over the clean Leipzig film. */
.hero__film { display:none; }
.hero.has-film-cues .hero__content { max-width:1120px; }
.hero.has-film-cues .hero__title, .hero.has-film-cues .hero__lead, .hero.has-film-cues .hero__content>.eyebrow { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.hero.has-film-cues .hero__film { display:grid; align-items:end; min-height:240px; margin-bottom:34px; }
.hero__cue { grid-area:1/1; margin:0; opacity:0; visibility:hidden; transform:none; transition:opacity .4s ease,visibility 0s linear .4s; font-size:clamp(36px,5.4vw,84px); line-height:1.08; font-weight:650; letter-spacing:-.035em; text-shadow:0 2px 18px rgba(0,0,0,.35); }
.hero__cue::before { content:''; display:block; width:40px; height:2px; background:var(--green); margin-bottom:24px; }
.hero__cue.is-current { opacity:1; visibility:visible; transform:none; transition:opacity .6s ease .4s,visibility 0s linear 0s; }
.hero__cue>span,.hero__cue>strong { display:block; }
.hero__cue>strong { color:#9bce57; font-weight:650; }
.hero__cue--intro>span { font-size:clamp(11px,1.2vw,18px); letter-spacing:.2em; text-transform:uppercase; line-height:1.5; margin-bottom:14px; }
.hero__cue--intro>strong { font-size:clamp(62px,11vw,160px); color:white; letter-spacing:.02em; }
.hero:has(.hero__film):not(.has-film-cues) .hero__title { font-size:clamp(31px,4.5vw,66px); }
@media(max-width:600px) {
 .hero.has-film-cues .hero__film { min-height:200px; margin-bottom:30px; }
 .hero__cue { font-size:clamp(30px,8.6vw,48px); }
 .hero__cue--intro>span { font-size:11px; letter-spacing:.13em; max-width:290px; }
 .hero__cue--intro>strong { font-size:clamp(52px,17vw,88px); }
 .hero:has(.hero__film):not(.has-film-cues) .hero__title { font-size:clamp(27px,7.5vw,38px); }
}
/* The full, static message remains readable without scripts and in the editor. */
.hero:has(.hero__film):not(.has-film-cues) .line,
.hero:has(.hero__film):not(.has-film-cues) .hero__lead,
.hero:has(.hero__film):not(.has-film-cues) .hero__cta,
.hero:has(.hero__film):not(.has-film-cues) .eyebrow { opacity:1; transform:none; }

/* Optional still-photo entry; no video bytes are requested until a deliberate click. */
.hero__photo { z-index:1; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:55% 40%; }
.hero--bild .hero__video[hidden], .hero--bild .hero__photo[hidden], .hero--bild .hero__pause[hidden], .hero__media-toggle[hidden] { display:none; }
.hero__media-toggle { position:absolute; left:var(--edge); bottom:30px; z-index:3; min-height:44px; padding:10px 17px; border:1px solid rgba(255,255,255,.7); border-radius:4px; background:rgba(14,18,16,.75); color:#fff; font:600 14px/1.4 var(--sans); cursor:pointer; }
.hero__media-toggle:hover { background:rgba(14,18,16,.95); }
@media(max-width:640px){ .hero--bild .hero__scroll { display:none; } }

.hero--bild .hero__title .line, .hero--bild .hero__lead, .hero--bild .hero__cta, .hero--bild .eyebrow { opacity:1; transform:none; }
.hero__media-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

.hero--bild .hero__title .line > span { transform:none; transition:none; }

/* Explicit SVG dimensions avoid a zero-width flex item on narrow headers. */
@media (max-width:1000px) {
  .nav__logo { flex-basis:120px; }
  .nav__logo img { width:120px; height:auto; }
}
@media (max-width:380px) {
  .nav__logo { flex-basis:108px; }
  .nav__logo img { width:108px; height:auto; }
}
