@font-face {
  font-family: "Space Grotesk Local";
  src: url("assets/fonts/SpaceGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk Local";
  src: url("assets/fonts/SpaceGrotesk-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans Local";
  src: url("assets/fonts/DMSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans Local";
  src: url("assets/fonts/DMSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #0f2a44;
  --brand-2: #12324f;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-soft-2: #eef4f9;
  --surface: #ffffff;
  --ink: #1f2937;
  --muted: #4f6780;
  --line: #d8e1ea;
  --cta: #1fa67a;
  --cta-dark: #188763;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(15, 42, 68, 0.08);
  --shadow-md: 0 10px 26px rgba(15, 42, 68, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

::selection {
  background: #0f2a44;
  color: #ffffff;
}

::-moz-selection {
  background: #0f2a44;
  color: #ffffff;
}

body {
  margin: 0;
  font: 16px/1.65 "DM Sans Local", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 20%, #ffffff 100%);
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #1a7fd1;
  outline-offset: 2px;
}

main a:not(.btn) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

main a:not(.btn):hover {
  text-decoration-color: var(--brand);
}

a:hover { text-decoration: underline; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(15, 42, 68, 0.05);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.brand-text {
  display: inline-block;
  font-family: "Space Grotesk Local", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--brand);
  background: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a.nav-cta {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.nav a:hover {
  text-decoration: none;
  background: #f1f5f9;
}

.nav a.is-active {
  background: #e8edf2;
  border-color: #c7d2dd;
  color: #0f2a44;
}

.nav a.nav-cta:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
}

.nav a.nav-cta.is-active {
  background: #e8edf2;
  border-color: #c7d2dd;
  color: #0f2a44;
}

.breadcrumbs-wrap {
  padding: 12px 0 0;
}

.breadcrumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: ">";
  color: var(--line);
  margin-right: 2px;
}

.breadcrumbs a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.breadcrumbs span[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

main > section {
  padding: 20px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 920px;
}

main > section:nth-child(even) {
  background: var(--bg-soft);
  border-top: 1px solid #e7eef5;
  border-bottom: 1px solid #e7eef5;
}

.hero {
  padding: 34px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.container.grid-2 p,
.container.grid-2 li {
  color: #000000;
}

.container.grid-2 .card p,
.container.grid-2 .card li {
  color: #111111;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid #d3dfeb;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.hero .card {
  box-shadow: var(--shadow-md);
}

.home-page .hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 260px at 30% -15%, #dce9f7 0%, rgba(220, 233, 247, 0) 60%),
    radial-gradient(900px 220px at 85% 0%, #dff5ec 0%, rgba(223, 245, 236, 0) 62%);
  border-bottom: 1px solid #e4edf6;
}

.home-page .hero .card:first-child {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: #142b41;
  font-family: "Space Grotesk Local", "Segoe UI", sans-serif;
}

h1 { font-size: clamp(1.75rem, 4.8vw, 2.75rem); }
h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  margin-top: 28px;
}
h3 { font-size: 1.05rem; }
h3 { text-transform: uppercase; }

.card > h2:first-child,
section > .container > h2:first-child {
  margin-top: 0;
}

p {
  margin: 0 0 12px;
  color: var(--ink);
}

.pill {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #d8e2eb;
  background: #eef4fa;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 0.75rem;
  font-weight: 700;
}

.icon-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-title img,
.service-title img {
  width: 20px;
  height: 20px;
  border: 1px solid #dbe4ed;
  background: #f7fbff;
  border-radius: 8px;
  padding: 3px;
}

.service-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* High-intent CTA variant used with .mt-14 blocks */
.cta-row.mt-14 {
  margin-top: 18px !important;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 42, 68, 0.2);
  background:
    radial-gradient(circle at 10% 15%, rgba(26, 127, 209, 0.2), transparent 45%),
    linear-gradient(135deg, #eaf3ff 0%, #f8fcff 55%, #eef7ff 100%);
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.16);
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-row.mt-14 .btn {
  min-width: 220px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(15, 42, 68, 0.16);
}

.cta-row.mt-14 .btn:first-child {
  transform: scale(1.02);
  box-shadow: 0 10px 24px rgba(15, 42, 68, 0.24);
  animation: ctaPulse 2.2s ease-in-out infinite;
}

.cta-row.mt-14 .btn:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 14px 28px rgba(15, 42, 68, 0.24);
}

.mt-12 { margin-top: 12px !important; }
.mt-14 { margin-top: 14px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-54 { margin-top: 54px !important; }

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 10px 24px rgba(15, 42, 68, 0.24);
  }
  50% {
    box-shadow: 0 14px 32px rgba(15, 42, 68, 0.3);
  }
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 42, 68, 0.12);
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
}

.btn-soft,
.btn-outline {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.btn-soft:hover,
.btn-outline:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
}

.btn-whatsapp {
  background: var(--cta) !important;
  border-color: var(--cta-dark) !important;
  color: #ffffff !important;
}

.btn-whatsapp:hover {
  background: var(--cta-dark) !important;
  border-color: var(--cta-dark) !important;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: #000000;
}

.list li { margin-bottom: 6px; }

.intent-links {
  margin: 4px 0 0;
  padding-left: 20px;
}

.intent-links li {
  margin: 7px 0;
}

.sitemap-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #edf4fb;
  color: #16324c;
  font-weight: 700;
}

tr:nth-child(even) td { background: #fbfdff; }

.company-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.company-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.directory-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.directory-item > a:not(.btn) {
  display: inline-block;
  margin-top: 6px;
}

.directory-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.panel {
  background: var(--brand);
  border-color: var(--brand);
  color: #d9e7f4;
}

.panel h2,
.panel h3 { color: #fff; }

.panel p { color: #d9e7f4; }

.panel .list,
.panel .list li {
  color: #ffffff;
}

.panel a {
  color: #d4fff0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.badge {
  display: inline-block;
  font-size: .75rem;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid #bde5d8;
  background: #ebf8f3;
  color: #167456;
}

.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kpi {
  min-width: 140px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfd;
  padding: 10px 12px;
}

.kpi b {
  display: block;
  color: #142b41;
  font-size: 1.12rem;
}

.kpi span {
  font-size: .92rem;
  color: var(--muted);
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.hero-checks span {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5faff;
  padding: 8px 10px;
  color: #1f3851;
  font-size: .92rem;
}

.trust-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-item {
  background: #fff;
  border: 1px solid #d5e1ec;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.trust-icon {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 8px;
}

.trust-item b {
  display: block;
  color: #122f4b;
  line-height: 1.2;
}

.trust-item span {
  font-size: .9rem;
  color: var(--muted);
}

.trust-strip--process {
  margin-top: 12px;
}

.trust-strip--process .trust-item {
  padding: 14px;
  border-color: #cfdceb;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.trust-strip--process .trust-icon {
  width: 64px;
  height: 64px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq details + details { margin-top: 8px; }

summary {
  cursor: pointer;
  color: #102a44;
  font-weight: 700;
}

.faq details[open] {
  border-color: #b9cadc;
  box-shadow: 0 5px 12px rgba(15, 42, 68, 0.08);
}

.faq-search {
  margin: 14px 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfd;
}

.faq-search label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #1b334b;
}

.faq-search input[type="search"],
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9d6e2;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  accent-color: var(--cta);
}

form { display: grid; gap: 10px; }
label { font-weight: 600; color: #24384e; }
textarea { min-height: 120px; resize: vertical; }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.hp-field-wrap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.captcha-wrap {
  padding: 10px 12px;
  border: 1px dashed #c7d5e3;
  border-radius: 10px;
  background: #f7fbff;
}

.form-status {
  margin: 6px 0 0;
  padding: 0;
  min-height: 1.25em;
  font-size: 0.95rem;
}

.form-status.is-ok {
  color: #136b50;
  font-weight: 600;
}

.form-status.is-error {
  color: #8f1d1d;
  font-weight: 600;
}

.faq-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.faq-preset {
  border: 1px solid #c8d5e0;
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.faq-preset:hover { background: #eef4f8; }

.faq-empty { margin-top: 8px; color: #7a1f1f; }

.config-progress {
  height: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #edf3f8;
  overflow: hidden;
  margin: 8px 0 4px;
}

.config-progress__bar {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--cta), #35ba90);
  transition: width .25s ease;
}

.config-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  margin-top: 14px;
}

.config-step { display: none; }
.config-step.is-active { display: block; }

.config-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.config-check {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  font-weight: 600;
  color: #1d344b;
}

.config-check input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.config-actions {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.estimate-fieldset {
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.estimate-fieldset legend {
  padding: 0 6px;
  color: #1f3851;
  font-weight: 700;
}

.estimate-box {
  margin: 10px 0 14px;
  border: 1px solid #cddaea;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  padding: 12px;
}

.estimate-range {
  margin: 0 0 6px;
  font-family: "Space Grotesk Local", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #12324f;
}

.note {
  border-left: 4px solid var(--cta);
  background: #edf9f4;
  border-radius: 8px;
  padding: 10px 12px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-slot {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f8fb;
  color: #23384d;
  font-weight: 600;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.ai-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.ai-gallery figure {
  margin: 0;
  border: 1px solid #d6e1eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ai-gallery figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 42, 68, 0.12);
}

.ai-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.ai-gallery figcaption {
  padding: 10px 12px;
  color: var(--brand-2);
  font-weight: 700;
}

.live-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.live-photo--panel {
  margin-bottom: 10px;
}

.live-photo--hero {
  margin-top: 12px;
  margin-bottom: 16px;
  max-height: 300px;
  object-fit: cover;
}

.icon-title + .live-photo,
h1 + .live-photo,
h2 + .live-photo,
p + .live-photo {
  margin-top: 12px;
}

.live-photo + h2,
.live-photo + h3,
.live-photo + p,
.live-photo + .hero-checks,
.live-photo + .cta-row,
.live-photo + .kpis,
.live-photo + .list {
  margin-top: 12px;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.small {
  font-size: .88rem;
  color: #66788a;
}

.leipzig-map-wrap {
  margin: 16px 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.leipzig-map-head p {
  margin-bottom: 10px;
}

.leipzig-map-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.leipzig-map {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f2f7fc;
}

.leipzig-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.bezirk-shape {
  fill: #dbe8f4;
  stroke: #6f89a3;
  stroke-width: 2;
  transition: fill .2s ease, stroke .2s ease, transform .2s ease;
}

.leipzig-map a:hover .bezirk-shape,
.leipzig-map a.is-active .bezirk-shape {
  fill: #1fa67a;
  stroke: #0f2a44;
}

.bezirk-label {
  fill: #17344f;
  font-family: "Space Grotesk Local", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.bezirk-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.bezirk-chip {
  border: 1px solid #b7c7d8;
  background: #fff;
  color: #12324f;
  border-radius: 999px;
  padding: 7px 11px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bezirk-chip:hover {
  background: #f1f6fb;
}

.bezirk-chip.is-active {
  background: #0f2a44;
  border-color: #0f2a44;
  color: #fff;
}

.stadtteil-grid .directory-item.is-hidden {
  display: none;
}

footer {
  padding: 16px 0 20px;
  border-top: 1px solid var(--line);
  background: #f8fbfe;
  color: #64748b;
  font-size: .86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-col p {
  margin: 0 0 6px;
  color: #455a6f;
  line-height: 1.45;
}

.footer-col p strong,
.footer-title strong {
  color: #102a44;
  font-family: "Space Grotesk Local", "Segoe UI", sans-serif;
}

.footer-title {
  margin-bottom: 8px;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.footer-list li {
  margin: 0;
  padding: 0;
}

.footer-list a {
  color: #1f3851;
  text-decoration: none;
}

.footer-list a:hover {
  text-decoration: underline;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  background: var(--cta);
  border: 1px solid var(--cta-dark);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(31, 166, 122, 0.3);
}

.wa-inline-icon {
  width: 1em;
  height: 1em;
  margin-right: 0.38em;
  vertical-align: -0.16em;
  flex: 0 0 auto;
}

a .wa-inline-icon,
button .wa-inline-icon {
  pointer-events: none;
}

.wa-float:hover {
  text-decoration: none;
  background: var(--cta-dark);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 42, 68, 0.24);
  padding: 14px;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__content h2 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.cookie-banner__content p {
  margin-bottom: 4px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
}

.cookie-modal.is-open {
  display: block;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 34, 0.52);
}

.cookie-modal__dialog {
  position: relative;
  width: min(720px, 92%);
  margin: 6vh auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(12, 24, 42, 0.35);
  padding: 18px;
  max-height: 88vh;
  overflow: auto;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.cookie-option h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.cookie-option p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-option--locked {
  opacity: 0.92;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}

.cookie-reopen {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 118;
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.cookie-reopen:hover {
  background: #f3f7fb;
}

.stagger > * {
  opacity: 0;
  transform: translateY(5px);
  animation: rise .45s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: .03s; }
.stagger > *:nth-child(2) { animation-delay: .07s; }
.stagger > *:nth-child(3) { animation-delay: .11s; }
.stagger > *:nth-child(4) { animation-delay: .15s; }
.stagger > *:nth-child(5) { animation-delay: .19s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .cta-row.mt-14 .btn:first-child {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .grid-2,
  .config-layout { grid-template-columns: 1fr; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .leipzig-map-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 680px) {
  .topbar-inner {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0;
  }
  .topbar-inner::after {
    content: "→";
    position: absolute;
    right: 0;
    bottom: 4px;
    width: 42px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-weight: 700;
    color: #355675;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98) 55%);
    pointer-events: none;
  }
  .brand {
    justify-content: center;
  }
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 18px;
    padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.84rem;
    padding: 6px 10px;
  }

  .grid-3,
  .hero-checks,
  .media-grid,
  .config-options { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .cta-row.mt-14 {
    padding: 12px;
    justify-content: stretch;
  }
  .cta-row.mt-14 .btn {
    width: 100%;
    min-width: 0;
  }
  .cta-row.mt-14 .btn:first-child {
    transform: none;
    animation: none;
  }

  .brand img { height: 26px; }
  .brand-text { font-size: 0.84rem; }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
  }
  .cookie-reopen {
    left: 10px;
    bottom: 10px;
  }
}
