/* Puremo Gebäudereinigung: Stylesheet
   Icons: Phosphor Icons (MIT), https://phosphoricons.com */

/* Schrift lokal eingebunden (DSGVO: keine Verbindung zu Google) */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
}

/* ===== Farb-Tokens (hell / dunkel) ===== */
:root {
  color-scheme: light dark;
  --c-bg: #f8fafc;
  --c-surface: #fdfdfe;
  --c-soft: #eef3fb;
  --c-ink: #0f1b2d;
  --c-muted: #53627a;
  --c-line: #dbe3ee;
  --c-primary: #2a5de8; /* aus dem Logo-Blau #386bfa abgeleitet, kontraststark */
  --c-primary-hover: #1f4cc9;
  --c-primary-deep: #163a9c;
  --c-link: #2a5de8;
  --c-on-primary: #fbfcff;
  --c-on-primary-soft: #eef3ff; /* Nebentext auf Blau, mind. 4.5:1 */
  --c-grad-end: #2553d6; /* helles Ende der blauen Flächen */
  --c-tint: #e6edfd;
  --c-header: rgb(248 250 252 / 0.9);
  --c-footer: #0a1628;
  --c-footer-ink: #c3cede;
  --shadow: 0 12px 32px -14px rgb(22 58 156 / 0.25);
  --radius: 14px; /* Karten & Container */
  --pill: 999px; /* alle klickbaren Elemente */
  --max: 1160px;
  --font: 'Manrope Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #0b1220;
    --c-surface: #131c2e;
    --c-soft: #0f1829;
    --c-ink: #e7ecf4;
    --c-muted: #a5b3c8;
    --c-line: #24314a;
    --c-primary: #3563e9;
    --c-primary-hover: #4672f0;
    --c-primary-deep: #1a3a8f;
    --c-grad-end: #2c58d8;
    --c-link: #8fb0ff;
    --c-tint: #17264a;
    --c-header: rgb(11 18 32 / 0.9);
    --c-footer: #070d18;
    --shadow: 0 12px 32px -14px rgb(0 0 0 / 0.6);
  }
}

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

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

body {
  margin: 0;
  /* Überlange Wörter/Adressen nur im Notfall umbrechen (z. B. bei 200 % Textgröße) */
  overflow-wrap: anywhere;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  /* Platz für die feste Kontaktleiste auf Mobilgeräten */
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--c-link);
}

h1,
h2,
h3 {
  hyphens: auto;
  overflow-wrap: anywhere;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 750;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}

.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.section--soft {
  background: var(--c-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-link);
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--c-muted);
  max-width: 60ch;
}

.prose {
  max-width: 70ch;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--pill);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  flex-wrap: wrap;
  text-align: left;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--primary {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.btn--primary:hover {
  background: var(--c-primary-hover);
}

.btn--ghost {
  border-color: currentColor;
  color: var(--c-link);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--c-tint);
}

.btn__meta {
  font-weight: 500;
  opacity: 0.85;
}

/* ===== Raster & Karten ===== */
.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

a.card {
  color: var(--c-ink);
  text-decoration: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

/* Blaue Karten: helle Schrift (muss stärker sein als a.card) */
a.card.bento__main,
a.card.contact--main {
  color: var(--c-on-primary);
}

a.card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow);
}

a.card:active {
  transform: scale(0.99);
}

.card p {
  color: var(--c-muted);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--c-link);
}

/* ===== Häkchen-Liste (Phosphor "check") ===== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.45rem;
  break-inside: avoid;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--c-link);
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M232.49%2C80.49l-128%2C128a12%2C12%2C0%2C0%2C1-17%2C0l-56-56a12%2C12%2C0%2C1%2C1%2C17-17L96%2C183%2C215.51%2C63.51a12%2C12%2C0%2C0%2C1%2C17%2C17Z"/%3E%3C/svg%3E')
    center / contain no-repeat;
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M232.49%2C80.49l-128%2C128a12%2C12%2C0%2C0%2C1-17%2C0l-56-56a12%2C12%2C0%2C1%2C1%2C17-17L96%2C183%2C215.51%2C63.51a12%2C12%2C0%2C0%2C1%2C17%2C17Z"/%3E%3C/svg%3E')
    center / contain no-repeat;
}

/* ===== Chips (Orte) ===== */
.chips {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips a {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--pill);
  background: var(--c-surface);
  text-decoration: none;
  font-weight: 600;
  color: var(--c-ink);
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.chips a:hover {
  border-color: var(--c-primary);
  color: var(--c-link);
}

.chips--static li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--pill);
  background: var(--c-tint);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== Hilfsklassen ===== */
[hidden] {
  display: none !important;
}

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

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--pill);
  background: var(--c-primary);
  color: var(--c-on-primary);
}

:focus-visible {
  outline: 3px solid var(--c-link);
  outline-offset: 2px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50; /* Ebenen: Header 50, Kontaktleiste 60, Skip-Link 100 */
  background: var(--c-header);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.header__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  min-height: 72px;
}

.header__brand {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.header__nav {
  display: none;
  margin-left: auto;
}

.header__nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav a {
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
}

.header__nav a:hover,
.header__nav a[aria-current] {
  color: var(--c-link);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-ink);
  white-space: nowrap;
}

.header__wa {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -0.6rem;
  border-radius: 50%;
  color: var(--c-link);
  transition: background 0.2s var(--ease);
}

.header__wa:hover {
  background: var(--c-tint);
}

.header__wa .icon {
  width: 22px;
  height: 22px;
}

.header__cta {
  display: none;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}

.header__toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--pill);
  cursor: pointer;
}

.header__toggle span {
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
}

.mobile-nav ul {
  list-style: none;
  padding-block: 0.5rem 1.25rem;
  margin: 0;
  display: grid;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

@media (min-width: 960px) {
  .header__nav {
    display: block;
  }
  .header__actions {
    margin-left: 0;
  }
  .header__cta,
  .header__phone {
    display: inline-flex;
  }
  .header__wa {
    display: grid;
  }
  .header__toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-ink);
}

.logo--light {
  color: #f3f6fb;
}

.logo__mark {
  width: 52px;
  height: 52px;
}

.logo__text {
  display: grid;
  line-height: 1.05;
}

.logo__text strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo__text small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ===== Kontaktleiste (mobil, immer sichtbar) ===== */
.contact-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--c-header);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
}

.contact-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0.3rem 0.6rem;
  border-radius: var(--pill);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.contact-bar__btn:active {
  transform: scale(0.98);
}

.contact-bar__btn--call {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.contact-bar__btn--wa {
  width: 50px;
  padding: 0;
  background: var(--c-tint);
  color: var(--c-link);
}

.contact-bar__btn--wa .icon {
  width: 24px;
  height: 24px;
}

.contact-bar__btn--mail {
  background: var(--c-tint);
  color: var(--c-link);
}

@media (min-width: 960px) {
  .contact-bar {
    display: none;
  }
}

/* ===== Startseite: Hero ===== */
.hero {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Bildfläche rechts: aktuell Logo, später durch Team-/Objektfoto ersetzen */
.hero__visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c-tint), transparent);
}

.hero__visual img {
  width: 78%;
}

@media (max-width: 899px) {
  .hero__visual {
    display: none;
  }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.35fr 1fr;
    gap: 3rem;
  }
}

/* ===== Startseite: Vorteile-Leiste ===== */
.facts {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0;
  display: grid;
  gap: 1rem 2rem;
  border-block: 1px solid var(--c-line);
  font-weight: 600;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.facts .icon {
  color: var(--c-link);
  width: 1.4rem;
  height: 1.4rem;
}

.facts__promo {
  font-weight: 800;
}

@media (min-width: 720px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

/* ===== Startseite: Leistungen (Bento 1 groß + 2) ===== */
.bento {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.bento__main {
  background: linear-gradient(145deg, var(--c-primary-deep), var(--c-grad-end));
  border-color: transparent;
  color: var(--c-on-primary);
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem;
}

.bento__main p,
.bento__main .more {
  color: var(--c-on-primary-soft);
}

.bento__main .checklist li::before {
  background: var(--c-on-primary-soft);
}

.bento > *,
.bento__main > * {
  min-width: 0;
}

.bento__main .checklist {
  font-weight: 600;
}

@media (min-width: 520px) {
  .bento__main .checklist {
    columns: 2;
    column-gap: 1.5rem;
  }
}

.bento__tint {
  background: var(--c-tint);
  border-color: transparent;
}

@media (min-width: 820px) {
  .bento {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
  .bento__main {
    grid-row: span 2;
  }
}

/* ===== Startseite: Ablauf ===== */
.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
  }
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: 1rem;
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-weight: 800;
}

.steps span {
  color: var(--c-muted);
}

/* ===== FAQ ===== */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 800px;
}

.faq details {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding-block: 0.75rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Phosphor "plus", dreht sich beim Öffnen zum Kreuz */
.faq summary::after {
  content: '';
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--c-link);
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M228%2C128a12%2C12%2C0%2C0%2C1-12%2C12H140v76a12%2C12%2C0%2C0%2C1-24%2C0V140H40a12%2C12%2C0%2C0%2C1%2C0-24h76V40a12%2C12%2C0%2C0%2C1%2C24%2C0v76h76A12%2C12%2C0%2C0%2C1%2C228%2C128Z"/%3E%3C/svg%3E')
    center / contain no-repeat;
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M228%2C128a12%2C12%2C0%2C0%2C1-12%2C12H140v76a12%2C12%2C0%2C0%2C1-24%2C0V140H40a12%2C12%2C0%2C0%2C1%2C0-24h76V40a12%2C12%2C0%2C0%2C1%2C24%2C0v76h76A12%2C12%2C0%2C0%2C1%2C228%2C128Z"/%3E%3C/svg%3E')
    center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--c-muted);
}

/* ===== Kontaktblock ===== */
.cta {
  background: linear-gradient(135deg, var(--c-primary-deep), var(--c-grad-end));
  color: var(--c-on-primary);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.cta__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .cta__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

.cta p {
  color: var(--c-on-primary-soft);
  max-width: 52ch;
}

.cta__person strong {
  color: var(--c-on-primary);
}

.cta__actions {
  display: grid;
  gap: 0.75rem;
}

.cta__option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink);
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.cta__option:hover {
  transform: translateY(-2px);
}

.cta__option:active {
  transform: scale(0.98);
}

.cta__option .icon {
  grid-row: span 2;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--c-link);
}

.cta__option--quiet {
  background: rgb(255 255 255 / 0.12);
  color: var(--c-on-primary);
}

.cta__option--quiet .icon,
.cta__option--quiet .cta__label {
  color: var(--c-on-primary-soft);
}

.cta__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-link);
}

.cta__value {
  font-size: 1.1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* ===== Seitenkopf & Brotkrumen ===== */
.page-hero {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--c-soft);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--c-muted);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 0.4rem;
  opacity: 0.5;
}

.crumbs a {
  color: var(--c-muted);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--c-footer);
  color: var(--c-footer-ink);
  padding-top: 4rem;
  font-size: 0.95rem;
}

.footer a {
  color: var(--c-footer-ink);
  text-decoration: none;
}

.footer a:hover {
  color: #f3f6fb;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer address {
  font-style: normal;
  margin-top: 1.25rem;
  line-height: 1.7;
}

.footer__title {
  font-size: 1rem;
  color: #f3f6fb;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.footer ul a,
.footer__bottom nav a,
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}

.footer__social:hover {
  background: rgb(255 255 255 / 0.1);
}

.footer__social .icon {
  width: 26px;
  height: 26px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-block: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.875rem;
  align-items: center;
}

.footer__bottom nav {
  display: flex;
  gap: 1.5rem;
}

/* ===== Leistungen: Übersicht ===== */
.row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .row {
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    padding: 2.25rem;
  }
}

.row h2 a {
  color: inherit;
  text-decoration: none;
}

/* ===== Leistung: Detail ===== */
.audience {
  color: var(--c-muted);
  margin-bottom: 2rem;
}

.block-title {
  font-size: 1.25rem;
}

@media (min-width: 1000px) {
  .svc-block .checklist {
    columns: 2;
    column-gap: 1.5rem;
  }
}

.svc-block:nth-child(4n + 1) {
  background: var(--c-tint);
  border-color: transparent;
}

.note {
  margin-top: 2rem;
  font-weight: 600;
}

.more-title {
  margin-top: 3rem;
}

/* ===== Einsatzgebiet ===== */
.loc h2 {
  font-size: 1.4rem;
}

.loc p {
  margin: 0 0 0.5rem;
}

.loc__districts {
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .loc--home {
    grid-column: 1 / -1;
    background: var(--c-tint);
    border-color: transparent;
  }
}

/* ===== Ortsseiten ===== */
.loc-split {
  display: grid;
  gap: 2.5rem;
}

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

.svc p {
  margin: 0;
}

/* ===== Kontakt ===== */
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .contact--main {
    grid-row: span 2;
  }
}

.contact {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.contact strong {
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.contact--main {
  background: linear-gradient(145deg, var(--c-primary-deep), var(--c-grad-end));
  border-color: transparent;
  color: var(--c-on-primary);
  align-content: center;
  padding: 2.25rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.contact--main strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact--main .contact__label,
.contact--main .contact__hint {
  color: var(--c-on-primary-soft);
}

.contact__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-link);
}

.contact__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--c-link);
  font-weight: 700;
}

.info {
  display: grid;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 820px) {
  .info {
    grid-template-columns: 1fr 1.4fr;
  }
}

.info h2 {
  font-size: 1.4rem;
}

.info address {
  font-style: normal;
  line-height: 1.8;
}

/* ===== Reduzierte Bewegung ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Google-Bewertung (Phosphor "star" als Maske) ===== */
.rating {
  --star: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"%3E%3Cpath d="M234.29%2C114.85l-45%2C38.83L203%2C211.75a16.4%2C16.4%2C0%2C0%2C1-24.5%2C17.82L128%2C198.49%2C77.47%2C229.57A16.4%2C16.4%2C0%2C0%2C1%2C53%2C211.75l13.76-58.07-45-38.83A16.46%2C16.46%2C0%2C0%2C1%2C31.08%2C86l59-4.76%2C22.76-55.08a16.36%2C16.36%2C0%2C0%2C1%2C30.27%2C0l22.75%2C55.08%2C59%2C4.76a16.46%2C16.46%2C0%2C0%2C1%2C9.37%2C28.86Z"/%3E%3C/svg%3E');
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.rating:hover .rating__text {
  text-decoration: underline;
}

/* 5 Sterne als Hintergrund, gefüllter Anteil = Bewertung */
.rating__stars {
  position: relative;
  width: 6.25rem;
  height: 1.25rem;
  background: var(--c-line);
  -webkit-mask: var(--star) left / 1.25rem 1.25rem repeat-x;
  mask: var(--star) left / 1.25rem 1.25rem repeat-x;
}

.rating__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating, 0) / 5 * 100%);
  background: #f5b400; /* Google-Sternfarbe, bewusst als einzige Zusatzfarbe */
}

.rating--footer {
  margin-top: 1.25rem;
}

.rating--footer .rating__stars {
  background: rgb(255 255 255 / 0.2);
}

.facts__rating:has(.rating[hidden]) {
  display: none;
}

/* ===== Footer: Vertrag widerrufen ===== */
.footer__withdraw {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.footer__withdraw p {
  margin: 0;
  color: #f3f6fb;
  font-weight: 600;
}

.footer__withdraw + .footer__bottom {
  margin-top: 0;
}

.btn--light {
  background: #f3f6fb;
  color: #0f1b2d;
}

.btn--light:hover {
  background: #fff;
}

.footer a.btn--light,
.footer a.btn--light:hover {
  color: #0f1b2d;
}

/* ===== Formular ===== */
.withdraw-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1.5px solid var(--c-muted);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--c-link);
  outline-offset: 1px;
  border-color: var(--c-link);
}

.field [aria-invalid='true'] {
  border-color: #c62828;
}

.field__error {
  --c-error: #b3261e;
  display: flex;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--c-error);
}

.field__error::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--c-error);
  color: var(--c-bg);
  font-size: 0.8rem;
}

.field__help,
.form-note,
.form-alt {
  margin: 0;
  font-size: 0.925rem;
  color: var(--c-muted);
}

.form-error {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #fdecec;
  color: #8e1c1c;
  font-weight: 600;
}

.form-error a {
  color: inherit;
}

.withdraw-form .btn {
  justify-self: start;
}

.form-success {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--c-tint);
}

.form-success:focus {
  outline: none;
}

.form-alt {
  margin-top: 2rem;
}

@media (prefers-color-scheme: dark) {
  .field [aria-invalid='true'] {
    border-color: #ff8a80;
  }
  .field__error {
    --c-error: #ffb4ab;
  }
  .form-error {
    background: #3a1717;
    color: #ffc9c4;
  }
}

/* ===== Dialog ===== */
.modal {
  width: min(640px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 2rem 1.5rem 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-ink);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.5);
  overflow: auto;
}

.modal::backdrop {
  background: rgb(10 22 40 / 0.6);
}

.modal h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  padding-right: 2.5rem;
}

.modal .lead {
  font-size: 1.05rem;
}

.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--c-soft);
  color: var(--c-ink);
  cursor: pointer;
}

.modal__close .icon {
  width: 20px;
  height: 20px;
}

/* ===== Systemeinstellungen (Apple HIG: Barrierefreiheit) ===== */

/* iPhone/iPad: Schriftgröße folgt der Systemeinstellung „Textgröße“ (Dynamic Type) */
@supports (font: -apple-system-body) {
  @media (hover: none) and (pointer: coarse) {
    html {
      font: -apple-system-body;
    }
    body {
      font-family: var(--font);
      font-size: 1rem;
    }
  }
}

/* „Kontrast erhöhen“ */
@media (prefers-contrast: more) {
  :root {
    --c-muted: #34405a;
    --c-line: #7d8aa3;
  }
  .card,
  .faq details,
  .chips a {
    border-width: 2px;
  }
  .btn--ghost {
    border-width: 3px;
  }
}

@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root {
    --c-muted: #d0d9e8;
    --c-line: #8391ab;
    --c-link: #b3c9ff;
  }
}

/* „Transparenz reduzieren“: Kopfzeile und Kontaktleiste deckend */
@media (prefers-reduced-transparency: reduce) {
  .header,
  .contact-bar {
    background: var(--c-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
