/* ============================================================
   FRISCH GETANKT – Design System & Global Styles
   ============================================================ */

/* 0. SELF-HOSTED FONTS (DSGVO-konform – keine Google-CDN-Verbindung)
   ============================================================ */

/* Inter latin-ext (Umlaute ä ö ü etc.) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

/* Poppins 600 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins 600 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

/* Poppins 700 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins 700 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

/* Poppins 800 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins 800 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

/* 1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --c-primary:       #1d3338;
  --c-primary-dark:  #122125;
  --c-accent:        #8dba2f;
  --c-accent-dark:   #7da52a;   /* Hover-Fläche: dunkler als --c-accent, aber hell genug,
                                   dass --c-primary darauf 4,60:1 erreicht. Vorher #6fa020,
                                   dort kamen weder Weiß (3,12) noch dunkler Text (4,25) über 4,5. */
  --c-accent-light:  #d4eaa0;
  /* Akzent als TEXT auf hellem Grund. --c-accent selbst bleibt unverändert die
     Markenfarbe für Flächen, Rahmen und Text auf dunklem Grund; als Schrift auf
     Weiß erreicht es nur 2,28:1. Nicht für Flächen verwenden. */
  --c-accent-text:   #4f7517;
  /* Fehlerfarbe für Formularvalidierung. Vorher als Literal #E53E3E an drei
     Stellen; das erreichte auf Weiß bei 12px nur 4,13:1. #C62828 sind 5,62:1. */
  --c-error:         #C62828;

  /* Neutral Palette */
  --c-white:         #FFFFFF;
  --c-bg:            #F5F7FA;
  --c-border:        #E2E8F0;
  --c-gray-400:      #5d728c;   /* vorher #A0AEC0 — auf --c-bg nur 2,10:1 */
  --c-text:          #1C2340;
  --c-text-light:    #627188;   /* vorher #64748B — auf --c-bg nur 4,43:1 */

  /* Typography */
  --f-heading: 'Poppins', sans-serif;
  --f-body:    'Inter', sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  --lh-tight:  1.2;
  --lh-snug:   1.4;
  --lh-normal: 1.6;
  --lh-loose:  1.8;

  /* Spacing Scale */
  --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-24: 6rem;

  /* Border Radius */
  --r-sm:   0.375rem;
  --r-md:   0.75rem;
  --r-lg:   1.25rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-accent: 0 4px 20px rgba(141,186,47,0.4);

  /* Layout */
  --max-w:       1200px;
  --px:          1.25rem;
  --nav-h:       72px;
  --transition:  0.3s ease;
}

/* 2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

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

/* 3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--c-text);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { line-height: var(--lh-loose); }

/* 4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

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

.section-header {
  margin-bottom: var(--sp-12);
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  background: rgba(141, 186, 47, 0.1);
  border: 1px solid rgba(141, 186, 47, 0.25);
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--c-text-light);
  max-width: 600px;
  margin-inline: auto;
  line-height: var(--lh-loose);
}

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

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

/* 5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-accent);
  /* dunkler Text auf dem Marken-Lime: 5,81:1. Weiß darauf war 2,28:1 —
     die Fläche behält die Markenfarbe, nur die Schrift wechselt. */
  color: var(--c-primary);
  border-color: var(--c-accent);
}

.btn-primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-white);
}

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

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

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

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

/* 6. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: var(--transition);
}

.nav--transparent {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav--solid {
  background: var(--c-white);
  box-shadow: var(--shadow-md);
}

.nav .container {
  height: 100%;
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-light);
  transition: var(--transition);
  position: relative;
  padding-block: var(--sp-1);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: var(--transition);
}

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

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: none;
  margin-left: var(--sp-4);
  flex-shrink: 0;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--c-primary);
  border-radius: var(--r-full);
  transition: var(--transition);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--c-white);
  padding: var(--sp-6) var(--px);
  transform: translateY(-110%);
  opacity: 0;
  /* visibility + pointer-events nehmen das geschlossene Menü aus Tab-Reihenfolge
     und Trefferfläche. Ohne sie blieben die fünf Links fokussierbar, obwohl sie
     per transform aus dem Bild geschoben sind — und aria-hidden="true" über
     fokussierbaren Elementen verstößt gegen WCAG 4.1.2. Weil transition auf
     "all" läuft, wird visibility mit-transitioniert: beim Schließen bleibt das
     Menü die 0,3 s sichtbar, die Animation wird nicht abgeschnitten. */
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  border-top: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__mobile-link {
  display: block;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--c-text-light);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
  transition: var(--transition);
}

.nav__mobile-link:hover,
.nav__mobile-link.active {
  color: var(--c-primary);
}

.nav__mobile .btn {
  margin-top: var(--sp-6);
  width: 100%;
  justify-content: center;
}

/* 7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-primary-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 33, 37, 0.88) 0%,
    rgba(29, 51, 56, 0.72) 55%,
    rgba(141, 186, 47, 0.08) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding-block: var(--sp-16);
  max-width: 700px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-5);
}


.hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: var(--sp-6);
}

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

.hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.4);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* 9. SERVICES OVERVIEW
   ============================================================ */
.services {
  background: var(--c-bg);
}

.service-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card__body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  margin-bottom: var(--sp-3);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-3);
}

.service-card__text {
  color: var(--c-text-light);
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  flex: 1;
  margin-bottom: var(--sp-6);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent-text);
  transition: var(--transition);
  margin-top: auto;
}

.service-card__link:hover {
  gap: var(--sp-3);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  box-shadow: 0 2px 12px rgba(29,51,56,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
  box-shadow: 0 8px 32px rgba(29,51,56,0.10);
  transform: translateY(-3px);
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(141,186,47,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--sp-4);
}

.feature-item__icon svg {
  width: 22px;
  height: 22px;
  color: var(--c-accent);
}

.feature-item__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}

.feature-item__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-loose);
}

/* 12. CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  border-top: 3px solid var(--c-accent);
  padding-block: var(--sp-16);
  text-align: center;
  color: var(--c-white);
}

.cta-section__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.cta-section__text {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.cta-section .btn-white {
  background: var(--c-accent);
  color: var(--c-primary-dark);
  border-color: var(--c-accent);
  font-weight: var(--fw-bold);
}

.cta-section .btn-white:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

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

.hours-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: 0 2px 16px rgba(29,51,56,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hours-card:hover {
  box-shadow: 0 6px 28px rgba(29,51,56,0.11);
  transform: translateY(-2px);
}

.hours-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(141,186,47,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hours-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--c-accent);
}

.hours-card__title {
  font-size: var(--fs-xs, 0.75rem);
  font-weight: var(--fw-semibold);
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--sp-1);
}

.hours-card__info {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  line-height: var(--lh-snug);
}

/* 13b. BADGE
   ============================================================
   Spiegelt die Tones aus Badge.tsx (accent / neutral): immer
   pill, immer Poppins semibold. Schrift auf Petrol statt
   accentDark — accentDark auf accentLight liegt bei 2,4:1 und
   fällt durch WCAG AA.
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--f-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.badge--accent {
  background: var(--c-accent-light);
  color: var(--c-primary);
}

.badge--neutral {
  background: var(--c-bg);
  color: var(--c-text-light);
}

/* 13c. FACTS LIST
   ============================================================
   Generische Schlüssel/Wert-Liste: <dl class="facts-list"> mit
   einem <div class="facts-row"> je <dt>/<dd>-Paar. Genutzt von
   .news-entry und .hours-table. Mobil gestapelt, ab 640px
   zweispaltig.
   ============================================================ */
.facts-list {
  border-top: 1px solid var(--c-border);
}

.facts-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}

.facts-list dt {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text-light);
}

/* flex, damit ein .badge im Wert saubere Abstände hat und
   auf schmalen Viewports umbrechen kann */
.facts-list dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2);
  font-family: var(--f-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--c-primary);
}

@media (min-width: 640px) {
  .facts-row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-4);
  }
}

/* 13d. HOURS TABLE
   ============================================================
   Die autoritative Öffnungszeiten-Angabe: eine Zeile pro
   Anlage, weil Portal, SB-Plätze und Sauger unterschiedlich
   schließen. Weiße Karte auf grauer Section wie .news-entry.
   ============================================================ */
.hours-table {
  max-width: 720px;
  margin-inline: auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-8) var(--sp-6);
}

.hours-table__title {
  font-family: var(--f-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--c-primary);
  margin-bottom: var(--sp-5);
}

.hours-table__note {
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  color: var(--c-text-light);
  margin-top: var(--sp-5);
}

@media (min-width: 768px) {
  .hours-table {
    padding: var(--sp-10);
  }
}

/* 13e. NEWS LIST
   ============================================================
   Weiße Karten auf grauer Section (--c-bg) — Card-Regel des
   Design-Systems. Pro Meldung ein <article class="news-entry">,
   neueste oben. --featured nur beim obersten Eintrag.
   ============================================================ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  max-width: 760px;
  margin-inline: auto;
}

.news-entry {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-8) var(--sp-6);
}

/* Akzentkante markiert den neuesten Eintrag — wie .hours-card */
.news-entry--featured {
  border-left: 3px solid var(--c-accent);
}

.news-entry__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.news-entry__date {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
}

.news-entry__title {
  font-family: var(--f-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}

.news-entry__text {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--c-text-light);
  margin-bottom: var(--sp-6);
}

.news-entry__text:last-child {
  margin-bottom: 0;
}

/* Abstand der optionalen Fakten-Liste im News-Kontext */
.news-entry .facts-list {
  margin-bottom: var(--sp-8);
}

@media (min-width: 768px) {
  .news-entry {
    padding: var(--sp-10);
  }
}

/* 14. FOOTER
   ============================================================ */
.footer {
  background: var(--c-bg);
  color: var(--c-text-light);
  padding-top: var(--sp-16);
  border-top: 1px solid var(--c-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--c-border);
}

.footer__logo {
  height: 56px;
  width: auto;
  margin-bottom: var(--sp-5);
}

.footer__tagline {
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
  max-width: 280px;
  color: var(--c-text-light);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--c-text-light);
}

.footer__social-link:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  /* Das Icon erbt currentColor. Weiß auf dem Lime waren 2,28:1 und damit unter
     der 3:1-Schwelle, die WCAG 1.4.11 für grafische Objekte verlangt;
     --c-primary kommt auf 5,81:1 — dieselbe Lösung wie bei den Buttons. */
  color: var(--c-primary);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__col-title {
  font-family: var(--f-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--c-accent-text);
  padding-left: var(--sp-2);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

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

.footer__contact-item a:hover {
  color: var(--c-accent-text);
}

.footer__bottom {
  padding-block: var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--c-gray-400);
}

.footer__legal {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__legal-link {
  font-size: var(--fs-xs);
  color: var(--c-gray-400);
  transition: var(--transition);
}

.footer__legal-link:hover {
  color: var(--c-accent-text);
}

/* 15. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--c-primary);
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-12);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

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

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.page-hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.breadcrumb a {
  /* 0.4 war für Text zu wenig: über dem Hero-Foto ergibt das je nach
     Bildhelligkeit nur etwa 3,5–3,8:1. Exakt messbar ist es nicht, weil
     darunter ein Foto liegt — 0.75 gibt genug Reserve. */
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}

.breadcrumb__sep { color: rgba(255,255,255,0.2); }

/* 16. CONTACT FORM
   ============================================================ */
.contact-section {
  background: var(--c-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.contact-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
}

.contact-info-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--c-border);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-item__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: rgba(141,186,47,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
  color: var(--c-accent);
}

.contact-info-item__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-light);
  margin-bottom: var(--sp-1);
}

.contact-info-item__value {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--c-text);
}

.contact-info-item__value a:hover {
  color: var(--c-accent-text);
}

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

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

.form-label .required {
  color: var(--c-accent-text);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--c-text);
  background: var(--c-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(141,186,47,0.15);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.1);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--c-error);
  margin-top: var(--sp-1);
  display: none;
}

.form-error.show {
  display: block;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--c-accent);
}

.form-checkbox__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-loose);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  padding-block: var(--sp-4);
  font-size: var(--fs-base);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-8);
}

.form-success.show {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(141,186,47,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
  color: var(--c-accent);
}

/* 19. MAP EMBED
   ============================================================ */
.map-wrapper {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* 20. IMPRESSUM / DATENSCHUTZ
   ============================================================ */
.legal-section {
  background: var(--c-white);
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-16);
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 2px solid var(--c-border);
}

.legal-content h2 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  color: var(--c-primary);
}

.legal-content h3 {
  font-size: var(--fs-md);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.legal-content p {
  color: var(--c-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-4);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  color: var(--c-text-light);
  margin-bottom: var(--sp-4);
}

.legal-content ul li {
  margin-bottom: var(--sp-2);
  line-height: var(--lh-loose);
}

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

/* 21. ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* 21b. RESPONSIVE – MOBILE (< 640px)
   ============================================================ */
@media (max-width: 639px) {
  .hero {
    align-items: flex-start;
  }

  .hero__content {
    padding-top: calc(var(--nav-h) + var(--sp-8));
    padding-bottom: var(--sp-12);
  }
}

/* 22. RESPONSIVE – TABLET (≥ 640px)
   ============================================================ */
@media (min-width: 640px) {
  :root {
    --px: 2rem;
  }

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

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

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

/* 23. RESPONSIVE – DESKTOP (≥ 960px)
   ============================================================ */
@media (min-width: 960px) {
  :root {
    --px: 2.5rem;
    --nav-h: 80px;
  }

  /* Oberhalb des Breakpoints existiert das Mobile-Menü gar nicht mehr —
     vorher hing es hier unsichtbar, aber fokussierbar im DOM. */
  .nav__mobile { display: none; }

  .nav__links { display: flex; }
  .nav__cta   { display: inline-flex; }
  .nav__hamburger { display: none; }

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

  .hero__content {
    padding-block: var(--sp-24);
  }

  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-10);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* 24. RESPONSIVE – LARGE (≥ 1200px)
   ============================================================ */
@media (min-width: 1200px) {
  :root { --px: 3rem; }
}

/* 25. ABOUT LAYOUT (Über uns, Waschpark Intro)
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: stretch;
}

.about-image {
  display: flex;
}

.about-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-text p {
  color: var(--c-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-4);
}

.about-text strong {
  color: var(--c-text);
  font-weight: var(--fw-semibold);
}

.about-text .section-title {
  margin-bottom: var(--sp-5);
}

@media (min-width: 960px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  .about-image img {
    height: 100%;
    min-height: 400px;
  }
}

/* 26. WASH BLOCKS (Waschpark detail sections)
   ============================================================ */
.wash-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.wash-block__img img,
.wash-block__img video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* Video: Rundung + Schatten über den Wrapper (clippt auch abspielende Videos in Safari) */
.wash-block__img--video {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  /* Safari clippt ein laufendes <video> nur, wenn der Wrapper ein eigener
     Compositing-Layer ist – translateZ(0) erzwingt das. Schatten bleibt erhalten. */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.wash-block__img--video video {
  border-radius: var(--r-lg);
  box-shadow: none;
}

.wash-block__text {
  display: flex;
  flex-direction: column;
}

.wash-block__text .section-title {
  margin-bottom: var(--sp-4);
}

.wash-block__text p {
  color: var(--c-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-5);
}

.wash-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.wash-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text);
}

.wash-list li svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .wash-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  .wash-block--reverse .wash-block__img {
    order: 1;
  }

  .wash-block--reverse .wash-block__text {
    order: 0;
  }

  .wash-block__img img,
  .wash-block__img video {
    height: 400px;
  }
}

/* 27. JOBS SECTION (Bewerbung)
   ============================================================ */
/* Akzent als Schrift auf DUNKLEM Grund — hier gilt --c-accent, nicht
   --c-accent-text. Das dunkle --c-accent-text ist für helle Flächen gedacht
   und erreicht auf dunklem Grund nur 2,46:1; das helle --c-accent kommt dort
   auf 5,81:1. Betroffen sind die Jobs-Fläche und alles im Page-Hero, der über
   einem abgedunkelten Foto liegt. Wer hier einen Selektor ergänzt, muss ihn
   auch in den Zustandsmessungen berücksichtigen: der Breadcrumb-Hover ist
   genau deshalb durchgerutscht — Ruhezustand-Messungen sehen :hover nicht. */
.jobs-section .section-tag,
.page-hero .section-tag,
.page-hero .breadcrumb a:hover {
  color: var(--c-accent);
}

.jobs-section {
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
}

.jobs-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141,186,47,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.jobs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.jobs-text .section-title {
  margin-bottom: var(--sp-5);
}

.jobs-text p {
  color: rgba(255,255,255,0.65);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-4);
}

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

.jobs-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.jobs-card p {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
}

.jobs-card__note {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

@media (min-width: 960px) {
  .jobs-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
  }
}

/* 28. GALLERY STRIP (Tankstelle)
   ============================================================ */
.gallery-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: var(--sp-8);
}

.gallery-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-strip img {
    height: 300px;
  }
}

/* 29. WEBCAM SECTION
   ============================================================ */
.webcam-section {
  background: var(--c-white);
}

.webcam-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.webcam-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: block;
}

.webcam-img-wrap a {
  display: block;
}

.webcam-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.webcam-img-wrap:hover .webcam-img {
  transform: scale(1.02);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.webcam-text {
  display: flex;
  flex-direction: column;
}

.webcam-text .section-title {
  margin-bottom: var(--sp-4);
}

.webcam-text p {
  color: var(--c-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-4);
}

.webcam-quote {
  font-style: italic;
  font-weight: var(--fw-medium);
  color: var(--c-primary) !important;
  border-left: 3px solid var(--c-accent);
  padding-left: var(--sp-4);
  margin-bottom: 0 !important;
}

@media (min-width: 960px) {
  .webcam-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  .webcam-img {
    height: 420px;
  }
}

/* 30. ACCESSIBILITY – SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  background: var(--c-accent);
  color: var(--c-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: top 0.2s ease;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: spin 1s linear infinite;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* 30. ACCESSIBILITY – FOCUS VISIBLE
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Remove default outline only when :focus-visible is supported */
:focus:not(:focus-visible) {
  outline: none;
}

/* Scroll margin to account for sticky nav */
[id] {
  scroll-margin-top: calc(var(--nav-h) + var(--sp-4));
}

/* 31. ACCESSIBILITY – PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* 32. MAPS CONSENT GATE
   ============================================================ */
.map-consent {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: var(--c-bg);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  padding: var(--sp-6);
}

.map-consent__inner {
  text-align: center;
  padding: var(--sp-8);
  max-width: 380px;
}

.map-consent__icon {
  width: 48px;
  height: 48px;
  color: var(--c-text-light);
  margin: 0 auto var(--sp-4);
}

.map-consent__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.map-consent__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
}

.map-consent__text a {
  color: var(--c-accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-loaded .map-consent {
  display: none;
}

.map-loaded iframe {
  display: block !important;
}


