/* ============================================================
   DACHDECKEREI BERG — Haupt-Stylesheet
   Kupfer & Anthrazit auf hellem Stein
   ============================================================ */

/* ---------- @font-face (selbst gehostet, DSGVO) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../assets/fonts/public-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../assets/fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --stone-50:    #F4F2EE;
  --stone-100:   #EAE7E0;
  --stone-200:   #DAD5CB;

  --anthrazit:       #23262B;
  --anthrazit-soft:  #2E323A;

  --kupfer:      #B26B38;
  --kupfer-hell: #CF8A52;
  --bronze:      #7E4F26;
  --patina:      #5F8C7D;

  --text:        #23262B;
  --text-muted:  #6B6F76;
  --text-invert: #F4F2EE;

  --line:        rgba(35,38,43,0.12);
  --shadow-sm:   0 2px 8px rgba(35,38,43,0.08);
  --shadow-md:   0 10px 30px rgba(35,38,43,0.12);
  --shadow-tile: 0 6px 14px rgba(35,38,43,0.18);

  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body:    "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-card: 14px;
  --container:   1200px;
  --section-pad: clamp(5rem, 10vw, 9rem);
  --header-h:    72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--stone-50);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 3px; border-radius: 3px; }

ul, ol { list-style: none; }

address { font-style: normal; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }

p { max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--kupfer);
  color: #fff;
  border-color: var(--kupfer);
}
.btn-primary:hover {
  background: var(--kupfer-hell);
  border-color: var(--kupfer-hell);
  box-shadow: 0 4px 16px rgba(178,107,56,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-invert);
  border-color: rgba(244,242,238,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(244,242,238,0.8);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 10px; }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ---------- Section Base ---------- */
.section {
  padding-block: var(--section-pad);
  background: var(--stone-50);
}
.section-stone { background: var(--stone-100); }
.section-dark  { background: var(--anthrazit); }

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kupfer);
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: var(--stone-50);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo-invert .logo-text { color: var(--text-invert); }

.main-nav { margin-inline: auto; }
.main-nav ul {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--kupfer); border-bottom-color: var(--kupfer); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.header-phone:hover { color: var(--kupfer); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--stone-50) 60%, var(--stone-100) 100%);
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kupfer);
  margin-bottom: 1rem;
  max-width: none;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-ctas .btn-ghost { color: var(--text); border-color: var(--line); }
.hero-ctas .btn-ghost:hover { border-color: var(--kupfer); color: var(--kupfer); background: rgba(178,107,56,0.06); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.roof-silhouette {
  width: 100%;
  max-width: 420px;
}

.roof-path {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.4s cubic-bezier(.22,.61,.36,1) 0.3s;
}
.roof-path-2 {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 1.6s cubic-bezier(.22,.61,.36,1) 0.6s;
}
.hero.visible .roof-path,
.hero.visible .roof-path-2 {
  stroke-dashoffset: 0;
}

/* ---------- Ziegel / Tile ---------- */
.tile-field {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 480px;
}

.tile-row {
  display: flex;
  gap: 4px;
  margin-top: -8px;
}
.tile-row:nth-child(even) { margin-left: calc(var(--tile-w, 52px) / 2 + 2px); }
.tile-row:first-child { margin-top: 0; }

.tile {
  --tile-w: 52px;
  --tile-h: 32px;
  width: var(--tile-w);
  height: var(--tile-h);
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(175deg, var(--kupfer-hell) 0%, var(--bronze) 100%);
  box-shadow: var(--shadow-tile);
  border-bottom: 3px solid rgba(0,0,0,0.22);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-18px) rotate(-4deg);
  transition:
    opacity 0.45s cubic-bezier(.22,.61,.36,1),
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.2s;
  will-change: transform, opacity;
}
.tile.is-in { opacity: 1; transform: none; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(35,38,43,0.28); }
.tile.falling {
  transform: translateY(110px) rotate(22deg);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(.55,.06,.68,.19), opacity 0.45s ease;
}

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust-band {
  background: var(--stone-100);
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 100%; height: 100%; }

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); max-width: none; }

.card-patina { border-top: 3px solid var(--patina); }
.card-notdienst { border-top: 3px solid var(--kupfer); }

.badge-patina,
.badge-notdienst {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.badge-patina  { background: rgba(95,140,125,0.12); color: var(--patina); }
.badge-notdienst { background: rgba(178,107,56,0.12); color: var(--kupfer); }

/* ============================================================
   VORHER / NACHHER SLIDER
   ============================================================ */
.section-vorher-nachher { padding-block: var(--section-pad); }

.before-after-wrap { position: relative; }

.before-after-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  aspect-ratio: 2 / 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  user-select: none;
  touch-action: pan-y;
}
.before-after-slider:focus-visible { outline: 3px solid var(--kupfer); outline-offset: 4px; }

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}
.ba-after svg,
.ba-before svg { width: 100%; height: 100%; }

.ba-before {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.01s;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: left 0.01s;
}
.ba-handle-line {
  flex: 1;
  width: 3px;
  background: rgba(255,255,255,0.8);
}
.ba-handle-knob {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--kupfer);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  flex-shrink: 0;
}

.ba-hint {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244,242,238,0.5);
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   WARUM WIR (Regen-Abperl-Effekt)
   ============================================================ */
.section-warum {
  position: relative;
  overflow: hidden;
}

.rain-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.raindrop {
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, rgba(178,107,56,0.35));
  animation: rainFall linear infinite;
  opacity: 0;
}

@keyframes rainFall {
  0%   { transform: translateY(-20px) scaleY(0); opacity: 0; }
  10%  { opacity: 1; transform: translateY(0) scaleY(1); }
  70%  { opacity: 0.7; }
  85%  { transform: translateY(var(--rain-dist, 300px)) scaleY(1) translateX(var(--rain-slide, -30px)); opacity: 0.3; }
  100% { transform: translateY(var(--rain-dist, 300px)) scaleY(0) translateX(var(--rain-slide, -50px)); opacity: 0; }
}

.warum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.warum-item { display: flex; flex-direction: column; gap: 1rem; }
.warum-icon { width: 56px; height: 56px; }
.warum-icon svg { width: 100%; height: 100%; }
.warum-item h3 { margin-bottom: 0.25rem; }
.warum-item p  { font-size: 0.95rem; color: var(--text-muted); max-width: none; }

/* ============================================================
   ABLAUF (Steps)
   ============================================================ */
.steps-wrapper { position: relative; }

.steps-line {
  position: absolute;
  left: 28px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.steps-line-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--kupfer-hell), var(--bronze));
  border-radius: 2px;
  transition: height 0.8s cubic-bezier(.22,.61,.36,1);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-left: 0;
}

.step-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--kupfer);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(178,107,56,0.4);
  position: relative;
  z-index: 1;
}

.step-content { padding-top: 0.75rem; }
.step-content h3 { margin-bottom: 0.35rem; }
.step-content p  { color: var(--text-muted); font-size: 0.95rem; max-width: none; }

/* ============================================================
   ZAHLEN (Count-ups)
   ============================================================ */
.section-zahlen { padding-block: clamp(4rem, 8vw, 6rem); }

.zahlen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: center;
}

.zahl-item {
  padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.04);
}
.zahl-item:hover { background: rgba(255,255,255,0.08); }

.zahl-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--kupfer-hell);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.zahl-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(244,242,238,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
.ueber-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.ueber-text h2 { margin-bottom: 1.25rem; }
.ueber-text p  { color: var(--text-muted); margin-bottom: 1rem; max-width: 52ch; }

.usp-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.usp-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text);
}
.usp-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--kupfer);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 80px;
  height: 80px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}
.team-avatar svg { width: 100%; height: 100%; }
.team-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.team-role { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   REFERENZEN
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stars {
  color: var(--kupfer-hell);
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  margin-bottom: 0.75rem;
}
.testimonial p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: none;
}
.testimonial footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.section-kontakt { background: var(--stone-50); }

.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

/* Form */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
label span { color: var(--kupfer); margin-left: 2px; }

input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--stone-200);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--kupfer);
  box-shadow: 0 0 0 3px rgba(178,107,56,0.15);
}
input.invalid, select.invalid, textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236B6F76'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.form-success h3 { color: var(--kupfer); }
.form-success p  { color: var(--text-muted); max-width: 40ch; margin-inline: auto; }

/* Kontakt Info */
.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.kontakt-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--kupfer);
}
.kontakt-block p   { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.35rem; max-width: none; }
.kontakt-block a   { color: var(--bronze); font-weight: 600; }
.kontakt-block a:hover { color: var(--kupfer); }

.notdienst-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--anthrazit);
  color: var(--text-invert);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border-left: 4px solid var(--kupfer);
}
.notdienst-icon { font-size: 1.75rem; flex-shrink: 0; }
.notdienst-box strong { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; }
.notdienst-box p { font-size: 0.875rem; color: rgba(244,242,238,0.6); margin-bottom: 0.5rem; max-width: none; }
.notdienst-tel {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--kupfer-hell);
  letter-spacing: -0.01em;
}
.notdienst-tel:hover { color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--anthrazit);
  color: var(--text-invert);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kupfer-hell);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(244,242,238,0.65);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text-invert); }

.footer-about {
  font-size: 0.875rem;
  color: rgba(244,242,238,0.6);
  margin-top: 0.75rem;
  max-width: 28ch;
}

.footer-col address p {
  font-size: 0.875rem;
  color: rgba(244,242,238,0.65);
  margin-bottom: 0.35rem;
  max-width: none;
}
.footer-col address a {
  color: rgba(244,242,238,0.65);
  transition: color 0.2s;
}
.footer-col address a:hover { color: var(--kupfer-hell); }

.footer-bottom {
  padding-block: 1.5rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(244,242,238,0.4);
  max-width: none;
}
.footer-bottom a { color: rgba(244,242,238,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--kupfer-hell); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.22,.61,.36,1), transform 0.65s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal:nth-child(4) { transition-delay: 0.26s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.38s; }
.reveal:nth-child(7) { transition-delay: 0.44s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .ueber-inner { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }

  .main-nav, .header-phone { display: none; }
  .main-nav.open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--stone-50);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .main-nav.open ul { flex-direction: column; gap: 0; }
  .main-nav.open ul li a { display: block; padding: 0.75rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }

  .kontakt-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .tile { --tile-w: 40px; --tile-h: 25px; }
  .tile-row:nth-child(even) { margin-left: calc(var(--tile-w, 40px) / 2 + 2px); }

  .steps-line { left: 22px; }
  .step-number { width: 44px; height: 44px; font-size: 1rem; }

  .ueber-inner { gap: 2.5rem; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }

  .zahlen-grid { grid-template-columns: 1fr 1fr; }

  .tile-field { max-width: 300px; }
  .tile { --tile-w: 34px; --tile-h: 22px; }

  .before-after-slider { aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; max-width: 200px; margin-inline: auto; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tile {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .roof-path,
  .roof-path-2 {
    stroke-dashoffset: 0;
    transition: none;
  }

  .raindrop { display: none; }

  .steps-line-fill { height: 100% !important; }
}
