/* ============================================================
   Messie Hilfeservice — messie-hilfeservice.de
   ============================================================ */

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("../assets/fonts/Kalam-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("../assets/fonts/Kalam-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("../assets/fonts/Kalam-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #0d1b2a;
  --navy-soft: #16283c;
  --teal: #17bebb;
  --teal-dark: #109b98;
  --purple: #7c3aed;
  --lime: #a3d100;
  --lime-dark: #7fa300;
  --paper: #fdfcfa;
  --cream: #f5f3ee;
  --ink: #22303f;
  --muted: #5a6a7a;
  --line: #e6e2d9;

  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-script: "Kalam", cursive;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(13, 27, 42, 0.1);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); letter-spacing: -0.01em; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}
h3 { font-size: 1.125rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--teal-dark); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow & Script-Akzente ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--lime); }

.script-accent {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--purple);
}
.script-accent--lime { color: var(--lime); }
.script-accent--lime-dark { color: var(--lime-dark); }
.script-accent--teal { color: var(--teal-dark); }
.eyebrow--teal { color: var(--teal-dark); }
.eyebrow--lime { color: var(--lime-dark); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-lead { color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.25);
}
.btn--primary:hover { background: var(--navy-soft); box-shadow: 0 12px 30px rgba(13, 27, 42, 0.3); }

.btn--ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.6rem;
}

.brand img { width: 72px; height: 72px; object-fit: contain; }
.brand--quer img { width: auto; height: 54px; max-width: 46vw; }
.header-phone__text small { max-width: 15rem; overflow: hidden; text-overflow: ellipsis; }

.main-nav {
  display: none;
  gap: 1.75rem;
  margin-inline: auto;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding-block: 0.35rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--teal-dark); }

/* Rechtliches (Impressum/Datenschutz/404) */
.legal-page { max-width: 46rem; padding-block: clamp(3rem, 6vw, 5rem); }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.01em; }
.legal-page h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal-page .legal-note {
  background: var(--cream);
  border-left: 4px solid var(--lime);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.7rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.1rem 0.5rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.header-phone:hover { background: var(--navy-soft); }
.header-phone__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
}
.header-phone__icon svg { width: 1.05rem; height: 1.05rem; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone__text strong { font-size: 0.9rem; }
.header-phone__text small { font-size: 0.68rem; opacity: 0.75; }

.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  gap: 0;
  cursor: pointer;
  padding: 0.7rem;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-phone-mobile { font-weight: 700; color: var(--teal-dark) !important; }

@media (max-width: 899.98px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding-block: 0.8rem; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-phone-mobile { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(48rem 30rem at 85% -10%, rgba(23, 190, 187, 0.09), transparent 60%),
    radial-gradient(40rem 26rem at -10% 100%, rgba(124, 58, 237, 0.06), transparent 60%),
    var(--paper);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge svg { width: 1rem; height: 1rem; color: var(--teal); }

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.hero-title__script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.92em;
  position: relative;
  display: inline-block;
  align-self: flex-start;
  padding-bottom: 0.15em;
}
.hero-title__script--long { font-size: 0.5em; line-height: 1.3; }
.hero-title__script .swoosh {
  position: absolute;
  left: 0;
  bottom: -0.08em;
  width: 100%;
  height: 0.28em;
  overflow: visible;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-block: 1.8rem 1.4rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-trust li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}
.hero-media > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 16 / 11;
}
.hero-media__sparks {
  position: absolute;
  top: -1.6rem;
  right: 1.6rem;
  width: 3.2rem;
  z-index: 2;
}

.hero-card {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-md);
}
.hero-card__icon {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  display: grid;
  place-items: center;
}
.hero-card__icon svg { width: 1.3rem; height: 1.3rem; }
.hero-card figcaption { display: flex; flex-direction: column; line-height: 1.35; }
.hero-card strong { color: var(--navy); font-size: 0.95rem; }
.hero-card span { font-family: var(--font-script); color: var(--teal-dark); font-size: 0.88rem; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* ---------- Fullwidth-Hero mit Fadeout (V2) ---------- */

.hero--full {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 72vh, 760px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.hero--full .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--full .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero--full .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 8%, rgba(253, 252, 250, 0.92) 32%, rgba(253, 252, 250, 0.45) 58%, rgba(253, 252, 250, 0) 82%),
    linear-gradient(180deg, rgba(253, 252, 250, 0.6) 0%, rgba(253, 252, 250, 0) 22%, rgba(253, 252, 250, 0) 78%, var(--paper) 100%);
}
.hero--full .container { position: relative; z-index: 1; }
.hero--full .hero-copy { max-width: 36rem; }
@media (max-width: 759.98px) {
  .hero--full .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(253, 252, 250, 0.94) 0%, rgba(253, 252, 250, 0.88) 60%, var(--paper) 100%);
  }
}

/* ---------- Kundenstimmen-Laufbanner ---------- */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-block: 0.5rem;
  animation: marquee 90s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .marquee__track { animation: none; }
}

.t-card {
  width: min(360px, 82vw);
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.t-card strong { color: var(--navy); font-size: 0.98rem; }
.t-card p { font-size: 0.88rem; color: var(--muted); margin: 0; flex: 1; }
.t-card cite {
  font-style: normal;
  font-family: var(--font-script);
  font-size: 0.9rem;
  color: var(--teal-dark);
}

/* ---------- Tag-Cloud (Orte) ---------- */

.tag-cloud {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}
.tag-cloud li { display: contents; }
.tag-cloud span,
.tag-cloud a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.tag-cloud a {
  border-color: var(--teal);
  color: var(--teal-dark);
  transition: background 0.2s ease, color 0.2s ease;
}
.tag-cloud a:hover { background: var(--teal); color: #fff; }

/* ---------- Einsatzgebiets-Karte (schematisch) ---------- */

.area-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 3vw, 2rem);
}
.area-map svg { width: 100%; height: auto; display: block; }
.area-map .map-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  fill: var(--navy);
}
.area-map .map-label--center { fill: var(--purple); }

/* ---------- Gründer (Über uns) ---------- */

.founder-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.founder-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 380px;
  width: 100%;
  justify-self: center;
}
@media (min-width: 820px) {
  .founder-grid { grid-template-columns: 0.8fr 1.2fr; }
}

/* ---------- Leistungs-Querverweise ---------- */

.svc-crosslinks {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.svc-crosslinks a { font-weight: 600; }

/* ---------- Werte ---------- */

.values { padding-block: 0 clamp(4rem, 8vw, 6rem); }

.values-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--accent);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card__icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  margin-bottom: 0.9rem;
}
.value-card__icon svg { width: 1.35rem; height: 1.35rem; }
.value-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.value-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- Leistungen ---------- */

.services { background: var(--cream); }

.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.service-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card--link .location-card__link { display: inline-block; margin-top: 0.6rem; }

.service-card--featured {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.service-card--featured img {
  border-radius: 14px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.service-card--featured h3 { font-size: 1.35rem; }
@media (min-width: 760px) {
  .service-card--featured { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; padding: 2.2rem; }
}
.service-card__icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 1.6rem; height: 1.6rem; }
.service-card h3 { font-size: 1.12rem; }
.service-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.services-cta { text-align: center; margin-top: 2.75rem; }

/* ---------- Über uns ---------- */

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-media { position: relative; }
.about-media > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-card {
  position: absolute;
  right: -0.6rem;
  bottom: 1.4rem;
  margin: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 0.9rem 1.3rem;
  box-shadow: var(--shadow-md);
}
.about-card figcaption { display: flex; flex-direction: column; line-height: 1.4; }
.about-card strong { font-size: 0.95rem; }
.about-card span { font-family: var(--font-script); font-size: 0.9rem; color: var(--teal); }

.about-copy > p { color: var(--muted); max-width: 36rem; }

.about-points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.about-points li { display: flex; gap: 1rem; align-items: flex-start; }
.about-points__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.4rem;
  flex-shrink: 0;
}
.about-points strong { color: var(--navy); display: block; }
.about-points span { color: var(--muted); font-size: 0.92rem; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; }
}

/* ---------- Ablauf ---------- */

.process {
  background:
    radial-gradient(50rem 30rem at 110% 0%, rgba(23, 190, 187, 0.12), transparent 55%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(124, 58, 237, 0.14), transparent 55%),
    var(--navy);
  color: #dfe7ee;
}
.process h2 { color: #fff; }

.process-grid {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  position: relative;
  transition: background 0.25s ease, transform 0.25s ease;
}
.process-step:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.process-step__num {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  color: var(--navy);
  background: var(--lime);
}
.process-step:nth-child(2) .process-step__num { background: var(--teal); }
.process-step:nth-child(3) .process-step__num { background: #a78bfa; }
.process-step:nth-child(4) .process-step__num { background: var(--lime); }
.process-step h3 { color: #fff; font-size: 1.08rem; }
.process-step p { font-size: 0.92rem; margin: 0; color: #b9c5d1; }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.faq-intro > p:not(.eyebrow) { color: var(--muted); max-width: 30rem; }

.faq-callbox {
  margin-top: 2rem;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.faq-callbox strong { color: var(--navy); display: block; margin-bottom: 0.3rem; }
.faq-callbox p { font-size: 0.92rem; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chevron {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--cream);
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item__chevron::before,
.faq-item__chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  translate: -50% -50%;
  transition: rotate 0.3s ease;
}
.faq-item__chevron::after { rotate: 90deg; }
.faq-item[open] .faq-item__chevron { background: var(--teal); transform: rotate(45deg); }
.faq-item__body { padding: 0 1.4rem 1.3rem; }
.faq-item__body p { margin: 0; color: var(--muted); font-size: 0.95rem; }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; }
}

/* ---------- Kontakt ---------- */

.contact {
  background: var(--cream);
}
.contact-inner { text-align: center; }
.contact-lead {
  color: var(--muted);
  max-width: 32rem;
  margin-inline: auto;
}

.contact-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2.75rem;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: rgba(23, 190, 187, 0.12);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
}
.contact-card:nth-child(2) .contact-card__icon { background: rgba(124, 58, 237, 0.1); color: var(--purple); }
.contact-card:nth-child(3) .contact-card__icon { background: rgba(163, 209, 0, 0.16); color: var(--lime-dark); }
.contact-card__icon svg { width: 1.5rem; height: 1.5rem; }
.contact-card strong { color: var(--navy); }
.contact-card > span { font-size: 0.95rem; color: var(--muted); }

/* ---------- Standorte ---------- */

.locations-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.location-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.location-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(23, 190, 187, 0.12);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.location-card__icon svg { width: 1.5rem; height: 1.5rem; }
.location-card h3 { font-size: 1.15rem; }
.location-card p { color: var(--muted); font-size: 0.94rem; }
.location-card__link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal-dark);
}
.location-card:hover .location-card__link { text-decoration: underline; }

.locations-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.locations-note a { font-weight: 700; }

/* ---------- Kontaktformular ---------- */

.contact-form {
  margin-top: 3rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: left;
  max-width: 46rem;
  margin-inline: auto;
}
.contact-form h3 { margin-bottom: 1.4rem; }

.form-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
}

.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-form label > span { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 190, 187, 0.15);
}
.contact-form textarea { resize: vertical; }

.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem !important;
  margin-block: 1.2rem 1.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-consent input { margin-top: 0.2rem; accent-color: var(--teal); }

.form-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--teal-dark);
  font-weight: 600;
}

/* ---------- Stadt-Landingpages ---------- */

.page-hero {
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(48rem 30rem at 85% -10%, rgba(23, 190, 187, 0.09), transparent 60%),
    radial-gradient(40rem 26rem at -10% 100%, rgba(124, 58, 237, 0.06), transparent 60%),
    var(--paper);
}
.page-hero .breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a { color: var(--muted); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--teal-dark); }
.page-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.page-hero .hero-lead { margin-bottom: 1.6rem; }

.page-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.page-hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

.local-area {
  background: var(--cream);
}
.local-area .tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}
.local-area .tag-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #b9c5d1;
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 0.55rem;
  margin-bottom: 1.1rem;
}
.footer-brand p { font-size: 0.92rem; max-width: 20rem; }

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  color: #b9c5d1;
  text-decoration: none;
  font-size: 0.94rem;
  padding-block: 0.28rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--teal); }
.footer-col address { font-style: normal; font-size: 0.94rem; margin-top: 0.5rem; line-height: 1.7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.4rem;
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #b9c5d1; text-decoration: none; }
.footer-legal a:hover { color: var(--teal); }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-bottom .footer-social { margin-top: 0; }
.footer-social a,
.footer-col .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover,
.footer-col .footer-social a:hover { background: var(--teal); color: var(--navy); }
.footer-social svg { width: 1.15rem; height: 1.15rem; }

/* ---------- Dropdown-Navigation (V2) ---------- */

.nav-item--sub { position: relative; }
.nav-item--sub > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-item--sub > a::before {
  content: "";
  order: 2;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
.sub-menu a { display: block; }

@media (min-width: 900px) {
  .sub-menu {
    position: absolute;
    top: 100%;
    left: -0.9rem;
    min-width: 15rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    translate: 0 8px;
    transition: opacity 0.2s ease, translate 0.2s ease, visibility 0.2s;
  }
  .nav-item--sub:hover .sub-menu,
  .nav-item--sub:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
  }
  .sub-menu a {
    padding: 0.55rem 0.9rem !important;
    border-radius: 10px;
    font-size: 0.9rem !important;
  }
  .sub-menu a:hover { background: var(--cream); }
  .sub-menu a::after { display: none; }
}

@media (max-width: 899.98px) {
  .sub-menu { padding-left: 1rem; }
  .sub-menu a { font-size: 0.98rem !important; padding-block: 0.55rem !important; }
}

/* ---------- Leistungs-Unterseiten (V2) ---------- */

.svc-benefits {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.svc-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.svc-benefits li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.svc-benefits li:nth-child(2)::before { background: var(--purple); }
.svc-benefits li:nth-child(3)::before { background: var(--lime); }

.content-blocks {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .content-blocks { grid-template-columns: 1fr 1fr; }
}
.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
}
.content-block h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.content-block p { color: var(--muted); font-size: 0.96rem; margin: 0; }

.situation { margin: 0; }
.situation img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.situation figcaption {
  margin-top: 0.9rem;
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: var(--teal-dark);
  text-align: center;
}

/* ---------- Vorher/Nachher-Slider ---------- */

.ba-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .ba--wide { grid-column: 1 / -1; }
}

.ba { margin: 0; }
.ba__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  touch-action: pan-y;
}
.ba--wide .ba__frame { aspect-ratio: 21 / 10; }
.ba__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: #fff;
  translate: -50% 0;
  box-shadow: 0 0 12px rgba(13, 27, 42, 0.35);
  pointer-events: none;
}
.ba__divider::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
}
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba__label {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__label--before { left: 1rem; background: rgba(13, 27, 42, 0.75); color: #fff; }
.ba__label--after { right: 1rem; background: rgba(255, 255, 255, 0.9); color: var(--navy); }
.ba figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-script);
  font-size: 1.05rem;
  color: var(--teal-dark);
  text-align: center;
}

.cta-banner {
  background:
    radial-gradient(40rem 20rem at 90% 0%, rgba(23, 190, 187, 0.15), transparent 60%),
    var(--navy);
  border-radius: var(--radius-lg);
  color: #dfe7ee;
  padding: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-banner h2 { color: #fff; margin: 0 0 0.3rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-banner p { margin: 0; color: #b9c5d1; }
.cta-banner .btn--primary { background: var(--teal); color: var(--navy); box-shadow: none; }
.cta-banner .btn--primary:hover { background: #2fd4d1; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- WhatsApp Floating-Button ---------- */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab svg { width: 32px; height: 32px; }
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}
@media (max-width: 600px) {
  .whatsapp-fab { width: 54px; height: 54px; }
  .whatsapp-fab svg { width: 28px; height: 28px; }
}
