/* ==========================================================================
   Fullekraft Energieberatung — Stylesheet
   Gestaltungslinie: technisches Dossier. Navy als Träger, warmes Bernstein
   sparsam als Akzent, viel Weißraum, feine Linien, Serifen nur in Headlines.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --navy-900: #0c1c2e;
  --navy-800: #122a44;
  --navy-700: #1b3a5c;
  --navy-100: #dfe7ef;

  --amber-500: #e79a24;
  --amber-600: #c87e0d;
  --amber-100: #fbeed6;
  /* Eigener Ton für kleinen Text auf hellem Grund: amber-600 erreicht dort
     nur 3,1:1, dieser Wert 4,8:1 (WCAG AA). */
  --amber-text: #9a6206;

  --paper: #fbf9f5;
  --paper-alt: #f4f0e9;
  --white: #ffffff;

  --ink: #16273a;
  --ink-muted: #5a6b7d;
  --ink-faint: #5f6e7d;  /* 4,98:1 auf Papier — #8a97a5 lag bei 2,8:1 */

  --line: rgba(18, 42, 68, 0.14);
  --line-soft: rgba(18, 42, 68, 0.08);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto ist Pflicht — die width/height-Attribute im HTML wirken sonst als
   CSS-Höhe und setzen jedes aspect-ratio außer Kraft. */
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--amber-600);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Typo-Skala --------------------------------------------------------- */
.h1, h1 { font-family: var(--font-serif); font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.06; letter-spacing: -0.025em; }
.h2, h2 { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.85rem); line-height: 1.12; letter-spacing: -0.02em; }
.h3, h3 { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.05rem + 0.65vw, 1.55rem); line-height: 1.25; }
.h4, h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.005em; }

.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-text);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 2px;
  background: var(--amber-500);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.muted { color: var(--ink-muted); }
.small { font-size: 0.9375rem; }

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 760px; }

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--tight { padding-block: clamp(2.75rem, 1.75rem + 4vw, 4.5rem); }

/* Navy-Flächen: feines Blaupausen-Raster als Textur, nie als Muster-Tapete. */
.section--navy {
  position: relative;
  background: var(--navy-900);
  color: #e9eff5;
  isolation: isolate;
}
.section--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 20%, transparent 78%);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .lead, .section--navy .muted { color: rgba(233, 239, 245, 0.74); }
.section--navy .eyebrow, .section--navy .card__num { color: var(--amber-500); }

.section--alt { background: var(--paper-alt); }

/* --- Header ------------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
}
.skip:focus { left: 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled='true'] {
  border-bottom-color: var(--line);
  background: rgba(251, 249, 245, 0.95);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 82px;
}

/* Wortmarke — Platzhalter bis die Vektor-Fassung des Logos vorliegt. */
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex: none; }
.logo__mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-900);
  display: grid;
  place-items: center;
  color: var(--amber-500);
}
.logo__mark svg { width: 20px; height: 20px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.logo__sub {
  margin-top: 0.22rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(1rem, 0.3rem + 1.4vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding-block: 0.35rem;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: var(--navy-800); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--navy-900); }

.header__cta { flex: none; }

.burger {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  /* Flex statt Grid: Grid-Zeilen würden sich auf die Buttonhöhe strecken,
     dadurch treffen sich die rotierten Balken nicht in einem X. */
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy-900);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn svg { width: 1em; height: 1em; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--amber-500);
  color: var(--navy-900);
  box-shadow: 0 1px 0 rgba(12, 28, 46, 0.12);
}
.btn--primary:hover { background: var(--amber-600); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200, 126, 13, 0.28); }

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-800); background: rgba(18, 42, 68, 0.04); }

.section--navy .btn--ghost { color: #fff; border-color: var(--line-dark); }
.section--navy .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }

.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Textlink mit Pfeil */
.link {
  display: inline-flex;
  align-self: flex-start; /* sonst zieht der Flex-Container die Unterlinie auf volle Breite */
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 1.5px solid var(--amber-500);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link svg { width: 1em; height: 1em; flex: none; transition: transform 0.25s var(--ease); }
.link:hover { color: var(--amber-text); gap: 0.7rem; }
.link:hover svg { transform: translateX(2px); }
.section--navy .link { color: #fff; }
.section--navy .link:hover { color: var(--amber-500); }

/* Telefonzeile neben den CTAs */
.phone-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}
.phone-line a { font-weight: 700; color: var(--navy-800); text-decoration: none; border-bottom: 1px solid var(--line); }
.phone-line a:hover { border-color: var(--navy-800); }
.section--navy .phone-line { color: rgba(233, 239, 245, 0.74); }
.section--navy .phone-line a { color: #fff; border-color: var(--line-dark); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--paper);
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) clamp(3rem, 1.5rem + 6vw, 6rem);
  overflow: hidden;
}
.hero::after {
  /* warmer Lichtschein hinter dem Portrait, gibt der Fläche Tiefe */
  content: '';
  position: absolute;
  top: -12%;
  right: -8%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 154, 36, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.4rem; }
.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.28em;
  background: var(--amber-100);
  z-index: -1;
}
.hero__lead { max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }

/* Portrait in hohem Rahmen mit versetzter Linie — ruhig, nicht verspielt. */
.portrait { position: relative; }
.portrait::before {
  content: '';
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 0;
}
.portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(12, 28, 46, 0.38);
}
.portrait--tall img { aspect-ratio: 2 / 3; }
/* Im Hero breiter beschnitten und in der Höhe begrenzt, damit Headline und
   CTA sicher über der Falz bleiben. */
.hero .portrait img { aspect-ratio: 4 / 5; object-position: center 22%; max-height: 33rem; }
/* Auf Navy braucht der versetzte Rahmen eine helle Linie. */
.section--navy .portrait::before { border-color: var(--line-dark); }

/* Faktenband unter dem Hero */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.facts > div { background: var(--paper); padding: 1.5rem clamp(1rem, 2vw, 1.75rem); }
.facts dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 0.4rem;
}
.facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-muted); }
.facts dd strong { display: block; font-size: 1.0625rem; color: var(--ink); font-weight: 700; }

/* --- Section-Kopf ------------------------------------------------------- */
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.25rem + 2.5vw, 3.25rem); }
.sec-head p { margin-top: 1rem; }

.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: end;
  max-width: none;
}
.sec-head--split p { margin: 0; }

/* --- Karten ------------------------------------------------------------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.grid > .card { background: var(--paper); }
.section--alt .grid > .card { background: var(--paper-alt); }
.section--navy .grid { background: var(--line-dark); border-color: var(--line-dark); }
.section--navy .grid > .card { background: var(--navy-900); }

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  transition: background 0.25s var(--ease);
}
.card__num {
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--amber-text);
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.65rem; }
.card p { font-size: 0.9688rem; color: var(--ink-muted); }
.section--navy .card p { color: rgba(233, 239, 245, 0.7); }
.card .link, .card .card__foot { margin-top: auto; padding-top: 1.25rem; }

a.card { text-decoration: none; color: inherit; }
a.card:hover { background: var(--white); }
.section--alt a.card:hover { background: var(--white); }
.section--navy a.card:hover { background: var(--navy-800); }
a.card:hover .link { color: var(--amber-text); gap: 0.7rem; }
.section--navy a.card:hover .link { color: var(--amber-500); }

/* --- Nutzen-Liste (Häkchen) --------------------------------------------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.checks li { display: grid; grid-template-columns: 1.35rem 1fr; gap: 0.75rem; align-items: start; line-height: 1.55; }
.checks li::before {
  content: '';
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--amber-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c87e0d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.8 9.4 18 20 6.6'/%3E%3C/svg%3E") center / 0.78rem no-repeat;
}
.section--navy .checks li::before { background-color: rgba(231, 154, 36, 0.18); }

.crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.crosses li { display: grid; grid-template-columns: 1.35rem 1fr; gap: 0.75rem; align-items: start; line-height: 1.55; }
.crosses li::before {
  content: '';
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: rgba(90, 107, 125, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7d' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* --- Ablauf (nummerierte Schritte) -------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: schritt; }
.steps li {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  padding-block: 1.75rem;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.steps li::before {
  content: counter(schritt, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--amber-500);
  line-height: 1;
  padding-top: 0.2rem;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { max-width: 68ch; }

/* --- Zwei-Wege-Auswahl --------------------------------------------------- */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.path {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber-500);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.path:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(12, 28, 46, 0.35); }
.path .path__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}
.path p { color: var(--ink-muted); font-size: 0.9688rem; }

/* --- Zitat / Aussage ----------------------------------------------------- */
.statement {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 1.1vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.quote__mark { color: var(--amber-500); }
.byline { display: flex; align-items: center; gap: 0.85rem; font-size: 0.9375rem; }
.byline::before { content: ''; width: 2rem; height: 1px; background: var(--amber-500); flex: none; }
.byline strong { font-weight: 700; }

/* --- Qualifikationen ----------------------------------------------------- */
.quals { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.quals li {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-muted);
}
.section--navy .quals li { border-color: var(--line-dark); color: rgba(233, 239, 245, 0.8); }

/* --- Prosa (Rechtstexte, Leistungsdetails) ------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { margin: 2.75rem 0 0.9rem; font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem); }
.prose h3 { margin: 2rem 0 0.6rem; font-size: 1.1875rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--navy-800); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--amber-500); }
.prose a:hover { color: var(--amber-text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--paper-alt); }
.prose address { font-style: normal; line-height: 1.75; }

/* Hinweisbox für noch offene Angaben */
.notice {
  border: 1px solid var(--amber-500);
  border-left-width: 3px;
  background: var(--amber-100);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}
.notice strong { display: block; margin-bottom: 0.3rem; }

/* Platzhalter-Marker aus dem Build — im Layout unübersehbar. */
.todo {
  display: inline-block;
  background: #ffe8a3;
  border: 1px dashed #b8860b;
  border-radius: 3px;
  padding: 0.05em 0.45em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
  font-weight: 600;
  color: #7a5901;
  letter-spacing: 0;
  text-transform: none;
}

/* --- Formular ------------------------------------------------------------ */
.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: 0.8125rem; color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(231, 154, 36, 0.2);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

.consent { display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.7rem; align-items: start; font-size: 0.875rem; color: var(--ink-muted); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--amber-600); }
.consent a { color: var(--navy-800); }

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

.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid #c0392b;
  border-left-width: 3px;
  background: #fdeeec;
  color: #8f271c;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}
.form-error[data-visible='true'] { display: block; }

.form-success { display: none; text-align: center; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 1rem; }
.form-success[data-visible='true'] { display: block; }
.form-success .check-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid var(--amber-500);
  display: grid;
  place-items: center;
  animation: pop 0.5s var(--ease) both;
}
.form-success .check-circle svg { width: 32px; height: 32px; stroke: var(--amber-600); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s var(--ease) 0.25s forwards; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .form-success .check-circle, .form-success .check-circle svg { animation: none; stroke-dashoffset: 0; }
}

/* --- Kontaktspalte -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 3.5vw, 4rem); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list dt, .contact-list .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 0.35rem;
}
.contact-list dd { margin: 0; } /* Browser-Standardeinzug von dd zurücksetzen */
.contact-list a { font-weight: 600; color: var(--navy-800); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--navy-800); }

.hours { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.hours td { padding: 0.45rem 0; border-bottom: 1px solid var(--line-soft); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.hours tr:last-child td { border-bottom: 0; }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(233, 239, 245, 0.72); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: 0.9375rem; }
.footer a { color: rgba(233, 239, 245, 0.72); text-decoration: none; transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--amber-500); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(233, 239, 245, 0.5); }
.footer .logo__mark { background: rgba(255, 255, 255, 0.09); }
.footer__blurb { margin-top: 1.25rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; color: var(--amber-500); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; padding-top: 1.75rem; font-size: 0.875rem; }
.footer__bottom .legal { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
.footer__credit { color: rgba(233, 239, 245, 0.6); }

/* --- Scroll-Reveal --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[data-visible='true'] { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Klaro (Cookie-Banner) -------------------------------------------------- */
.klaro .cookie-notice {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  left: auto !important;
  top: auto !important;
  max-width: 400px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}
.klaro .cookie-notice .cn-body { padding: 20px 24px !important; }
@media (max-width: 768px) {
  .klaro .cookie-notice {
    bottom: 12px !important;
    right: 12px !important;
    left: 12px !important;
    max-width: none !important;
  }
}
.klaro {
  --green1: var(--amber-500);
  --green2: var(--amber-600);
  --green3: var(--amber-600);
  --dark1: var(--navy-900);
  --dark2: var(--navy-800);
  --dark3: var(--navy-700);
  --light1: #ffffff;
  --font-family: var(--font-sans);
  --border-radius: 4px;
}
.klaro .cookie-modal .cm-btn, .klaro .cookie-notice .cm-btn { font-weight: 700 !important; letter-spacing: 0.01em; }
.klaro .cookie-notice .cn-ok .cm-btn-success { color: var(--navy-900) !important; }
.klaro .cookie-notice p, .klaro .cookie-modal p { font-size: 0.875rem !important; line-height: 1.55 !important; }

/* --- Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__lead { max-width: 46ch; }
  .portrait { max-width: 24rem; }
  .portrait::before { inset: 1rem -1rem -1rem 1rem; }
  .statement, .contact-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 82px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.75rem;
    display: none;
    box-shadow: 0 20px 40px -24px rgba(12, 28, 46, 0.4);
  }
  .nav[data-open='true'] { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { display: block; padding: 0.95rem 0; font-size: 1.0625rem; }
  .nav a::after { display: none; }
  .nav a[aria-current='page'] { color: var(--amber-text); }
  .burger { display: flex; }
  .header__cta { display: none; }

  .facts { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4, .paths, .form-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 0.5rem; }
  .steps li::before { font-size: 1.35rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .legal { margin-left: 0; }
}

/* Sticky Mobile-CTA: Buchung muss auf jeder Seite erreichbar bleiben. */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  box-shadow: 0 10px 30px -10px rgba(12, 28, 46, 0.5);
}
@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 5.5rem; }
}
@media print {
  .header, .footer, .mobile-cta, .klaro { display: none !important; }
}
