/* ============================================================
   SCHWARZWALD SERVICE — style.css
   Globale Styles | Alle Seiten teilen diese Datei
   ============================================================ */


/* ------------------------------------------------------------
   1. FONTS — selbst gehostet, kein Google Fonts
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/playfair-display-v40-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/playfair-display-v40-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/playfair-display-v40-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-v17-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans/dm-sans-v17-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* ------------------------------------------------------------
   2. CSS VARIABLEN
   ------------------------------------------------------------ */

:root {
  /* Farben — aus Logo abgeleitet */
  --c-forest:      #1E3A1E;   /* tiefes Waldgrün — Logo Dunkel */
  --c-primary:     #2D4A2D;   /* Primär Dunkelgrün */
  --c-mid:         #4A7A4A;   /* Mittelgrün */
  --c-accent:      #7AAD6E;   /* Hellgrün Akzent */
  --c-accent-lite: #A8C89E;   /* Sehr helles Grün */
  --c-bg:          #F7F5F0;   /* Naturweiß Hintergrund */
  --c-bg-dark:     #EDEAE3;   /* Etwas dunkleres Naturweiß */
  --c-white:       #FFFFFF;
  --c-text:        #1E1E1E;   /* Fast-Schwarz */
  --c-text-muted:  #6B6B6B;   /* Grau */
  --c-border:      #D8D4CC;   /* Trennlinien */

  /* Typografie */
  --f-serif:  'Playfair Display', Georgia, serif;
  --f-sans:   'DM Sans', system-ui, sans-serif;

  /* Schriftgrößen — fluid */
  --fs-xs:   0.75rem;   /*  12px */
  --fs-sm:   0.875rem;  /*  14px */
  --fs-base: 1rem;      /*  16px */
  --fs-md:   1.125rem;  /*  18px */
  --fs-lg:   1.375rem;  /*  22px */
  --fs-xl:   1.75rem;   /*  28px */
  --fs-2xl:  2.25rem;   /*  36px */
  --fs-3xl:  3rem;      /*  48px */
  --fs-4xl:  3.75rem;   /*  60px */

  /* Abstände */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 9rem;

  /* Layout */
  --max-w:        1200px;
  --max-w-narrow: 780px;

  /* Radien */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Schatten */
  --shadow-sm: 0 1px 4px rgba(30, 58, 30, 0.08);
  --shadow-md: 0 4px 20px rgba(30, 58, 30, 0.12);
  --shadow-lg: 0 12px 48px rgba(30, 58, 30, 0.16);

  /* Übergänge */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:  150ms var(--ease);
  --t-base:  250ms var(--ease);
  --t-slow:  400ms var(--ease);

  /* Nav-Höhe */
  --nav-h: 72px;
}


/* ------------------------------------------------------------
   3. RESET & BASE
   ------------------------------------------------------------ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ------------------------------------------------------------
   4. TYPOGRAFIE
   ------------------------------------------------------------ */

h1, h2, h3, h4, h5 {
  font-family: var(--f-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary);
}

h1 { font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(var(--fs-xl), 3.5vw, var(--fs-3xl)); }
h3 { font-size: clamp(var(--fs-lg), 2.5vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); font-weight: 600; }

p { max-width: 68ch; }

.text-muted  { color: var(--c-text-muted); }
.text-center { text-align: center; }
.text-white  { color: var(--c-white); }

/* Kursiv-Akzent (Playfair wirkt elegant als Italic) */
em.accent {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-mid);
}

/* Service-Subtitle Stil — wie im Logo "SERVICE" */
.label {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mid);
}


/* ------------------------------------------------------------
   5. LAYOUT UTILITIES
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-md);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding-block: var(--sp-2xl);
}

.section--lg {
  padding-block: var(--sp-3xl);
}

.section--dark {
  background-color: var(--c-primary);
  color: var(--c-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--c-white);
}

.section--tinted {
  background-color: var(--c-bg-dark);
}

.section-header {
  margin-bottom: var(--sp-xl);
}

.section-header .label {
  margin-bottom: var(--sp-xs);
}

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

.section-header p {
  color: var(--c-text-muted);
  font-size: var(--fs-md);
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }

/* Flex */
.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }


/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
}

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

.btn--primary:hover {
  background-color: var(--c-forest);
  border-color: var(--c-forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}

.btn--outline:hover {
  background-color: var(--c-primary);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.6);
}

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

.btn--lg {
  padding: 1.125rem 2.25rem;
  font-size: var(--fs-base);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   7. NAVIGATION
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background-color: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.nav.scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.nav__logo img {
  height: 44px;
  width: auto;
}

/* Falls Logo nicht geladen */
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-text strong {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--c-primary);
  letter-spacing: -0.01em;
}

.nav__logo-text span {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.nav__links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  position: relative;
  transition: color var(--t-fast);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--c-primary);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--c-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background-color: var(--c-white);
  border-top: 1px solid var(--c-border);
  padding: var(--sp-md);
  flex-direction: column;
  gap: var(--sp-sm);
  box-shadow: var(--shadow-md);
  z-index: 99;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-weight: 500;
  padding: var(--sp-xs) 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  transition: color var(--t-fast);
}

.nav__mobile a:last-of-type { border-bottom: none; }

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

.nav__mobile .btn {
  margin-top: var(--sp-xs);
  justify-content: center;
}

/* Abstand unter Nav für Seiten-Content */
.page-offset {
  padding-top: var(--nav-h);
}


/* ------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--c-forest);
  overflow: hidden;
}

/* Waldmuster — SVG-Hintergrundtextur */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(74, 122, 74, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(45, 74, 45, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* Diagonale Linie — dekorativ */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--c-bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-md);
  padding-block: var(--sp-3xl) calc(var(--sp-3xl) + 40px);
}

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

.hero__content .label {
  color: var(--c-accent);
  margin-bottom: var(--sp-md);
}

.hero__content h1 {
  color: var(--c-white);
  margin-bottom: var(--sp-md);
}

.hero__content h1 em {
  font-style: italic;
  color: var(--c-accent);
  display: block;
}

.hero__content p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp-lg);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* Hero Karte rechts — schnelle Fakten */
.hero__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero__stat:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hero__stat strong {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  color: var(--c-white);
  line-height: 1;
}

.hero__stat span {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}


/* ------------------------------------------------------------
   9. LEISTUNGS-KARTEN
   ------------------------------------------------------------ */

.service-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  border: 1px solid var(--c-border);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent-lite);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background-color: var(--c-bg-dark);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--t-base);
}

.service-card:hover .service-card__icon {
  background-color: var(--c-accent-lite);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--c-primary);
}

.service-card h3 {
  font-size: var(--fs-lg);
}

.service-card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  flex: 1;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.service-card ul li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-left: 1.2em;
  position: relative;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
  margin-top: var(--sp-xs);
  transition: gap var(--t-fast), color var(--t-fast);
}

.service-card__link:hover {
  gap: 10px;
  color: var(--c-mid);
}


/* ------------------------------------------------------------
   10. VERTRAUENSSIGNALE / STATS
   ------------------------------------------------------------ */

.trust-bar {
  background-color: var(--c-primary);
  padding-block: var(--sp-lg);
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  text-align: center;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-bar__item strong {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  color: var(--c-white);
  line-height: 1;
}

.trust-bar__item span {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

/* Trenn-Strich zwischen Items */
.trust-bar__item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.15);
}

/* Review-Karten */
.review-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  color: #F5A623;
  font-size: var(--fs-md);
}

.review-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
  font-style: italic;
}

.review-card__author {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-primary);
  margin-top: auto;
}

/* Versicherungs-Badge */
.insurance-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  background-color: var(--c-bg-dark);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: 0.05em;
}

.insurance-badge svg {
  width: 16px;
  height: 16px;
  color: var(--c-accent);
}


/* ------------------------------------------------------------
   11. USP-LEISTE (Warum wir)
   ------------------------------------------------------------ */

.usp-item {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
}

.usp-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: var(--c-accent-lite);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-item__icon svg {
  width: 24px;
  height: 24px;
  color: var(--c-primary);
}

.usp-item h4 {
  font-size: var(--fs-base);
  margin-bottom: 4px;
}

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


/* ------------------------------------------------------------
   12. KONTAKTFORMULAR
   ------------------------------------------------------------ */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.form__group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background-color: var(--c-white);
  color: var(--c-text);
  font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--c-mid);
  box-shadow: 0 0 0 3px rgba(74,122,74,0.15);
}

.form__group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B6B6B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Honeypot — versteckt */
.form__honeypot {
  display: none !important;
  visibility: hidden;
}

.form__note {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

.form__note a {
  color: var(--c-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Status-Meldungen */
.form__alert {
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  display: none;
}

.form__alert--success {
  background-color: #E8F5E9;
  color: #2D6A2D;
  border: 1px solid #A5D6A7;
}

.form__alert--error {
  background-color: #FDECEA;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

.form__alert.visible { display: block; }


/* ------------------------------------------------------------
   13. SEITENBANNER (Hero für Unterseiten)
   ------------------------------------------------------------ */

.page-hero {
  background-color: var(--c-forest);
  padding-block: var(--sp-2xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 70% 50%, rgba(74,122,74,0.2) 0%, transparent 70%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero .label {
  color: var(--c-accent);
  margin-bottom: var(--sp-sm);
}

.page-hero h1 {
  color: var(--c-white);
  margin-bottom: var(--sp-sm);
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-md);
  max-width: 56ch;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-md);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}

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

.breadcrumb span { color: rgba(255,255,255,0.3); }


/* ------------------------------------------------------------
   14. TEAM-KARTEN
   ------------------------------------------------------------ */

.team-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  border: 1px solid var(--c-border);
  text-align: center;
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-mid), var(--c-forest));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  color: var(--c-white);
  font-weight: 700;
}

.team-card h4 {
  font-size: var(--fs-md);
  margin-bottom: 4px;
}

.team-card .label {
  margin-bottom: var(--sp-sm);
}

.team-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-inline: auto;
}


/* ------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------ */

.footer {
  background-color: var(--c-forest);
  color: rgba(255,255,255,0.7);
  padding-top: var(--sp-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}

.footer__brand img {
  height: 48px;
  margin-bottom: var(--sp-md);
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__brand p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 36ch;
}

.footer__col h5 {
  color: var(--c-white);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

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

.footer__col ul a:hover {
  color: var(--c-accent-lite);
}

.footer__contact-item {
  display: flex;
  gap: var(--sp-xs);
  align-items: flex-start;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-xs);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--c-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--sp-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

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

.footer__bottom-links {
  display: flex;
  gap: var(--sp-md);
}

.footer__bottom-links a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  transition: color var(--t-fast);
}

.footer__bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}


/* ------------------------------------------------------------
   16. COOKIE BANNER
   ------------------------------------------------------------ */

.cookie-banner {
  position: fixed;
  bottom: var(--sp-md);
  left: var(--sp-md);
  right: var(--sp-md);
  max-width: 600px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

.cookie-banner.visible {
  display: block;
  animation: slideUp var(--t-slow) forwards;
}

.cookie-banner h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-xs);
}

.cookie-banner p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}

.cookie-banner p a {
  color: var(--c-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.cookie-banner__actions .btn {
  flex: 1;
  min-width: 120px;
  justify-content: center;
}


/* ------------------------------------------------------------
   17. ANIMATIONEN
   ------------------------------------------------------------ */

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-Animation — mit JS ausgelöst */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }


/* ------------------------------------------------------------
   18. HILFKLASSEN
   ------------------------------------------------------------ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.divider {
  height: 1px;
  background-color: var(--c-border);
  border: none;
  margin-block: var(--sp-lg);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-xl);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--green {
  background-color: var(--c-accent-lite);
  color: var(--c-forest);
}

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }


/* ------------------------------------------------------------
   19. RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__stat {
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-right: var(--sp-md);
  }
  .hero__stat:last-child { border-right: none; }
  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
  }
  .trust-bar__item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  :root {
    --sp-xl:  2.5rem;
    --sp-2xl: 4rem;
    --sp-3xl: 5rem;
  }
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero__card {
    grid-template-columns: 1fr;
  }
  .hero__stat {
    border-right: none;
    padding-right: 0;
    padding-bottom: var(--sp-md);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-bar__item { border-right: none !important; }
  .cookie-banner {
    left: var(--sp-sm);
    right: var(--sp-sm);
    bottom: var(--sp-sm);
  }
}

@media (max-width: 480px) {
  .btn { padding: 0.75rem 1.25rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .trust-bar__inner { grid-template-columns: 1fr 1fr; }
}
