/* ------------------------------------------------------------
   Agentur-Kopf und -Fuß, geteilt von LP und Rechtstext-Seiten.
   (Vorher inline in front-page.php.)
   ------------------------------------------------------------ */
.ist-agentur { --breite: 80rem; }
.ist-agentur .kopf-inner { justify-content: space-between; gap: var(--sp-lg); }

.marke-logo { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; flex: none; }
.marke-mark { color: var(--brand); width: 1.7rem; height: 1.7rem; flex: none; }
.marke-wort { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: var(--ink); text-decoration: none; }
.marke-wort b { color: var(--brand-hell); }

/* Nur über dem Hero (Kopf nicht geschrumpft) sind Schrift und Marke hell, sonst dunkel/lesbar */
.kopfleiste--ueber-hero:not(.ist-geschrumpft) .marke-wort { color: #fff; }
.kopfleiste--ueber-hero:not(.ist-geschrumpft) .marke-mark { color: var(--brand-hell); }
.kopfleiste--ueber-hero:not(.ist-geschrumpft) .nav-schalter { color: #fff; }

/* Solide Kopfleiste auf Seiten ohne Hero (Impressum, Datenschutz) */
.kopfleiste--fest { background: var(--weiss); border-bottom: 1px solid var(--linie); }

.ist-agentur .haupt-nav a:not(.btn) { white-space: nowrap; }
.kopfleiste--ueber-hero.ist-offen .haupt-nav a:not(.btn) { color: var(--ink); }
.kopfleiste.ist-offen .haupt-nav a.btn--voll { color: #fff; }

.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; }
.ist-agentur .nav-schalter { color: var(--ink); }
.nav-schalter .ns-zu { display: none; }
.kopfleiste.ist-offen .nav-schalter .ns-auf { display: none; }
.kopfleiste.ist-offen .nav-schalter .ns-zu { display: inline; }

@media (max-width: 60rem){
  .ist-agentur .kopfleiste.ist-offen .haupt-nav { align-items: center; text-align: center; }
  .ist-agentur .kopfleiste.ist-offen .haupt-nav a.btn { margin-top: var(--sp-2xs); }
}

/* Footer-Logo dunkel (kein Hero) und Tagline unter der Marke */
#footer .marke-wort { color: var(--ink); font-size: 1.3rem; }
#footer .fuss-marke p { color: var(--ink-leise); margin-top: var(--sp-xs); max-width: 22rem; font-size: var(--fs-klein); line-height: var(--lh-mittel); }

/* ── Video-Gate-Modal ("Video ansehen" → E-Mail) ── */
.vg { width: min(30rem, 92vw); max-height: 92vh; overflow-y: auto; border: 0; border-radius: var(--radius-lg); padding: 0; background: var(--weiss); color: var(--ink); box-shadow: 0 30px 70px -20px rgba(20,23,15,.55); }
.vg::backdrop { background: rgba(13,15,11,.55); backdrop-filter: blur(2px); }
.vg__box { position: relative; padding: clamp(1.5rem, 4vw, 2.4rem); display: grid; gap: .5rem; }
.vg__zu { position: absolute; top: .5rem; right: .8rem; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--ink-still); cursor: pointer; }
.vg__zu:hover { color: var(--ink); }
.vg__eyebrow { font-weight: 700; font-size: var(--fs-mikro); letter-spacing: var(--ls-weit);
  text-transform: uppercase; color: var(--brand); margin: 0 0 .35rem; }
.vg__titel { font-family: var(--font-head); font-weight: 800; margin: 0; color: var(--ink);
  font-size: clamp(1.4rem, 1.15rem + 1.3vw, 1.85rem); line-height: 1.16; padding-right: 1.4rem; }
.vg__akz { color: var(--brand); }
.vg__text { color: var(--ink-leise); line-height: var(--lh-mittel); margin: 0 0 .4rem; }
.vg__label { font-size: var(--fs-klein); font-weight: 600; color: var(--ink); }
.vg__input { width: 100%; padding: .8rem .9rem; border: 1px solid var(--linie); border-radius: var(--radius); font: inherit; background: var(--weiss); color: var(--ink); }
.vg__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.vg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vg__konsent { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: start; font-size: var(--fs-klein); color: var(--ink-leise); line-height: var(--lh-mittel); margin: .3rem 0 .5rem; }
.vg__konsent input { margin-top: .2rem; accent-color: var(--brand); }
.vg__konsent a { color: var(--brand); }
.vg__einwilligung { font-size: var(--fs-mikro); color: var(--ink-still); line-height: 1.45; margin: .2rem 0 .1rem; }
.vg__einwilligung a { color: var(--ink-still); text-decoration: underline; text-underline-offset: 2px; }
.vg__einwilligung a:hover { color: var(--brand); }
.vg__senden { width: 100%; justify-content: center; margin-top: .3rem; }
.vg__trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem;
  margin: .7rem 0 0; font-size: var(--fs-mikro); color: var(--ink-still); text-align: center; line-height: 1.4; }
.vg__trust svg { width: .9rem; height: .9rem; color: var(--brand); flex: none; }
.vg__trust a { color: var(--ink-still); text-decoration: underline; text-underline-offset: 2px; }
.vg__trust a:hover { color: var(--brand); }
.vg__status { min-height: 1.2em; margin: .4rem 0 0; font-size: var(--fs-klein); }
.vg__status[data-ton="gut"] { color: var(--brand); }
.vg__status[data-ton="fehler"] { color: #b3261e; }
.vg__status[data-ton="neutral"] { color: var(--ink-still); }
