/* =====================================================================
   Immobiliengutachter Uwe Dennesen | Design-System
   Stil: Bento Grid. Farben: #0c377b (Dunkelblau), #0096fe (Hellblau),
   #f2f2f2 (Hellgrau), Schwarz. Schriften: Bricolage Grotesque (Titel),
   Geist (Text), beide lokal unter assets/fonts/.
   ===================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-Variable-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-Variable-latin-ext.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue-900: #0c377b;
  --blue-800: #0a2d66;
  --blue-500: #0096fe;
  --blue-400: #33abfe;
  --blue-100: #e3f2ff;
  --gray-100: #f2f2f2;
  --gray-200: #e6e6e6;
  --gray-300: #d4d4d4;
  --gray-600: #5b616b;
  --gray-800: #2c3037;
  --black: #111214;
  --white: #ffffff;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", "Segoe UI", system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --gap: 16px;
  --container: 1200px;
  --shadow: 0 1px 2px rgba(12, 55, 123, 0.06), 0 8px 24px rgba(12, 55, 123, 0.06);
  --shadow-hover: 0 2px 4px rgba(12, 55, 123, 0.08), 0 16px 40px rgba(12, 55, 123, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--black);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 800; overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
small, .small { font-size: 0.9rem; }
.muted { color: var(--gray-600); }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--gray-800); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
section { padding-block: clamp(48px, 7vw, 96px); }
section.tight { padding-block: clamp(32px, 4vw, 56px); }
.bg-gray { background: var(--gray-100); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.1rem; color: var(--gray-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 6px 18px rgba(0, 150, 254, 0.3); }
.btn--primary:hover { background: #0088e8; color: #fff; box-shadow: 0 10px 24px rgba(0, 150, 254, 0.38); }
.btn--dark { background: var(--blue-900); color: #fff; }
.btn--dark:hover { background: var(--blue-800); color: #fff; }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover { background: var(--blue-100); color: var(--blue-900); }
.btn--ghost { background: transparent; color: var(--blue-900); border-color: var(--gray-300); }
.btn--ghost:hover { border-color: var(--blue-900); color: var(--blue-900); }
.tile--dark .btn--ghost, .footer .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.tile--dark .btn--ghost:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: inherit; white-space: nowrap;
}
.phone-link svg { width: 18px; height: 18px; }
.phone-link:hover { color: var(--blue-500); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 52px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font: inherit; font-weight: 500; color: var(--black); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.nav__link:hover, .nav__toggle:hover, .nav__link[aria-current="page"] { background: var(--gray-100); color: var(--blue-900); }
.nav__link[aria-current="page"] { font-weight: 600; }
.nav__toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav__item--has-sub { position: relative; }
/* Schmaler Desktop: Menüpunkte bleiben einzeilig und rücken enger zusammen */
.nav__link, .nav__toggle { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1120px) {
  .header__inner { gap: 14px; }
  .nav__list { gap: 0; }
  .nav__link, .nav__toggle { padding: 10px 9px; font-size: 0.95rem; }
  .nav__cta { margin-left: 4px; }
  .nav__cta .phone-link { font-size: 0.95rem; }
}
.nav__item--has-sub.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: var(--shadow-hover);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.nav__item--has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--black); font-weight: 500;
}
.nav__sub a small { display: block; color: var(--gray-600); font-weight: 400; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--gray-100); color: var(--blue-900); }
.nav__cta { display: flex; align-items: center; gap: 16px; margin-left: 12px; }
.nav__cta .btn { min-height: 44px; padding: 10px 20px; }
.burger {
  display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: 10px;
  align-items: center; justify-content: center; margin-left: auto;
}
.burger { flex-direction: column; gap: 5px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--black); margin: 0; transition: transform 0.25s, opacity 0.2s; border-radius: 2px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bento Grid ---------- */
.bento {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }

.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  min-width: 0;
}
.bg-gray .tile { border-color: transparent; }
.tile:hover { box-shadow: var(--shadow-hover); border-color: var(--gray-300); }
.tile--link { text-decoration: none; color: inherit; }
.tile--link:hover { transform: translateY(-3px); color: inherit; }
.tile--gray { background: var(--gray-100); border-color: transparent; }
.tile--dark { background: var(--blue-900); color: #fff; border-color: transparent; }
.tile--dark h2, .tile--dark h3, .tile--dark h4 { color: #fff; }
.tile--dark .muted { color: rgba(255,255,255,0.72); }
.tile--dark a:not(.btn) { color: #fff; }
.tile--accent { background: var(--blue-500); color: #fff; border-color: transparent; }
.tile--accent h2, .tile--accent h3, .tile--accent h4 { color: #fff; }
.tile--accent .muted { color: rgba(255,255,255,0.8); }
.tile--light { background: var(--blue-100); border-color: transparent; }
.tile--outline { background: transparent; border: 2px dashed var(--gray-300); }
.tile > :last-child { margin-bottom: 0; }
.tile p { margin-bottom: 0.6em; }
.tile__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-900); flex: none;
}
.tile__icon svg { width: 24px; height: 24px; }
.tile--dark .tile__icon { background: rgba(255,255,255,0.12); color: #fff; }
.tile--accent .tile__icon { background: rgba(255,255,255,0.18); color: #fff; }
.tile__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--blue-500); display: inline-flex; align-items: center; gap: 6px; }
.tile__more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.tile--link:hover .tile__more svg { transform: translateX(4px); }
.tile--dark .tile__more, .tile--accent .tile__more { color: #fff; }
.tile ul { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.tile ul li { position: relative; padding-left: 26px; }
.tile ul li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-500);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 7'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 7'/></svg>") center/contain no-repeat;
}
.tile--dark ul li::before, .tile--accent ul li::before { background: #fff; }
.tile .num {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 2vw + 1.5rem, 3.2rem);
  line-height: 1; letter-spacing: -0.03em; color: var(--blue-900);
}
.tile--dark .num, .tile--accent .num { color: #fff; }
.tile .num small { font-size: 0.45em; font-weight: 600; letter-spacing: 0; margin-left: 2px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 80px); }
.hero .tile--main { justify-content: center; padding: clamp(28px, 4vw, 56px); gap: 20px; }
.hero h1 { margin: 0; }
.hero .lead { max-width: 60ch; margin: 0; }
.hero .btn-row { margin-top: 8px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem;
  color: var(--blue-900); background: var(--blue-100); padding: 8px 14px 8px 10px; border-radius: 999px; width: fit-content;
}
.hero__badge svg { width: 22px; height: 22px; }
.hero__seal { align-items: center; justify-content: center; text-align: center; }
.seal {
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid rgba(255,255,255,0.7); position: relative;
}
.seal::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.6); }
.seal svg { width: 60px; height: 60px; color: #fff; }
.seal-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }

/* ---------- Platzhalter-Bilder ---------- */
.ph {
  position: relative; width: 100%; overflow: hidden; border-radius: var(--radius);
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, #0f4a9c 55%, var(--blue-500) 140%);
  color: #fff;
}
.ph--light { background: linear-gradient(135deg, #dfeefb 0%, var(--blue-100) 60%, #cfe6fb 100%); color: var(--blue-900); }
.ph--accent { background: linear-gradient(135deg, var(--blue-500) 0%, #1aa3ff 60%, #5cbcff 140%); color: #fff; }
.ph--gray { background: linear-gradient(135deg, #e9e9e9 0%, var(--gray-100) 60%, #e2e2e2 100%); color: var(--blue-900); }
.ph svg { width: clamp(44px, 20%, 96px); height: auto; opacity: 0.9; }
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.14), transparent 50%);
  pointer-events: none;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--banner { aspect-ratio: 21 / 9; }
.ph--tile { border-radius: var(--radius-sm); }
.tile .ph { margin: -1px; width: calc(100% + 2px); }
.tile--media { padding: 0; overflow: hidden; }
.tile--media .ph { border-radius: 0; height: 100%; min-height: 240px; }

/* ---------- Trust-Leiste ---------- */
.trust .tile { padding: 20px 22px; gap: 6px; }
.trust .tile .label { font-size: 0.95rem; color: var(--gray-600); font-weight: 500; }

/* ---------- Leistungen ---------- */
.service-tile h3 { margin-top: 6px; }

/* ---------- Regionen ---------- */
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.region {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--gray-200);
  font-weight: 600; color: var(--black); transition: border-color 0.25s, transform 0.25s var(--ease), background-color 0.25s;
}
.region svg { width: 18px; height: 18px; color: var(--blue-500); flex: none; }
.region:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.region--home { background: var(--blue-900); color: #fff; border-color: transparent; }
.region--home svg { color: #fff; }
.region--home:hover { background: var(--blue-800); }

/* ---------- Ablauf / Schritte ---------- */
.steps { counter-reset: step; }
.steps .tile { padding-top: 26px; }
.step__no {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-900); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
}
.tile--dark .step__no { background: #fff; color: var(--blue-900); }

/* ---------- Preise ---------- */
.price { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.05; color: var(--blue-900); }
.tile--dark .price, .tile--accent .price { color: #fff; }
.price small { font-size: 0.55em; font-weight: 600; letter-spacing: 0; }
.price-note { font-size: 0.9rem; color: var(--gray-600); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 0 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.bg-gray .faq details { border-color: transparent; }
.faq details[open] { border-color: var(--blue-500); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-100);
  -webkit-mask: none; mask: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%230c377b' stroke-width='2.4' stroke-linecap='round' d='M12 5v14M5 12h14'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 0 20px; color: var(--gray-800); max-width: 70ch; }

/* ---------- Team ---------- */
.person { text-align: left; }
.person .ph { margin-bottom: 8px; }
.person .role { color: var(--gray-600); font-size: 0.95rem; }

/* ---------- Zitat ---------- */
.quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.3; letter-spacing: -0.01em; }
.quote::before { content: "„"; color: var(--blue-500); }
.quote::after { content: "“"; color: var(--blue-500); }

/* ---------- Kontakt / Formular ---------- */
.contact .tile--form { gap: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.form label .req { color: var(--blue-500); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--black); background: var(--gray-100);
  border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color 0.2s, background-color 0.2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 0.95rem; }
.form .check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--blue-500); }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-weight: 500; display: none; }
.form__status.is-ok { display: block; background: #e6f6ec; color: #14532d; }
.form__status.is-err { display: block; background: #fdecec; color: #7f1d1d; }
.form__note { grid-column: 1 / -1; font-size: 0.85rem; color: var(--gray-600); }
.contact__info dl { margin: 0; display: grid; gap: 14px; }
.contact__info dt { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.65); font-weight: 600; }
.contact__info dd { margin: 2px 0 0; font-size: 1.05rem; }
.contact__info a { text-decoration: none; }
.contact__info a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.hours td:last-child { text-align: right; white-space: nowrap; }
.hours tr:last-child td { border-bottom: 0; }

/* ---------- Ratgeber ---------- */
.article { max-width: 72ch; }
.article h3 { margin-top: 4px; }
.article .meta { font-size: 0.85rem; color: var(--gray-600); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.notice {
  border-left: 4px solid var(--blue-500); background: var(--blue-100); padding: 16px 20px; border-radius: 0 12px 12px 0;
  margin-bottom: 32px;
}

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero .tile--main { padding: clamp(28px, 4vw, 56px); gap: 18px; justify-content: center; }
.breadcrumb { font-size: 0.9rem; color: var(--gray-600); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gray-300); }
.breadcrumb a { color: var(--gray-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-500); }

/* ---------- CTA-Band ---------- */
.cta-band .tile { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.86); padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo { background: #fff; border-radius: 14px; padding: 12px 16px; width: fit-content; margin-bottom: 18px; }
.footer__logo img { height: 46px; width: auto; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.7);
}
.footer__bottom ul { display: flex; gap: 18px; }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-bar {
  display: none; gap: 10px; padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-200); box-shadow: 0 -6px 20px rgba(12,55,123,0.08);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
}
.mobile-bar .btn { flex: 1; min-height: 48px; padding-inline: 12px; }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.bento > .reveal:nth-child(2) { transition-delay: 0.06s; }
.bento > .reveal:nth-child(3) { transition-delay: 0.12s; }
.bento > .reveal:nth-child(4) { transition-delay: 0.18s; }
.bento > .reveal:nth-child(5) { transition-delay: 0.24s; }
.bento > .reveal:nth-child(6) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile, .region { transition: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
/* Tablet: Bento auf 6 Spalten, Kacheln verdoppeln sich */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-2, .span-3 { grid-column: span 3; }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-9 { grid-column: span 6; }
  .row-2 { grid-row: auto; }
  .hero .span-4.row-2 { grid-column: span 3; }
  .regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Navigation wird zum Ausklapp-Panel */
  .burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: 0 20px 40px rgba(12,55,123,0.12);
    padding: 12px 16px 20px; gap: 6px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 6px 12px; display: none; min-width: 0;
  }
  .nav__item--has-sub.is-open .nav__sub { display: block; }
  .nav__cta { margin: 10px 0 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .nav__cta .phone-link { display: inline-flex; justify-content: center; padding: 12px; border: 1.5px solid var(--gray-200); border-radius: 999px; }
  .nav__cta .btn { width: 100%; }
}

/* Handy: eigener Design-Durchgang */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 32px, var(--container)); }
  section { padding-block: 40px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-12, .hero .span-4.row-2 { grid-column: 1 / -1; }
  /* Kleine Zahlen-Kacheln bleiben zu zweit nebeneinander */
  .trust .tile, .bento .tile--half { grid-column: span 1; }
  .trust .tile { padding: 16px; }
  .trust .tile .num { font-size: 1.9rem; }
  .tile { padding: 20px; border-radius: 16px; }
  .hero { padding-top: 16px; }
  .hero .tile--main { padding: 24px 20px 28px; }
  .hero .lead { font-size: 1.05rem; }
  .hero__seal { grid-column: span 1; }
  .hero__phone { grid-column: span 1; }
  .hero .ph { aspect-ratio: 16 / 9; }
  .btn-row .btn { width: 100%; }
  .logo img { height: 42px; }
  .header__inner { min-height: 66px; gap: 12px; }
  .regions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .region { padding: 13px 14px; font-size: 0.95rem; }
  .faq summary { font-size: 1rem; padding: 15px 0; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .footer__bottom ul { flex-wrap: wrap; gap: 12px 18px; }
  .cta-band .tile { flex-direction: column; align-items: stretch; }
  .cta-band .btn { width: 100%; }
  .mobile-bar { display: flex; }
  /* Platz für die feste Leiste, damit der Fußbereich nicht verdeckt wird */
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .ph--banner { aspect-ratio: 4 / 3; }
  .tile--media .ph { min-height: 200px; }
  .seal { width: 108px; height: 108px; }
  .seal svg { width: 48px; height: 48px; }
  .quote { font-size: 1.2rem; }
  .nav__cta .phone-link { display: inline-flex; }
}

/* ---------- Nachjustierungen ---------- */
.h1-sub { display: block; margin-top: 0.25em; font-size: 0.55em; font-weight: 600; color: var(--blue-500); letter-spacing: 0; }
.logo img { height: 76px; }
.header__inner { min-height: 96px; }
@media (max-width: 640px) { .logo img { height: 56px; } .header__inner { min-height: 72px; } }

/* ---------- Schimmel-Illustration (animiert) ---------- */
.mold-wrap { display: inline-block; width: 120px; margin: -14px 0 -6px -10px; transition: transform 0.35s var(--ease); }
.tile--link:hover .mold-wrap { transform: scale(1.06); }
.mold-icon { display: block; width: 100%; height: auto; transform-origin: 50% 85%; animation: moldFloat 7s ease-in-out infinite; }
.mold-stage { background: #fff; height: 100%; min-height: 260px; display: grid; place-items: center; padding: 24px; }
.mold-icon--lg { width: min(80%, 380px); }
@keyframes moldFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1.2deg); }
}
@media (max-width: 640px) {
  .mold-wrap { width: 96px; margin: -10px 0 -4px -6px; }
  .mold-stage { min-height: 200px; padding: 16px; }
  .mold-icon--lg { width: min(70%, 260px); }
}
@media (prefers-reduced-motion: reduce) { .mold-icon { animation: none; } .mold-wrap { transition: none; } }

/* ---------- 3D-Look der Schimmel-Illustration ---------- */
.mold-wrap, .mold-stage { perspective: 900px; }
.mold-tilt {
  display: block; width: 100%; transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-10deg);
  transition: transform 0.6s var(--ease);
}
.mold-stage .mold-tilt { width: min(80%, 380px); }
.mold-icon--lg { width: 100%; }
.mold-icon { overflow: visible; }
.tile--link:hover .mold-tilt { transform: rotateX(4deg) rotateY(-14deg); }
.mold-stage[data-tilt].is-active .mold-tilt { transition: transform 0.12s linear; }
@media (max-width: 640px) { .mold-stage .mold-tilt { width: min(70%, 260px); } }
@media (prefers-reduced-motion: reduce) { .mold-tilt, .tile--link:hover .mold-tilt { transform: none; transition: none; } }

/* ---------- Interaktive Regionskarte ---------- */
.tile--map { padding: 10px; background: #fff; }
.map-svg { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.map-label { font-size: 17px; font-weight: 600; fill: var(--black); pointer-events: none; }
.map-label--home { font-size: 19px; font-weight: 700; fill: var(--blue-900); }
.map-label--river { font-size: 14px; font-weight: 500; fill: #4f8fc6; letter-spacing: 0.08em; }
.map-label--small { font-size: 12px; fill: var(--gray-600); }
.map-landmark circle { fill: var(--gray-300); }
.map-landmark .map-label { fill: var(--gray-600); font-weight: 500; font-size: 14px; }
.map-route { stroke: var(--blue-500); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 8; opacity: 0; transition: opacity 0.3s; }
.map-route.is-visible { opacity: 1; animation: mapDash 1.6s linear infinite; }
@keyframes mapDash { to { stroke-dashoffset: -30; } }
.city { cursor: pointer; outline: none; }
.city__dot { fill: var(--blue-900); stroke: #fff; stroke-width: 3; transition: fill 0.25s, r 0.25s; }
.city__ring { fill: var(--blue-500); opacity: 0; transition: opacity 0.25s; }
.city:hover .city__dot, .city:focus-visible .city__dot, .city.is-active .city__dot { fill: var(--blue-500); }
.city:hover .city__ring, .city:focus-visible .city__ring, .city.is-active .city__ring { opacity: 0.18; }
.city:focus-visible .city__ring { opacity: 0.35; }
.city:hover .map-label, .city.is-active .map-label { fill: var(--blue-500); }
.city--home .city__dot { fill: var(--blue-900) !important; }
.city--home .city__ring { fill: var(--blue-900); }
.city--home .map-label { fill: var(--blue-900) !important; }
.city__pulse { fill: none; stroke: var(--blue-500); stroke-width: 2; opacity: 0; transform-origin: 266px 167px; animation: mapPulse 3s ease-out infinite; }
@keyframes mapPulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
.map-info { gap: 10px; }
.map-info__name { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.map-info__meta { color: var(--blue-400); font-weight: 600; margin: 0; }
.map-info__text { margin: 0 0 6px; color: rgba(255,255,255,0.82); min-height: 4.8em; }
.map-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.map-chip {
  font: inherit; font-size: 0.9rem; font-weight: 600; color: #fff; background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 7px 13px; min-height: 36px; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.map-chip:hover { border-color: #fff; }
.map-chip.is-active { background: var(--blue-500); border-color: var(--blue-500); }
.map-info .btn { align-self: flex-start; }
@media (max-width: 960px) { .map-info__text { min-height: 0; } }
@media (max-width: 640px) {
  .tile--map { padding: 6px; }
  .map-svg { max-width: 300px; margin: 0 auto; border-radius: 12px; }
  .map-compass { display: none; }
  .map-label { font-size: 19px; }
  .map-label--home { font-size: 21px; }
  .map-info .btn { align-self: stretch; }
  .map-chip { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .map-route.is-visible { animation: none; } .city__pulse { animation: none; } }

/* Entfernungstabelle in der Karten-Info (Desktop), Chips auf Tablet und Handy */
.map-table { display: grid; gap: 4px; margin: 4px 0 12px; }
.map-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  font: inherit; font-size: 0.95rem; font-weight: 500; color: #fff; text-align: left;
  background: transparent; border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer;
  transition: background-color 0.2s;
}
.map-row:hover { background: rgba(255,255,255,0.08); }
.map-row.is-active { background: var(--blue-500); font-weight: 600; }
.map-row__km, .map-row__min { font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.78); min-width: 44px; text-align: right; }
.map-row.is-active .map-row__km, .map-row.is-active .map-row__min { color: #fff; }
.map-info__text { min-height: 0; }
@media (min-width: 961px) { .map-chips { display: none; } }
@media (max-width: 960px) { .map-table { display: none; } }

/* ---------- 3D-Siegel ---------- */
.seal3d { --seal-size: 180px; width: var(--seal-size); perspective: 700px; flex: none; }
.seal3d--lg { --seal-size: clamp(150px, 16vw, 200px); }
.seal3d--md { --seal-size: 120px; margin-bottom: 4px; }
.seal3d--sm { --seal-size: 104px; margin-top: 18px; }
.seal3d__inner {
  position: relative; transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(6deg);
  animation: sealTilt 9s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(6, 27, 66, 0.35));
}
.seal3d__edge {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #8a6a1c 60%, #5e4710 100%);
  transform: translateZ(-7px) scale(0.985);
}
.seal3d__svg { position: relative; width: 100%; height: auto; display: block; font-family: var(--font-body); transform: translateZ(1px); }
.seal3d__sheen { animation: sealSheen 7s ease-in-out infinite; }
.seal3d:hover .seal3d__inner { animation-duration: 4s; }
@keyframes sealTilt {
  0%, 100% { transform: rotateY(-18deg) rotateX(7deg); }
  50% { transform: rotateY(18deg) rotateX(-5deg); }
}
@keyframes sealSheen {
  0%, 55% { transform: translateX(0); }
  100% { transform: translateX(340px); }
}
.hero__seal .seal3d { margin-inline: auto; }
.tile--dark .seal3d__inner { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45)); }
.footer .seal3d__inner { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4)); }
@media (max-width: 640px) {
  .seal3d--lg { --seal-size: 150px; }
  .seal3d--md { --seal-size: 104px; }
  .seal3d--sm { --seal-size: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .seal3d__inner, .seal3d__sheen { animation: none; }
  .seal3d__inner { transform: rotateY(-10deg) rotateX(4deg); }
}

/* ---------- Online-Bewertung: Partner-Widget ---------- */
.tile--widget { padding: clamp(12px, 2vw, 24px); min-height: 320px; }
#iwa-widget { width: 100%; }
#iwa-widget iframe { border: 0; display: block; }

/* ---------- Tablet: Team-Kacheln liegen quer, Porträt links in fester Breite ---------- */
@media (min-width: 641px) and (max-width: 960px) {
  .person { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 22px; row-gap: 6px; align-items: start; }
  .person .ph { grid-row: 1 / span 3; aspect-ratio: 4 / 5; margin: 0; width: 180px; border-radius: 16px; }
  .person h3 { margin: 0; }
  .person .role { margin: 0; }
}

/* ---------- Handy: Fotos kompakter ---------- */
@media (max-width: 640px) {
  /* Team-Kacheln: kleines Porträt links, Text rechts */
  .person { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; }
  .person .ph { grid-row: 1 / span 3; aspect-ratio: 4 / 5; margin: 0; width: 112px; border-radius: 14px; }
  .person h3 { margin: 0; font-size: 1.15rem; }
  .person .role { margin: 0; font-size: 0.85rem; }
  .person p:last-child { font-size: 0.95rem; }
  /* Startseite, Abschnitt Über: Foto flacher statt hochkant */
  .ph--about { aspect-ratio: 16 / 10; }
  .ph--about img { object-position: 50% 22%; }
  /* Startseite, Kopfbereich: Foto flacher */
  .hero .ph--photo { aspect-ratio: 16 / 10; }
  .hero .ph--photo img { object-position: 50% 24%; }
}
@media (max-width: 400px) {
  .person { grid-template-columns: 96px minmax(0, 1fr); }
  .person .ph { width: 96px; }
}

/* Bildkacheln bleiben auch auf dem Handy randlos */
@media (max-width: 640px) {
  .tile--media { padding: 0; }
  .hero .ph--photo, .ph--about { aspect-ratio: 16 / 9; }
}

/* ---------- Siegel in der Hero-Kachel der Leistungsseiten ---------- */
.tile--seal { flex-direction: row; align-items: center; gap: 22px; padding: 22px 26px; }
.tile--seal .seal3d { --seal-size: 118px; margin: 0; }
.tile--seal__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tile--seal__text p { margin: 0; }
.tile--seal .price { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.tile--seal .muted { color: var(--gray-600); }
@media (max-width: 960px) {
  .tile--seal .seal3d { --seal-size: 108px; }
}
@media (max-width: 640px) {
  .tile--seal { gap: 16px; padding: 18px 18px 18px 16px; }
  .tile--seal .seal3d { --seal-size: 96px; }
}

/* Querformat-Szenenfoto im Hero: Klemmbrett unten im Bild behalten */
.hero .ph--scene img { object-position: 50% 58%; }

/* Partner-Widget darf nie breiter als seine Kachel werden (das Plugin setzt sonst eine feste Breite) */
.tile--widget { overflow-x: auto; overflow-y: hidden; } /* Das Plugin skaliert auf Desktop-Geräten nie unter 600px; in schmalen Desktop-Fenstern scrollt das Widget dann in der Kachel statt abgeschnitten zu werden */
#iwa-widget { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
/* Das iframe selbst nicht begrenzen: das Plugin setzt 348px und skaliert es per transform auf den Container. */

/* ---------- Schnellkontakt-Leiste rechts (Desktop, scrollt mit) ---------- */
.side-rail {
  display: none; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 95;
  flex-direction: column; gap: 8px; width: 148px; padding: 12px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200); border-right: 0; border-radius: 16px 0 0 16px; box-shadow: var(--shadow-hover);
}
.side-rail__phone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px 10px; border-radius: 12px; text-decoration: none; color: var(--blue-900);
  transition: background-color 0.25s;
}
.side-rail__phone:hover, .side-rail__phone:focus-visible { background: var(--gray-100); color: var(--blue-900); }
.side-rail__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-100); display: grid; place-items: center; }
.side-rail__icon svg { width: 20px; height: 20px; }
.side-rail__label { font-size: 0.78rem; line-height: 1.2; color: var(--gray-600); }
.side-rail__number { font-weight: 700; font-size: 0.92rem; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.side-rail__btn { flex-direction: column; gap: 3px; min-height: 0; padding: 9px 6px; font-size: 0.85rem; line-height: 1.15; }
.side-rail__btn svg { width: 16px; height: 16px; }
.side-rail__short { display: none; }
@media (min-width: 1344px) { .side-rail { display: flex; } }
/* Schmaler Desktop: nur Symbole, die Rufnummer klappt bei Maus oder Tastaturfokus nach links aus */
@media (min-width: 1344px) and (max-width: 1519px) {
  .side-rail { width: 76px; padding: 8px; gap: 6px; }
  .side-rail__phone { padding: 8px 2px; }
  .side-rail__number {
    position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%);
    background: var(--blue-900); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: 0.95rem;
    opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
  }
  .side-rail__phone:hover .side-rail__number, .side-rail__phone:focus-visible .side-rail__number { opacity: 1; visibility: visible; }
  .side-rail__btn { padding: 8px 4px; font-size: 0.78rem; }
  .side-rail__long { display: none; }
  .side-rail__short { display: inline; }
}

/* ---------- Startseite, Abschnitt Über: Foto auf Tablet flacher, auf dem Handy kleines Porträt neben der Überschrift ---------- */
.about-head { display: contents; }
.about-mini { display: none; }
@media (max-width: 960px) {
  .ph--about { aspect-ratio: 16 / 10; }
  .ph--about img { object-position: 50% 22%; }
}
@media (max-width: 640px) {
  #ueber .tile--media { display: none; }
  .about-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: center; }
  .about-mini { display: block; grid-row: 1 / span 2; width: 112px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; }
  .about-mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .about-head .eyebrow { margin: 0; align-self: end; }
  .about-head h2 { margin: 0; font-size: 1.45rem; align-self: start; }
}

/* ---------- Städteseiten: schematische Stadtkarte und Stadtteil-Liste ---------- */
.city-map { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.city-map__area { fill: #e9f3fc; stroke: #b9d6f2; stroke-width: 2; }
.city-map__river { fill: none; stroke: #9fd0f7; stroke-width: 14; stroke-linecap: round; opacity: 0.85; }
.city-map__river-label { font-size: 14px; font-weight: 500; fill: #4f8fc6; letter-spacing: 0.08em; }
.city-map__dot { fill: var(--blue-500); stroke: #fff; stroke-width: 3; }
.city-map__district--center .city-map__dot { fill: var(--blue-900); r: 8; }
.city-map__label { font-size: 15px; font-weight: 600; fill: var(--black); }
.city-map__district--center .city-map__label { font-weight: 700; fill: var(--blue-900); }
.city-map__note { font-size: 11px; fill: var(--gray-600); }
.district-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.tile ul.district-list { display: flex; padding-left: 0; }
.tile .district-list li { padding: 6px 12px; border-radius: 999px; background: var(--gray-100); font-size: 0.92rem; font-weight: 600; color: var(--blue-900); }
.bg-gray .tile .district-list li { background: #fff; border: 1px solid var(--gray-200); }
.tile .district-list li::before { display: none; }
@media (max-width: 640px) {
  .city-map__label { font-size: 18px; }
  .city-map__note { font-size: 14px; }
}
.bento--follow { margin-top: var(--gap); }

/* Ersetzt fruehere Inline-Styles: so kann die Content-Security-Policy Inline-Styles komplett verbieten */
.eyebrow--light { color: #fff; }
.h3--compact { font-size: 1.35rem; }
.h3--article { font-size: 1.5rem; }
.h2--small { font-size: 1.3rem; }

/* ---------- Google-Bewertung im Einstiegsbereich (unter der Knopfzeile) ---------- */
.rating {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; align-self: flex-start;
  padding: 10px 14px 10px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--gray-200); box-shadow: 0 8px 24px rgba(12,55,123,0.08);
  color: var(--blue-900); text-decoration: none; line-height: 1;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
/* Leichte 3D-Neigung der ganzen Plakette beim Überfahren */
.rating:hover { transform: perspective(700px) rotateX(8deg) translateY(-2px); box-shadow: 0 16px 32px rgba(12,55,123,0.14); border-color: var(--blue-100); }
.rating:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }
.rating__stars { display: inline-flex; gap: 2px; perspective: 260px; }
.rating__star {
  width: 20px; height: 20px; color: #f4b400; fill: currentColor; flex: none;
  transform-style: preserve-3d; opacity: 0;
  /* Erst der Einflug (Sterne drehen sich nacheinander aus der Tiefe herein), dann alle 9 s eine Drehwelle */
  animation: rating-einflug 0.7s var(--ease) both, rating-drehung 9s ease-in-out infinite;
}
.rating__star:nth-child(1) { animation-delay: 0.25s, 3s; }
.rating__star:nth-child(2) { animation-delay: 0.34s, 3.12s; }
.rating__star:nth-child(3) { animation-delay: 0.43s, 3.24s; }
.rating__star:nth-child(4) { animation-delay: 0.52s, 3.36s; }
.rating__star:nth-child(5) { animation-delay: 0.61s, 3.48s; }
@keyframes rating-einflug {
  from { opacity: 0; transform: rotateY(-110deg) translateZ(-40px) scale(0.6); }
  65% { opacity: 1; transform: rotateY(22deg) translateZ(0) scale(1.1); }
  to { opacity: 1; transform: none; }
}
@keyframes rating-drehung {
  0%, 86% { opacity: 1; transform: rotateY(0); }
  93% { opacity: 1; transform: rotateY(180deg) scale(1.18); }
  100% { opacity: 1; transform: rotateY(360deg); }
}
.rating__score { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; transition: color 0.2s; }
.rating__text { font-size: 0.9rem; font-weight: 500; color: var(--gray-600); white-space: nowrap; transition: color 0.2s; }
.rating__arrow { width: 16px; height: 16px; color: var(--blue-500); flex: none; transition: transform 0.3s var(--ease); }
.rating:hover .rating__score, .rating:hover .rating__text { color: var(--blue-500); }
.rating:hover .rating__arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  .rating { padding: 9px 12px; gap: 4px 8px; }
  .rating__star { width: 17px; height: 17px; }
  .rating__score { font-size: 1rem; }
  .rating__text { font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rating__star { animation: none; opacity: 1; }
  .rating, .rating:hover { transform: none; transition: none; }
  .rating__arrow { transition: none; }
}
