/* ── ICONS ── */
.icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
  flex-shrink: 0;
}

/* ── FONTS ── */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-serif-display-italic.woff2') format('woff2');
}

/* ── TOKENS ── */
:root {
  --topbar-h:   34px;
  --bg:         #f0f8f8;
  --surface:    #ffffff;
  --surface-alt:#e4f2f2;
  --teal:       #0d7c7c;
  --teal-light: #13a8a8;
  --teal-dark:  #0a5f5f;
  --text:       #0d2535;
  --text-soft:  #3d6070;
  --muted:      #6a8f9c;
  --border:     rgba(13,124,124,0.2);
  --shadow:     0 2px 24px rgba(13,124,124,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 5vw, 3.5rem);
  padding-right: clamp(1.5rem, 5vw, 3.5rem);
}

/* ── TOP BAR ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 102;
  height: var(--topbar-h);
  background: var(--teal-dark);
  transition: transform 0.35s ease;
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.topbar-group {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.topbar-item:hover { color: #fff; }
.topbar-item .icon {
  width: 0.82rem;
  height: 0.82rem;
  stroke-width: 1.8;
  flex-shrink: 0;
}
@media(max-width:600px) {
  .topbar-group--address { display: none; }
}

/* ── NAV ── */
nav {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 100;
  background: rgba(240,248,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(13,124,124,0.07);
  transition: top 0.35s ease;
}
nav.topbar-hidden { top: 0; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.logo {
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.22s ease;
}
.logo:hover { opacity: 0.72; }
.logo-svg {
  height: 40px;
  width: auto;
  display: block;
}
.logo-svg--sm { height: 30px; }
nav ul {
  list-style: none;
  display: flex; gap: 2.2rem;
}
nav ul a {
  position: relative;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 400;
  transition: color 0.25s;
  padding-bottom: 2px;
}
nav ul a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--teal);
  transition: right 0.3s ease;
}
nav ul a:hover { color: var(--teal-dark); }
nav ul a:hover::after { right: 0; }

/* ── HAMBURGER ── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  color: var(--text);
  line-height: 0;
}
.nav-burger .icon { width: 1.5rem; height: 1.5rem; }

/* ── HERO (full-screen, edge-to-edge) ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--topbar-h) + 12vh) 0 8vh;
  overflow: hidden;
}

/* Photo layer – slow Ken Burns drift */
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/pool-polyurea-beschichtung-neubau.jpg') center 40% / cover no-repeat;
  transform-origin: 65% 50%;
  animation: hero-zoom 26s ease-in-out infinite alternate;
}

/* Diagonal light-scan sweep over the photo */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    118deg,
    transparent 15%,
    rgba(255,255,255,0.08) 50%,
    transparent 85%
  );
  background-size: 280% 100%;
  animation: hero-shimmer 14s ease-in-out infinite;
}

/* Gradient overlay – keeps text readable */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(240,248,248,0.97) 0%,
      rgba(240,248,248,0.90) 36%,
      rgba(240,248,248,0.52) 62%,
      rgba(240,248,248,0.12) 100%
    ),
    radial-gradient(ellipse 55% 70% at 72% 50%, rgba(13,168,168,0.10) 0%, transparent 70%);
}

@keyframes hero-zoom {
  from { transform: scale(1)    translate(0,    0); }
  to   { transform: scale(1.07) translate(-1.8%, 0.8%); }
}
@keyframes hero-shimmer {
  0%   { background-position: 240% center; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { background-position: -240% center; opacity: 0; }
}

/* Boxed content inside full-screen hero */
.hero-container {
  position: relative; z-index: 2;
  width: 100%;
}
.hero-content { max-width: 640px; }

/* Rising bubble particles (spawned by JS) */
.hero-bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  border: 1px solid rgba(13,168,168,0.28);
  background: transparent;
  pointer-events: none;
  z-index: 1;
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0)      scale(0.85); opacity: 0; }
  6%   { opacity: 1; }
  88%  { opacity: 0.35; }
  100% { transform: translateY(-110vh) scale(1.5);  opacity: 0; }
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
  opacity: 0; animation: fade-up 0.7s 0.1s forwards;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.8rem;
  opacity: 0; animation: fade-up 0.7s 0.3s forwards;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
  display: block;
}
.hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 2.4rem;
  opacity: 0; animation: fade-up 0.7s 0.5s forwards;
}
.btn-group {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fade-up 0.7s 0.7s forwards;
}
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,124,124,0.25); }
.btn-block { width: 100%; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── STATS BAR ── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 0;
  box-shadow: var(--shadow);
}
.stats-inner {
  display: flex; gap: 0; justify-content: space-around; flex-wrap: wrap;
}
.stat { text-align: center; padding: 1rem 2rem; }
.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.6rem;
  color: var(--teal);
}
.stat-icon .icon {
  width: 1.7rem;
  height: 1.7rem;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--teal);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ── SECTIONS (boxed via .container) ── */
section { padding: 7rem 0; }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text);
}
h2 em {
  font-style: italic;
  color: var(--teal);
}
.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 640px;
}

/* ── SECTION IMAGES ── */
.section-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  object-fit: cover;
}
.section-image--panel {
  height: 480px;
  box-shadow: 0 8px 32px rgba(13,124,124,0.14);
}
.section-image--wide {
  margin-top: 3rem;
  max-height: 440px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(13,124,124,0.12);
}

/* ── LEISTUNGEN ── */
.leistungen-list {
  margin-top: 4rem;
}
.leistung-row {
  display: grid;
  grid-template-columns: 60px 36px 1fr 24px;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  cursor: default;
  transition: background 0.3s;
}
.leistungen-list .leistung-row:last-child {
  border-bottom: 1px solid var(--border);
}
.leistung-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal-light);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.leistung-row:hover { background: rgba(13,168,168,0.04); }
.leistung-row:hover::before { transform: scaleY(1); }

.lr-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(13,124,124,0.15);
  transition: color 0.3s;
}
.leistung-row:hover .lr-num { color: var(--teal-light); }

.lr-svc-icon {
  color: var(--border);
  display: flex;
  align-items: center;
  transition: color 0.3s;
}
.lr-svc-icon .icon { width: 1.3rem; height: 1.3rem; }
.leistung-row:hover .lr-svc-icon { color: var(--teal); }

.lr-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  transition: color 0.3s;
}
.leistung-row:hover .lr-title { color: var(--teal-dark); }

.lr-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.38s ease, opacity 0.38s ease, margin-top 0.38s ease;
}
.leistung-row:hover .lr-text {
  max-height: 100px;
  opacity: 1;
  margin-top: 0.55rem;
}

.lr-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--border);
  transition: color 0.3s, transform 0.3s;
}
.lr-arrow .icon { width: 1rem; height: 1rem; }
.leistung-row:hover .lr-arrow {
  color: var(--teal);
  transform: translateX(4px);
}

@media(max-width:600px) {
  .leistung-row {
    grid-template-columns: 44px 28px 1fr 20px;
    gap: 0.8rem;
    padding: 1.4rem 0.8rem;
  }
  .lr-num { font-size: 1.9rem; }
  .lr-title { font-size: 0.95rem; }
}

/* ── VORTEILE ── */
.vorteile-section {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.vorteile-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(13,168,168,0.07), transparent 70%);
}
.vorteile-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center;
  position: relative; z-index: 1;
}
@media(max-width:720px){ .vorteile-inner { grid-template-columns: 1fr; } }
.vorteil-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0; }
.vorteil-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.vorteil-list li .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--teal-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
  stroke-width: 2.5;
}

/* ── UNTERGRÜNDE ── */
.untergrund-tags {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.5rem;
}
.tag {
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--surface);
  border-radius: 1px;
  transition: all 0.25s;
}
.tag:hover { border-color: var(--teal-light); color: var(--teal-dark); background: var(--surface-alt); }

/* ── PROZESS ── */
.prozess-section { background: var(--surface-alt); }

/*
  6-col grid → row 1: steps 1–3 (each span 2 cols)
                row 2: steps 4–5 centered (cols 2–4 and 4–6)
*/
.prozess-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.step {
  grid-column: span 2;
  position: relative;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(13,168,168,0.06), transparent);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.step:nth-child(4) { grid-column: 2 / 4; }
.step:nth-child(5) { grid-column: 4 / 6; }

.step-icon {
  color: var(--teal);
  margin-bottom: 1rem;
}
.step-icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(13,124,124,0.13);
  line-height: 1; margin-bottom: 0.7rem;
}
.step h3 {
  font-size: 1rem; font-weight: 500;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

@media(max-width: 720px) {
  .prozess-steps { grid-template-columns: repeat(2, 1fr); }
  .step,
  .step:nth-child(4),
  .step:nth-child(5) { grid-column: span 1; }
}
@media(max-width: 480px) {
  .prozess-steps { grid-template-columns: 1fr; }
  .step { grid-column: 1 / -1; }
}

/* ── KONTAKT ── */
.kontakt-section {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(13,168,168,0.06) 100%);
  border-top: 1px solid var(--border);
}
.kontakt-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start;
  margin-top: 3rem;
}
@media(max-width:720px){ .kontakt-inner { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(13,168,168,0.1);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field select option { background: var(--surface); color: var(--text); }
.kontakt-note {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  width: 42px; height: 42px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.ci-icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.ci-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.ci-value { font-size: 0.95rem; color: var(--text); }
.ci-value a { color: var(--teal); text-decoration: none; }
.ci-value a:hover { color: var(--teal-dark); }

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
footer p { font-size: 0.8rem; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; font-size: 0.8rem; }
footer a:hover { color: var(--teal); }
.footer-links { display: flex; gap: 2rem; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(13,37,53,0.52);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--surface);
  border-radius: 4px;
  max-width: 740px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.8rem 3rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(13,37,53,0.22);
  scroll-behavior: smooth;
}
.modal-close {
  position: sticky;
  float: right;
  top: 0;
  margin: -1.8rem -1.8rem 0.5rem 0;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  cursor: pointer;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.modal-close:hover { color: var(--text); background: var(--bg); }
.modal-close .icon { width: 1rem; height: 1rem; }

.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.2;
}
.modal-section { margin-bottom: 1.6rem; }
.modal-section h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
}
.modal-section:first-of-type h3 { border-top: none; padding-top: 0; }
.modal-section p,
.modal-section li { font-size: 0.87rem; color: var(--text-soft); line-height: 1.75; }
.modal-section ul { padding-left: 1.2rem; margin-top: 0.4rem; }
.modal-section li { margin-bottom: 0.25rem; }
.modal-section a { color: var(--teal); text-decoration: underline; }
.modal-section a:hover { color: var(--teal-dark); }
.modal-address {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1rem 1.2rem;
  font-size: 0.87rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media(max-width:640px) {
  .modal-box { padding: 2rem 1.4rem; }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(13,37,53,0.14);
  padding: 1.4rem 1.8rem;
  max-width: 680px;
  width: calc(100% - 2rem);
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.is-hidden {
  transform: translateX(-50%) translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-text {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.65;
  min-width: 180px;
}
.cookie-text strong { color: var(--text); }
.cookie-text a { color: var(--teal); text-decoration: underline; cursor: pointer; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.btn-sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.78rem;
}

/* ── GOOGLE MAPS ── */
.map-wrapper {
  margin-top: 3.5rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(13,37,53,0.08);
}
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: var(--surface-alt);
  text-align: center;
  min-height: 260px;
}
.map-consent p {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 300px;
}
.map-consent-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--teal);
  opacity: 0.7;
}
.map-iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}
@media(max-width:640px) {
  .map-iframe { height: 260px; }
  .map-consent { min-height: 200px; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── TABLET (≤ 880px) ── */
@media(max-width:880px) {
  nav ul { gap: 1.4rem; }
  .vorteile-inner { gap: 3vw; }
  .kontakt-inner  { gap: 3vw; }
}

/* ── MOBILE (≤ 640px) ── */
@media(max-width:640px) {
  /* Hamburger replaces nav links */
  .nav-burger { display: flex; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 24px rgba(13,124,124,0.08);
    padding: 0.5rem 0;
  }
  nav ul.is-open { display: flex; }
  nav ul li a {
    display: block;
    padding: 0.85rem clamp(1.2rem, 5vw, 2.5rem);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
  }
  nav ul a::after { display: none; }

  /* Hero */
  .hero { padding-top: calc(var(--topbar-h) + 8vh); }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 3.4rem); }
  .hero p { font-size: 0.95rem; }

  /* Stats */
  .stats-inner { justify-content: flex-start; }
  .stat { padding: 0.8rem 1.2rem; }

  /* Leistungen */
  .leistung-row {
    grid-template-columns: 42px 24px 1fr 18px;
    gap: 0.7rem;
    padding: 1.2rem 0.75rem;
  }
  .lr-num { font-size: 1.8rem; }
  .lr-title { font-size: 0.92rem; }

  /* Sections */
  section { padding: 4.5rem 0; }
  h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }

  /* Images */
  .section-image--panel { height: 230px; }
  .section-image--wide  { max-height: 220px; }

  /* Prozess */
  .prozess-steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(4), .step:nth-child(5) { grid-column: 1 / -1; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .footer-links { gap: 1.2rem; }

  /* Topbar */
  .topbar-group--address { display: none; }
}
