/* =========================================================================
   NJ Rackets Bendorf — style.css
   Mobile-first, CSS Grid/Flexbox, keine Frameworks.
   Breakpoints: 480 / 768 / 1024 / 1440
   ========================================================================= */

@import url("fonts.css");

/* ---------------------------------------------------------------------
   1. Custom Properties
   --------------------------------------------------------------------- */
:root {
  /* Brand */
  --nj-lime: #b7cd00;
  --nj-green: #417044;
  --nj-yellow: #ffee00;

  /* Abgeleitet: sehr dunkles Grün für Flächen (Hero/CTA/Footer).
     Wert bestätigt durch bestehende Coming-Soon-Seite des Kunden
     (--green-deep: #2c4a2f) — kein geratener Wert. */
  --nj-green-deep: #2c4a2f;
  --nj-green-deep-2: #23391f; /* Footer, minimal dunkler für Tiefe */

  --nj-ink: #16210f;
  --nj-muted: #5c6655;
  --nj-line: rgba(22, 33, 15, 0.12);
  --nj-line-on-dark: rgba(255, 255, 255, 0.16);
  --nj-paper: #ffffff;
  --nj-cream: #f4f6ec;

  /* Barrierefreie Textvarianten: Lime/Gelb NIE als Fließtext auf Hellgrund
     (Kontrast < 3:1). Für Akzentwörter auf hellem Grund nutzen wir stattdessen
     --nj-green (Kontrast ~5.8:1 auf Weiß). Lime/Gelb bleiben Flächenfarben
     (Buttons, Icons, Chips) bzw. Text auf dunklem Grund. */
  --nj-accent-on-light: var(--nj-green);
  --nj-accent-on-dark: var(--nj-lime);

  /* Typografie */
  --font-body: "Archivo Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-head: "Space Grotesk", system-ui, sans-serif;
  --font-display: var(--f-head);
  --font-eyebrow: "Barlow Semi Condensed", sans-serif;
  --font-ui: "Barlow Condensed", sans-serif;

  /* Spacing-Raster (8px-Basis) */
  --sp-1: 0.5rem;   /* 8px */
  --sp-2: 1rem;     /* 16px */
  --sp-3: 1.5rem;   /* 24px */
  --sp-4: 2rem;     /* 32px */
  --sp-5: 3rem;     /* 48px */
  --sp-6: 4rem;     /* 64px */
  --sp-7: 6rem;     /* 96px */
  --sp-8: 8rem;     /* 128px */

  --container-max: 1320px;
  --container-pad: var(--sp-3);

  --radius-s: 4px;
  --radius-m: 8px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --container-pad: var(--sp-5); }
}
@media (min-width: 1440px) {
  :root { --container-pad: var(--sp-6); }
}

/* ---------------------------------------------------------------------
   2. Reset
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--nj-ink);
  background: var(--nj-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img, picture, svg { max-width: 100%; display: block; }
/* Fängt horizontales Überlaufen ab (z. B. hero__ball, der links leicht über
   den Viewport-Rand hinausragt). Bewusst auf #main statt html/body: so
   bleibt der position:sticky-Header (ein Geschwisterelement von main)
   unbeeinflusst. */
#main { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* Sichtbare Fokus-Styles */
:focus-visible {
  outline: 3px solid var(--nj-green);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}
a.btn:focus-visible,
button.btn:focus-visible {
  outline-color: var(--nj-ink);
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: var(--sp-2);
  top: -60px;
  z-index: 1000;
  background: var(--nj-ink);
  color: #fff;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-s);
  font-family: var(--font-ui);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: var(--sp-2);
}

/* ---------------------------------------------------------------------
   3. Layout-Utilities
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-6); }
.section--dark { background: var(--nj-green-deep); color: #fff; }
.section--lime { background: var(--nj-lime); color: var(--nj-green-deep); }
.section--cream { background: var(--nj-cream); }

.eyebrow {
  display: block;
  font-family: var(--font-eyebrow);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nj-muted);
  margin-bottom: var(--sp-2);
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--nj-yellow); opacity: 1; }
.section--lime .eyebrow { color: inherit; opacity: 0.85; }

.heading-xl {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0 0 var(--sp-3);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
.heading-l {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
  margin: 0 0 var(--sp-3);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}
.heading-m {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 var(--sp-2);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.accent { color: var(--nj-accent-on-light); }
.section--dark .accent { color: var(--nj-accent-on-dark); }

.lede {
  max-width: 60ch;
  color: var(--nj-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.section--dark .lede { color: rgba(255, 255, 255, 0.82); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  color: var(--nj-green);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow:hover,
.link-arrow:focus-visible { border-color: currentColor; gap: 0.6em; }
.section--dark .link-arrow,
.section--lime .link-arrow { color: inherit; }
.link-arrow svg { width: 1em; height: 1em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 0.85em 1.6em;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--nj-lime);
  color: var(--nj-green-deep);
}
.btn-primary:hover { background: var(--nj-yellow); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.section:not(.section--dark) .btn-outline:hover { background: rgba(22, 33, 15, 0.06); }
.btn-dark {
  background: var(--nj-green-deep);
  color: #fff;
}
.btn-dark:hover { background: var(--nj-ink); }
.btn-ghost {
  background: transparent;
  color: var(--nj-ink);
}
.btn-ghost:hover { background: rgba(22, 33, 15, 0.06); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.875rem; }

/* Scroll-Reveal: nur aktiv, wenn JS lädt (html.js, siehe inc/header.php).
   Ohne JS bzw. bevor der Observer ausgelöst hat, bleibt der Inhalt sichtbar –
   Progressive Enhancement statt "opacity:0 by default". */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.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;
}

/* ---------------------------------------------------------------------
   4. Header
   --------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--nj-line);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(22, 33, 15, 0.08);
}
.nav-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-2);
  transition: padding-block 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled .nav-inner { padding-block: calc(var(--sp-1) / 2); }

.nav-logo img {
  height: 115px;
  width: auto;
  object-fit: contain;
  object-position: center left;
  transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled .nav-logo img { height: 60px; }

@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}

.nav-links { display: none; }
@media (min-width: 1024px) {
  .nav-links { display: flex; align-items: center; gap: var(--sp-4); }
}
.nav-links a {
  position: relative;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nj-ink);
  padding-block: var(--sp-1);
}
/* Unterstrich animiert beim Hover von links nach rechts ein */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--nj-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .nav-links a::after { transition: none; }
}

.nav-cta { display: flex; align-items: center; gap: var(--sp-2); }
.nav-cta .btn-ghost { display: none; }
@media (min-width: 640px) {
  .nav-cta .btn-ghost { display: inline-flex; }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--nj-line);
  border-radius: var(--radius-s);
  background: transparent;
}
.nav-burger svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .nav-burger { display: none; }
}

/* Mobiles Menü */
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--nj-line);
  background: #fff;
  padding: var(--sp-2) var(--container-pad) var(--sp-3);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: block;
  padding: var(--sp-2) 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.125rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--nj-line);
}
.mobile-nav a.btn { border-bottom: none; margin-top: var(--sp-2); width: 100%; text-align: center; justify-content: center; }
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--nj-green-deep);
  color: #fff;
  /* Kein overflow:hidden hier: .hero__ball soll bewusst über den unteren
     Rand hinaus in die Stat-Bar ragen. Horizontales Überlaufen (Ball ragt
     links über den Viewport hinaus) fängt html/body per overflow-x ab. */
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.hero__content {
  padding: var(--sp-6) var(--container-pad) var(--sp-8);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3.75rem, 16vw, 9.5rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-3);
}
.hero__title span.dot {
    color: #ffee00;
}
span.dot {
  color: #ffee00;
}
.hero__lede {
  max-width: 60ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.hero__actions .btn-outline { border-color: rgba(255, 255, 255, 0.6); }
.hero__media {
  position: relative;
  min-height: 260px;
}
.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.hero__ball {
  position: absolute;
  left: calc(var(--container-pad) * -1);
  bottom: -60px;
  width: 120px;
  height: 120px;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

@media (min-width: 768px) {
  .hero__ball { width: 150px; height: 150px; bottom: -75px; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .hero__content { padding: var(--sp-8) var(--sp-6) var(--sp-8) var(--container-pad); display: flex; flex-direction: column; justify-content: center; }
  .hero__media { min-height: unset; }
  .hero__media img { min-height: 100%; }
  .hero__ball { width: 190px; height: 190px; bottom: -95px; }

  /* Schräger Übergang zwischen grüner Fläche und Bild: der Ausschnitt
     legt die (identische) dunkelgrüne Hero-Hintergrundfarbe dahinter frei. */
  .hero__media { clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
}

/* ---------------------------------------------------------------------
   6. Stat-Bar
   --------------------------------------------------------------------- */
.stat-bar {
  background: #fff;
  border-bottom: 1px solid var(--nj-line);
 display:none;
}
.stat-bar .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
}
.stat-bar__item {
  padding-inline: var(--sp-1);
  padding-block: var(--sp-2);
  border-top: 1px solid var(--nj-line);
}
.stat-bar__item:first-child { border-top: 0; padding-top: 0; }
.stat-bar__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--nj-green);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.stat-bar__label {
  color: var(--nj-muted);
  font-size: 0.9375rem;
  max-width: 26ch;
}

@media (min-width: 768px) {
  .stat-bar .container { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .stat-bar__item { border-top: 0; border-left: 1px solid var(--nj-line); padding-left: var(--sp-4); padding-top: 0; }
  .stat-bar__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------------------------------------------------------------------
   7. Heimat des Tennissports (Bild/Text)
   --------------------------------------------------------------------- */
.split-feature .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.split-feature__graphic {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}
.split-feature__graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.split-feature__text .lede { margin-bottom: var(--sp-3); }

@media (min-width: 1024px) {
  .split-feature .container { grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-7); }
}
.split-feature--reverse .container { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .split-feature--reverse .container { grid-template-columns: 1.1fr 0.9fr; }
  .split-feature--reverse .split-feature__graphic { order: 2; }
}

/* ---------------------------------------------------------------------
   8. Anlage in Bewegung
   --------------------------------------------------------------------- */
.movement__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--nj-line);
  margin-bottom: var(--sp-5);
}
@media (min-width: 1024px) {
  .movement__top { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: var(--sp-6); }
}
.movement__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.movement__stats dt {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.375rem;
  color: var(--nj-green);
  margin-bottom: var(--sp-1);
}
.movement__stats dd {
  margin: 0;
  color: var(--nj-muted);
  font-size: 0.9375rem;
  max-width: 28ch;
}
@media (min-width: 768px) {
  .movement__stats { grid-template-columns: repeat(3, 1fr); }
  .movement__stats > div { border-left: 1px solid var(--nj-line); padding-left: var(--sp-3); }
  .movement__stats > div:first-child { border-left: 0; padding-left: 0; }
}

/* Training-Partner (Tennisschule jaja) */
.training-partner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.training-partner__logo { display: flex; justify-content: center; }
.training-partner__logo img { width: 100%; max-width: 460px; height: auto; }
@media (min-width: 1024px) {
  .training-partner { grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-7); }
  .training-partner__logo { justify-content: flex-end; }
  .training-partner__logo img { max-width: 460px; }
}

/* ---------------------------------------------------------------------
   9. Für jeden das Spiel
   --------------------------------------------------------------------- */
.audience__list {
  margin-top: var(--sp-5);
  border-top: 1px solid var(--nj-line);
}
.audience__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--nj-line);
}
.audience__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--nj-yellow);
  border-radius: 50%;
}
.audience__icon svg { width: 24px; height: 24px; }
.audience__body { flex: 1; min-width: 0; }
.audience__title {
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.0625rem;
  margin-bottom: 2px;
}
.audience__desc {
  color: var(--nj-muted);
  font-size: 0.9375rem;
  max-width: 46ch;
}
.audience__arrow {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--nj-muted);
}
@media (min-width: 768px) {
  .audience__item { gap: var(--sp-4); }
  .audience__body { display: flex; align-items: baseline; gap: var(--sp-4); }
  .audience__title { flex: 0 0 240px; }
}

/* ---------------------------------------------------------------------
   10. Padel-Promo-Banner
   --------------------------------------------------------------------- */
.padel-promo .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.padel-promo .lede { color: rgba(44, 74, 47, 0.85); }
.padel-promo__graphic {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
}
.padel-promo__graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (min-width: 1024px) {
  .padel-promo .container { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}

/* ---------------------------------------------------------------------
   11. Mission / Zitat
   --------------------------------------------------------------------- */
.mission {
  text-align: center;
  position: relative;
}
.mission__heading {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.08;
  max-width: 20ch;
  margin: 0 auto var(--sp-3);
}
.mission__lede {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--nj-muted);
}
.mission__menu {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--nj-line);
}
.mission__menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-1) var(--sp-4);
}
.mission__menu a {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--nj-muted);
}
.mission__menu a:hover,
.mission__menu a:focus-visible { color: var(--nj-green); }

/* ---------------------------------------------------------------------
   12. Alles Wichtige für deinen Besuch
   --------------------------------------------------------------------- */
.visit__head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
@media (min-width: 768px) {
  .visit__head { flex-direction: row; align-items: center; justify-content: space-between; }
}
.visit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.visit__item {
  padding: var(--sp-3);
  border: 1px solid var(--nj-line);
  border-radius: var(--radius-m);
}
.visit__icon {
  width: 40px; height: 40px;
  margin-bottom: var(--sp-2);
  color: var(--nj-green);
}
.visit__title {
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--sp-1);
}
.visit__desc { color: var(--nj-muted); font-size: 0.9375rem; }

@media (min-width: 640px) {
  .visit__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  /* auto-fit statt fester Spaltenzahl: verträgt 4 oder 5 Karten sauber */
  .visit__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* ---------------------------------------------------------------------
   13. Dein Court in Bendorf (Adresse/Karte)
   --------------------------------------------------------------------- */
.location .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.location__address {
  font-style: normal;
  color: var(--nj-muted);
  margin-bottom: var(--sp-2);
}
.location__address strong { display: block; color: var(--nj-ink); font-weight: 600; }
.location__map {
  aspect-ratio: 4 / 3;
  background: var(--nj-cream);
  border-radius: var(--radius-m);
  border: 1px solid var(--nj-line);
  position: relative;
  overflow: hidden;
}
.location__map svg { width: 100%; height: 100%; }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location__map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  color: var(--nj-muted);
}
.location__map-placeholder svg { color: var(--nj-green); }
.location__map-placeholder p { max-width: 32ch; font-size: 0.9375rem; }
@media (min-width: 1024px) {
  .location .container { grid-template-columns: 0.8fr 1.2fr; gap: var(--sp-7); align-items: center; }
}

/* ---------------------------------------------------------------------
   14. CTA-Banner
   --------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-block: var(--sp-3);
}
.cta-banner__note { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.8); }
.cta-banner__note a { text-decoration: underline; text-underline-offset: 3px; }
.cta-banner__ball {
  display: none;
  position: absolute;
  right: var(--sp-6);
  top: 50%;
  transform: translateY(-50%);
  width: 220px; height: 220px;
}
@media (min-width: 1024px) {
  .cta-banner .container { grid-template-columns: 1.3fr 0.7fr; }
  .cta-banner__ball { display: block; }
}

/* ---------------------------------------------------------------------
   15. Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--nj-green-deep-2);
  color: rgba(255, 255, 255, 0.85);
  padding-top: var(--sp-7);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-6);
}
.footer__brand img { height: 95px; width: auto; margin-bottom: var(--sp-2); filter: brightness(0) invert(1); }
.footer__brand p { max-width: 32ch; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.65); }
.footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover,
.footer__social a:focus-visible { color: var(--nj-lime); border-color: var(--nj-lime); }
.footer__heading {
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  color: var(--nj-lime);
  margin-bottom: var(--sp-2);
}
.footer__col ul li + li { margin-top: var(--sp-1); }
.footer__col a:hover,
.footer__col a:focus-visible { color: var(--nj-green); }
.footer__col address { font-style: normal; }
.footer__col .btn { margin-top: var(--sp-2); }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.site-footer__legal button,
.site-footer__legal a { color: rgba(255, 255, 255, 0.55); }
.site-footer__legal button:hover,
.site-footer__legal a:hover { color: #fff; }

@media (min-width: 768px) {
  .site-footer .container { grid-template-columns: 1.3fr repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------------------------------------------------------------------
   16. Formular (Kontakt)
   --------------------------------------------------------------------- */
.form-page {
  padding-block: var(--sp-7);
}
.form-page .container { max-width: 760px; }
.form-grid { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-1); }
.form-row label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.form-row .required { color: var(--nj-green); }
.form-row input,
.form-row textarea {
  border: 1.5px solid var(--nj-line);
  border-radius: var(--radius-s);
  padding: 0.75em 0.9em;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.15s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--nj-green); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row.has-error input,
.form-row.has-error textarea { border-color: #b3261e; }
.form-error {
  color: #b3261e;
  font-size: 0.875rem;
  display: none;
}
.form-row.has-error .form-error { display: block; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.9375rem;
  color: var(--nj-muted);
}
.form-consent input { margin-top: 0.3em; }
.form-consent a { text-decoration: underline; text-underline-offset: 2px; color: var(--nj-green); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-bottom: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
}
.form-status--success { background: #e6f1e6; color: #245127; border: 1px solid #a8d0aa; }
.form-status--error { background: #fbeaea; color: #8c2015; border: 1px solid #eab7b0; }
.form-submit { margin-top: var(--sp-2); }

/* ---------------------------------------------------------------------
   17. Cookie-Banner
   --------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: var(--sp-2);
  right: var(--sp-2);
  bottom: var(--sp-2);
  z-index: 200;
  transform: translateY(140%);
  transition: transform 0.3s var(--ease);
}
.cookie-banner.is-open { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 960px;
  margin-inline: auto;
  background: var(--nj-green-deep);
  color: #fff;
  border-radius: var(--radius-m);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.cookie-banner__text { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); margin: 0; }
.cookie-banner__text a { text-decoration: underline; color: #fff; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cookie-banner__actions .btn-outline { border-color: rgba(255, 255, 255, 0.5); }

@media (min-width: 640px) {
  .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner__actions { flex-shrink: 0; }
}

/* ---------------------------------------------------------------------
   18. Rechtsseiten (Impressum/Datenschutz)
   --------------------------------------------------------------------- */
.legal-page { padding-block: var(--sp-7); }
.legal-page .container { max-width: 820px; }
.legal-page h2 { font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase; font-size: 1.5rem; margin: var(--sp-5) 0 var(--sp-2); }
.legal-page h2:first-of-type { margin-top: var(--sp-3); }
.legal-page p, .legal-page li { color: var(--nj-muted); line-height: 1.7; }
.legal-page ul { padding-left: 1.2em; list-style: disc; }
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--sp-6);
}
@media (min-width: 768px) {
  .legal-grid { grid-template-columns: 1fr 1fr; }
}
