/* ==========================================================================
   LECKORTUNG DIREKT – Styles
   Mobile-first, performance-optimized, accessible
   ========================================================================== */

/* Import local fonts (DSGVO compliant) */
@import url('/fonts/inter.css');

/* Full-width sections */
section.full-width {
  max-width: 100%;
  width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--sp-4);
  padding-right: var(--sp-4);
}

section.full-width .container {
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  section.full-width {
    padding-left: var(--sp-8);
    padding-right: var(--sp-8);
  }
}

/* Cases section full-width with background */
.cases.full-width {
  background: var(--c-bg-alt);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

/* Final CTA with background */
.final-cta {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: white;
  padding: var(--sp-16) 0;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto var(--sp-8);
}

.final-cta .btn-primary {
  background: white;
  color: var(--c-primary);
}

.final-cta .btn-primary:hover {
  background: var(--c-primary-light);
}

.final-cta .btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --c-primary: #0B5394;
  --c-primary-dark: #083D6F;
  --c-primary-light: #E8F0FE;
  --c-accent: #E8740C;
  --c-accent-dark: #C4620A;
  --c-accent-light: #FFF3E6;
  --c-success: #1A7F37;
  --c-text: #1A1A2E;
  --c-text-muted: #555770;
  --c-text-light: #7C7E94;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F6F8FB;
  --c-bg-dark: #0F1729;
  --c-border: #E2E5EB;
  --c-border-light: #F0F2F5;
  --c-white: #FFFFFF;
  --c-star: #F5A623;

  /* Typography */
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-base: 1rem;        /* 16px */
  --fs-sm: 0.875rem;      /* 14px */
  --fs-xs: 0.8125rem;     /* 13px */
  --fs-lg: 1.125rem;      /* 18px */
  --fs-xl: 1.25rem;       /* 20px */
  --fs-2xl: 1.5rem;       /* 24px */
  --fs-3xl: 2rem;         /* 32px */
  --fs-4xl: 2.5rem;       /* 40px */
  --fs-5xl: 3rem;         /* 48px */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-px: var(--sp-5);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.14);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-indices */
  --z-sticky: 100;
  --z-header: 200;
  --z-mobile-cta: 300;
  --z-overlay: 400;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--c-primary-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  background: var(--c-primary);
  color: var(--c-white);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: var(--fw-semibold);
}

.skip-link:focus {
  top: var(--sp-4);
  color: var(--c-white);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  color: var(--c-text);
}

h1 { font-size: var(--fs-3xl); font-weight: var(--fw-extrabold); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }

.section-intro {
  color: var(--c-text-muted);
  font-size: var(--fs-lg);
  max-width: 640px;
  margin-bottom: var(--sp-10);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

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

.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

.btn-primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: var(--c-white);
}

/* Green Call Button - same size as other buttons */
.btn-call,
a.btn-call,
.card-cta,
.sticky-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  border: 2px solid #16a34a;
  background: #16a34a !important;
  color: white !important;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-call:hover,
a.btn-call:hover,
.card-cta:hover,
.sticky-call-btn:hover {
  background: #15803d !important;
  border-color: #15803d !important;
  color: white !important;
}

/* Large call button variant */
.btn-call.btn-lg,
a.btn-call.btn-lg,
.card-cta.btn-call,
.sticky-call-btn {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-lg);
}

.btn-secondary {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn-secondary:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-lg);
}

.btn-full {
  width: 100%;
}

/* ========================================================================
   HEADER
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-light);
  z-index: var(--z-header);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--sp-4);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover { color: var(--c-primary-dark); }

.logo-icon { display: flex; }

.logo-text {
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
  color: var(--c-text);
}

.logo-text strong {
  font-weight: var(--fw-bold);
  color: var(--c-primary);
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav list */
.nav-list {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg);
}

.nav-list.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.nav-list a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  color: var(--c-text);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-list a:hover {
  background: var(--c-bg-alt);
  color: var(--c-primary);
}

.nav-cta {
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  text-align: center;
  border-radius: var(--radius-md) !important;
  margin-top: var(--sp-2);
}

.nav-cta:hover {
  background: var(--c-accent-dark) !important;
}

/* Header phone */
.header-phone {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.header-phone svg {
  flex-shrink: 0;
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  background: linear-gradient(135deg, var(--c-primary-light) 0%, var(--c-bg) 60%);
  padding: var(--sp-12) 0 0;
}

.hero-inner {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

#hero-heading {
  margin-bottom: var(--sp-4);
}

.h1-sub {
  font-weight: var(--fw-bold);
  color: var(--c-text-muted);
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

/* Hero Checklist */
.hero-checklist {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}

.checklist-title {
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-checklist ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.hero-checklist li {
  position: relative;
  padding-left: var(--sp-6);
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.hero-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--c-accent);
  border-radius: 50%;
  opacity: 0.15;
}

.hero-checklist li::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 2px;
  font-size: 11px;
  color: var(--c-accent);
  font-weight: var(--fw-bold);
}

/* Hero Visual */
.hero-visual {
  display: none;
}

/* Trust Strip */
.trust-strip {
  background: var(--c-primary);
  margin-top: var(--sp-12);
  padding: var(--sp-5) 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4) var(--sp-8);
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.trust-list svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.7);
}

/* ========================================================================
   BREADCRUMB (city pages)
   ======================================================================== */
.breadcrumb {
  background: var(--c-bg-alt);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  color: var(--c-text-light);
  font-size: var(--fs-base);
}

.breadcrumb-list a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--c-primary);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--c-text);
  font-weight: var(--fw-medium);
}

/* ========================================================================
   LOCAL INTRO (city pages)
   ======================================================================== */
.local-intro-text {
  max-width: 800px;
}

.local-intro-text p {
  color: var(--c-text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-5);
}

.local-intro-text p:last-child {
  margin-bottom: 0;
}

/* ========================================================================
   SECTIONS (shared)
   ======================================================================== */
section {
  padding: var(--sp-16) 0;
}

section:nth-child(even) {
  background: var(--c-bg-alt);
}

section h2 {
  margin-bottom: var(--sp-4);
}

/* Duplicate breadcrumb/local-intro removed — see block above */

/* ========================================================================
   SECTION HEADER WITH IMAGE
   ======================================================================== */
.section-header-with-image {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}

.section-header-text {
  flex: 1;
}

.section-header-text h2 {
  margin-bottom: var(--sp-4);
}

.section-header-text .section-intro {
  margin-bottom: 0;
}

.section-header-image {
  flex-shrink: 0;
}

.section-header-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ========================================================================
   SOFORTHILFE
   ======================================================================== */
.card-grid {
  display: grid;
  gap: var(--sp-6);
}

.symptom-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.symptom-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.symptom-icon {
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}

.symptom-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

.symptom-card p {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-accent);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.card-cta::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.card-cta:hover {
  color: var(--c-accent-dark);
}

.card-cta:hover::after {
  transform: translateX(4px);
}

/* ========================================================================
   METHODEN
   ======================================================================== */
.methods-grid {
  display: grid;
  gap: var(--sp-6);
}

.method-card {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base);
}

.method-card:hover {
  box-shadow: var(--shadow-sm);
}

.method-icon {
  flex-shrink: 0;
  color: var(--c-primary);
}

.method-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
}

.method-card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
}

/* ========================================================================
   ABLAUF
   ======================================================================== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  counter-reset: step;
  position: relative;
  padding-left: var(--sp-4);
}

.step {
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
  position: relative;
}

/* Vertical line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: -32px;
  width: 2px;
  background: var(--c-border);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  margin-bottom: var(--sp-2);
}

.step-content p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  max-width: 480px;
}

.ablauf-cta {
  margin-top: var(--sp-10);
  text-align: center;
}

/* ========================================================================
   KOSTEN
   ======================================================================== */
.kosten-grid {
  display: grid;
  gap: var(--sp-6);
}

.kosten-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

.kosten-card h3 {
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-lg);
}

.kosten-card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* ========================================================================
   CASE STUDIES
   ======================================================================== */
.cases-grid {
  display: grid;
  gap: var(--sp-6);
}

/* Single case study on city pages: full width */
.cases-grid .case-card:only-child {
  grid-column: 1 / -1;
  max-width: 100%;
}

.case-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  position: relative;
}

.case-label {
  display: inline-block;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-6);
}

.case-details {
  display: grid;
  gap: var(--sp-5);
}

.case-details > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--sp-3);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-border-light);
}

.case-details > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.case-details dt {
  flex-shrink: 0;
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-details dd {
  color: var(--c-text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

/* ========================================================================
   REVIEWS
   ======================================================================== */
.reviews {
  background: var(--c-primary);
  color: var(--c-white);
}

.reviews h2 {
  color: var(--c-white);
}

.reviews-grid {
  display: grid;
  gap: var(--sp-6);
}

.review-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--c-star);
  margin-bottom: var(--sp-4);
}

.review-card p {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-4);
  color: rgba(255,255,255,0.9);
}

.review-card footer {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
}

.review-card cite {
  font-style: normal;
}

/* ========================================================================
   SERVICEGEBIET
   ======================================================================== */
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.city-tag {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  transition: all var(--transition-fast);
}

.city-tag:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

/* ========================================================================
   FAQ
   ======================================================================== */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
  cursor: pointer;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  color: var(--c-text);
  list-style: none;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: var(--fs-xl);
  font-weight: var(--fw-normal);
  color: var(--c-text-light);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--sp-4);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--c-primary);
}

.faq-answer {
  padding-bottom: var(--sp-5);
}

.faq-answer p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  max-width: 680px;
}

/* ========================================================================
   KONTAKTFORMULAR
   ======================================================================== */
.kontakt {
  background: var(--c-bg-alt);
}

.kontakt-grid {
  display: grid;
  gap: var(--sp-10);
}

.kontakt-text h2 {
  margin-bottom: var(--sp-4);
}

.kontakt-text > p {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-8);
  max-width: 480px;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.kontakt-info-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-text);
  font-weight: var(--fw-medium);
}

.kontakt-info-item svg {
  color: var(--c-primary);
  flex-shrink: 0;
}

/* Form */
.kontakt-form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}

.required {
  color: var(--c-accent);
}

.form-hint {
  color: var(--c-text-light);
  font-weight: var(--fw-normal);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  background: var(--c-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(11,83,148,0.12);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #D32F2F;
}

.form-error {
  display: block;
  color: #D32F2F;
  font-size: var(--fs-xs);
  margin-top: var(--sp-1);
  min-height: 0;
}

.form-row {
  display: grid;
  gap: var(--sp-5);
}

.form-group input[type="file"] {
  padding: var(--sp-3);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-bg-alt);
  cursor: pointer;
  width: 100%;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--c-primary);
}

.form-checkbox label {
  flex: 1;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}

.form-checkbox .form-error {
  width: 100%;
}

/* ========================================================================
   FINAL CTA
   ======================================================================== */
.final-cta {
  background: var(--c-primary);
  color: var(--c-white);
  text-align: center;
  padding: var(--sp-20) 0;
}

.final-cta h2 {
  color: var(--c-white);
  margin-bottom: var(--sp-4);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}

.final-cta .btn-primary {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-white);
}

.final-cta .btn-primary:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  border-color: var(--c-primary-light);
}

.final-cta .btn-secondary {
  border-color: rgba(255,255,255,0.5);
  color: var(--c-white);
  background: transparent;
}

.final-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--c-white);
  color: var(--c-white);
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer-brand .logo-text {
  color: var(--c-white);
  font-size: var(--fs-lg);
  display: block;
  margin-bottom: var(--sp-3);
}

.footer-brand .logo-text strong {
  color: rgba(255,255,255,0.9);
}

.footer-brand p {
  font-size: var(--fs-sm);
  max-width: 300px;
  line-height: var(--lh-normal);
}

.footer-nav h3 {
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--c-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-8);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

/* ========================================================================
   STICKY MOBILE CTA
   ======================================================================== */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-cta);
  display: flex;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: var(--sp-3);
  gap: var(--sp-3);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-mobile-cta.is-visible {
  transform: translateY(0);
}

.sticky-call-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  background: var(--c-accent);
  color: var(--c-white);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  min-height: 48px;
}

.sticky-call-btn:hover {
  background: var(--c-accent-dark);
  color: var(--c-white);
}

.sticky-form-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: var(--c-white);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  min-height: 48px;
}

.sticky-form-btn:hover {
  background: var(--c-primary-dark);
  color: var(--c-white);
}

/* Add bottom padding to body to prevent sticky bar overlap */
body {
  padding-bottom: 72px;
}

/* ========================================================================
   RESPONSIVE: TABLET (≥ 640px)
   ======================================================================== */
@media (min-width: 640px) {
  :root {
    --container-px: var(--sp-8);
  }

  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }

  .section-header-with-image {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-10);
  }

  .section-header-with-image--reverse {
    flex-direction: row-reverse;
  }

  .section-header-image {
    flex: 0 0 45%;
    max-width: 45%;
  }

  .section-header-image img {
    aspect-ratio: 4 / 3;
    max-height: 320px;
  }

  .card-grid,
  .kosten-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid .case-card:last-child {
    grid-column: span 2;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid .review-card:last-child {
    grid-column: span 2;
  }

  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .kontakt-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

/* ========================================================================
   RESPONSIVE: DESKTOP (≥ 1024px)
   ======================================================================== */
@media (min-width: 1024px) {
  h1 { font-size: var(--fs-5xl); }

  .section-header-image {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .section-header-image img {
    max-height: 360px;
  }

  .header-inner {
    height: 72px;
  }

  /* Desktop nav */
  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: var(--sp-1);
    align-items: center;
  }

  .nav-list a {
    padding: var(--sp-2) var(--sp-3);
    font-size: var(--fs-sm);
  }

  .nav-cta {
    margin-top: 0;
    padding: var(--sp-2) var(--sp-5) !important;
  }

  .header-phone {
    display: flex;
  }

  /* Hero two-column */
  .hero-inner {
    grid-template-columns: 1fr 400px;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--c-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: var(--c-primary);
  }

  /* Grid columns */
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .kosten-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cases-grid .case-card:last-child {
    grid-column: auto;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid .review-card:last-child {
    grid-column: auto;
  }

  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  /* Hide sticky mobile CTA on desktop */
  .sticky-mobile-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  /* Scroll padding for fixed header */
  html {
    scroll-padding-top: 88px;
  }
}

/* ========================================================================
   FOCUS VISIBLE (Accessibility)
   ======================================================================== */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ========================================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ======================================================================== */
.legal-page {
  padding: var(--sp-16) 0 var(--sp-20);
  background: var(--c-bg);
}

.legal-container {
  max-width: 760px;
}

.legal-page h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
  color: var(--c-text);
}

.legal-updated {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-10);
}

.legal-page h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}

.legal-page h3 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  color: var(--c-text);
}

.legal-page p {
  color: var(--c-text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}

.legal-page ul {
  color: var(--c-text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-6);
}

.legal-page ul li {
  margin-bottom: var(--sp-2);
}

.legal-page a {
  color: var(--c-accent);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--c-accent-dark);
}

/* ========================================================================
   COOKIE CONSENT BANNER
   ======================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: var(--sp-6) 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--container-px, var(--sp-5));
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.cookie-banner-text h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}

.cookie-banner-text p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-normal);
  margin: 0;
}

.cookie-banner-text a {
  color: var(--c-accent);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.cookie-btn {
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

.cookie-btn-accept:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
}

.cookie-btn-essential {
  background: var(--c-white);
  color: var(--c-text);
  border-color: var(--c-border);
}

.cookie-btn-essential:hover {
  background: var(--c-bg-alt);
  border-color: var(--c-text-muted);
}

.cookie-btn-settings {
  background: none;
  color: var(--c-text-muted);
  font-size: var(--fs-xs, 0.75rem);
  text-decoration: underline;
  padding: var(--sp-2);
  border: none;
}

.cookie-btn-settings:hover {
  color: var(--c-text);
}

/* Cookie Settings Detail Panel */
.cookie-settings-detail {
  display: none;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}

.cookie-settings-detail.is-open {
  display: block;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border-light, rgba(0,0,0,0.06));
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-info h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}

.cookie-category-info p {
  font-size: var(--fs-xs, 0.75rem);
  color: var(--c-text-muted);
  margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--c-border);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--c-white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--c-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive tablet+ */
@media (min-width: 640px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
  }

  .cookie-banner-text {
    flex: 1;
  }

  .cookie-banner-actions {
    flex-shrink: 0;
  }
}

/* ========================================================================
   PRINT
   ======================================================================== */
@media print {
  .site-header,
  .sticky-mobile-cta,
  .nav-toggle,
  .final-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}
