/* =========================================================
   KoböckenEventTechnik (KET) — Stylesheet
   Design: dunkles Marineblau (aus dem Logo-Hintergrund) +
   gedämpftes Pflaume/Violett (aus der Logo-Linie, abgedunkelt
   und entsättigt) — flach, technisch, ohne Verläufe/Glaseffekte.

   Zu den Akzentfarben:
   --accent-bright ist direkt aus der Original-Logodatei
   pixelgenau ausgelesen (Linie unter "KET" = #bc3fde,
   Datei: fotos-eingang/Logo/Koböcken-3/Schwarze Schrift mit BR.png),
   danach abgedunkelt/entsättigt für --accent (Flächen) bzw.
   leicht aufgehellt für --accent-bright, bis WCAG-AA-Kontrast
   (4.5:1+) auf allen Hintergründen erreicht ist.
   ========================================================= */

/* --- Grundfarben & Variablen (zentrale Stelle für Anpassungen) --- */
:root {
  --bg: #0d1a2b;          /* Marineblau, Logo-Hintergrund */
  --bg-alt: #0a1420;      /* etwas dunkler, für Footer/CTA-Bereiche */
  --surface: #142944;     /* Kartenflächen, deckend (kein Glaseffekt) */
  --border: rgba(255, 255, 255, 0.12);

  --text: #f4f2f6;        /* Off-White, wie im Logo */
  --text-muted: #9fadc2;  /* gedämpftes Blaugrau für Fließtext */

  --accent: #4b2555;        /* aus Logo-Farbe #bc3fde abgedunkelt/entsättigt — für Flächen (Buttons, Icons) */
  --accent-bright: #b47fc2; /* aus Logo-Farbe #bc3fde aufgehellt — für Text/Links, WCAG-AA-Kontrast (4.5:1+) */

  --radius: 6px;      /* Karten, Boxen — schlicht, nicht rund */
  --radius-sm: 3px;   /* Buttons, Badges — technisch statt Pillenform */
  --max-width: 1140px;

  --label: "Inter", system-ui, sans-serif; /* für kleine Labels/Tags statt Monospace */
  --line: rgba(255, 255, 255, 0.28); /* Blueprint-Linien: Rahmen, Maßlinien, Signallinie */
}

/* --- Reset ------------------------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  padding-top: 77px; /* Platz für die fixe Bar, die auf Unterseiten sofort sichtbar ist */
}

body.home {
  padding-top: 0; /* Startseite: Hero füllt den Bildschirm, Bar blendet erst beim Scrollen ein */
}

h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation ----------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.site-header.visible {
  transform: translateY(0);
}

body:not(.home) .site-header {
  transform: translateY(0); /* Unterseiten: Bar ist immer direkt sichtbar */
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1600px; /* breiter als --max-width, damit Logo/Nav auf großen Bildschirmen weiter außen sitzen */
}

.logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}

.logo span {
  color: var(--accent-bright);
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-brand .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent-bright);
}

.nav-cta {
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff !important;
  font-weight: 600 !important;
  border: 1px solid var(--accent);
}

.nav-cta:hover {
  background: var(--bg);
  color: var(--accent-bright) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.25s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  background: var(--bg);
  color: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.55);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  background: rgba(180, 127, 194, 0.08);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* --- Hero ----------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* --- Foto-Hintergrund im Hero (läuft automatisch von links nach rechts) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-track {
  display: flex;
  gap: 4px;
  height: 100%;
  width: max-content;
  animation: photoStripScroll 50s linear infinite;
}

.hero-bg-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.8;
}

@keyframes photoStripScroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-track {
    animation: none;
  }
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-bottom: 40px;
  opacity: 0;
  animation: heroLogoIn 0.7s ease forwards;
}

.hero-logo img {
  height: 150px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}

.hero-logo-rule {
  width: 64px;
  height: 4px;
  background: var(--accent-bright);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 6px 16px rgba(0, 0, 0, 0.6);
  transform: scaleX(0);
  transform-origin: center;
  animation: heroRuleIn 0.5s ease 0.45s forwards;
}

@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroRuleIn {
  to { transform: scaleX(1); }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-logo-rule,
  .hero h1 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .hero-logo img {
    height: 88px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  max-width: 900px;
  margin: 0 auto 22px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(14px);
  animation: heroTextIn 0.7s ease 0.7s forwards;
}

.hero h1 .accent {
  color: var(--accent-bright);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0, 0, 0, 0.7);
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Maßlinie unter der Hero-Headline (Blueprint-Motiv) ------------ */
.dimension-line {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 40px;
}

.dim-tick {
  width: 1px;
  height: 10px;
  background: var(--text-muted);
  flex-shrink: 0;
}

.dim-track {
  flex: 1;
  height: 1px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dim-track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  width: 0%;
  background: var(--border);
  animation: dimGrow 0.7s ease 0.35s forwards;
}

@keyframes dimGrow {
  to { width: 100%; }
}

.dim-label {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 0 12px;
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .dim-track::before {
    animation: none !important;
    width: 100% !important;
  }
}

/* --- Sections generisch ---------------------------------------- */
section {
  padding: 64px 0;
}

@media (max-width: 720px) {
  section {
    padding: 48px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
}

/* --- Karten / Grid ------------------------------------------------ */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--accent-bright);
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: border-color 0.2s ease;
  }
  .card:hover {
    transform: none;
  }
}

.grid-align-start {
  align-items: start;
}

.card-photo {
  position: relative;
  padding-top: 0;
  overflow: hidden;
}

.card-photo .icon {
  position: absolute;
  top: 200px;
  left: 26px;
  transform: translateY(-50%);
  margin-bottom: 0;
  border: 3px solid var(--surface);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.6);
}

.card-photo h3 {
  margin-top: 34px;
}

.card-photo-img {
  margin: 0 -26px 20px;
}

.card-photo-img img {
  width: calc(100% + 52px);
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-photo-placeholder {
  height: 200px;
  margin: 0 -26px 20px;
  border: 1px dashed var(--border);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--label);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card a.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-bright);
}

/* --- Werte-Streifen (bewusst anders als die Leistungs-Karten) ----- */
.feature-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-bar-item {
  padding: 44px 28px;
  text-align: center;
  border-left: 1px solid var(--border);
  transition: background 0.2s ease;
}

.feature-bar-item:first-child {
  border-left: none;
}

.feature-bar-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.feature-bar-item .icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 22px;
  stroke: var(--accent-bright);
  display: block;
}

.feature-bar-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-bar-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .feature-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-bar-item:nth-child(3) {
    border-left: none;
  }
  .feature-bar-item:nth-child(3),
  .feature-bar-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  .feature-bar {
    grid-template-columns: 1fr;
  }
  .feature-bar-item {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .feature-bar-item:first-child {
    border-top: none;
  }
}

/* --- Zurück-Link auf Unterseiten ----------------------------------- */
.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.back-link:hover {
  color: var(--accent-bright);
}

/* --- Team-Foto (Über uns) --------------------------------------------- */
.team-photo-placeholder {
  height: 320px;
  margin-bottom: 40px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--label);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.team-photo {
  max-width: 420px;
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- DJ-Profile: großer runder Bildbereich (Foto oder Initialen) ---- */
.card-profile {
  text-align: center;
}

.dj-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dj-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.icon-initial {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
}

/* --- DJ-Recruiting-Hinweis ------------------------------------------ */
.dj-callout {
  margin-top: 32px;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.dj-callout h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.dj-callout p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* --- Inklusiv-Checkliste (Services-Unterseiten) --------------------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  max-width: 760px;
  margin: 0 auto;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-muted);
}

.feature-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--accent-bright);
  margin-top: 2px;
}

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

/* --- Referenzen-Streifen (Startseiten-Teaser) --------------------- */
.ref-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ref-pill {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
}

/* --- CTA-Band ------------------------------------------------------ */
.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* --- Footer ----------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-grid h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul li a {
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-grid ul li a:hover {
  opacity: 1;
  color: var(--accent-bright);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 14px 0 20px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.card .social-links {
  margin-top: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  border-color: var(--accent-bright);
}

.social-links svg {
  width: 17px;
  height: 17px;
  stroke: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .stamp {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

/* --- Sichtbarer Fokus für Tastaturbedienung ------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* --- Kontaktseite ---------------------------------------------------- */
.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info ul a {
  color: var(--text);
  font-weight: 500;
}

.contact-info ul a:hover {
  color: var(--accent-bright);
}

.contact-info .dim-label {
  display: block;
  margin-bottom: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--label);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-status {
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.form-status-success {
  color: var(--text);
  border-color: var(--accent-bright);
  background: rgba(180, 127, 194, 0.1);
}

.form-status-error {
  color: var(--text);
  border-color: #d97676;
  background: rgba(217, 118, 118, 0.1);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.footer-bottom .legal-links a:hover {
  color: var(--text);
}

/* --- Page-Hero (schlankere Variante des Blueprint-Rahmens für Unterseiten) */
.page-hero {
  padding: 48px 0 32px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 14px;
}

.page-hero p.lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Referenzen-Liste ------------------------------------------------ */
.reference-list {
  display: flex;
  flex-direction: column;
}

.reference-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.reference-entry:first-child {
  padding-top: 0;
}

.reference-entry:last-child {
  border-bottom: none;
}

.reference-entry .reference-photo,
.reference-entry .reference-text {
  flex: 1 1 360px;
}

.reference-entry.reverse .reference-photo {
  order: 2;
}

.reference-entry.reverse .reference-text {
  order: 1;
}

.reference-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.reference-meta {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.reference-text h2,
.reference-text h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.reference-text p {
  color: var(--text-muted);
}

/* --- Kommendes Event ohne Foto (Platzhalter-Panel) -------------------- */
.reference-upcoming {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.reference-upcoming .upcoming-label {
  font-family: var(--label);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.8;
}

.reference-upcoming .upcoming-label strong {
  display: block;
  color: var(--accent-bright);
  font-size: 0.9rem;
}

/* --- Frühere Referenzen (vor KET-Gründung) ---------------------------- */
.legacy-section {
  border-top: 1px solid var(--border);
  padding-top: 70px;
}

.legacy-note {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .reference-entry.reverse .reference-photo,
  .reference-entry.reverse .reference-text {
    order: 0;
  }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  /* Der schwebende Unterstrich ist für die horizontale Desktop-Nav gebaut
     und würde hier in den nächsten Menüpunkt hineinragen. Im aufgeklappten
     Menü stattdessen die vorhandene Trennlinie einfärben. */
  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    border-bottom-color: var(--accent-bright);
  }

  .nav-links .nav-cta {
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Standort-Karte ------------------------------------------------------- */
.map-embed {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  display: block;
}

/* --- Rechtstexte (Impressum, Datenschutz, AGB) ---------------------------- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-content p strong {
  color: var(--text);
}
