/* =========================================================
   EGH-Blueprint – Stylesheet
   Farben zentral als Variablen (oben) – hier lässt sich das
   gesamte Erscheinungsbild anpassen.
   ========================================================= */

:root {
  /* Navy & Weiß */
  --navy: #0b2545;
  --navy-2: #13315c;
  --petrol: #1e4f8f;          /* mittleres Navy für Flächen/Linien */
  --petrol-light: #eaf1fa;
  --accent: #2563b0;          /* Blau für Details auf hellem Grund */
  --accent-dark: #1a4d8f;
  --accent-soft: #e8f0fb;
  --accent-light: #a9cdf7;    /* Hellblau für Details auf Navy */
  --bg: #ffffff;
  --tint: #f4f7fb;
  --text: #13233a;
  --muted: #55657a;
  --line: #dbe3ee;
  --on-dark: #eaf1fa;
  --on-dark-muted: #a8b9d0;
  --grid-line: rgba(255, 255, 255, .06);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15, 42, 61, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 42, 61, .35);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --max: 1160px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--petrol); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }
.container.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 37, 69, .6); }
.btn-accent:hover { background: var(--petrol); }
/* Auf Navy-Flächen: weiße Buttons */
.hero .btn-accent, .calc-result .btn-accent { background: #fff; color: var(--navy); box-shadow: 0 8px 24px -10px rgba(0,0,0,.5); }
.hero .btn-accent:hover, .calc-result .btn-accent:hover { background: var(--accent-soft); }
.btn-outline { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-outline:hover { background: var(--petrol); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: .9em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,42,61,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-dash { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-nav ul a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; position: relative; padding: 4px 0; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width .25s; }
.main-nav ul a:hover::after, .main-nav ul a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px 16px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .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); }
}

/* ---------- Blueprint-Raster ---------- */
.blueprint-grid {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}

/* ---------- Hero ---------- */
.hero { color: var(--on-dark); padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -200px;
  background: radial-gradient(circle, rgba(37,99,176,.45), transparent 65%); pointer-events: none;
}
.hero-inner { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.05fr 1fr; } .hero { padding: 96px 0 112px; } }
.hero h1 { color: #fff; }
.hero .hl { color: var(--accent-light); position: relative; white-space: nowrap; }
.hero .eyebrow { color: var(--accent-light); }
.lead { font-size: 1.12rem; color: var(--on-dark); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.hero-facts li { display: flex; flex-direction: column; border-left: 2px solid var(--accent-light); padding-left: 12px; }
.hero-facts strong { color: #fff; font-size: 1.2rem; }
.hero-facts span { color: var(--on-dark-muted); font-size: .9rem; }

/* Video-Slot */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--petrol));
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.15);
}
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-placeholder-art { position: absolute; inset: 0; color: #fff; }
.video-placeholder-art svg { width: 100%; height: 100%; }
.video-play {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: linear-gradient(180deg, rgba(15,42,61,.1), rgba(15,42,61,.55)); border: 0; cursor: pointer; color: #fff; font-family: inherit;
}
.play-icon {
  width: 78px; height: 78px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: pulse 2.4s infinite; transition: transform .2s;
}
.play-icon svg { margin-left: 4px; }
.video-play:hover .play-icon { transform: scale(1.08); }
.video-caption { display: flex; flex-direction: column; text-align: center; font-size: .95rem; }
.video-caption strong { font-size: 1.1rem; }
.video-caption span { color: var(--on-dark-muted); }
.video-note { font-size: .8rem; color: var(--on-dark-muted); margin: 10px 0 0; text-align: center; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70% { box-shadow: 0 0 0 22px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.section-tint { background: var(--tint); }
.section-dark { color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-light); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p:last-child { color: var(--on-dark-muted); }

/* Pain */
.pain-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pain-icon { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 14px; margin-bottom: 16px; }
.pain-card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Tabs */
.tabs { background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); overflow: hidden; }
.tab-list { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button {
  flex: 1 1 0; min-width: 150px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 18px 20px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--muted); font-size: .95rem; line-height: 1.3;
  cursor: pointer; border-bottom: 3px solid transparent; text-align: left; transition: color .2s, background .2s, border-color .2s;
}
.tab-list button:hover { color: var(--navy); background: var(--tint); }
.tab-list button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--accent); }
.tab-num { font-size: .75rem; color: var(--accent-dark); letter-spacing: .1em; }
.tab-panel { display: grid; gap: 28px; padding: 36px; animation: fadeUp .35s ease; }
.tab-panel[hidden] { display: none; }
@media (min-width: 860px) { .tab-panel { grid-template-columns: 1.6fr 1fr; padding: 44px; align-items: start; } }
@media (max-width: 640px) { .tab-panel { padding: 24px 20px; } }
.panel-text p { color: var(--muted); }
.panel-result { background: var(--petrol-light); border-radius: var(--radius); padding: 26px; border-left: 4px solid var(--petrol); }
.panel-result p { margin: 0; font-weight: 600; color: var(--navy); font-size: 1.08rem; }
.result-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--petrol); display: block; margin-bottom: 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%232563b0'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Pricing */
.pricing { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; margin: 0 auto 72px; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 36px 32px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.price-card h3 span { color: var(--accent-dark); }
.price-duration { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin: 0; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-note { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.price-card .check-list { flex: 1; margin-bottom: 28px; }
.badge { position: absolute; top: -14px; right: 24px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; }

/* Timeline */
.timeline-title { text-align: center; font-size: 1.5rem; margin-bottom: 32px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; position: relative; }
.timeline li { position: relative; background: var(--tint); border-radius: var(--radius); padding: 28px 24px 24px; }
.timeline p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: var(--navy); color: #fff; margin-bottom: 14px; position: relative; z-index: 1;
}
@media (min-width: 1000px) {
  .timeline li:not(:last-child)::after {
    content: ""; position: absolute; top: 49px; left: 66px; right: -24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
  }
}

/* Savings */
.savings-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.saving-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(4px); transition: transform .25s, background .25s;
}
.saving-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.saving-value { font-size: 2.3rem; font-weight: 800; color: var(--accent-light); margin: 0 0 6px; line-height: 1.1; }
.saving-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.saving-card p:last-child { color: var(--on-dark-muted); font-size: .95rem; margin: 0; }
.disclaimer { font-size: .82rem; color: var(--on-dark-muted); margin: 20px 0 56px; max-width: 820px; }

/* Calculator */
.calculator { display: grid; gap: 0; background: #fff; color: var(--text); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .calculator { grid-template-columns: 1.15fr 1fr; } }
.calc-inputs { padding: 36px; }
.calc-inputs h3 { color: var(--navy); font-size: 1.4rem; }
.calc-intro { color: var(--muted); }
.range-field { display: block; margin: 22px 0; }
.range-label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.range-label output { color: var(--accent-dark); font-weight: 800; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--line) var(--fill, 50%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
.scenario { border: 0; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scenario legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.scenario label { cursor: pointer; }
.scenario input { position: absolute; opacity: 0; }
.scenario label { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; transition: all .2s; }
.scenario label:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }
.scenario label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-result { background: linear-gradient(160deg, var(--petrol), var(--navy)); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.calc-result-label { color: var(--on-dark-muted); font-weight: 600; margin-bottom: 6px; }
.calc-big { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; margin: 0; line-height: 1.15; }
.calc-money { color: var(--accent-light); margin-top: 18px; }
.calc-sub { color: var(--on-dark); margin: 4px 0 0; }
.calc-hint { font-size: .8rem; color: var(--on-dark-muted); margin: 18px 0 24px; }
.calc-result .btn { align-self: flex-start; }

/* Führung */
.two-col { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col p { color: var(--muted); }
.pillars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.pillars li { padding: 16px 18px; background: var(--tint); border-radius: var(--radius-sm); border-left: 4px solid var(--accent); color: var(--muted); }
.pillars strong { color: var(--navy); }
.week-compare { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 32px; box-shadow: var(--shadow); }
.week-toggle { display: inline-flex; background: var(--tint); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.week-toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .25s; }
.week-toggle button.active { background: var(--navy); color: #fff; }
.week-caption { font-weight: 700; color: var(--navy) !important; }
.week-row { margin: 16px 0; }
.week-row span { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.bar { height: 14px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--before); background: var(--petrol); border-radius: 999px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.week-row.highlight .bar i { background: var(--accent); }
.week-compare.after .bar i { width: var(--after); }
.week-foot { font-size: .78rem; margin: 14px 0 0; }

/* About */
.about { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; } }
.about-photo { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--accent); border-radius: calc(var(--radius) + 8px); }
.about-photo img { position: relative; border-radius: calc(var(--radius) + 8px); width: 100%; height: auto; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-role { color: var(--accent-dark); font-weight: 700; }
.about-text p { color: var(--muted); }
blockquote { margin: 24px 0; padding: 20px 24px; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--petrol); font-size: 1.1rem; font-style: italic; color: var(--navy); box-shadow: var(--shadow); }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* NRW */
.nrw-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nrw-item { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; }
.nrw-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--petrol); }
.nrw-item p { color: var(--muted); margin: 0; font-size: .96rem; }

/* FAQ */
.faq details { background: #fff; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Kontakt */
.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.contact-text p { color: var(--on-dark-muted); }
.contact-direct { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-direct li { display: flex; align-items: center; gap: 14px; }
.contact-direct span { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex-shrink: 0; }
.contact-direct a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-direct a:hover { color: var(--accent-light); }
.contact-form { background: #fff; color: var(--text); border-radius: calc(var(--radius) + 4px); padding: 32px; box-shadow: var(--shadow-lg); }
@media (max-width: 640px) { .contact-form { padding: 24px 18px; } }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; color: var(--navy); }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-weight: 400; color: var(--text); background: #fbfcfd; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(37,99,176,.15); }
.contact-form .invalid { border-color: #c0392b !important; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; font-size: .88rem !important; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { margin: 14px 0 0; font-weight: 600; font-size: .95rem; }
.form-msg.error { color: #c0392b; }
.form-msg.ok { color: #1e7e4f; }

/* Footer */
.site-footer { background: #0a1f2e; color: var(--on-dark-muted); padding: 40px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.footer-brand p { width: 100%; margin: 0; font-weight: 400; color: var(--on-dark-muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.copyright { margin: 0; width: 100%; }
@media (min-width: 900px) { .copyright { width: auto; } }

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; border: 2px solid rgba(255,255,255,.35);
  display: grid; place-items: center; text-decoration: none; font-weight: 800; box-shadow: var(--shadow); z-index: 40;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--petrol); }

/* Reveal-Animation */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Unterseiten (Impressum, Datenschutz, Danke) */
.legal { padding: 64px 0 88px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.placeholder { background: #fff4c2; color: #6b5400; padding: 0 4px; border-radius: 4px; }
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }

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