/* ==========================================================================
   Xpert-Timer Mobil — Landingpage

   Reihenfolge der Stylesheets: fonts.css, tokens.css, site.css.
   Diese Datei kommt zuletzt und gewinnt daher bei gleicher Spezifität.

   Die goldene --xt-* Palette unten stammt aus Farbschema_Hero_Banner.md und
   gilt nur für die Marketing-Seite. Das Produkt-UI in ui_kits/ nutzt
   stattdessen die blauen Design-System-Tokens aus tokens/colors.css.
   ========================================================================== */

:root {
  /* Primär */
  --xt-primary: #F6C338;
  --xt-primary-hover: #E2B10C;

  /* Text */
  --xt-dark: #22252B;
  --xt-text: #45484D;
  --xt-muted: #8A8F93;
  --xt-white: #FFFFFF;

  /* Sekundär */
  --xt-blue: #6A86B8;
  --xt-blue-light: #D9E8F6;
  --xt-green: #648B43;
  --xt-green-light: #A9C97C;

  /* Flächen */
  --xt-bg: #F7F8F5;
  --xt-border: #ECEEE8;

  /* Layout */
  --wrap: 1200px;
  --gutter: 48px;
  --header-h: 86px;   /* Logo 46px + 2×16px Innenabstand, plus etwas Luft */
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Grundwerte, die Elemente ohne eigene Angabe erben. Ohne die line-height
     greift die Browser-Voreinstellung von etwa 1,2 und alle Textblöcke ohne
     eigenen Zeilenabstand fallen zusammen. */
  font-size: 16px;
  line-height: 1.5;
  background: var(--xt-bg);
  color: var(--color-text-primary);
  /* Kein -webkit-font-smoothing: antialiased — auf Windows wirkungslos, auf
     macOS macht es Text dünner und weicher (wirkt „schwammig"). Ohne die
     Angabe rendert jedes System mit seiner schärfsten Voreinstellung. */
}

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

/* Link-Farben und Unterstreichung stehen in tokens.css */

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

@media (prefers-reduced-motion: no-preference) {
  .xtm-fade { animation: xtmFadeUp 700ms cubic-bezier(0.165, 0.84, 0.44, 1) both; }
  @keyframes xtmFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/*
 * Slot-Bilder: reproduziert den Bildausschnitt, den der Designer im
 * image-slot gesetzt hat.
 *
 * Der Ausschnitt wird über object-position gesteuert, NICHT über eine
 * Verschiebung per transform. Grund: Das Bild ist exakt so groß wie sein
 * Rahmen — jedes Verschieben legt eine Kante frei und hinterlässt einen
 * hellen Streifen. Prozentwerte in object-position interpolieren dagegen
 * zwischen oben- und unten-bündig, und beide decken den Rahmen vollständig
 * ab. Eine Lücke ist damit ausgeschlossen.
 *
 *   --slot-pos   vertikaler Ausschnitt, 0% = oberer Bildrand,
 *                50% = Mitte (Vorgabe), 100% = unterer Bildrand
 *   --slot-s     zusätzlicher Zoom; nur Werte >= 1, da ein Verkleinern
 *                den Rahmen ebenfalls nicht mehr füllen würde
 */
.slot-img,
.benefit-card__frame img,
.process__step > img,
.split__media img,
.testimonial__media img,
.trust-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--slot-pos, 50%);
  transform: scale(var(--slot-s, 1));
}

/* ---------- Wiederverwendbares ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; }

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 88px var(--gutter);
}
.section--flush { padding-top: 0; padding-bottom: 88px; }

.band {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 80px var(--gutter);
}
.band--process { border-bottom: none; padding: 88px var(--gutter) 56px; }

.h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin: 0 0 48px 0;
  line-height: 1.3;
}
.h2--left { text-align: left; margin-bottom: 20px; font-size: 30px; color: var(--xt-dark); }
.h2 span { display: block; }
.h2 .gold, .gold { display: inline; color: var(--xt-primary); font-weight: 800; }

/* Fließende Überschrift: die Teile stehen in einer Zeile und brechen normal um,
   statt dass jeder span eine eigene Zeile bekommt (Gegenstück zu den
   gestapelten Überschriften). */
.h2--flow span { display: inline; }
/* Hält "Xpert-Timer mobil" beim Umbruch zusammen. */
.nowrap { white-space: nowrap; }
.h2--left + .lead { margin-top: 0; }

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 28px 0;
  max-width: 460px;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 28px;
  border-radius: 12px 12px 12px 0;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--duration-fast, 120ms) ease, transform var(--duration-fast, 120ms) ease;
}
.btn--lg { font-size: 16px; }
.btn--gold { background: var(--xt-primary); color: var(--xt-dark); }
.btn--gold:hover { background: var(--xt-primary-hover); color: var(--xt-dark); }
.btn--gold:active { transform: translateY(1px); }
.btn--submit { align-self: flex-start; padding: 12px 32px; font-size: 16px; }

.framed { border-radius: 12px; }

/* Nur für Screenreader — gibt der Schaltfläche einen echten Namen, weil ein
   Pfeil-Zeichen allein nicht vorlesbar ist. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Sprungmarke für die Tastaturbedienung: liegt außerhalb des Bildschirms und
   fährt beim Anfokussieren ein. Muss die erste fokussierbare Stelle sein. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--xt-primary);
  color: var(--xt-dark);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  transition: top var(--duration-fast, 120ms) ease;
}
.skip-link:focus { top: 0; color: var(--xt-dark); }

/* Der Pfeilkreis. Wird als <summary> eines <details> eingesetzt und ist damit
   ohne eigenes JavaScript anklickbar und per Tastatur bedienbar. */
.arrow-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--xt-dark);
  color: var(--xt-dark);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;                 /* Dreieck des Browsers ausblenden */
  transition: transform var(--duration-fast, 120ms) ease,
              background var(--duration-fast, 120ms) ease;
}
.arrow-dot::-webkit-details-marker { display: none; }   /* dasselbe für Safari */
.arrow-dot::after { content: '➜'; line-height: 1; }
.arrow-dot:hover { background: var(--xt-primary); }

/* Aufgeklappt zeigt der Pfeil nach unten. */
details[open] > .arrow-dot { transform: rotate(90deg); }

.trust-more { margin-top: auto; }   /* schiebt den Pfeil ans Kartenende */

/* Zwei Klassen im Selektor, weil sonst .trust-card__body p gewinnt. */
.trust-more .trust-more__lead {
  margin: 14px 0 6px 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-text-primary);
  flex: none;
}
.trust-more__list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-more__list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.trust-more__list ::marker { color: var(--xt-primary); }

/* Noch zu bestätigende Aussagen — vor dem Livegang klären und die Klasse
   samt Markierung entfernen. */
.trust-more__todo {
  background: #FFF7DC;
  border-left: 3px solid var(--xt-primary);
  padding: 6px 10px;
  margin-left: -18px;
  list-style: none;
  border-radius: 0 4px 4px 0;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: transparent;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
/* Logo ist 1626×471 (3,45:1) — bei 46px Höhe rund 159px breit. */
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 46px; width: auto; object-fit: contain; }

.site-header__right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}
.site-header.is-scrolled .site-nav a { color: var(--xt-dark); }
.site-nav a:hover { color: var(--xt-primary-hover); }

/* Seit der SEO-Umstellung echte Links auf / und /en/, keine Schaltflächen
   mehr — Suchmaschinen folgen nur Links. */
.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
  border: 1px solid var(--color-border-default);
  background: transparent;
  color: var(--color-text-secondary);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 6px;
  text-decoration: none;
}
.lang-switch a:hover {
  border-color: var(--xt-primary);
  color: var(--xt-dark);
}
.lang-switch a.is-active {
  border-color: var(--xt-primary);
  background: var(--xt-primary);
  color: var(--xt-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--xt-dark);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.site-header:not(.is-scrolled) .nav-toggle span { background: #000; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../hero-bg.webp');
  background-size: cover;
  background-position: center 15%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.55) 0%, rgba(17,17,17,0.15) 55%, rgba(17,17,17,0) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px var(--gutter);
  width: 100%;
}
.hero__eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--xt-primary);
  margin: 0 0 18px 0;
}
.hero__eyebrow span { font-weight: 800; }
.hero__title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: #fff;
  max-width: 520px;
}
.hero__title span { display: block; }
.hero__inner > .btn { font-size: 16px; padding: 8px 28px; }

/* ---------- Split (Intro / Support) ---------- */

.split {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.split__media { flex: 1 1 420px; min-width: 320px; }
.split__media img { height: 340px; border-radius: 12px; }
.split__body { flex: 1 1 380px; min-width: 320px; }

/* ---------- Trust ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.trust-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px 0 12px 12px;
  overflow: hidden;
  background: var(--color-bg-surface);
}
.trust-card__head {
  display: flex;
  height: 152px;
  border-radius: 10px 0 10px 10px;
  overflow: hidden;
}
.trust-card__photo { flex: 0 0 50%; min-width: 0; position: relative; }
.trust-card__icon {
  flex: 0 0 50%;
  min-width: 0;
  background: var(--xt-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-card__body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.35;
  margin: 0;
}
.trust-card__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  flex: 1;
  margin: 0;
}

/* ---------- Vorteile ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.benefit-card {
  position: relative;
  border-radius: 0 10px 10px 10px;
  overflow: hidden;
  height: 300px;
  display: flex;
  flex-direction: column;
}
.benefit-card__head {
  background: var(--xt-primary);
  color: var(--xt-dark);
  padding: 20px;
  border-radius: 0 10px 0 0;
}
.benefit-card__head h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px 0;
  line-height: 1.25;
}
.benefit-card__head p {
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
}
/* Bezugsrahmen für den Pfeil — bewusst OHNE overflow:hidden, sonst würde die
   obere Hälfte des Kreises abgeschnitten, die über den Goldblock ragt. */
.benefit-card__media { position: relative; flex: 1; min-height: 0; }

/* Das Beschneiden des Bildausschnitts passiert eine Ebene tiefer. */
.benefit-card__frame { position: absolute; inset: 0; overflow: hidden; }

/*
 * Aufklappbarer Beleg je Vorteilskarte.
 *
 * Anders als bei den Trust-Cards wächst die Karte nicht: Der Text legt sich
 * über das Foto. Grund ist die Bauart — der Pfeil sitzt genau auf der Kante
 * zwischen Goldblock und Bild und muss dafür im Bildbereich liegen. Eine
 * <summary> muss aber das erste Kind ihres <details> sein, also liegt auch der
 * aufgeklappte Inhalt dort. Nebeneffekt: Die Kartenreihe bleibt ruhig, weil
 * keine Karte ihre Höhe ändert.
 */
.benefit-more { position: static; }

/* Eng bemessen: Es steht nur die Höhe der Bildfläche zur Verfügung, rund
   180px. Die Texte sind darauf abgestimmt; overflow-y bleibt als Auffangnetz,
   falls eine Übersetzung länger ausfällt. */
.benefit-more__panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(34, 37, 43, 0.94);
  color: #fff;
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.benefit-more__lead {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--xt-primary);
}
.benefit-more__list {
  margin: 0;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.benefit-more__list li {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.benefit-more__list ::marker { color: var(--xt-primary); }
.benefit-more__list b { color: #fff; }

/* Ohne diese Regel wären Links hier unsichtbar: Die globale Linkfarbe ist
   fast schwarz und das Panel hat dunklen Grund. */
.benefit-more__panel a { color: var(--xt-primary); }
.benefit-more__panel a:hover { color: #fff; }

/* Noch zu bestätigende Aussage — Gegenstück zu .trust-more__todo, hier für
   den dunklen Grund. Vor dem Livegang klären und Klasse samt Text entfernen. */
.benefit-more__todo {
  list-style: none;
  margin-left: -16px;
  padding: 6px 10px;
  border-left: 3px solid var(--xt-primary);
  background: rgba(246, 195, 56, 0.14);
  border-radius: 0 4px 4px 0;
  color: #fff;
}

.benefit-card__badge {
  position: absolute;
  z-index: 3;              /* über Bild, Goldblock und aufgeklapptem Text */
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  list-style: none;        /* Dreieck des Browsers ausblenden */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--xt-primary);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform var(--duration-fast, 120ms) ease;
}
.benefit-card__badge::-webkit-details-marker { display: none; }   /* Safari */

/* Die Verschiebung muss mitgeschrieben werden, sonst springt der Kreis beim
   Drehen an die Kante zurück. */
details[open] > .benefit-card__badge { transform: translateY(-50%) rotate(90deg); }

/* ---------- FAQ ---------- */

/* Schmälere Spalte, damit die Fragen als Lesetext gut greifbar bleiben. */
.wrap--narrow { max-width: 820px; }

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--color-border-subtle);
  border-radius: 10px 10px 10px 0;
  background: var(--color-bg-surface);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;                 /* Dreieck des Browsers ausblenden */
}
.faq__q::-webkit-details-marker { display: none; }   /* Safari */

/* Plus-Zeichen rechts, das sich beim Öffnen zum Minus dreht. */
.faq__q::after {
  content: '';
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--xt-dark), var(--xt-dark)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--xt-dark), var(--xt-dark)) center / 2.5px 14px no-repeat;
  transition: transform var(--duration-base, 200ms) var(--ease-standard, ease);
}
.faq__item[open] .faq__q::after { transform: rotate(90deg); }
.faq__item[open] .faq__q { color: var(--xt-primary-hover); }
.faq__q:hover { color: var(--xt-primary-hover); }

.faq__a {
  margin: 0;
  padding: 0 22px 20px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 68ch;
}

/* Noch zu bestätigende Antwort — vor dem Livegang klären und die Klasse
   samt Markierung entfernen. */
.faq__a--todo {
  background: #FFF7DC;
  border-left: 3px solid var(--xt-primary);
  margin: 0 22px 20px 22px;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  color: var(--xt-dark);
}

/* ---------- CTA ---------- */

.cta {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta--tight { padding: 0; margin-top: 56px; }
.cta__text {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  max-width: 560px;
  line-height: 1.5;
}

/* ---------- Prozess ---------- */

.process {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process__step {
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e6e8;
  border-radius: 12px 12px 0 12px;
  overflow: hidden;
  background: var(--color-bg-surface);
}
.process__step > img { height: 220px; flex: 0 0 220px; }
.process__text {
  background: var(--xt-dark);
  color: #fff;
  padding: 22px;
  flex: 1;
  position: relative;
  z-index: 1;
  border-radius: 10px 10px 0 0;
  margin-top: -14px;
}
.process__text h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px 0; }
.process__text p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0; }
.process__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.process__arrow--flip svg { transform: scaleY(-1); }

/* ---------- Testimonial ---------- */

.testimonial {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  flex-wrap: wrap;
  margin: 0;
}
.testimonial__media { position: relative; flex: 1 1 360px; min-height: 280px; }
.testimonial__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.1) 60%);
  pointer-events: none;
}
.testimonial__caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
}
.testimonial__caption a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.testimonial__caption a:hover { color: var(--xt-primary); }
.testimonial__caption span { font-size: 13px; color: rgba(255,255,255,0.8); }
.testimonial__quote {
  flex: 1 1 360px;
  background: var(--xt-dark);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}
.testimonial__quote p {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0 0 20px 0;
}
.testimonial__quote cite {
  font-size: 14px;
  font-style: normal;
  color: rgba(255,255,255,0.7);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.stat {
  background: var(--xt-primary);
  color: var(--xt-dark);
  padding: 28px 24px;
  border-radius: 10px;
}
.stat b { display: block; font-size: 34px; font-weight: 700; line-height: 1; }
.stat span { display: block; font-size: 14px; font-weight: 600; margin-top: 8px; opacity: 0.75; }

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

.contact {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 960px;
}
.contact__intro { flex: 1 1 320px; min-width: 280px; }
.contact__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--xt-dark);
}
.contact__facts li { display: flex; align-items: center; gap: 10px; }
/* nur das Symbol vor der Zeile, nicht der Kontakttext */
.contact__facts span[aria-hidden] { color: var(--xt-primary); font-weight: 700; }
.contact__facts a { color: var(--xt-dark); text-decoration: none; }
.contact__facts a:hover { color: var(--xt-primary-hover); }

/* Fallback-Schreibweise ohne JavaScript ("… [at] …") soll wie Fließtext
   aussehen, nicht wie ein toter Link. */
.js-mail, .js-tel { color: inherit; font-weight: inherit; }

.contact__form {
  flex: 1 1 360px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 45%; min-width: 140px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--xt-dark); }
.field input,
.field textarea,
.captcha input {
  background: #fff;
  border: 1px solid var(--color-border-default);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--xt-dark);
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .captcha input:focus { border-color: var(--xt-primary); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--brand-red); }

.captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha label { font-size: 14px; color: var(--xt-dark); font-weight: 600; }
.captcha input { width: 80px; }

/* Honeypot — für Menschen unsichtbar, für Bots im DOM sichtbar */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg { font-size: 14px; font-weight: 600; margin: 0; }
.form-msg--error { color: var(--brand-red); }
.form-msg--ok { color: var(--xt-green); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-bg-inverse);
  color: rgba(255,255,255,0.75);
  padding: 64px var(--gutter) 32px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-cols h2 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px 0;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-cols li,
.footer-cols address {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  font-style: normal;
}
.footer-cols a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-cols a:hover { color: var(--xt-primary); }
.footer-note {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.heart { color: var(--brand-red); }

/* ---------- Rechtstext-Seiten ---------- */

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) var(--gutter) 88px;
}
.legal h1 { font-size: 34px; font-weight: 700; color: var(--xt-dark); margin: 0 0 32px 0; }
.legal h2 { font-size: 20px; font-weight: 700; color: var(--xt-dark); margin: 40px 0 12px 0; }
.legal h3 { font-size: 16px; font-weight: 700; color: var(--xt-dark); margin: 24px 0 8px 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--color-text-secondary); }
.legal address { font-style: normal; font-size: 16px; line-height: 1.7; color: var(--color-text-secondary); }
.legal .todo {
  background: #FFF7DC;
  border-left: 4px solid var(--xt-primary);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--xt-dark);
  border-radius: 0 6px 6px 0;
}
.legal-back { display: inline-block; margin-top: 48px; font-weight: 600; }

/* Hinweis, dass die Rechtstexte nur auf Deutsch vorliegen (nur bei EN sichtbar) */
.lang-note {
  background: var(--xt-blue-light);
  border-left: 4px solid var(--xt-blue);
  padding: 14px 18px;
  margin: 0 0 32px 0;
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--xt-dark);
}
.lang-note[hidden] { display: none; }

/* Breitere Variante für Seiten im Kartenraster (Impressum) */
.legal--wide { max-width: var(--wrap); }

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}
.legal-col { display: flex; flex-direction: column; gap: 24px; }

.legal-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px 12px 12px 0;
  padding: 24px 28px;
}
.legal-card h2 {
  font-size: 19px;
  margin: 0 0 14px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card p, .legal-card li { font-size: 15px; }
.legal-card address { line-height: 2; font-size: 15px; color: var(--xt-dark); }
.legal-card strong { color: var(--xt-dark); }

/* Zweispaltige Angaben (Telefon, Fax, E-Mail …) */
.legal-facts { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal-facts th {
  text-align: left;
  font-weight: 400;
  color: var(--xt-muted);
  padding: 6px 16px 6px 0;
  white-space: nowrap;
  vertical-align: top;
}
.legal-facts td { padding: 6px 0; color: var(--xt-dark); font-weight: 600; }
.legal-facts a { color: var(--xt-dark); text-decoration: none; }
.legal-facts a:hover { color: var(--xt-primary-hover); }
.legal-facts .muted { display: block; font-weight: 400; color: var(--xt-muted); }

/* ---------- Cookie-Banner ---------- */

/* Das Markup baut consent.js zur Laufzeit. Ausgangszustand: unten außerhalb
   des Bilds, per Transform eingefahren. */
.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;                 /* über allem, auch dem fixen Header */
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 22px;
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-default);
  border-radius: 12px 12px 12px 0;
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(17, 17, 17, 0.16));
  transform: translateY(calc(100% + 24px));
  transition: transform var(--duration-base, 200ms) var(--ease-standard, ease);
}
.cc-banner--open { transform: translateY(0); }

.cc-banner__text {
  flex: 1 1 300px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.cc-banner__text a { white-space: nowrap; }

.cc-banner__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.cc-btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 8px 8px 8px 0;
  cursor: pointer;
  border: 1px solid transparent;
}
.cc-btn--gold { background: var(--xt-primary); color: var(--xt-dark); }
.cc-btn--gold:hover { background: var(--xt-primary-hover); }
/* "Ablehnen" gleichwertig sichtbar — DSGVO verlangt, dass es nicht
   schwerer auffindbar ist als "Akzeptieren". */
.cc-btn--ghost {
  background: transparent;
  color: var(--xt-dark);
  border-color: var(--color-border-default);
}
.cc-btn--ghost:hover { border-color: var(--xt-dark); }

@media (max-width: 520px) {
  .cc-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cc-banner__actions { width: 100%; }
  .cc-btn { flex: 1; text-align: center; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .hero { min-height: 520px; }
  .hero__title { font-size: 36px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-header { padding: 12px var(--gutter); }
  /* etwas kleiner, damit Logo und Burger-Schaltfläche nicht kollidieren */
  .site-header__logo img { height: 40px; }
  .site-header__right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-header__right.is-open { display: flex; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a {
    color: var(--xt-dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .lang-switch { padding-top: 16px; }

  /* Aufgeklapptes Menü ist immer hell — Logo und Burger müssen dunkel sein */
  .site-header.is-open-nav { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
  .site-header.is-open-nav .nav-toggle span { background: var(--xt-dark); }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section, .band { padding-top: 56px; padding-bottom: 56px; }
  .split { gap: 32px; }
  .h2 { font-size: 24px; margin-bottom: 32px; }
  .h2--left { font-size: 24px; }
  .process__arrow { display: none; }
  .testimonial__quote { padding: 32px; }
  .testimonial__quote p { font-size: 18px; }
  .cta__text { font-size: 18px; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .hero { min-height: 460px; }
  .hero__title { font-size: 30px; }
  .field { flex: 1 1 100%; }
  .btn { width: 100%; justify-content: center; }
  .site-header__right .btn { width: auto; }
}

@media print {
  .site-header, .nav-toggle, .lang-switch, .site-footer { display: none; }
}
