﻿:root {
  --navy: #071725;
  --navy-2: #0b2437;
  --blue: #0679bd;
  --deep-blue: #00345b;
  --orange: #ff5a12;
  --gold: #d78b20;
  --paper: #f5f7f8;
  --text: #111820;
  --muted: #5b6a74; /* 4,8:1 auf allen hellen Flaechen */
  --line: #d8e0e5;
  --white: #fff;
  /* Akzent fuer Buttons und Schrift auf hellem Grund: Weiss darauf 5,2:1.
     Das helle Marken-Orange (--orange) bleibt fuer dunkle Flaechen, Streifen und Rahmen. */
  --accent: #c2410c;
  --accent-hover: #a8380a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 54px);
  background: rgba(7, 23, 37, .94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; min-height: 44px; }
.brand img { width: 54px; height: 38px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 20px; color: #d5e5ee; font-size: 15px; }
nav > a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover { color: white; }
.mobile-menu-toggle { display: none; }
.service-menu { position: relative; }
.service-menu summary { cursor: pointer; list-style: none; font-weight: 600; color: white; display: flex; align-items: center; min-height: 44px; }
.service-menu summary::-webkit-details-marker { display: none; }
.service-menu summary::after { content: " +"; color: var(--orange); }
.service-menu[open] summary::after { content: " -"; }
.service-menu-panel { position: absolute; top: calc(100% + 8px); left: -16px; width: 270px; padding: 10px; background: var(--navy); border: 1px solid rgba(255,255,255,.18); }
.service-menu-panel a { display: block; padding: 12px; color: #d5e5ee; border-left: 3px solid transparent; }
.service-menu-panel a:hover { color: white; background: rgba(255,255,255,.07); border-left-color: var(--orange); }
.header-cta { background: var(--accent); color: white; padding: 10px 16px; border-radius: 8px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.header-cta:hover { background: var(--accent-hover); }

.hero {
  position: relative;
  min-height: 680px;
  color: white;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Markenausnahme: harte Diagonale wie auf der Visitenkarte, kein weicher Verlauf */
  background: linear-gradient(115deg, #071725 0 45%, #111820 45% 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: auto -12% 70px -8%;
  height: 90px;
  background: var(--blue);
  transform: rotate(-6deg);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto -12% 20px -8%;
  height: 92px;
  background: var(--orange);
  transform: rotate(-6deg);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  margin: 0 0 12px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
/* Auf dunklen Flaechen traegt das helle Marken-Orange die Ueberzeile */
.hero .eyebrow, .service-hero .eyebrow, .inquiry-section .eyebrow, .legal-hero .eyebrow,
.dashboard-teaser .eyebrow { color: var(--orange); }
/* Auf dem helleren Blau reicht das Marken-Orange nicht (4,1:1), daher eine Stufe heller (4,9:1) */
.contact-band .eyebrow { color: #ff7a3d; }
h1 {
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: -.015em;
  max-width: 900px;
  margin-bottom: 24px;
  overflow-wrap: normal;
  hyphens: none;
}
.hero-copy { min-width: 0; }
.hero-text { color: #d7e4eb; font-size: 20px; line-height: 1.55; max-width: 670px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  border: 0;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .18s ease-out, transform .15s ease-out;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: white; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.secondary { background: white; color: var(--navy); border: 1px solid var(--line); }
.hero-mark {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark img { width: min(480px, 100%); height: auto; filter: drop-shadow(3px 5px 30px rgba(0,0,0,.22)); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--accent);
  color: white;
}
.trust-strip div { padding: 18px clamp(16px, 3vw, 42px); border-right: 1px solid rgba(255,255,255,.22); }
.trust-strip strong { display: block; font-size: 25px; line-height: 1; }
.trust-strip span { display: block; color: #fff; margin-top: 5px; }

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}
.section-head { max-width: 820px; margin-bottom: 30px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 12px; }
h2, h3, p, a, span, button, label { overflow-wrap: anywhere; }
.section-head p:not(.eyebrow), .tool-intro p, .dashboard-teaser p { color: var(--muted); line-height: 1.6; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-grid article, .process-grid article {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 260px;
}
.service-grid .icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: white;
  border-left: 6px solid var(--orange);
  font-size: 22px;
  margin-bottom: 18px;
}
.service-grid h3 { font-size: 22px; line-height: 1.15; margin-bottom: 10px; overflow-wrap: normal; hyphens: auto; }
.service-grid p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.process-grid p { color: var(--muted); line-height: 1.55; }
.text-link {
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--deep-blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.service-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
  padding: 70px max(16px, calc((100vw - 1180px) / 2));
  color: white;
  /* Markenausnahme: harte Diagonale, kein weicher Verlauf */
  background: linear-gradient(115deg, rgba(7,23,37,.96) 0 54%, rgba(0,52,91,.88) 54% 100%);
}
.service-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.015em;
  overflow-wrap: normal;
  hyphens: none;
}
.service-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #d7e4eb;
  font-size: 20px;
  line-height: 1.55;
}
.service-hero img {
  width: min(420px, 100%);
  justify-self: center;
  height: auto;
  filter: drop-shadow(3px 5px 30px rgba(0,0,0,.22));
}
.service-copy {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.service-copy h2 { font-size: clamp(32px, 3.2vw, 40px); line-height: 1.12; max-width: 560px; }
.service-copy p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
  max-width: 680px;
}

.quick-answer {
  background: #eef5f8;
  padding-top: clamp(26px, 4vw, 42px);
  padding-bottom: clamp(26px, 4vw, 42px);
}
.quick-answer h2 { max-width: 850px; margin-bottom: 14px; }
.quick-answer > p:not(.eyebrow) { max-width: 900px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.quick-answer ul { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 8px; line-height: 1.6; }
.service-points {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-points span {
  background: white;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  padding: 12px 14px;
  font-weight: 600;
}
.service-form-section .request-tool {
  max-width: 940px;
  border: 1px solid var(--line);
}
.service-form-section .btn {
  margin-top: 20px;
}
.breadcrumbs {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs a { color: var(--deep-blue); font-weight: 600; }
.hero-actions.compact { margin-top: 24px; }
.content-grid, .audience-grid, .city-grid, .cost-grid, .local-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.content-card, .audience-card, .city-card, .cost-card, .local-card {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
}
.content-card h3, .audience-card h3, .city-card h3, .cost-card h3, .local-card h3 { font-size: 22px; }
.content-card p, .audience-card p, .city-card p, .cost-card p, .local-card p, .section-copy {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
.fact-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); line-height: 1.55; }
.fact-list li::marker { color: var(--orange); }
.quick-answer ul strong { color: var(--text); }
.city-card { display: flex; flex-direction: column; }
.city-card .text-link { margin-top: auto; align-self: flex-start; }
.notice {
  padding: 18px 20px;
  background: #fff4ec;
  border-left: 6px solid var(--orange);
  line-height: 1.55;
}
.contact-band {
  width: 100%;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: var(--deep-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-band p { color: #d7e4eb; margin-bottom: 0; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.price-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  background: white;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  padding: 22px;
}
.price-card h3 { font-size: 20px; margin-bottom: 8px; overflow-wrap: normal; hyphens: auto; }
.price-card strong { display: block; color: var(--deep-blue); font-variant-numeric: tabular-nums; font-size: 25px; line-height: 1.15; margin-bottom: 10px; overflow-wrap: normal; hyphens: auto; }
.price-card p { color: var(--muted); font-size: 16px; line-height: 1.55; margin-bottom: 0; }
.price-disclaimer { margin-top: 20px; padding: 16px 18px; background: #eef5f9; border-left: 5px solid var(--blue); color: var(--muted); font-size: 15px; }
.price-disclaimer a { color: var(--deep-blue); font-weight: 600; text-decoration: underline; }
.neighbor-links { display: flex; gap: 10px; flex-wrap: wrap; }
.neighbor-links a { background: white; border: 1px solid var(--line); padding: 11px 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

.inquiry-section {
  width: 100%;
  background: var(--navy);
  color: white;
  padding: 84px max(16px, calc((100vw - 1180px) / 2));
}
.tool-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}
.tool-intro h2 { color: white; }
.tool-intro p { color: #c9d5dc; }
.mini-note {
  margin-top: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 16px;
  line-height: 1.5;
}
.request-tool {
  background: white;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.2);
  padding: clamp(18px, 3vw, 30px);
}
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 980px;
  background: #e8eef2;
  color: var(--muted);
  font-weight: 700;
}
.steps span.active { background: var(--accent); color: white; }
fieldset { border: 0; padding: 0; margin: 0; }
.step { display: none; }
.step.active { display: block; }
legend { font-size: 28px; font-weight: 700; margin-bottom: 18px; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.choice-grid label {
  display: block;
  border: 1px solid var(--line);
  padding: 15px;
  cursor: pointer;
  background: #f8fafb;
  font-weight: 600;
  min-height: 44px;
}
.choice-grid input { margin-right: 8px; accent-color: var(--orange); }
.choice-grid label:has(input:checked) { border-color: var(--orange); border-left: 5px solid var(--orange); padding-left: 11px; background: white; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
label { font-weight: 600; font-size: 15px; }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  padding: 12px;
  min-height: 48px;
  border-radius: 8px;
  background: white;
  font-size: 17px;
}
input[type="radio"], input[type="checkbox"] { width: auto; min-height: 0; padding: 0; }
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.privacy { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; margin-top: 16px; padding: 4px 0; line-height: 1.45; cursor: pointer; }
.privacy input { width: 22px; height: 22px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--accent); }
.tool-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.tool-summary {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #f8fafb;
  padding: 16px;
}
.tool-summary h3 { margin-bottom: 10px; }
.tool-summary dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px; margin: 0; }
.tool-summary dt { color: var(--muted); }
.tool-summary dd { margin: 0; font-weight: 600; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-grid span { color: var(--accent); font-weight: 700; font-size: 30px; }

.dashboard-teaser {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--navy);
  color: white;
  width: 100%;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
}
.dashboard-teaser p { color: #c9d5dc; max-width: 700px; }
.faq details {
  background: white;
  border: 1px solid var(--line);
  padding: 0 20px;
  margin-bottom: 10px;
}
.faq details[open] { padding-bottom: 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 14px 0; min-height: 44px; }
.faq p { color: var(--muted); line-height: 1.7; font-size: 17px; margin: 12px 0 0; max-width: 900px; }

.footer {
  background: #050d14;
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(16px, 4vw, 54px);
}
.footer img { width: 96px; height: 64px; object-fit: contain; }
.footer p, .footer span { color: #b5c3ca; display: block; }
.footer a { color: white; font-weight: 700; display: flex; align-items: center; min-height: 44px; }
.footer-legal { min-width: 150px; }
.footer-legal a { color: #d5e5ee; }
.privacy a { color: var(--deep-blue); text-decoration: underline; }

.legal-page { background: var(--paper); min-height: 70vh; }
.legal-hero { padding: 76px max(16px, calc((100vw - 980px) / 2)) 54px; color: white; background: linear-gradient(115deg, var(--navy) 0 68%, var(--deep-blue) 68% 100%); }
.legal-hero h1 { font-size: clamp(40px, 5vw, 62px); margin-bottom: 16px; overflow-wrap: anywhere; }
.legal-hero > p:not(.eyebrow) { color: #d7e4eb; font-size: 19px; max-width: 760px; }
.legal-notice { width: min(980px, calc(100% - 32px)); margin: 28px auto 0; padding: 16px 18px; background: #fff4ec; border: 1px solid #ffd0b8; }
.legal-content { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 76px; }
.legal-content h2 { margin-top: 34px; font-size: clamp(25px, 3vw, 32px); }
.legal-content p, .legal-content li { max-width: 880px; color: var(--muted); line-height: 1.75; }
.legal-content a { color: var(--deep-blue); font-weight: 600; text-decoration: underline; }
.legal-placeholder { display: inline-block; padding: 1px 7px; color: #8a340b; background: #fff0e8; border: 1px dashed var(--orange); font-weight: 700; }
.legal-updated { margin-top: 42px; font-weight: 600; }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  border-left: 5px solid var(--orange);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .2s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Schnellkontakt am Handy (Seitentyp B): immer erreichbar, Glasleiste wie der Header */
.call-bar { display: none; }
@media (max-width: 900px) {
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(7, 23, 37, .94);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .call-bar .btn { width: 100%; min-height: 48px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 900px) {
  .site-header { flex-wrap: nowrap; gap: 10px; padding: 10px 16px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 44px; height: 32px; }
  .brand span { font-size: 17px; white-space: nowrap; }
  .header-cta { display: none; }
  .mobile-menu-toggle { display: grid; width: 46px; height: 44px; margin-left: auto; padding: 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: transparent; place-content: center; gap: 5px; cursor: pointer; }
  .mobile-menu-toggle span { display: block; width: 24px; height: 3px; border-radius: 980px; background: white; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 16px 18px; background: #071725; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .site-nav > a, .service-menu summary { padding: 12px; font-size: 17px; }
  .service-menu-panel { position: static; width: 100%; margin-top: 2px; padding: 4px 0 8px 12px; border: 0; box-shadow: none; background: rgba(255,255,255,.04); }
  .service-menu-panel a { padding: 10px 12px; }
  .hero-inner, .tool-layout, .service-hero, .service-copy { grid-template-columns: 1fr; }
  .content-grid, .audience-grid, .city-grid, .cost-grid, .local-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding: 70px 0 90px; }
  .hero-mark, .service-hero > img { display: none; }
  .service-hero { min-height: auto; }
  .trust-strip, .service-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .trust-strip, .service-grid, .process-grid, .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .dashboard-teaser, .footer, .contact-band { flex-direction: column; align-items: flex-start; }
  .content-grid, .audience-grid, .city-grid, .cost-grid, .local-grid { grid-template-columns: 1fr; }
  .tool-actions { flex-direction: column; }
  .btn { width: 100%; }
  h1 { font-size: 32px; line-height: 1.08; }
  h2 { font-size: 30px; line-height: 1.08; }
  .hero-text, .service-hero p:not(.eyebrow) { font-size: 18px; }
  .hero-inner { width: min(100% - 32px, 1180px); }
  .hero-actions { gap: 10px; }
  .service-hero { padding-top: 58px; }
  .service-hero h1 { font-size: 32px; overflow-wrap: break-word; }
  .service-copy h2 { font-size: 30px; }
  .brand span { display: none; }
  .footer img { display: none; }
  .footer-legal { width: 100%; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
  .legal-hero { padding-top: 54px; padding-bottom: 42px; }
  .legal-hero h1 { font-size: 36px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card strong { font-size: 23px; }
}
