/* =====================================================
   EZ Reinigungsservice – Stylesheet
   Design: Clean Modern Centered
   Farben: #0a8c78 (Teal), #f8f9fa (Hell-BG), #1a1a2e (Dunkel)
   Schriften: Raleway (Headlines), Source Sans 3 (Body)
   Mobile-First optimiert
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800;900&family=Source+Sans+3:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

/* ---- Variablen ---- */
:root {
  --teal:       #0a8c78;
  --teal-light: #0db89a;
  --teal-dark:  #076b5c;
  --dark:       #1a1a2e;
  --dark2:      #16213e;
  --grey:       #f4f6f8;
  --grey2:      #e8ecef;
  --text:       #333344;
  --muted:      #6b7280;
  --white:      #ffffff;
  --error:      #dc2626;
  --success:    #16a34a;
  --shadow-sm:  0 2px 12px rgba(10,140,120,0.10);
  --shadow-md:  0 8px 32px rgba(10,140,120,0.14);
  --shadow-lg:  0 20px 60px rgba(10,140,120,0.18);
  --radius:     12px;
  --radius-lg:  20px;
}

/* ---- Utility ---- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--grey); }
.text-center { text-align: center; }

.tag {
  display: inline-block;
  background: rgba(10,140,120,0.10);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
h2.sh {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
}
h2.sh span { color: var(--teal); }
p.lead {
  color: var(--muted);
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s cubic-bezier(0.23,1,0.32,1);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-white { background: #fff; color: var(--teal); border-color: #fff; font-weight: 700; }
.btn-white:hover { background: var(--grey); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---- TOPBAR ---- */
#topbar {
  background: var(--dark2);
  padding: 7px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 13px; height: 13px; stroke: var(--teal-light); fill: none; stroke-width: 2; flex-shrink: 0; }
.topbar-item a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.topbar-item a:hover { color: var(--teal-light); }

/* ---- HEADER ---- */
#header {
  background: #fff;
  border-bottom: 1px solid var(--grey2);
  padding: 14px 0;
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10,140,120,0.3);
}
.logo-mark svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.logo-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.logo-name span { display: block; font-size: 0.65rem; font-weight: 500; color: var(--muted); letter-spacing: 0.05em; }
nav.main-nav { display: flex; align-items: center; gap: 2px; }
nav.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 7px;
  transition: all 0.18s;
  white-space: nowrap;
}
nav.main-nav a:hover { color: var(--teal); background: rgba(10,140,120,0.06); }
.nav-cta-btn {
  margin-left: 6px;
  background: var(--teal) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta-btn:hover { background: var(--teal-dark) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: rgba(22,33,62,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
  text-align: center;
}
.mobile-nav a:hover { color: var(--teal-light); }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
  padding: 8px;
}

/* ---- HERO ---- */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,33,62,0.75) 0%, rgba(10,140,120,0.20) 55%, rgba(22,33,62,0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  padding: 40px 20px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,140,120,0.25);
  border: 1px solid rgba(10,218,186,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.75rem;
  color: #4dffd8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow svg { width: 12px; height: 12px; fill: #4dffd8; flex-shrink: 0; }
.hero-h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-h1 em { font-style: normal; color: #4dffd8; }
.hero-p {
  font-size: clamp(0.92rem, 2.5vw, 1.08rem);
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.45);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.45); fill: none; stroke-width: 2; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ---- STATS-BAND ---- */
#stats { background: var(--teal); padding: 32px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 10px 16px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-label { font-size: clamp(0.72rem, 2vw, 0.82rem); color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ---- LEISTUNGEN ---- */
#leistungen { padding: 80px 0; text-align: center; }
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.leistung-card {
  background: #fff;
  border: 1px solid var(--grey2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  text-align: left;
}
.leistung-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.leistung-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.leistung-body { padding: 22px; }
.leistung-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(10,140,120,0.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.leistung-icon-wrap svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.leistung-body h3 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.leistung-body p { font-size: clamp(0.82rem, 2vw, 0.9rem); color: var(--muted); line-height: 1.65; }

/* ---- VORTEILE ---- */
#vorteile { padding: 80px 0; text-align: center; background: var(--grey); }
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vorteil-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.vorteil-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vorteil-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(10,140,120,0.25);
}
.vorteil-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; }
.vorteil-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.92rem, 2.5vw, 1rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.vorteil-card p { font-size: clamp(0.8rem, 2vw, 0.87rem); color: var(--muted); line-height: 1.65; }

/* ---- ABLAUF ---- */
#ablauf { padding: 80px 0; text-align: center; }
.ablauf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.ablauf-steps::before {
  content: '';
  position: absolute;
  top: 35px; left: calc(12.5% + 24px); right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  z-index: 0;
}
.ablauf-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.ablauf-circle {
  width: 70px; height: 70px;
  background: #fff;
  border: 3px solid var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}
.ablauf-circle svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.ablauf-step h3 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.ablauf-step p { font-size: clamp(0.78rem, 2vw, 0.82rem); color: var(--muted); line-height: 1.6; }

/* ---- CTA-BANNER ---- */
#cta {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--teal-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(10,218,186,0.12) 0%, transparent 70%);
  pointer-events: none;
}
#cta h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
#cta p { color: rgba(255,255,255,0.75); font-size: clamp(0.9rem, 2.5vw, 1.05rem); max-width: 520px; margin: 0 auto 32px; position: relative; z-index: 1; line-height: 1.7; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---- KONTAKT ---- */
#kontakt { padding: 80px 0; text-align: center; background: var(--grey); }
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  text-align: left;
}
.kontakt-info-box { display: flex; flex-direction: column; gap: 16px; }
.kinfo-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.kinfo-icon {
  width: 40px; height: 40px;
  background: rgba(10,140,120,0.10);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kinfo-icon svg { width: 19px; height: 19px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.kinfo-item h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 3px;
}
.kinfo-item p, .kinfo-item address { font-size: clamp(0.82rem, 2vw, 0.9rem); color: var(--text); font-style: normal; line-height: 1.6; }
.kinfo-item a { color: var(--text); transition: color 0.2s; }
.kinfo-item a:hover { color: var(--teal); }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); flex: 1; }
.map-box iframe { width: 100%; height: 170px; display: block; border: none; }

/* ---- FORMULAR ---- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; position: relative; }
.fg label { font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.fg input, .fg textarea, .fg select {
  background: var(--grey);
  border: 1.5px solid var(--grey2);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.fg input:focus, .fg textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10,140,120,0.12); background: #fff; }
.fg input.error, .fg textarea.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(220,38,38,0.10); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg input::placeholder, .fg textarea::placeholder { color: #b0b8c1; }
.field-error { font-size: 0.75rem; color: var(--error); margin-top: 3px; display: none; }
.field-error.show { display: block; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 0.98rem; padding: 14px; }
.form-submit .btn:disabled { opacity: 0.65; cursor: not-allowed; }
.form-note { font-size: 0.73rem; color: var(--muted); margin-top: 10px; text-align: center; }
.form-note a { color: var(--teal); }
.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
  text-align: center;
}
.form-msg.success { background: #dcfce7; color: var(--success); border: 1px solid #bbf7d0; display: block; }
.form-msg.error-msg { background: #fee2e2; color: var(--error); border: 1px solid #fecaca; display: block; }

/* Spinner */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- FOOTER ---- */
#footer {
  background: var(--dark2);
  color: rgba(255,255,255,0.65);
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-name span { color: rgba(255,255,255,0.45); }
.footer-brand p { font-size: 0.86rem; line-height: 1.75; margin-top: 14px; color: rgba(255,255,255,0.5); }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a, .footer-col address {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  font-style: normal;
  line-height: 1.7;
}
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: var(--teal-light); }

/* ---- COOKIE-BANNER ---- */
#cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark2);
  border-top: 3px solid var(--teal);
  padding: 16px 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
#cookie.hidden { transform: translateY(110%); }
#cookie p { font-size: 0.82rem; color: rgba(255,255,255,0.7); max-width: 580px; line-height: 1.55; }
#cookie p a { color: var(--teal-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cbtn {
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: 'Source Sans 3', sans-serif;
  transition: all 0.2s;
}
.cbtn-ok { background: var(--teal); color: #fff; }
.cbtn-ok:hover { background: var(--teal-dark); }
.cbtn-no { background: transparent; border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); }
.cbtn-no:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ---- DANKE-SEITE ---- */
.danke-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--grey);
}
.danke-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.danke-check {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(10,140,120,0.3);
}
.danke-check svg { width: 38px; height: 38px; stroke: #fff; fill: none; stroke-width: 2.5; }
.danke-card h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}
.danke-card p { color: var(--muted); font-size: clamp(0.88rem, 2.5vw, 1rem); line-height: 1.7; margin-bottom: 28px; }

/* ---- LEGAL-SEITEN ---- */
.legal-wrap { min-height: 100vh; background: #fff; padding: 80px 0 70px; }
.legal-wrap h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--grey2);
}
.legal-wrap h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin: 28px 0 8px;
}
.legal-wrap p, .legal-wrap address {
  color: var(--muted);
  font-size: clamp(0.85rem, 2vw, 0.92rem);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 8px;
}
.legal-wrap a { color: var(--teal); }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--teal); font-size: 0.86rem; margin-bottom: 30px;
  transition: gap 0.2s;
}
.back-link:hover { gap: 12px; }
.back-link svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 2; }

/* ---- ANIMATIONEN ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.23,1,0.32,1), transform 0.55s cubic-bezier(0.23,1,0.32,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---- RESPONSIVE: TABLET ---- */
@media (max-width: 1024px) {
  .vorteile-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf-steps { grid-template-columns: repeat(2, 1fr); }
  .ablauf-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .kontakt-layout { grid-template-columns: 1fr; }
}

/* ---- RESPONSIVE: MOBIL ---- */
@media (max-width: 768px) {
  #leistungen, #vorteile, #ablauf, #cta, #kontakt { padding: 56px 0; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .topbar-inner { gap: 12px; }
  .topbar-item:last-child { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #cookie { flex-direction: column; align-items: flex-start; gap: 14px; }
  .form-card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  #hero { min-height: 80vh; }
  .hero-h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}

@media (max-width: 540px) {
  .vorteile-grid { grid-template-columns: 1fr; }
  .ablauf-steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .cta-btns { flex-direction: column; align-items: center; width: 100%; }
  .cta-btns .btn { width: 100%; max-width: 280px; }
  .danke-card { padding: 32px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 16px; }
  .wrap-sm { padding: 0 16px; }
}
