/* =========================================================
   Arthur Rädler Sanitär- und Heizungsbau (Demo)
   Markenwelt: Wasser (Tinten-/Stahlblau) + Wärme (Kupfer)
   Fonts lokal: Epilogue (Display), Public Sans (Body)
   ========================================================= */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/epilogue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/publicsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Palette + Tokens ---------- */
:root {
  /* Wasser: tiefes Tinten-/Stahlblau */
  --ink:        #0F2C44;   /* tiefstes Blau, fast Text */
  --blue:       #143A5A;   /* Leitfarbe */
  --blue-600:   #1B4F72;   /* helleres Blau */
  --blue-200:   #cdddea;   /* Linien auf Blau */
  /* Wärme: Kupfer/Bernstein */
  --copper:     #B5651D;
  --copper-600: #C2703D;
  --copper-200: #e8c9ad;
  /* Neutrale */
  --bg:         #F7F4EF;   /* warmes Off-White */
  --surface:    #FFFFFF;
  --text:       #1C2A35;   /* dunkles Anthrazit/Tinte */
  --muted:      #5C6B78;
  --hairline:   rgba(20, 58, 90, 0.14);
  --hairline-2: rgba(20, 58, 90, 0.08);

  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Epilogue", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  hyphens: manual;
}
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Demo-Leiste ---------- */
.demo-bar {
  background: var(--ink);
  color: #dce7f0;
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0.5rem var(--pad);
  position: relative;
  z-index: 60;
}
.demo-bar strong { color: var(--copper-200); font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand .emblem { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper);
  font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--blue); background: rgba(20, 58, 90, 0.06); }
.nav-links a.active { color: var(--blue); }
.nav-cta {
  margin-left: 0.4rem;
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.2rem !important;
  font-weight: 600 !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--ink) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: transparent;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-600); transform: translateY(-2px); }
.btn-primary .pin {
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,0.16);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
.btn-primary:hover .pin { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(20,58,90,0.05); }
.btn-light { background: var(--surface); color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--copper);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--copper);
  display: inline-block;
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.06rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(27,79,114,0.55), transparent 60%),
    radial-gradient(80% 70% at 5% 110%, rgba(181,101,29,0.22), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--blue) 70%);
  color: #eaf1f7;
  overflow: hidden;
}
.hero::after {
  /* dezente technische Linien */
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100% 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 75%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 75%, transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 7.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--copper-200); }
.hero-lead {
  color: #c6d6e3;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  margin-top: 1.4rem;
  max-width: 36ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-trust .item { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-trust .k { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.hero-trust .l { font-size: 0.82rem; color: #aec3d4; letter-spacing: 0.02em; }

/* Hero-Karte (Emblem groß + Wasser/Wärme Motiv) */
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
}
.hero-card .crest { width: 100%; height: auto; }
.hero-card .cap {
  margin-top: 1.4rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem; color: #c6d6e3;
}
.hero-card .cap b { color: #fff; font-weight: 600; }

/* ---------- Leistungs-Überblick (Bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
}
.tile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  box-shadow: 0 0 0 1px var(--hairline-2), 0 1px 2px rgba(15,44,68,0.03);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--hairline), 0 16px 36px rgba(15,44,68,0.10);
}
.tile h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.tile p { color: var(--muted); font-size: 0.98rem; }
.tile .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20,58,90,0.07);
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.tile.span-7 { grid-column: span 7; }
.tile.span-5 { grid-column: span 5; }
.tile.span-6 { grid-column: span 6; }
.tile.span-4 { grid-column: span 4; }
.tile.span-12 { grid-column: span 12; }

/* Feature-Kachel mit Akzent (Heizung = warm) */
.tile.warm .ic { background: rgba(181,101,29,0.12); color: var(--copper); }
.tile.feature {
  background: linear-gradient(155deg, var(--blue) 0%, var(--ink) 100%);
  color: #e7eef4;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile.feature h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tile.feature p { color: #c4d4e1; }
.tile.feature .ic { background: rgba(255,255,255,0.12); color: #fff; }
.tile.feature .more {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--copper-200); font-weight: 600; font-size: 0.95rem;
}
.tile.feature .more svg { transition: transform 0.25s var(--ease); }
.tile.feature:hover .more svg { transform: translateX(4px); }

/* ---------- Trust / Anker-Band ---------- */
.anchor-band { background: var(--surface); border-block: 1px solid var(--hairline-2); }
.anchor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.anchor-item { display: flex; gap: 1rem; align-items: flex-start; }
.anchor-item .ic {
  width: 44px; height: 44px; flex: none; border-radius: 11px;
  background: rgba(20,58,90,0.07); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.anchor-item h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.anchor-item p { color: var(--muted); font-size: 0.94rem; }
.stars { color: var(--copper); letter-spacing: 0.12em; font-size: 1rem; }

/* ---------- Split / About-Vorschau ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.split .panel {
  background: linear-gradient(155deg, var(--blue) 0%, var(--ink) 100%);
  border-radius: 20px; padding: clamp(2rem, 4vw, 3rem);
  color: #e7eef4; position: relative; overflow: hidden;
}
.split .panel::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,101,29,0.3), transparent 65%);
}
.split .panel .emblem-lg { width: 84px; height: 84px; margin-bottom: 1.3rem; }
.split .panel h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.7rem; }
.split .panel p { color: #c4d4e1; }
.split .panel .quote {
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.95rem; color: #aec3d4;
}
.feature-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.feature-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--text); }
.feature-list .chk {
  width: 24px; height: 24px; flex: none; border-radius: 7px;
  background: rgba(181,101,29,0.12); color: var(--copper);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(181,101,29,0.28), transparent 55%),
    linear-gradient(155deg, var(--ink), var(--blue));
  color: #eaf1f7; border-radius: 24px; overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4rem);
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 18ch; }
.cta-band p { color: #c4d4e1; margin-top: 0.7rem; max-width: 42ch; }

/* ---------- Kontakt / Formular ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-info h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.info-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .ic {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: rgba(20,58,90,0.07); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-list .lbl { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; }
.info-list a, .info-list span.val { font-weight: 500; color: var(--text); font-size: 1.02rem; }
.info-list a:hover { color: var(--blue); }

/* Formular: integriert in eine blaue Karte, kein weißer Standardkasten */
.form-card {
  background: linear-gradient(160deg, var(--blue) 0%, var(--ink) 100%);
  border-radius: 22px;
  padding: clamp(1.7rem, 3.4vw, 2.6rem);
  color: #e7eef4;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}
.form-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.4rem; }
.form-card .hint { color: #b7cad9; font-size: 0.9rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #b7cad9; font-weight: 600; margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 11px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #8ba6bb; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper-600);
  background: rgba(255,255,255,0.11);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.78rem; color: #93afc3; margin-top: 1rem; line-height: 1.5; }

/* ---------- Map-Link ---------- */
.map-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.4rem; color: var(--blue); font-weight: 600; font-size: 0.96rem;
  padding: 0.7rem 1.1rem; border: 1px solid var(--hairline); border-radius: 999px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.map-link:hover { border-color: var(--blue); background: rgba(20,58,90,0.05); }

/* ---------- Inhaltsseiten (Leistungen / Betrieb) ---------- */
.page-hero {
  background:
    radial-gradient(90% 100% at 90% -20%, rgba(27,79,114,0.5), transparent 60%),
    linear-gradient(160deg, var(--ink), var(--blue));
  color: #eaf1f7;
}
.page-hero .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; }
.page-hero p { color: #c4d4e1; margin-top: 1.1rem; max-width: 52ch; font-size: 1.08rem; }
.breadcrumb { font-size: 0.82rem; color: #9fb7c9; margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: #fff; }

.service-block { display: grid; gap: clamp(1.4rem, 2.4vw, 1.8rem); }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 2.4vw, 1.8rem); }
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
}
.service-card .head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.2rem; }
.service-card .ic {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.service-card.water .ic { background: rgba(20,58,90,0.08); color: var(--blue); }
.service-card.heat .ic  { background: rgba(181,101,29,0.12); color: var(--copper); }
.service-card h3 { font-size: 1.35rem; }
.service-card .kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.svc-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text); }
.svc-list .dot {
  width: 22px; height: 22px; flex: none; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.service-card.water .dot { background: rgba(20,58,90,0.08); color: var(--blue); }
.service-card.heat .dot  { background: rgba(181,101,29,0.12); color: var(--copper); }

.prose { max-width: 680px; }
.prose p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.06rem; }
.prose p strong { color: var(--text); font-weight: 600; }

.note-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  border-left: 3px solid var(--copper);
}
.note-box p { color: var(--muted); font-size: 0.98rem; }
.note-box strong { color: var(--text); }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.6rem; margin-bottom: 0.7rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: 0.4rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--blue); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal .datenschutz-title { word-break: normal; }
.callout {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: 0 0 0 1px var(--hairline);
  border-left: 4px solid var(--copper);
  margin: 1.6rem 0;
}
.callout.demo { border-left-color: var(--copper); }
.callout p { color: var(--text); margin-bottom: 0.5rem; }
.callout .tag {
  display: inline-block; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 700; color: var(--copper); margin-bottom: 0.6rem;
}
.placeholder-pill {
  display: inline-block;
  background: rgba(181,101,29,0.1);
  color: var(--copper);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9cad8;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand .emblem { width: 42px; height: 42px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--copper-200); }
.footer-about { color: #92aabc; font-size: 0.95rem; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--font-display); color: #fff; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a, .footer-col span { color: #b9cad8; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--copper-200); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.5rem; font-size: 0.82rem; color: #7c95a8;
}
.footer-bottom .legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--copper-200); }

/* ---------- Reveal-Animationen (CSS-only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 0.8s var(--ease) forwards;
    animation-delay: var(--d, 0s);
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}
@keyframes reveal { to { opacity: 1; transform: none; } }
/* Fallback ohne scroll-driven animations: per IntersectionObserver .is-in */
.no-vt .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); animation: none; }
.no-vt .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 440px; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-cols { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .anchor-grid { grid-template-columns: 1fr; }
  .tile.span-7, .tile.span-5, .tile.span-6, .tile.span-4 { grid-column: span 12; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    background: var(--bg);
    padding: 6rem 1.4rem 2rem;
    box-shadow: -20px 0 60px rgba(15,44,68,0.18);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--hairline);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 0.9rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav-links a.active { background: rgba(20,58,90,0.06); }
  .nav-cta { margin: 0.6rem 0 0; text-align: center; justify-content: center; display: flex; }
  .nav-toggle { display: block; z-index: 55; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(15,44,68,0.4);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
    z-index: 40;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
}
