/* Shared styles for the static service and city landing pages.
   Extracted from 15 byte-identical inline <style> blocks. */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #2b90d9;
  --green-deep: #1d6fb0;
  --green-tint: #e8f4fc;
  --ink: #15202b;
  --ink-soft: #51606e;
  /* War #8a96a3 = 3,01:1 auf Weiss — unter der AA-Schwelle von 4,5:1. */
  --ink-faint: #646e7b;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --line: #e3e9ef;
  /* Bedeutungstragende Rahmen brauchen 3:1 (WCAG 1.4.11). Alt: 1,34:1. */
  --line-2: #848f9c;
  --shadow-sm: 0 1px 2px rgba(20, 28, 40, .05);
  --shadow: 0 2px 4px rgba(20, 28, 40, .04), 0 14px 34px -18px rgba(20, 28, 40, .18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

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

.nav-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.nav-brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-faint);
}

.nav-back {
  background: var(--green-deep);
  color: #fff;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .18s ease, transform .18s ease;
}

.nav-back:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.nav-back:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}

.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 30px;
  letter-spacing: .01em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
}

.lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 34px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-primary {
  background: var(--green-deep);
  color: #fff;
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .18s ease, transform .18s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1.5px solid var(--line-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .18s ease, transform .18s ease;
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.card-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(19px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}

p {
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-size: 15px;
}

ul.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

ul.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

ul.feature-list li::before {
  content: '✓';
  color: var(--green-deep);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item:first-child {
  border-top: none;
  padding-top: 0;
}

.faq-q {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--ink-soft);
}

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.related-link {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.related-link:hover {
  background: var(--green-tint);
  border-color: var(--green);
  color: var(--green-deep);
  transform: translateY(-1px);
}

.related-link:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto;
}

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

footer a:hover {
  color: var(--green-deep);
}

.nap {
  margin-top: 8px;
  line-height: 1.8;
}

@media (max-width: 600px) {
  ul.feature-list {
    grid-template-columns: 1fr;
  }

  .related {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
}

/* ============================================================
   BARRIEREFREIHEIT  (zentral fuer alle 15 Leistungs-/Stadtseiten)
   ============================================================ */

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 0; }
main:focus { outline: none; }

/* Durchgaengiger, kontraststarker Fokusring. */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px;
}

/* Rechtliche Links muessen ohne Farbe als Links erkennbar sein (WCAG 1.4.1) —
   vorher gleiche Farbe wie der Fliesstext und ohne Unterstreichung. */
footer a {
  text-decoration: underline; text-underline-offset: 2px;
  min-height: 24px; display: inline-block;
}

/* Cookie-Einstellungen loesen eine Aktion aus, sind also ein <button>,
   sollen im Fliesstext aber wie ein Link aussehen. */
.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
  min-height: 24px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
  }
}
