/* ==========================================================================
   D&A-Reinigungsservice – Stylesheet
   Design-Tokens und Layout folgen der Designvorlage (siehe README.md).
   ========================================================================== */

/* --- Schrift: lokal eingebunden, kein externer CDN-Aufruf (DSGVO) --------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens --------------------------------------------------------------
   Die Markenfarben sind aus dem Logo gemessen (assets/logo/), siehe
   „Nachtrag: Corporate Design“ in design/DESIGNVORGABE.md. */
:root {
  --navy: #01395C;        /* Logo, linkes Segment: Überschriften, Buttons, Footer */
  --navy-dark: #012840;   /* Hover */
  --blue: #0C8DC4;        /* Logo, mittleres Segment: Akzent, Icons */
  --green: #7CB51A;       /* Logo, rechtes Segment: Akzent, Markierungen */
  --ink: #010B24;         /* Logo, Schriftzug */
  --paper: #F6F9FB;
  --white: #FFFFFF;
  --mist: #E2F0F7;
  --text: #1B2A3A;
  --muted: #56677A;
  --line: #DEE7EE;
  --input-border: #C2D1DD;
  --hover-surface: #EAF2F7;
  --error-bg: #FBEFEA;
  --error-fg: #8A3B22;

  --wrap: 1160px;
  --pad: 20px;
  --header-h: 68px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 1px 2px rgba(1, 57, 92, .05);
  --shadow-lift: 0 12px 30px -14px rgba(1, 57, 92, .3);
  /* Die drei Segmente des Logos als Streifen */
  --brand-stripe: linear-gradient(90deg, var(--navy) 0 33.33%,
    var(--blue) 33.33% 66.66%, var(--green) 66.66% 100%);
}

/* --- Basis --------------------------------------------------------------- */
* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

img, video { display: block; max-width: 100%; }

a { color: var(--navy); }
a:hover { color: var(--navy-dark); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-m);
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background-color .16s ease, border-color .16s ease,
    transform .16s ease, box-shadow .16s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--navy);
  color: #fff;
  font-size: 17px;
  padding: 16px 26px;
  box-shadow: var(--shadow-lift);
}
.btn--primary:hover { background: var(--navy-dark); color: #fff; }

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  font-size: 17px;
  padding: 16px 22px;
  border-color: var(--input-border);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy-dark); }

.btn--sm { font-size: 16px; padding: 12px 18px; border-radius: var(--radius-s); }
.btn--md { font-size: 17px; padding: 14px 24px; }
.btn--block { width: 100%; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-stripe);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo: Bildmarke als Grafik, Schriftzug als Text im Aufbau des Logos */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__logo { width: 48px; height: 48px; flex: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.brand__sub {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  transition: background-color .16s ease;
}
.site-nav__link:hover { background: var(--hover-surface); color: var(--text); }
.site-nav__link[aria-current="page"] { color: var(--navy); font-weight: 700; }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
}
.site-nav__phone { color: var(--navy); font-weight: 700; }

/* Menü-Schalter: erscheint nur mit JavaScript und unterhalb von 1000px */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-s);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s ease;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1000px) and (max-width: 1179px) {
  .site-nav__phone { display: none; }
}

@media (max-width: 999px) {
  /* Ohne JavaScript steht die Navigation als zweite Zeile unter dem Logo. */
  .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  html:not(.js) .site-header__inner { padding-top: 12px; row-gap: 6px; }
  .site-nav {
    order: 10;
    flex: 1 0 100%;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding-bottom: 8px;
  }
  .site-nav__link { padding: 10px; }
  .site-nav__link[aria-current="page"]::after { left: 10px; right: 10px; }

  /* Mit JavaScript klappt sie als Menü unter der Kopfzeile auf. */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    padding: 8px var(--pad) 16px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - var(--header-h) - 4px);
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 30px -22px rgba(1, 57, 92, .45);
  }
  .js .site-header.is-nav-open .site-nav { display: flex; }
  .js .site-nav__link { padding: 13px 14px; font-size: 17px; }
  .js .site-nav__link[aria-current="page"] { background: var(--hover-surface); }
  .js .site-nav__link[aria-current="page"]::after {
    left: 0; right: auto; top: 10px; bottom: 10px;
    width: 3px; height: auto;
  }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  padding-top: 56px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 22px; }
.overline {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--navy);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--blue); }
.hero__lead { margin: 0; font-size: 19px; max-width: 560px; text-wrap: pretty; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}
.hero__hint { margin: 0; font-size: 15px; color: var(--muted); }
.hero__visual { display: flex; flex-direction: column; gap: 14px; }
.owners { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0 4px; }
.owner { display: flex; flex-direction: column; }
.owner__name { font-weight: 700; color: var(--navy); }
.owner__role { font-size: 15px; color: var(--muted); }

/* --- Vertrauensleiste ---------------------------------------------------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 0 0 8px;
  margin: 0;
  list-style: none;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.trust svg { flex: none; color: var(--green); }

/* --- Medien mit KI-Kennzeichnung ----------------------------------------- */
.media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--mist);
  isolation: isolate;
}
.media--card { border-radius: 0; }
.media__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--mist);
}
.media--card .media__frame { aspect-ratio: 16 / 9; }
.media__video,
.media__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__video { opacity: 0; transition: opacity .5s ease; }
.media__video.is-ready { opacity: 1; }

/* --- Abschnitte ---------------------------------------------------------- */
.section { padding-top: 24px; padding-bottom: 72px; }
/* Erster Abschnitt einer Unterseite: Abstand zur Kopfzeile wie beim Hero */
main > .section:first-child,
.about + .section { padding-top: 56px; }
.section--stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}
.section__head h1,
.about h1 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  text-wrap: balance;
}
/* Kurzer Markenstreifen über dem Seitentitel */
.section__head h1::before,
.about h1::before {
  content: "";
  display: block;
  width: 54px; height: 5px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--brand-stripe);
}
.section__intro { margin: 0; font-size: 18px; text-wrap: pretty; }

/* --- Wegweiser auf der Startseite ---------------------------------------- */
.teasers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
/* Dreiergruppen stehen zu dritt nebeneinander oder untereinander, nie 2 + 1 */
@media (min-width: 900px) {
  .teasers, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.teaser {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* Je Kachel ein Segment des Logos */
.teaser::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--navy);
}
.teaser:nth-child(2)::before { background: var(--blue); }
.teaser:nth-child(3)::before { background: var(--green); }
.teaser:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: #C9D8E3;
}
.teaser h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; }
.teaser h2 a { color: var(--navy); text-decoration: none; }
.teaser h2 a::after { content: ""; position: absolute; inset: 0; }
.teaser p { margin: 0; font-size: 17px; text-wrap: pretty; }
.teaser__arrow { margin-top: auto; padding-top: 8px; color: var(--blue); }
.teaser__arrow svg { display: block; transition: transform .2s ease; }
.teaser:hover .teaser__arrow svg { transform: translateX(4px); }

/* --- Leistungen ---------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: #C9D8E3;
}
.card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card__head { display: flex; align-items: center; gap: 12px; }
.card__icon { color: var(--blue); flex: none; }
.card__title { margin: 0; font-size: 22px; font-weight: 700; color: var(--navy); }
.card p { margin: 0; font-size: 17px; text-wrap: pretty; }

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}
.cta-box p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  text-wrap: pretty;
}
.cta-box .btn { white-space: nowrap; }

/* --- Über uns ------------------------------------------------------------ */
.about { background: var(--mist); }
.about__inner {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}
.about__intro { display: flex; flex-direction: column; gap: 18px; }
/* Vollständiges Logo neben der Überleitung zur Anfrage */
.about-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}
.about-brand .cta-box { flex: 1 1 420px; }
.about__logo {
  width: 168px;
  height: auto;
  flex: none;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  background: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
}
.about__text p { margin: 0; text-wrap: pretty; }

/* --- Ablauf -------------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--navy);
}
.steps li:nth-child(2)::after { background: var(--blue); }
.steps li:nth-child(3)::after { background: var(--green); }
.steps__title { margin: 0; font-size: 19px; font-weight: 700; color: var(--navy); }
.steps p { margin: 0; font-size: 16px; text-wrap: pretty; }

/* --- Kontakt / Anfrage --------------------------------------------------- */

.contact {
  padding-top: 56px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-card);
}
.form-card .section__head { gap: 10px; }
.form-card .section__head h1 { font-size: clamp(28px, 3vw, 36px); }
.form-card .section__head h1::before { display: none; }
.form-card__lead { margin: 0; font-size: 17px; text-wrap: pretty; }

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-weight: 700; font-size: 16px; color: var(--navy); }
.field__hint { font-size: 14px; color: var(--muted); }
.field input,
.field textarea {
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  font-family: inherit;
  transition: border-color .16s ease;
}
.field input { height: 52px; padding: 0 14px; }
.field textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.field input:hover, .field textarea:hover { border-color: #A6BBCB; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}
::placeholder { color: #75879A; opacity: 1; }

.form__captcha:empty { display: none; }
.form__captcha { min-height: 65px; }

.form__error {
  margin: 0;
  background: var(--error-bg);
  color: var(--error-fg);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
}
.form__submit {
  height: 56px;
  border: 0;
  border-radius: var(--radius-m);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-lift);
  transition: background-color .16s ease;
}
.form__submit:hover:not(:disabled) { background: var(--navy-dark); }
.form__submit:disabled { opacity: .72; cursor: progress; }
.form__legal { margin: 0; font-size: 14px; color: var(--muted); }
.form__legal a { color: var(--muted); }
.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

.form-success {
  background: var(--mist);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.form-success svg { flex: none; margin-top: 2px; color: var(--navy); }
.form-success p { margin: 0; font-size: 17px; font-weight: 600; color: var(--navy); }

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px 0;
}
.contact__direct { display: flex; flex-direction: column; gap: 12px; }
.contact__direct-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.contact__phone {
  text-decoration: none;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.contact__mail {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.contact__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  font-size: 16px;
}
.contact__facts div { display: flex; flex-direction: column; gap: 4px; }
.contact__facts address { font-style: normal; }
.contact__facts dt,
.fact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #fff; margin-top: auto; }
.site-footer__top {
  padding-top: 32px;
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.footer-brand:hover { color: #fff; }
/* Weiße Scheibe, damit das dunkelblaue Segment auf dem Footer sichtbar bleibt */
.footer-brand__disc {
  width: 56px; height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
}
.footer-brand__disc img { width: 44px; height: 44px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.site-footer__nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}
.site-footer__nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.site-footer :focus-visible { outline-color: #fff; }
/* Trennlinien bündig mit dem Inhalt statt mit dem Außenrand */
.site-footer__note,
.site-footer__inner {
  background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16))
    no-repeat var(--pad) 0 / calc(100% - 2 * var(--pad)) 1px;
}
.site-footer__note { padding-top: 20px; padding-bottom: 18px; }
.site-footer__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
  max-width: 780px;
}
.site-footer__note a { color: rgba(255, 255, 255, .92); white-space: nowrap; }
.site-footer__note a:hover { color: #fff; }
.site-footer__inner {
  padding-top: 20px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}
.site-footer__copy { opacity: .85; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.site-footer__links a:hover { color: #fff; text-decoration: underline; }
.site-footer__spacer { height: 0; transition: height .2s ease; }
body.has-mobile-bar .site-footer__spacer { height: 84px; }

/* --- Mobile Aktionsleiste ------------------------------------------------ */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  transform: translateY(0);
  transition: transform .2s ease;
}
.mobile-bar[hidden] { display: none; }
.mobile-bar a {
  text-decoration: none;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-m);
  font-weight: 700;
  font-size: 16px;
}
.mobile-bar__call {
  border: 1.5px solid var(--input-border);
  color: var(--navy);
  background: var(--white);
}
.mobile-bar__cta { background: var(--navy); color: #fff; }
.mobile-bar__cta:hover { color: #fff; }

/* --- Inhaltsseiten (Impressum, Datenschutz, KI-Transparenz) -------------- */
.page { padding-top: 56px; padding-bottom: 80px; max-width: 760px; }
.page h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
.page h2 {
  margin: 40px 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
}
.page h3 {
  margin: 26px 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}
.page h4 {
  margin: 20px 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.page p, .page li { font-size: 17px; text-wrap: pretty; }
.page ul, .page ol { padding-left: 22px; }
.page li { margin-bottom: 8px; }
.page address { font-style: normal; }
.page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--hover-surface);
  border-radius: 5px;
  padding: 1px 6px;
}
.page .lead { font-size: 19px; color: var(--text); }

.placeholder-note {
  background: #FFF8E8;
  border: 1px solid #E9D9AE;
  border-left: 4px solid #C9992B;
  border-radius: var(--radius-m);
  padding: 18px 20px;
  margin: 24px 0 32px;
  font-size: 16px;
}
.placeholder-note strong { color: #7A5A0E; }
.placeholder-note p { font-size: 16px; margin: 0 0 8px; }
.placeholder-note p:last-child { margin-bottom: 0; }

.todo {
  background: var(--hover-surface);
  border-radius: 6px;
  padding: 1px 7px;
  font-weight: 700;
  color: var(--navy);
  font-size: .95em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* --- Sanftes Einblenden beim Scrollen ------------------------------------ */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Breakpoint ---------------------------------------------------------- */
@media (max-width: 759px) {
  /* Den Button übernimmt hier die mobile Aktionsleiste */
  .site-header__cta { display: none; }
  .site-header__inner { gap: 10px; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: 20px; }
  .brand__sub { font-size: 10px; }
  main > .section:first-child,
  .about + .section { padding-top: 40px; }
  .site-footer__top { padding-top: 28px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__inner { padding-top: 56px; padding-bottom: 56px; }
  .contact { padding-top: 56px; padding-bottom: 64px; }
  .form-card { padding: 24px; }
  .cta-box { padding: 22px; }
  .cta-box .btn { width: 100%; }
}

@media (max-width: 359px) {
  /* Sehr schmale Geräte: Menü-Schalter nur als Symbol, die Beschriftung
     bleibt für Screenreader erhalten */
  .nav-toggle { gap: 0; padding: 0 11px; }
  .nav-toggle__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .btn { display: none !important; }
  body { background: #fff; }
}
