/* ==========================================================================
   Fliesen Dammann – Stylesheet
   Design-Konzept "Variante A": Navy #0C447C / Sekundärblau #185FA5
   Mobile first. Zielgruppe: private Bestandssanierer & Best Ager.
   Deshalb: große Schrift, hohe Kontraste, große Klickflächen.
   ========================================================================== */

/* ------------------------------------------------------------ 1. Tokens */
:root {
  --navy: #0c447c;
  --navy-dark: #093a6b;
  --navy-deep: #08325c;
  --blue: #185fa5;
  --blue-dark: #124a83;

  --ink: #1d2126;
  --ink-soft: #4a5058;
  --ink-mute: #5e656d;

  --bg: #f4f2ee;          /* warmes Hellgrau, kein Reinweiß */
  --surface: #fbfaf7;
  --surface-2: #efece6;
  --line: #ddd8d0;

  --focus: #ffb703;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(16, 32, 48, .08);
  --shadow: 0 4px 16px rgba(16, 32, 48, .10);
  --shadow-lg: 0 12px 36px rgba(16, 32, 48, .14);

  --wrap: 1140px;
  --gutter: 20px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --step: clamp(56px, 8vw, 96px);   /* vertikaler Sektionsabstand */
}

/* -------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
@media (min-width: 700px) { body { font-size: 19px; } }

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

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .55em;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(1.85rem, 5.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.15rem); }
h3 { font-size: clamp(1.18rem, 2.6vw, 1.4rem); }
p  { margin: 0 0 1.15em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 14px 20px;
  font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

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

section { padding-block: var(--step); }
section.tight { padding-block: calc(var(--step) * .62); }

.lead { font-size: 1.12em; color: var(--ink-soft); }
.center { text-align: center; }

/* Utility-Klassen – bewusst statt Inline-Styles, damit die
   Content-Security-Policy ohne 'unsafe-inline' auskommt. */
.mb0 { margin-bottom: 0; }
.m0  { margin: 0; }
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 26px; }
.mt-3 { margin-top: 40px; }
.mt-em { margin-top: 1.6em; }
.mb-3 { margin-bottom: 40px; }
.fs-sm { font-size: .92rem; }
.fs-md { font-size: 1.05rem; }
.fs-lg { font-size: 1.3rem; }
.muted { color: var(--ink-mute); }
.soft { color: var(--ink-soft); }
.measure { max-width: 52ch; }
.items-start { align-items: start; }
.span-all { grid-column: 1 / -1; }
.plain { text-decoration: none; color: inherit; }
.plain:hover { color: var(--navy); }
.caption { margin-top: 12px; font-size: .9rem; color: var(--ink-mute); }
.note { border-left: 6px solid #b3261e; }
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .88em; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
}

/* ------------------------------------------------------------ 3. Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 68px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
/* 56 px, damit die Zeilen "Fliesenfachgeschäft / Baubetrieb" lesbar bleiben.
   Der Kopfbereich wird dadurch nicht höher – seine Höhe bestimmt die
   Menü-Schaltfläche. Größer geht, wird auf schmalen Geräten aber eng. */
.logo img { height: 56px; width: auto; }
@media (min-width: 700px) { .logo img { height: 64px; } }
@media (max-width: 359px) { .logo img { height: 46px; } }

.header-actions { display: flex; align-items: center; gap: 8px; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--navy);
  text-decoration: none; padding: 10px 12px; border-radius: var(--radius);
  min-height: 44px;
}
.header-phone:hover { background: var(--surface-2); color: var(--navy); }
.header-phone svg { flex-shrink: 0; }
.header-phone .label { display: none; }
@media (min-width: 560px) { .header-phone .label { display: inline; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 14px;
  background: var(--navy); color: #fff; border: 0;
  border-radius: var(--radius); font: inherit; font-size: .95rem;
  font-weight: 700; cursor: pointer;
}
.nav-toggle:hover { background: var(--navy-dark); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

/* Navigation */
.site-nav { border-top: 1px solid var(--line); background: var(--surface); }
.site-nav[hidden] { display: none; }
@media (max-width: 899px) {
  .site-nav ul { display: block; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: block; padding: 15px 4px; }
}
@media (min-width: 900px) {
  .site-nav { display: block !important; border-top: 1px solid var(--line); }
  .site-nav[hidden] { display: block; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .site-nav a { padding: 14px 14px; }
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600;
  border-radius: var(--radius);
}
.site-nav a:hover { background: var(--surface-2); color: var(--navy); }
.site-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--blue);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ------------------------------------------------------------- 4. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px;
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.25;
  text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-onblue { background: #fff; color: var(--navy); }
.btn-onblue:hover { background: #eaf1f8; color: var(--navy-deep); }
.btn-onblue-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-onblue-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 419px) { .btn-row .btn { width: 100%; } }

/* --------------------------------------------------------------- 5. Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-block: clamp(52px, 10vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: image-set(url("../img/hero-bad.webp") type("image/webp"),
                              url("../img/hero-bad.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
  opacity: .85;
}
/* Kleine Bildschirme bekommen die leichtere Fassung des Bühnenbildes */
@media (max-width: 760px) {
  .hero::before {
    background-image: image-set(url("../img/hero-bad-800.webp") type("image/webp"),
                                url("../img/hero-bad-800.jpg") type("image/jpeg"));
  }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(6,36,70,.96) 0%, rgba(9,52,96,.90) 48%,
              rgba(18,80,140,.78) 100%);
}
.hero > .wrap { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: .35em; text-wrap: balance; }
.hero .sub { font-size: clamp(1.08rem, 2.6vw, 1.32rem); color: #e3ecf6; max-width: 42ch; }
.hero .btn-row { margin-top: 30px; }
.hero-meta {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: .95rem; color: #cfdcec;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

/* Kleinerer Hero für Unterseiten */
.hero--page { padding-block: clamp(38px, 7vw, 66px); }
.hero--page h1 { font-size: clamp(1.65rem, 4.6vw, 2.5rem); }

/* --------------------------------------------------------- 6. Breadcrumb */
.breadcrumb { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .92rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 6px; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--ink-mute); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------- 7. Bausteine */
.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: .82rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--blue);
}
.hero .eyebrow { color: #9dc2e8; }

.grid { display: grid; gap: 18px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 560px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

/* USP-Kacheln (2x2) */
.usp { display: flex; flex-direction: column; gap: 12px; }
.usp .icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  background: #e7eff8; border-radius: 12px; color: var(--navy);
}
.usp h3 { margin: 0 0 .3em; font-size: 1.15rem; }
.usp p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Leistungskarten mit Bild */
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--ink-soft); font-size: .98rem; }
.service-card .more {
  margin-top: auto; padding-top: 14px;
  font-weight: 700; text-decoration: none; color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-card a.stretch::after { content: ""; position: absolute; inset: 0; }
.service-card { position: relative; }
.service-card .more:hover { gap: 12px; }
.badge {
  display: inline-block; margin-bottom: 10px;
  background: #e7eff8; color: var(--navy);
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}

/* Highlight-Block (Energieberatung) */
.highlight {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
}
@media (min-width: 780px) {
  .highlight { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 34px 32px; }
}
.highlight .icon { width: 60px; height: 60px; display: grid; place-items: center;
  background: #e7eff8; border-radius: 14px; color: var(--navy); margin-bottom: 16px; }
@media (min-width: 780px) { .highlight .icon { margin-bottom: 0; } }

/* Schmaler Hinweisstreifen – auffällig genug, aber kein eigener Block */
.hint-bar {
  display: flex; align-items: flex-start; gap: 14px;
  background: #eaf1f8; border: 1px solid #c8dcef;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius); padding: 16px 18px;
}
.hint-bar .icon { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.hint-bar p { margin: 0; font-size: .97rem; color: #22405e; }
.hint-bar a { color: var(--navy); font-weight: 700; }

/* Häufige Fragen – native <details>, funktioniert auch ohne JavaScript
   und ist per Tastatur bedienbar. */
.faq { display: grid; gap: 12px; max-width: 74ch; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.faq details[open] { border-color: #bcd3e8; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; min-height: 56px;
  font-weight: 700; font-size: 1.02rem; color: var(--navy);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-2); }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c447c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 22px no-repeat;
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Checkliste */
.checklist { list-style: none; margin: 0 0 1.15em; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--light li::before { background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c447c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Split: Text + Bild */
.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 52px; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.alt { background: var(--surface-2); }

/* Vertrauensleiste: Meister, Innung, Kammer, Familienbetrieb */
.trust-strip {
  display: grid; gap: 2px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 620px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 20px 18px; background: var(--surface);
}
.trust-item .icon {
  flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center;
  background: #e7eff8; border-radius: 11px; color: var(--navy);
}
.trust-item strong { display: block; font-size: .99rem; line-height: 1.3; }
.trust-item span { display: block; margin-top: 4px; font-size: .87rem; color: var(--ink-soft); }

/* Faktenzeile */
.facts { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { text-align: center; padding: 20px 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fact .num { display: block; font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  font-weight: 800; color: var(--navy); line-height: 1.1; }
.fact .lbl { font-size: .92rem; color: var(--ink-soft); }

/* ------------------------------------------- 8. Vorher-Nachher-Vergleich */
.ba {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--surface-2);
  aspect-ratio: 4 / 3; touch-action: pan-y;
}
@media (min-width: 700px) { .ba { aspect-ratio: 16 / 10; } }
.ba .layer { position: absolute; inset: 0; }
.ba .layer img { width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .tag {
  position: absolute; bottom: 14px; z-index: 3;
  background: rgba(14,32,52,.82); color: #fff;
  font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; pointer-events: none;
}
.ba .tag-before { left: 14px; }
.ba .tag-after { right: 14px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 4px; margin-left: -2px; background: #fff; z-index: 4;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c447c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: var(--shadow);
}
.ba input[type="range"] {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.ba input[type="range"]:focus-visible ~ .ba-handle {
  outline: 3px solid var(--focus); outline-offset: 2px;
}

/* Platzhalter für echte Projektfotos */
.photo-slot {
  position: relative; display: grid; place-items: center; text-align: center;
  padding: 26px 18px; aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, #e9e5dd 0 14px, #eeebe4 14px 28px);
  border: 1px dashed #b9b2a6; border-radius: var(--radius);
  color: #7c7468;
}
.photo-slot { color: #5f584e; }
.photo-slot .ico { color: var(--navy); opacity: .5; margin-bottom: 10px; }
.photo-slot strong { display: block; color: #5f584e; font-size: .95rem; }
.photo-slot small { font-size: .82rem; color: #5f584e; }

/* -------------------------------------------------------- 9. Galerie */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  min-height: 46px; padding: 10px 18px;
  background: var(--surface); border: 2px solid var(--line);
  border-radius: 999px; font: inherit; font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); cursor: pointer;
}
.filters button:hover { border-color: var(--blue); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; gap: 18px; }
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; }
.gallery figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 14px 16px; font-size: .95rem; color: var(--ink-soft); }
.gallery figcaption strong { display: block; color: var(--ink); }

/* ------------------------------------------------------- 10. CTA-Band */
.cta-band {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: image-set(url("../img/cta-band.webp") type("image/webp"),
                              url("../img/cta-band.jpg") type("image/jpeg"));
  background-size: cover; background-position: center 60%; opacity: .8;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,36,70,.94), rgba(20,86,148,.78));
}
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dce7f3; }

/* -------------------------------------------------------- 11. Formular */
.form-card { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 700px) { .form-card { padding: 34px 32px; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; }
.field .hint { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-mute); margin-top: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff;
  border: 2px solid #c9c3b9; border-radius: var(--radius);
  min-height: 52px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9a296; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: 3px solid var(--focus); outline-offset: 1px;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #b3261e; background: #fdf6f5; }
.field .err { display: none; margin-top: 6px; color: #96201a; font-size: .9rem; font-weight: 600; }
.field .err.show { display: block; }

.req { color: #b3261e; }

.check { display: grid; grid-template-columns: 32px 1fr; gap: 13px; align-items: start; }
.check input { width: 32px; height: 32px; min-height: 0; margin: 1px 0 0;
  accent-color: var(--navy); }
.check label { font-weight: 400; font-size: .95rem; line-height: 1.55; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 24px; font-weight: 600; }
.alert-ok { background: #e6f4ea; border: 1px solid #9fceb0; color: #17532c; }
.alert-err { background: #fdecea; border: 1px solid #f0b3ad; color: #8c1d18; }

/* -------------------------------------------------- 12. Kontaktangaben */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; display: grid; place-items: center;
  background: #e7eff8; border-radius: 11px; color: var(--navy); }
.contact-list a { font-weight: 700; display: inline-flex; align-items: center;
  min-height: 44px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours th { font-weight: 600; color: var(--ink-soft); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* Karte mit Zwei-Klick-Consent (DSGVO) */
.map-consent {
  display: grid; place-items: center; text-align: center; gap: 14px;
  padding: 34px 22px; min-height: 300px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.map-consent p { max-width: 46ch; font-size: .95rem; color: var(--ink-soft); }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); display: block; }

/* ---------------------------------------------------------- 13. Footer */
.site-footer { background: #0a2f57; color: #c9d8e8; padding-block: 52px 0; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .7em; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 12px 14px;
  display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 54px; width: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
/* Öffnungszeiten-Tabelle im dunklen Footer */
.site-footer .hours th { color: #b9cbdf; }
.site-footer .hours td { color: #fff; }
.site-footer .hours th, .site-footer .hours td { border-bottom-color: rgba(255,255,255,.18); }
.site-footer p, .site-footer li { font-size: .96rem; }
.footer-bottom {
  margin-top: 40px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: .9rem; color: #a9bed4;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ------------------------------------------- 14. Mobile Aktionsleiste */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  box-shadow: 0 -2px 14px rgba(16, 32, 48, .18);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 58px; padding: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; background: var(--surface); color: var(--navy);
}
.actionbar a.primary { background: var(--navy); color: #fff; }
.actionbar a:hover { background: var(--surface-2); }
.actionbar a.primary:hover { background: var(--navy-dark); }
@media (min-width: 900px) { .actionbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 60px; } }

/* ------------------------------------------------------------ 15. Print */
@media print {
  .site-header, .actionbar, .cta-band, .site-nav, .btn { display: none !important; }
  body { font-size: 11pt; background: #fff; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
