/* =========================================================
   Ummenhofer GmbH (Demo) — Heizung · Sanitär · Bauflaschnerei
   Markenwelt: Petrolblau (Wasser + Wärme), roter Tropfen als Akzent
   Fonts lokal: Saira (Display), Readex Pro (Body)
   ========================================================= */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/saira-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: "Readex Pro";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/readexpro-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 {
  /* Petrol / Teal (Markenkern) */
  --teal:       #006699;   /* Leitfarbe (Logo) */
  --teal-700:   #04597f;
  --teal-900:   #0a3a4f;   /* tiefes Petrol, Flächen */
  --ink:        #062430;   /* fast schwarz, Petrol-Tinte */
  --teal-100:   #cfe3ec;   /* helle Linien auf Petrol */
  /* Roter Akzent (Tropfen / CTA) */
  --red:        #ff3333;
  --red-600:    #e02424;
  --red-100:    #ffe0e0;
  /* Neutrale, warm */
  --bg:         #f6f4f1;   /* warmes Off-White */
  --bg-2:       #eef0f0;   /* leicht kühlerer Wechsel */
  --surface:    #ffffff;
  --text:       #1d2b32;   /* dunkles Anthrazit-Petrol */
  --muted:      #5d6e76;
  --hairline:   rgba(0, 102, 153, 0.16);
  --hairline-2: rgba(0, 102, 153, 0.08);

  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Saira", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.66;
  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, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  hyphens: manual;
}
p { margin: 0; }

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

/* ---------- Marken-Tropfen (Wortmarke „Ummenh⬤fer") ---------- */
.drop {
  display: inline-block;
  vertical-align: baseline;
  color: var(--red);
}
.brand-name .drop { width: 0.62em; height: 0.86em; margin: 0 0.01em; transform: translateY(0.06em); }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 241, 0.88);
  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: 76px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--teal);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
}
.brand-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.18rem;
}
.nav-links { display: flex; align-items: center; gap: 0.3rem; 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: 9px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--teal); background: rgba(0, 102, 153, 0.07); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  margin-left: 0.5rem;
  background: var(--teal);
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.62rem 1.25rem !important;
  font-weight: 600 !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--teal-900) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  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.55rem;
  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), box-shadow 0.25s var(--ease);
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(255,51,51,0.22); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,51,51,0.28); }
.btn-primary .pin {
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
.btn-primary:hover .pin { transform: translateX(3px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--teal); background: rgba(0,102,153,0.05); }
.btn-light { background: var(--surface); color: var(--teal); box-shadow: 0 1px 0 var(--hairline); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #eaf4f8; border-color: rgba(255,255,255,0.28); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--teal);
}
.eyebrow .drop { width: 0.85em; height: 1.1em; }
.eyebrow.on-dark { color: #7fd0ee; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 660px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.15rem); margin-top: 0.9rem; }
.section-head p { color: var(--muted); margin-top: 1.1rem; font-size: 1.08rem; }
.tint { background: var(--bg-2); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(0,102,153,0.6), transparent 60%),
    radial-gradient(90% 80% at -5% 100%, rgba(255,51,51,0.14), transparent 55%),
    linear-gradient(155deg, var(--ink) 0%, var(--teal-900) 60%, var(--teal-700) 130%);
  color: #e6f1f6;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 100% 58px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 80%, 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.18fr 0.82fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.0;
}
.hero h1 .accent { color: #7fd0ee; }
.hero-lead {
  color: #bcd6e2;
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  margin-top: 1.5rem;
  max-width: 40ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.3rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem;
  margin-top: 2.8rem;
  padding-top: 1.9rem;
  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.05rem; color: #fff; letter-spacing: 0.01em; }
.hero-trust .l { font-size: 0.82rem; color: #9fbecd; letter-spacing: 0.02em; }

/* Hero-Karte (Tropfen-Emblem groß) */
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 26px;
  padding: 2.1rem;
  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.5rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem; color: #bcd6e2;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-card .cap b { color: #fff; font-weight: 600; }
.hero-card .cap .drop { width: 16px; height: 21px; flex: none; }

/* ---------- Trennband (drei Gewerke) ---------- */
.gewerke-band { background: var(--surface); border-block: 1px solid var(--hairline-2); }
.gewerke-band .wrap { padding-block: clamp(2.6rem, 5vw, 4rem); }
.gewerke-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.gewerk { display: flex; gap: 1rem; align-items: flex-start; }
.gewerk .ic {
  width: 50px; height: 50px; flex: none; border-radius: 13px;
  background: rgba(0,102,153,0.08); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.gewerk h3 { font-size: 1.12rem; margin-bottom: 0.25rem; }
.gewerk p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Bento / Leistungsüberblick ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.3rem);
}
.tile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  box-shadow: 0 0 0 1px var(--hairline-2), 0 1px 2px rgba(6,36,48,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 18px 40px rgba(6,36,48,0.10);
}
.tile h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.tile p { color: var(--muted); font-size: 0.98rem; }
.tile .ic {
  width: 48px; height: 48px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,102,153,0.08);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.tile.span-7 { grid-column: span 7; }
.tile.span-6 { grid-column: span 6; }
.tile.span-5 { grid-column: span 5; }
.tile.span-4 { grid-column: span 4; }
.tile.span-12 { grid-column: span 12; }

.tile.feature {
  background:
    radial-gradient(120% 130% at 110% -10%, rgba(0,102,153,0.55), transparent 60%),
    linear-gradient(150deg, var(--teal-900) 0%, var(--ink) 100%);
  color: #e2eef4;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.tile.feature h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.tile.feature p { color: #bdd4e0; }
.tile.feature .ic { background: rgba(255,255,255,0.12); color: #fff; }
.tile.feature .more {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
  color: #7fd0ee; 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); }
.tile.accent .ic { background: rgba(255,51,51,0.1); color: var(--red); }

/* ---------- Split / Über-Vorschau ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split.flip > :first-child { order: 2; }
.panel {
  background:
    radial-gradient(110% 110% at 0% 0%, rgba(0,102,153,0.5), transparent 60%),
    linear-gradient(150deg, var(--teal-900) 0%, var(--ink) 100%);
  border-radius: 22px; padding: clamp(2rem, 4vw, 3rem);
  color: #e2eef4; position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -50px; bottom: -50px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,51,51,0.26), transparent 65%);
}
.panel .mark-lg { width: 76px; height: 92px; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.panel h3 { color: #fff; font-size: 1.55rem; margin-bottom: 0.7rem; position: relative; z-index: 1; }
.panel p { color: #bdd4e0; position: relative; z-index: 1; }
.panel .quote {
  margin-top: 1.7rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.98rem; color: #9fbecd; position: relative; z-index: 1;
}
.feature-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.95rem; }
.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: 8px;
  background: rgba(0,102,153,0.1); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---------- Werte / Prinzipien ---------- */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.value-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  position: relative;
}
.value-card .num {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; color: var(--red);
  letter-spacing: 0.06em;
}
.value-card h3 { font-size: 1.2rem; margin: 0.7rem 0 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(255,51,51,0.24), transparent 55%),
    radial-gradient(80% 120% at 0% 100%, rgba(0,102,153,0.5), transparent 60%),
    linear-gradient(150deg, var(--ink), var(--teal-900));
  color: #e6f1f6; border-radius: 26px; overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4.2rem);
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 20ch; }
.cta-band p { color: #bdd4e0; margin-top: 0.7rem; max-width: 44ch; }

/* ---------- 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.9rem, 3.6vw, 2.7rem); }
.info-list { list-style: none; margin: 1.9rem 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: 44px; height: 44px; flex: none; border-radius: 12px;
  background: rgba(0,102,153,0.08); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-list .lbl { font-size: 0.72rem; 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(--teal); }

/* Formular: petrol-Karte, kein weißer Standardkasten */
.form-card {
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--ink) 100%);
  border-radius: 22px;
  padding: clamp(1.7rem, 3.4vw, 2.7rem);
  color: #e2eef4;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}
.form-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.4rem; }
.form-card .hint { color: #a7c4d2; font-size: 0.9rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #a7c4d2; 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: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.82rem 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #7d9caa; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,0.11);
}
.field textarea { resize: vertical; min-height: 124px; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.78rem; color: #84a3b2; margin-top: 1rem; line-height: 1.5; }

/* ---------- Map-Link ---------- */
.map-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.5rem; color: var(--teal); font-weight: 600; font-size: 0.96rem;
  padding: 0.7rem 1.15rem; 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(--teal); background: rgba(0,102,153,0.05); }

/* ---------- Inhaltsseiten ---------- */
.page-hero {
  background:
    radial-gradient(90% 110% at 95% -20%, rgba(0,102,153,0.55), transparent 60%),
    radial-gradient(60% 80% at 0% 120%, rgba(255,51,51,0.12), transparent 55%),
    linear-gradient(155deg, var(--ink), var(--teal-900));
  color: #e6f1f6;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  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 60%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 60%, transparent);
  pointer-events: none;
}
.page-hero .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 18ch; }
.page-hero p { color: #bdd4e0; margin-top: 1.1rem; max-width: 54ch; font-size: 1.1rem; }
.breadcrumb { font-size: 0.82rem; color: #92b3c3; margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: #fff; }

/* Leistungs-Detailblöcke */
.service-block { display: grid; gap: clamp(2rem, 4vw, 3.4rem); }
.svc {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start;
}
.svc.flip .svc-aside { order: 2; }
.svc-aside { position: sticky; top: 100px; }
.svc-aside .ic {
  width: 60px; height: 60px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,102,153,0.09); color: var(--teal);
  margin-bottom: 1.2rem;
}
.svc.heat .svc-aside .ic { background: rgba(255,51,51,0.09); color: var(--red); }
.svc-aside .kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; display: block; margin-bottom: 0.5rem; }
.svc-aside h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.svc-aside p { color: var(--muted); margin-top: 1rem; font-size: 1.02rem; }
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.9rem, 1.8vw, 1.2rem); }
.svc-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 0 0 1px var(--hairline-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--hairline), 0 14px 30px rgba(6,36,48,0.08); }
.svc-card .h { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.45rem; }
.svc-card .h .drop { width: 13px; height: 17px; flex: none; }
.svc-card h4 { font-size: 1.05rem; }
.svc-card p { color: var(--muted); font-size: 0.93rem; }
.svc-card.wide { grid-column: 1 / -1; }

.prose { max-width: 700px; }
.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(--teal);
}
.note-box p { color: var(--muted); font-size: 0.98rem; }
.note-box strong { color: var(--text); }

/* Stat-Reihe (Betrieb) */
.lead-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.lead-stat { border-left: 2px solid var(--hairline); padding-left: 1.1rem; }
.lead-stat .k { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--teal); }
.lead-stat .l { color: var(--muted); font-size: 0.92rem; margin-top: 0.2rem; }

/* Geschäftsführer / Personen */
.gf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.6vw, 1.8rem); }
.gf-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  box-shadow: 0 0 0 1px var(--hairline-2);
  display: flex; gap: 1.1rem; align-items: center;
}
.gf-card .avatar {
  width: 58px; height: 58px; flex: none; border-radius: 50%;
  background: linear-gradient(150deg, var(--teal), var(--teal-900));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.gf-card h3 { font-size: 1.18rem; }
.gf-card p { color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { font-size: 1.42rem; 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(--teal); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.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(--red);
  margin: 1.6rem 0;
}
.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(--red); margin-bottom: 0.6rem;
}
.placeholder-pill {
  display: inline-block;
  background: rgba(0,102,153,0.1);
  color: var(--teal);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aac2cf;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 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 .mark { width: 42px; height: 42px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7fb3c8; }
.footer-about { color: #87a4b2; font-size: 0.95rem; max-width: 40ch; }
.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: #aac2cf; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #7fd0ee; }
.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: #72909e;
}
.footer-bottom .legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: #7fd0ee; }

/* ---------- Reveal-Animationen (CSS-only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    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; } }
.no-vt .reveal { opacity: 0; transform: translateY(22px); 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: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .gewerke-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gf-grid { grid-template-columns: 1fr; }
  .lead-stats { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc.flip .svc-aside { order: 0; }
  .svc-aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .tile.span-7, .tile.span-6, .tile.span-5, .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(6,36,48,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(0,102,153,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(6,36,48,0.42);
    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; }
  .svc-cards { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .lead-stats { grid-template-columns: 1fr; }
}
