/* Schlüsselscout24 – Türöffnung Frankfurt · light, mobile-first */

:root {
  --bg: #ffffff;
  --bg-2: #f3f5f8;
  --text: #0e1a2b;
  --dim: #5a6576;
  --line: #e3e7ed;
  --navy: #0d2b4e;
  --navy-deep: #081c34;
  --on-navy-dim: #a9b7c9;
  --red: #d9112c;
  --red-hover: #b80e25;
  --green: #1a9c55;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(2.2rem, 10vw, 4.25rem); }
h3 { font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dim { color: var(--dim); }
.lede { color: var(--dim); font-size: 1.05rem; max-width: 34em; }
.h-sm { font-size: clamp(1.9rem, 8vw, 3rem); }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; }
.header.is-solid { box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 20px rgba(8, 28, 52, .18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 34px; width: auto; }
.nav { display: none; }
.header__right { display: flex; align-items: center; gap: 14px; }
.header__tel { font-size: .95rem; font-weight: 600; text-decoration: none; }

.burger {
  width: 40px; height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.1); display: grid; place-content: center; gap: 6px; padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.08);
  max-height: calc(100svh - 64px); overflow-y: auto; padding: 20px 0 28px;
}
.menu[hidden] { display: none; }
.menu__label { color: var(--on-navy-dim); font-size: .85rem; font-weight: 500; margin-bottom: 8px; }
.menu__problems, .menu__main { display: grid; }
.menu__problems a, .menu__main a {
  color: #fff; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 1.05rem; font-weight: 500;
}
.menu__main { margin-top: 18px; }
.menu__main a { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.menu a[aria-current="page"] { color: #ff8c9c; }
.btn-call--full { display: flex !important; width: 100%; margin-top: 24px; }

/* Hero */
.hero { background: var(--bg-2); padding: 32px 0 40px; --edge-color: var(--bg-2); }
.hero__grid { display: grid; gap: 28px; }
.hero__kicker { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: .9rem; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.hero h1 { font-size: clamp(2.6rem, 13vw, 6rem); margin-top: 12px; color: var(--navy); }
.hero h1 span { display: block; color: var(--text); font-size: .44em; letter-spacing: -.03em; line-height: 1.15; margin-top: 8px; }
.hero__lead { margin-top: 14px; color: var(--dim); font-size: 1.05rem; max-width: 30em; }

.btn-call {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 22px; height: 64px; padding: 0 22px;
  background: var(--red); color: #fff; text-decoration: none;
  border-radius: 14px; font-weight: 500;
  box-shadow: 0 8px 20px rgba(217, 17, 44, .22);
  transition: background .2s, transform .15s;
}
.btn-call:hover { background: var(--red-hover); }
.btn-call:active { transform: scale(.985); }
.btn-call b { font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .88rem; color: var(--dim); }
.hero__trust li { display: flex; align-items: center; gap: 6px; }
.hero__trust li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a9c55' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Home hero with background photo + proof panel */
.hero--home { padding: 32px 0 calc(40px + var(--edge-h)); }
.has-bg .hero__kicker { color: rgba(255,255,255,.85); }
.proof { display: grid; gap: 12px; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero__grid > * { min-width: 0; }
.stats div {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  padding: 12px 10px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stats dt { font-size: .75rem; color: rgba(255,255,255,.75); line-height: 1.2; }
.stats dd { margin: 4px 0 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.proof__review {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; color: var(--text); text-decoration: none;
  border-radius: 16px; padding: 16px; box-shadow: 0 12px 32px rgba(8, 28, 52, .3);
}
.proof__review .stars { display: block; color: #f2a516; letter-spacing: 2px; font-size: .9rem; }
.proof__quote { display: block; font-size: .95rem; line-height: 1.45; margin-top: 4px; }
.proof__review small { display: block; color: var(--dim); font-size: .8rem; margin-top: 6px; }
.proof__review:hover small { color: var(--navy); }
.proof__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  padding: 12px 16px; border-radius: 14px; background: rgba(8, 28, 52, .45); border: 1px solid rgba(255,255,255,.12);
  font-size: .9rem;
}
.proof__label { color: rgba(255,255,255,.7); font-size: .82rem; }
.brands { display: flex; gap: 14px; }
.brands b { font-weight: 700; letter-spacing: .06em; font-size: .95rem; }

/* Subpage hero */
.hero--page { padding: 20px 0 40px; }
.hero--page h1 { font-size: clamp(2.1rem, 8vw, 4.25rem); overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.page-hero > * { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--dim); margin-bottom: 24px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.page-hero { display: grid; gap: 28px; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); align-self: end; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dim); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Background photos with navy overlay */
.has-bg {
  background-color: var(--navy);
  background-image: linear-gradient(180deg, rgba(13, 43, 78, .6) 0%, rgba(8, 28, 52, .78) 55%, rgba(8, 28, 52, .9) 100%), var(--bg-img);
  background-size: cover; background-position: center;
  color: #fff;
}
.hero--page.has-bg { padding: 20px 0 calc(32px + var(--edge-h)); }
.has-bg .crumbs, .has-bg .crumbs a { color: rgba(255,255,255,.7); }
.has-bg .crumbs a:hover, .has-bg .crumbs [aria-current] { color: #fff; }
.has-bg h1 { color: #fff; }
.has-bg h1 span { color: rgba(255,255,255,.88); }
.has-bg .hero__lead, .has-bg .hero__trust { color: rgba(255,255,255,.8); }
.has-bg .hero__trust li::before { filter: brightness(1.6); }
.has-bg .facts { border-color: rgba(255,255,255,.18); background: rgba(8, 28, 52, .45); border-radius: 14px; padding: 4px 18px; border: 1px solid rgba(255,255,255,.14); }
.has-bg .facts div { border-color: rgba(255,255,255,.12); }
.has-bg .facts div:last-child { border-bottom: 0; }
.has-bg .facts dt { color: rgba(255,255,255,.7); }

.nearby { margin-top: 24px; display: grid; border-top: 1px solid var(--line); }
.nearby li { border-bottom: 1px solid var(--line); }
.nearby a {
  display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; align-items: start;
  padding: 14px 0; color: var(--text); text-decoration: none; font-weight: 600;
}
.nearby a::before {
  content: ""; width: 16px; height: 20px; margin-top: 2px; grid-row: span 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30' fill='none' stroke='%23d9112c' stroke-width='2.2'%3E%3Cpath d='M12 28s9-8.3 9-15.5A9 9 0 0 0 3 12.5C3 19.7 12 28 12 28Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nearby small { color: var(--dim); font-weight: 400; font-size: .85rem; }
.nearby a:hover { color: var(--red); }

.map-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(14, 26, 43, .06); }
.map-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 12px 16px; font-size: .82rem; color: var(--dim); border-top: 1px solid var(--line); }
.lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.lg:first-child { margin-left: 0; }
.lg--current { background: var(--navy); }
.lg--near { background: #fff; border: 2px solid var(--navy); }
.lg--shop { background: var(--red); }
.area__title { margin-bottom: 32px; }

/* Radar */
.radar { position: relative; aspect-ratio: 1; padding: 0; background: radial-gradient(circle, #fff 0%, #f6f8fb 70%); }
.radar svg { position: relative; display: block; width: 100%; height: 100%; font-family: var(--font); }
.radar__sweep {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(217, 17, 44, 0) 0deg, rgba(217, 17, 44, .05) 20deg, rgba(217, 17, 44, .26) 60deg, rgba(217, 17, 44, 0) 60.5deg);
  animation: radar-spin var(--sweep) linear infinite;
}
@keyframes radar-spin { to { transform: rotate(360deg); } }
.radar__outer { fill: none; stroke: #c3ccd8; stroke-dasharray: 3 5; }
.radar__ring { fill: none; stroke: #d3dae3; stroke-dasharray: 3 5; }
.radar__km { font-size: 14px; font-weight: 600; fill: #7d8796; }
.radar__dot--other { fill: #b6c0cd; }
.radar__dot--near { fill: #fff; stroke: var(--navy); stroke-width: 3; }
.radar__dot--current { fill: var(--navy); }
.radar__dot--shop { fill: var(--red); }
.radar__halo { fill: rgba(13, 43, 78, .12); }
.radar__halo--shop { fill: rgba(217, 17, 44, .15); }
.radar__ping { fill: none; stroke: var(--red); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: radar-ping var(--sweep) linear infinite; }
@keyframes radar-ping {
  0% { opacity: .7; transform: scale(.5); }
  12% { opacity: 0; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(1.6); }
}
.radar__pill { fill: #fff; stroke: #e1e6ed; }
.radar__leader { stroke: #9aa5b4; stroke-width: 1.2; }
.radar__pill--current { fill: var(--navy); stroke: var(--navy); }
.radar__pill--shop { fill: var(--red); stroke: var(--red); }
.radar__t { font-weight: 600; fill: var(--text); }
.radar__t--current, .radar__t--shop { fill: #fff; }
.radar__item--other .radar__dot { transition: fill .2s; }
a.radar__item:hover .radar__dot--other, a.radar__item:hover .radar__dot--near { fill: var(--red); stroke: var(--red); }
a.radar__item:hover .radar__pill { stroke: var(--red); }
a.radar__item:hover .radar__t { fill: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .radar__sweep { animation: none; transform: rotate(300deg); }
  .radar__ping { animation: none; }
}

/* Brand logo band */
.brands-band { background: radial-gradient(120% 140% at 50% 0%, var(--navy) 0%, var(--navy-deep) 70%); color: #fff; padding: 36px 0 calc(36px + var(--edge-h)); }
.brands-band__inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.brands-band__label { font-size: .9rem; color: rgba(255,255,255,.8); }
.brands-band__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; justify-items: center; width: 100%; max-width: 900px; }
.brands-band__logos img { width: auto; height: auto; max-width: 100%; max-height: 54px; }
.brands-band__logos li { display: grid; place-items: center; padding: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.brands-band__logos li:hover { transform: scale(1.15); }
.brands-band__logos img { transition: filter .35s; }
.brands-band__logos li:hover img { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.brands-band__logos li:hover img.is-inverted { filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: reduce) { .brands-band__logos li { transition: none; } }
.brands-band__logos img.is-inverted { filter: brightness(0) invert(1); }
.brands-band__logos li:last-child img { max-height: 72px; }

/* Quick answers (AEO) */
.quick { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; margin-bottom: 48px; box-shadow: 0 10px 30px rgba(14, 26, 43, .05); }
.quick__h { font-size: 1.25rem; letter-spacing: -.02em; color: var(--navy); margin-bottom: 8px; }
.quick__list { margin: 0; display: grid; }
.quick__list div { padding: 14px 0; border-top: 1px solid var(--line); }
.quick__list div:first-child { border-top: 0; }
.quick__list dt { font-weight: 600; }
.quick__list dd { margin: 4px 0 0; color: var(--dim); }

/* Google rating band */
.rating-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background-color: var(--navy);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110'%3E%3Cpath fill='%23ffffff' fill-opacity='.05' d='M55 18l9.4 19 21 3-15.2 14.8 3.6 20.9L55 65.8 36.2 75.7l3.6-20.9L24.6 40l21-3z'/%3E%3C/svg%3E"),
    radial-gradient(120% 120% at 50% 0%, #163a63 0%, var(--navy) 55%, var(--navy-deep) 100%);
  background-size: 110px 110px, 100% 100%;
  padding: 56px 0 calc(56px + var(--edge-h));
}
.rating-band { text-align: left; }
.rating-band__inner { display: grid; gap: 32px; align-items: center; }
.rating-score {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 28px 20px; border-radius: 22px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.rating-score__num { font-size: clamp(4.5rem, 24vw, 7.5rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: #f5b82e; font-variant-numeric: tabular-nums; }
.rating-score__num small { font-size: .3em; letter-spacing: 0; color: rgba(255, 255, 255, .7); margin-left: 6px; font-weight: 600; }
.rating-score__count { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.rating-stars { position: relative; display: inline-block; font-size: 1.9rem; letter-spacing: 6px; line-height: 1; }
.rating-stars__bg { color: rgba(255, 255, 255, .22); }
.rating-stars__fg { position: absolute; left: 0; top: 0; width: var(--fill); overflow: hidden; white-space: nowrap; color: #f5b82e; }
.rating-text__h { font-size: clamp(1.9rem, 8vw, 3rem); color: #fff; }
.rating-text__p { color: rgba(255, 255, 255, .8); margin-top: 14px; max-width: 34em; font-size: 1.05rem; }
.rating-band__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rating-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px;
  border-radius: 14px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s, border-color .2s;
}
.rating-btn--light { background: #fff; color: var(--navy); }
.rating-btn--light:hover { transform: translateY(-2px); }
.rating-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.rating-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.rating-band__asof { font-size: .78rem; color: rgba(255, 255, 255, .5); margin-top: 14px; }
@media (min-width: 900px) {
  .rating-band__inner { grid-template-columns: 380px 1fr; gap: 72px; }
}
@media (max-width: 480px) { .rating-btn { width: 100%; } }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.02em; margin: 36px 0 10px; color: var(--navy); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--dim); }
.legal a { color: var(--navy); font-weight: 600; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0 12px; color: var(--dim); }
.legal li { margin: 4px 0; }
.legal strong { color: var(--text); }

/* Emergency widget (desktop only) */
.sos { display: none; }
@media (min-width: 1000px) {
  .sos { display: block; position: fixed; right: 24px; bottom: 24px; z-index: 45; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; }
  .sos.is-visible { opacity: 1; transform: none; }
  .sos[hidden] { display: none; }
}
.sos__card {
  width: 290px; background: #fff; border-radius: 18px; padding: 16px 18px 18px;
  border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(8, 28, 52, .22);
}
.sos__card[hidden], .sos__open[hidden] { display: none; }
.sos__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sos__status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--dim); }
.sos__close { border: 0; background: var(--bg-2); color: var(--dim); width: 28px; height: 28px; border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.sos__close:hover { color: var(--text); }
.sos__title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); margin-top: 10px; }
.sos__call {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; height: 52px; border-radius: 12px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em;
  transition: background .2s;
}
.sos__call:hover { background: var(--red-hover); }
.sos__call svg, .sos__open svg { width: 20px; height: 20px; flex: none; }
.sos__price { margin-top: 12px; font-size: .92rem; color: var(--text); }
.sos__price b { color: var(--red); }
.sos__eta { font-size: .85rem; color: var(--dim); margin-top: 2px; }
.sos__more { display: inline-block; margin-top: 10px; font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.sos__more:hover { color: var(--red); }
.sos__open {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 12px 32px rgba(217, 17, 44, .35);
}
.sos__open:hover { background: var(--red-hover); }
@media (prefers-reduced-motion: reduce) { .sos { transition: none; } }

/* Images that wait for consent stay hidden; layouts fall back to text only. */
img[data-ext-src] { display: none !important; }

/* Consent banner, bottom left */
.consent {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); transition: bottom .3s;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(8, 28, 52, .25); padding: 14px 16px 12px; max-height: calc(100svh - 110px); overflow-y: auto;
}
.consent[hidden] { display: none; }
.dock.is-visible ~ .consent { bottom: calc(80px + env(safe-area-inset-bottom)); }
.consent__x {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: var(--bg-2); color: var(--dim); font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.consent__x:hover { color: var(--text); }
.consent__title { padding-right: 34px; font-weight: 700; font-size: .98rem; color: var(--navy); }
.consent__text { font-size: .84rem; color: var(--dim); margin-top: 4px; line-height: 1.45; }
.consent__options { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.consent__options[hidden] { display: none; }
.consent__opt { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .88rem; cursor: pointer; }
.consent__opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.consent__opt b { display: block; font-weight: 600; }
.consent__opt small { display: block; color: var(--dim); font-size: .8rem; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.consent__btn {
  min-height: 42px; padding: 0 12px; border-radius: 11px; cursor: pointer; font: inherit; font-weight: 600; font-size: .92rem;
  background: var(--navy); color: #fff; border: 1.5px solid var(--navy);
}
.consent__btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.consent__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; font-size: .82rem; }
.consent__foot a, .consent__link { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.consent__link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: .82rem; }
/* Round consent button, bottom left */
.consent-fab {
  position: fixed; z-index: 55; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--navy);
  box-shadow: 0 8px 24px rgba(8, 28, 52, .22); transition: transform .2s, bottom .3s, color .2s;
}
.consent-fab[hidden] { display: none; }
.consent-fab svg { width: 24px; height: 24px; }
.consent-fab:hover { transform: scale(1.08); color: var(--red); }
.dock.is-visible ~ .consent-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) {
  .consent-fab, .dock.is-visible ~ .consent-fab { left: 20px; bottom: 20px; }
}
.footer__consent { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
@media (min-width: 1000px) {
  .consent, .dock.is-visible ~ .consent { left: 20px; right: auto; bottom: 20px; width: 360px; }
}

/* Problem cards */
.problem__img { width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: -20px -20px 10px; border-radius: 15px 15px 0 0; transition: transform .4s; }
.problem { overflow: hidden; }
.prose__h { color: var(--text); margin-bottom: 4px; }
.problems { display: grid; gap: 10px; }
.problem {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  text-decoration: none; color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.problem:hover { border-color: var(--navy); box-shadow: 0 8px 24px rgba(14, 26, 43, .08); transform: translateY(-2px); }
.problem h3 { font-size: 1.25rem; color: var(--navy); }
.problem p { color: var(--dim); font-size: .95rem; }
.problem__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: .88rem; font-weight: 600; color: var(--red); }
.problem__arrow { font-size: 1.2rem; transition: transform .2s; }
.problem:hover .problem__arrow { transform: translateX(4px); }

.after { margin-top: 24px; }
.links-row { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.note { margin-top: 24px; color: var(--dim); }
.note a { color: var(--navy); font-weight: 600; }

/* Quote steps */
.steps-inline { display: grid; gap: 10px; counter-reset: s; }
.steps-inline li {
  counter-increment: s; position: relative; padding: 18px 18px 18px 58px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--dim);
}
.steps-inline li::before {
  content: counter(s); position: absolute; left: 18px; top: 17px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .82rem; font-weight: 600;
}
.steps-inline b { color: var(--text); font-weight: 600; }

/* Price examples */
.examples { display: grid; gap: 10px; }
.examples article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.examples__when { color: var(--dim); font-size: .85rem; font-weight: 500; }
.examples h3 { margin-top: 6px; }
.examples p { color: var(--dim); margin-top: 6px; }
.examples .examples__price { color: var(--navy); font-size: 1.8rem; font-weight: 600; letter-spacing: -.04em; margin-top: 14px; }

/* Districts page */
.areas { display: grid; gap: 32px; }
.area__h { font-size: 1.3rem; letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.area ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 6px; }
.area li { border-bottom: 1px solid var(--line); }
.area li a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text); text-decoration: none; }
.area li a::after { content: "→"; color: var(--red); opacity: 0; transition: opacity .2s, transform .2s; }
.area li a:hover { color: var(--navy); }
.area li a:hover::after { opacity: 1; transform: translateX(2px); }

/* District area: neighbour list + map */
.area-map { display: grid; gap: 28px; }
.area-map .lede { margin-top: 14px; }


/* Contact */
.contact { display: grid; gap: 10px; }
.contact__card {
  display: grid; gap: 6px; padding: 24px; border-radius: 18px;
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text);
  transition: border-color .2s;
}
.contact__card:hover { border-color: var(--navy); }
.contact__card--main { background: var(--red); border-color: var(--red); color: #fff; }
.contact__card--main:hover { background: var(--red-hover); border-color: var(--red-hover); }
.contact__label { font-size: .85rem; font-weight: 500; opacity: .8; }
.contact__value { font-size: clamp(1.8rem, 9vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.contact__value--sm { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.35; word-break: break-word; }
.contact__hint { font-size: .88rem; opacity: .75; }

/* Partner logos */
.logos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; align-items: center; margin-top: 40px; }
.logos img { max-height: 44px; width: auto; filter: grayscale(1) contrast(1.2); opacity: .85; }

/* Sections */
.section { padding: 60px 0; --edge-color: var(--bg); background: var(--bg); }
.section--alt { background: var(--bg-2); --edge-color: var(--bg-2); }

/* Section edges: the section paints a wave/arc/tilt in its own colour over its neighbour */
:root {
  --edge-h: 36px;
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V46C180 14 420 0 720 28S1200 76 1440 30V80Z'/%3E%3C/svg%3E");
  --arc-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80C360 6 1080 6 1440 80Z'/%3E%3C/svg%3E");
  --tilt-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80L1440 6V80Z'/%3E%3C/svg%3E");
  --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0V34C180 66 420 80 720 52S1200 4 1440 50V0Z'/%3E%3C/svg%3E");
  --arc-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0C360 74 1080 74 1440 0Z'/%3E%3C/svg%3E");
}
.edge-top, .edge-bottom { position: relative; z-index: 2; }
.edge-top::before, .edge-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--edge-h);
  background-color: var(--edge-color, var(--bg)); pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.edge-top::before { bottom: calc(100% - 1px); -webkit-mask-image: var(--edge-top-shape, var(--wave-top)); mask-image: var(--edge-top-shape, var(--wave-top)); }
.edge-bottom::after { top: calc(100% - 1px); -webkit-mask-image: var(--edge-bottom-shape, var(--wave-bottom)); mask-image: var(--edge-bottom-shape, var(--wave-bottom)); }
.edge-top--arc { --edge-top-shape: var(--arc-top); }
.edge-top--tilt { --edge-top-shape: var(--tilt-top); }
.edge-bottom--arc { --edge-bottom-shape: var(--arc-bottom); }
.edge-bottom + .final, .edge-bottom + .feature { padding-top: calc(88px + var(--edge-h) / 2); }
.split-head { display: grid; gap: 20px; margin-bottom: 32px; }
.split-head h2 .dim, .feature h2 .dim { font-weight: 500; }

/* Prices */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price { padding: 20px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.price__amount { font-size: clamp(2.2rem, 11vw, 3.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--navy); }
.price__when { color: var(--dim); font-size: .88rem; margin-top: 10px; line-height: 1.35; }
.price.is-now { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.price.is-now .price__amount { color: var(--red); }
.price.is-now .price__when::before { content: "Jetzt · "; color: var(--red); font-weight: 600; }

/* Price details */
.cols { display: grid; gap: 28px; margin-top: 48px; }
.cols p, .guide p, .timeline p { color: var(--dim); margin-top: 8px; }

/* Long-form text */
.split-head--text { margin-bottom: 0; align-items: start; }
.prose { display: grid; gap: 18px; color: var(--dim); font-size: 1.05rem; max-width: 38em; }
.prose strong { color: var(--text); font-weight: 600; }

/* Timeline */
.timeline { border-top: 1px solid var(--line); }
.timeline li { display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline__t { color: var(--red); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Trust guide */
.guide { display: grid; gap: 0; border-top: 1px solid var(--line); }
.guide article { padding: 26px 0; border-bottom: 1px solid var(--line); }

/* Navy statement band */
.feature { background-color: var(--navy); color: #fff; padding: 88px 0; }
.feature__text { display: grid; gap: 18px; }
.feature .dim, .feature .lede { color: var(--on-navy-dim); }

/* Cases */
.cases { margin-top: 32px; border-top: 1px solid var(--line); }
.cases li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cases__n { color: var(--red); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 3px; }
.cases p { color: var(--dim); margin-top: 4px; }

/* Reviews */
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.more { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
.more:hover { color: var(--red); }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 20px 8px; scroll-padding: 0 20px; scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  margin: 0; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.review blockquote { margin: 0; font-size: 1.1rem; line-height: 1.5; letter-spacing: -.01em; }
.review figcaption { color: var(--dim); font-size: .9rem; }
.review figcaption::before { content: "★★★★★"; display: block; color: #f2a516; letter-spacing: 3px; font-size: .85rem; margin-bottom: 6px; }

/* Shop */
.shop { display: grid; gap: 32px; }
.shop__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 40%; border-radius: 20px; }
.shop .lede { margin: 16px 0 0; }
.shop .lede:last-of-type { margin-bottom: 24px; }
.districts__title { margin-top: 56px; }
.districts { margin-top: 14px; color: var(--dim); font-size: .95rem; line-height: 1.9; max-width: 60em; }

/* FAQ */
.faq-wrap { display: grid; gap: 28px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--red); transition: transform .25s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--dim); padding: 0 0 20px; max-width: 38em; }

/* Final */
.final { background-color: var(--navy); color: #fff; padding: 56px 0 calc(40px + var(--edge-h)); }
.final__kicker { color: var(--on-navy-dim); font-size: 1.05rem; }
.final__tel {
  display: inline-block; margin-top: 10px;
  font-size: clamp(2rem, 10.5vw, 7rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; white-space: nowrap;
  text-decoration: none; font-variant-numeric: tabular-nums; transition: color .2s;
}
.final__tel:hover { color: #ff8c9c; }

.final__sub { color: var(--on-navy-dim); font-size: .9rem; margin-top: 14px; }

/* Footer */
.footer { background: var(--navy-deep); --edge-color: var(--navy-deep); padding: 48px 0 100px; color: var(--on-navy-dim); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; }
.footer__brand img { height: 40px; width: auto; }
.footer__tel { color: #fff; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; }
.footer nav, .footer address { font-style: normal; display: grid; gap: 8px; align-content: start; }
.footer address { grid-column: 1 / -1; line-height: 1.6; }
.footer__h { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer__legal nav { display: flex; gap: 20px; }
.footer__copy { color: rgba(255,255,255,.85); }
.footer__credit { color: rgba(255,255,255,.6); margin-left: auto; }
.footer__credit a { color: rgba(255,255,255,.85); }
.footer__credit a:hover { color: #fff; }
.footer__legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }

/* Mobile dock */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 22px; border-radius: 14px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 500;
  box-shadow: 0 10px 28px rgba(14, 26, 43, .3);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.dock.is-visible { transform: none; }
.dock b { font-weight: 600; }

/* ≥ 700px */
@media (min-width: 700px) {
  .quick { padding: 28px 32px; }
  .quick__list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .quick__list div:nth-child(2) { border-top: 0; }
  .nearby { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .wrap { padding: 0 40px; }
  .reviews { grid-auto-columns: 46%; padding: 0 40px 8px; scroll-padding: 0 40px; }
  .btn-call { display: inline-flex; min-width: 380px; }
  .prices { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .price { padding: 24px 22px; }
  .problems { grid-template-columns: 1fr 1fr; gap: 14px; }
  .problem { padding: 24px; min-height: 180px; }
  .problem__img { width: calc(100% + 48px); margin: -24px -24px 12px; }
  .problem__foot { margin-top: auto; padding-top: 12px; }
  .examples { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .areas { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact__card--main { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .guide--3 { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
}

/* ≥ 1000px */
@media (min-width: 1000px) {
  .footer__legal { flex-wrap: nowrap; white-space: nowrap; }
  .brands-band { padding: 48px 0 calc(48px + var(--edge-h)); }
  .brands-band__inner { grid-template-columns: auto 1fr; justify-items: stretch; text-align: left; gap: 48px; }
  .brands-band__logos img { max-height: 80px; }
  .brands-band__logos li:last-child img { max-height: 110px; }
  .area-map { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
  :root { --edge-h: 72px; }
  .header__inner { height: 76px; }
  .logo img { height: 40px; }
  .nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; height: 100%; }
  .nav a { text-decoration: none; color: var(--on-navy-dim); transition: color .2s; }
  .nav a:hover, .nav a[aria-current="page"] { color: #fff; }
  .nav__drop { position: relative; height: 100%; display: flex; align-items: center; }
  .nav__drop > a::after { content: " ▾"; font-size: .75em; }
  .nav__menu {
    position: absolute; top: calc(100% - 8px); left: -20px; min-width: 260px;
    background: #fff; border-radius: 14px; padding: 8px; display: grid;
    box-shadow: 0 16px 40px rgba(14, 26, 43, .2);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
  }
  .nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a { color: var(--text); padding: 10px 12px; border-radius: 8px; }
  .nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--bg-2); color: var(--navy); }
  .burger, .menu { display: none !important; }
  .header__inner { height: 76px; }
  .hero--page { padding: 28px 0 64px; }
  .page-hero { grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: end; }
  .problems { grid-template-columns: repeat(3, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .area ul { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1.3fr 1fr 1fr; }
  .contact__card--main { grid-column: auto; }
  .footer { padding: 72px 0 28px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
  .footer__brand, .footer address { grid-column: auto; }
  .hero { padding: 64px 0 72px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .hero--home { padding: 72px 0 calc(56px + var(--edge-h)); }
  .hero--home .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .stats dd { font-size: 1.6rem; }
  .section { padding: 96px 0; }
  .split-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; margin-bottom: 48px; }
  .feature { padding: 88px 0; }
  .feature__text { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; }
  .cases { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .cols { grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
  .timeline { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
  .guide { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .reviews { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: 1200px; margin: 0 auto; }
  .shop { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .faq-wrap { grid-template-columns: 1fr 2fr; gap: 64px; }
  .final { padding: 88px 0 calc(56px + var(--edge-h)); }
  .footer { padding-bottom: 24px; }
  .dock { display: none; }
}

@media (min-width: 1000px) and (max-height: 820px) {
  .hero--home { padding-top: 32px; }
  .hero--home h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
}
