/* ============================================================
   FWTB Theme — Main CSS
   Feuerwehr Triesenberg | BASEMEDIA GmbH
   ============================================================ */

/* Self-hosted Fonts (DSGVO-konform) */
@font-face {
  font-family: 'Viga';
  src: url('../fonts/viga-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/source-sans-pro-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/source-sans-pro-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/source-sans-pro-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --red:        #d10606;
  --red-dark:   #a80000;
  --red-light:  #fdeaea;
  --dark:       #131516;
  --mid:        #4a4e50;
  --gray:       #6b7280;
  --light-bg:   #f7f7f8;
  --border:     #e5e7eb;
  --white:      #ffffff;

  --font-heading: 'Viga', 'Arial Black', sans-serif;
  --font-body:    'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 2px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --transition: .2s ease;

  --max-width:     1140px;
  --header-height: 96px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  padding-top: var(--header-height);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: .25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 5rem 0; }
.section-light { background: var(--light-bg); }
.section-dark  { background: var(--dark); color: var(--white); }
.section-red   { background: var(--red); color: var(--white); }
.section-dark h2, .section-dark h3,
.section-red  h2, .section-red  h3 { color: var(--white); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: .02em;
  line-height: 1;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: var(--light-bg); color: var(--red-dark); }

/* ── Section Header ──────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: .5rem;
}
.section-divider {
  width: 48px; height: 3px;
  background: var(--red);
  margin-top: 1rem;
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  height: var(--header-height);
  border-bottom: 3px solid var(--red);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
  overflow: visible;
}
.site-header { overflow: hidden; }

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; max-height: 84px; }
.logo img,
.logo picture,
.logo .custom-logo {
  height: 84px;
  width: auto;
  max-height: 84px;
  display: block;
  transition: height var(--transition), opacity var(--transition);
}
.logo:hover { opacity: .9; }
/* Scroll-State: Logo schrumpft mit Header */
.site-header.scrolled .logo img,
.site-header.scrolled .logo .custom-logo { height: 64px; max-height: 64px; }
.site-header.scrolled { height: 76px; }


/* Navigation */
.site-nav { display: flex; align-items: center; }
.site-nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; }
.site-nav li { position: relative; }
.site-nav > ul > li > a {
  display: block;
  padding: .5rem .875rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.site-nav > ul > li > a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
  color: var(--red);
  border-bottom-color: var(--red);
}
/* External link indicator */
.site-nav a[target="_blank"]::after { content: ' ↗'; font-size: .7em; opacity: .6; }

/* Dropdown */
.site-nav .menu-item-has-children > a { display: flex !important; align-items: center; gap: .25rem; }
.nav-chevron {
  flex-shrink: 0;
  transition: transform .22s ease;
  opacity: .6;
  margin-top: 1px;
}
.site-nav li:hover > a .nav-chevron,
.site-nav li.sub-open > a .nav-chevron { transform: rotate(180deg); opacity: 1; }

.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 16px 48px rgba(0,0,0,.13);
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 200;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  pointer-events: none;
}
.site-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 22px;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.07);
  border-left: 1px solid rgba(0,0,0,.07);
  transform: rotate(45deg);
}
.site-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.site-nav .sub-menu li { border-bottom: 1px solid rgba(0,0,0,.05); }
.site-nav .sub-menu li:last-child { border-bottom: none; }
.site-nav .sub-menu a {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.25rem;
  color: var(--dark);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  transition: background .15s ease;
  position: relative;
}
.site-nav .sub-menu a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity .15s ease;
  border-radius: 0 2px 2px 0;
}
.site-nav .sub-menu a:hover { background: var(--light-bg); }
.site-nav .sub-menu a:hover::before { opacity: 1; }

.sub-link-inner { flex: 1; min-width: 0; }
.sub-link-title {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  transition: color .15s ease;
  white-space: nowrap;
}
.site-nav .sub-menu a:hover .sub-link-title { color: var(--red); }
.sub-link-desc {
  display: block;
  font-size: .76rem;
  color: var(--gray);
  font-weight: 400;
  line-height: 1.4;
  margin-top: .2rem;
  white-space: normal;
}
.sub-link-arrow {
  flex-shrink: 0;
  color: var(--gray);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease, color .15s ease;
}
.site-nav .sub-menu a:hover .sub-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--red);
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: .375rem; flex-shrink: 0; }
.header-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--dark);
  font-size: .9rem;
  transition: all var(--transition);
}
.header-icon:hover         { background: var(--red); color: var(--white); }
.header-icon.facebook:hover  { background: #1877f2; color: var(--white); }
.header-icon.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: var(--white);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: .5rem;
}
.menu-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================================
   HERO (HOMEPAGE)
   ============================================================ */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  gap: 4rem;
  align-items: center;
  min-height: calc(90vh - var(--header-height));
}
.hero-content {}
.hero-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(209,6,6,.2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--dark);
  margin-bottom: .75rem;
  line-height: 1.1;
}
.hero-motto {
  font-size: 1.05rem;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
  line-height: 1.5;
}
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.hero-pillar {
  background: var(--dark);
  color: var(--white);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.hero-text { color: var(--mid); margin-bottom: 2rem; font-size: 1.05rem; }
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ── Stats Strip ─────────────────────────────────────────── */
.stats-strip { background: var(--dark); padding: 3.5rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-divider {
  border-left: 1px solid rgba(255,255,255,.1);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--red);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .2rem;
}
.stat-value {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
}


/* ============================================================
   SCENE BANNER
   ============================================================ */
.scene-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.scene-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transition: transform 8s ease;
}
.scene-banner:hover .scene-banner-bg { transform: scale(1.04); }
.scene-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,21,22,.82) 0%, rgba(209,6,6,.28) 100%);
}
.scene-banner-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 5rem 0;
}
.scene-banner-content .section-label { color: rgba(255,255,255,.5); }
.scene-banner-content h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: .875rem;
  max-width: 580px;
}
.scene-banner-content p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 0;
}


/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  background: var(--dark);
  padding: 3rem 0 0;
  text-align: center;
  position: relative;
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero-sub { font-size: .9rem; color: rgba(255,255,255,.5); margin-bottom: 0; }
.page-hero-bar {
  height: 4px;
  background: var(--red);
  margin-top: 2.5rem;
}


/* ============================================================
   ÜBER DIE FW TBG
   ============================================================ */

/* Intro: Bild + Stats */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.about-stats { display: flex; flex-direction: column; gap: 1rem; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray);
  margin-bottom: .3rem;
}
.stat-card-value { font-size: 1rem; font-weight: 600; color: var(--dark); }

/* Chronik */
.chronik-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.chronik-image {
  position: relative;
}
.chronik-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.download-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.75rem;
  background: var(--dark);
  color: var(--white);
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: background var(--transition);
}
.download-link:hover { background: var(--red); color: var(--white); }
.download-icon { font-size: 1.1rem; }

/* Fahrzeuge */
.fahrzeuge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.fahrzeug-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fahrzeug-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.fahrzeug-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--light-bg);
  display: block;
}
.fahrzeug-label {
  padding: .75rem 1rem .5rem;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.fahrzeug-typ {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--dark);
}
.fahrzeug-name {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.fahrzeug-desc {
  padding: .35rem 1rem .875rem;
  font-size: .78rem;
  color: var(--gray);
  line-height: 1.5;
  text-align: center;
  margin: 0;
  background: var(--white);
}

/* Anlässe */
.anlaesse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.anlass-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}
.anlass-card:hover { box-shadow: var(--shadow); }
.anlass-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .875rem;
}
.anlass-date-badge {
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 100px;
  white-space: nowrap;
}
.anlass-ort { font-size: .8rem; color: var(--gray); }
.anlass-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.anlass-desc { font-size: .9rem; color: var(--mid); line-height: 1.6; margin: 0; }
.anlaesse-facebook {
  text-align: center;
  padding: 3rem;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}
.anlaesse-facebook p { color: var(--gray); font-size: 1rem; margin-bottom: 1.25rem; }


/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

/* Info-Seite */
.kontakt-info h2 { margin-bottom: 1.5rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-icon-wrap {
  width: 38px; height: 38px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-item-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  margin-bottom: .2rem;
}
.info-item-value { font-size: .95rem; color: var(--dark); font-weight: 500; }
.info-item-value a { color: var(--dark); }
.info-item-value a:hover { color: var(--red); }

.social-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  transition: all var(--transition);
}
.social-pill:hover { border-color: var(--red); color: var(--red); }

/* Kontaktformular */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 1.75rem; font-size: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dark);
  margin-bottom: .4rem;
}
label .req { color: var(--red); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(209,6,6,.1);
}
input::placeholder, textarea::placeholder { color: var(--gray); }
textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

/* Honeypot */
.hp-wrap { display: none !important; visibility: hidden; }

/* Form States */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  display: none;
}
.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  display: block;
}
.alert-error {
  background: var(--red-light);
  border: 1px solid #fca5a5;
  color: #7f1d1d;
  display: block;
}
.field-err { font-size: .78rem; color: var(--red); margin-top: .3rem; display: block; }


/* ============================================================
   DATENSCHUTZ PAGE
   ============================================================ */
.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}
.datenschutz-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.datenschutz-content h2:first-of-type { border-top: none; margin-top: 0; }
.datenschutz-content h3 {
  margin-top: 1.75rem;
  margin-bottom: .75rem;
  font-size: 1.15rem;
}
.datenschutz-content p,
.datenschutz-content li { color: var(--mid); line-height: 1.8; }
.datenschutz-content ul { margin-bottom: 1rem; }
.datenschutz-content a { color: var(--red); text-decoration: underline; }

/* Standard page content */
.page-content { max-width: 800px; margin: 0 auto; }
.page-content p { color: var(--mid); }
.page-content h2 { margin-top: 2rem; margin-bottom: 1rem; }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 2.25rem 0;
  font-size: .875rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-logo img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .75;
  transition: opacity var(--transition);
}
.footer-logo:hover img { opacity: 1; }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }


/* ============================================================
   COOKIE MODAL (DSGVO)
   ============================================================ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  border-top: 4px solid var(--red);
}
.cookie-modal-title {
  font-size: 1.3rem;
  margin-bottom: .75rem;
  color: var(--dark);
}
.cookie-modal-text {
  font-size: .875rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.cookie-modal-text a { color: var(--red); text-decoration: underline; }
.cookie-cat {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: .875rem 1.125rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.cookie-cat-name { font-weight: 700; font-size: .875rem; color: var(--dark); }
.cookie-cat-badge {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #065f46;
  background: #d1fae5;
  padding: .2rem .6rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.cookie-cat-desc { font-size: .8rem; color: var(--gray); line-height: 1.55; margin: 0; }
.cookie-modal-btns { display: flex; gap: .75rem; }
.cookie-modal-btns .btn { flex: 1; padding: .75rem 1rem; font-size: .875rem; }


/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 8000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img-wrap { position: relative; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}
.lightbox-caption {
  text-align: center;
  color: rgba(255,255,255,.7);
  margin-top: .875rem;
  font-size: .9rem;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem; right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .fahrzeuge-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-section { padding: 3.5rem 2rem; gap: 2.5rem; }
  .about-intro { gap: 2.5rem; }
  .chronik-grid { gap: 2.5rem; }
  .kontakt-layout { gap: 2.5rem; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  
  /* Mobile Nav */
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { max-height: 80vh; overflow-y: auto; }
  .site-nav ul { flex-direction: column; }
  .site-nav > ul > li > a {
    padding: .875rem 1.5rem;
    border-bottom: 1px solid var(--border);
    border-left: none;
    font-size: .9rem;
  }
  .site-nav .sub-menu {
    position: static;
    border-top: none;
    box-shadow: none;
    background: var(--light-bg);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border-radius: 0;
    border: none;
    pointer-events: auto;
    overflow: visible;
  }
  .site-nav .sub-menu::before { display: none; }
  .site-nav li.sub-open > .sub-menu { display: block; }
  .site-nav li:hover > .sub-menu { display: none; }
  .site-nav .sub-menu a { padding: .75rem 1.5rem .75rem 2.5rem; border-bottom: 1px solid rgba(0,0,0,.05); }
  .site-nav .sub-menu a::before { display: none; }
  .sub-link-arrow { display: none; }
  .menu-toggle { display: flex; }
  
  /* Hero */
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }
  .hero-image { order: -1; }
  .hero-image img { max-height: 280px; aspect-ratio: 4/3; }
  
  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-divider { border-left: none; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }
  
  /* About */
  .about-intro { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { order: -1; }
  
  /* Chronik */
  .chronik-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Fahrzeuge */
  .fahrzeuge-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  
  /* Anlässe */
  .anlaesse-grid { grid-template-columns: 1fr; }
  
  /* Kontakt */
  .kontakt-layout { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  
  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  
  /* Scene Banner */
  .scene-banner { min-height: 300px; }
  .scene-banner-content { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-section { padding: 2rem 1.25rem; }
  .fahrzeuge-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .header-icon:nth-child(n+3) { display: none; }
  .cookie-modal-btns { flex-direction: column; }
  .cookie-modal { padding: 1.75rem 1.25rem 1.5rem; }
}


/* Form Live-Validation States */
.form-group input.valid,
.form-group textarea.valid { border-color: #16a34a; }
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--red); }
.field-err {
  display: block;
  color: var(--red);
  font-size: .8rem;
  margin-top: .35rem;
  font-weight: 600;
}


/* Form Label "(optional)" Style */
.form-group label .opt {
  font-size: .72rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0;
  text-transform: none;
  margin-left: .25rem;
}


/* Email-Protection */
.email-protect { cursor: pointer; user-select: none; }
.email-protect.revealed { user-select: text; }
