/* =========================================================
   W.Campus — style.css
   ========================================================= */

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --green-dark:    #2e4a32;
  --green-main:    #3d5a40;
  --green-mid:     #4e7252;
  --green-light:   #e8f0e9;
  --green-pale:    #f4f8f4;
  --white:         #ffffff;
  --gray-100:      #f7f7f6;
  --gray-200:      #eeeeec;
  --gray-400:      #b0b0ac;
  --gray-600:      #6b6b68;
  --gray-800:      #2c2c2a;
  --black:         #181816;

  --font-sans:  'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);

  --transition: 0.25s ease;

  --container: 1200px;
  --nav-h: 72px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
select, input, textarea, button { font-family: inherit; }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Helpers ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 12px;
}
.section-label--light { color: var(--green-light); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header--light h2,
.section-header--light p { color: var(--white) !important; }
.section-header--light .section-label { color: var(--green-light) !important; }

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--green-main);
  border-color: var(--green-main);
}
.btn-outline-dark:hover {
  background: var(--green-main);
  color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.mt-1 { margin-top: 16px; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.nav-header.scrolled .nav-logo-text { color: var(--green-dark); }
.nav-header.scrolled .nav-links a { color: var(--gray-800); }
.nav-header.scrolled .nav-links a:hover { color: var(--green-main); }
.nav-header.scrolled .nav-burger span { background: var(--gray-800); }

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  /* Kein Filter nötig — weißes Logo wird per JS bei Scroll getauscht */
}
.nav-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.logo-dot { color: var(--green-light); }
.nav-header.scrolled .logo-dot { color: var(--green-main); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--green-main);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}
.nav-links .nav-cta:hover { background: var(--green-dark); color: var(--white); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,35,22,.75) 0%,
    rgba(46,74,50,.55) 50%,
    rgba(20,35,22,.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 24px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-indicator {
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 4px;
  height: 10px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .4; }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-800);
  margin-bottom: 24px;
}
.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-main);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.about-images {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
}
.about-img-main img,
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.about-img-main { height: 480px; }
.about-img-secondary { height: 480px; }

/* ═══════════════════════════════════════════
   FLÄCHEN
═══════════════════════════════════════════ */
.flaechen {
  padding: 120px 0;
  background: var(--gray-100);
}
.flaechen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.flaeche-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.flaeche-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.flaeche-card--wide {
  grid-column: 1 / -1;
}
.card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.flaeche-card:hover .card-img img { transform: scale(1.05); }
.card-img-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}
.card-tag {
  background: var(--green-main);
  color: var(--white);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.card-body {
  padding: 28px 28px 32px;
}
.card-body--horizontal {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-main);
}
.card-icon--large {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
}
.card-icon--large svg { width: 36px; height: 36px; }
.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.card-body p {
  font-size: 0.93rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.card-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-features li {
  font-size: 0.87rem;
  color: var(--gray-600);
  padding-left: 18px;
  position: relative;
}
.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-main);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════
   AUSSTATTUNG
═══════════════════════════════════════════ */
.ausstattung {
  padding: 120px 0;
  background: var(--green-main);
}
.ausstattung-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ausstattung-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.12);
  transition: background var(--transition), transform var(--transition);
}
.ausstattung-item:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.ausstattung-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.ausstattung-icon svg {
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,.9);
}
.ausstattung-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.ausstattung-item p {
  font-size: 0.86rem;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   GALERIE
═══════════════════════════════════════════ */
.galerie {
  padding: 120px 0;
  background: var(--white);
}
.galerie .section-header { margin-bottom: 48px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(46,74,50,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-hover svg { width: 40px; height: 40px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
#lightbox-img {
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.lightbox-caption {
  color: rgba(255,255,255,.7);
  font-size: 0.88rem;
  margin-top: 16px;
  text-align: center;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background var(--transition);
}
.lightbox-close, .lightbox-prev, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: -60px; right: -24px; }
.lightbox-prev { left: -72px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -72px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════
   STANDORT
═══════════════════════════════════════════ */
.standort {
  padding: 120px 0;
  background: var(--white);
}
.standort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.standort-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-800);
  margin-bottom: 24px;
}
.standort-text > p {
  color: var(--gray-600);
  font-size: 1.02rem;
  margin-bottom: 40px;
}
.standort-vorteile {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vorteil {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.vorteil-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vorteil-icon svg { width: 20px; height: 20px; color: var(--green-main); }
.vorteil div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vorteil strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
}
.vorteil span {
  font-size: 0.88rem;
  color: var(--gray-600);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 340px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.map-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.map-address svg { width: 20px; height: 20px; color: var(--green-main); flex-shrink: 0; margin-top: 2px; }
.map-address strong { display: block; font-weight: 700; color: var(--gray-800); font-size: 0.93rem; }
.map-address span { color: var(--gray-600); font-size: 0.88rem; line-height: 1.6; }

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,35,22,.85) 0%, rgba(46,74,50,.78) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════ */
.kontakt {
  padding: 120px 0;
  background: var(--white);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}
.kontakt-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-800);
  margin-bottom: 20px;
}
.kontakt-info > p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 40px;
}
.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kontakt-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.kontakt-item svg { width: 20px; height: 20px; color: var(--green-main); flex-shrink: 0; margin-top: 2px; }
.kontakt-item strong { display: block; font-weight: 700; font-size: 0.88rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.kontakt-item span, .kontakt-item a { color: var(--gray-800); font-size: 0.95rem; }
.kontakt-item a:hover { color: var(--green-main); text-decoration: underline; }

/* Form */
.kontakt-form-wrapper {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(61,90,64,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group--check { margin-top: -4px; }
.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  color: var(--gray-600);
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-main);
}
.checkbox-label a { color: var(--green-main); text-decoration: underline; }
.form-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 12px;
  text-align: center;
}

/* Honeypot – für Menschen unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* Status-Banner — standardmäßig versteckt; JS entfernt hidden-Attribut */
[hidden] { display: none !important; }

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}
.form-status svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}
.form-status div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.form-status strong {
  font-size: 0.97rem;
  font-weight: 700;
}
.form-status span {
  font-size: 0.88rem;
}
.form-status--success {
  background: #e8f5e9;
  border: 1.5px solid #a5d6a7;
  color: #2e7d32;
}
.form-status--success svg { color: #2e7d32; }
.form-status--error {
  background: #fdecea;
  border: 1.5px solid #ffab9f;
  color: #c62828;
}
.form-status--error svg { color: #c62828; }
.form-status--error a { color: #c62828; font-weight: 600; }

/* Submit-Spinner */
.btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-spinner svg {
  width: 18px;
  height: 18px;
}
.spin {
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-logo img { height: 36px; width: auto; }
.footer-logo span { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-logo span span { color: var(--green-mid); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-links h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--white); }
.footer-adresse h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-adresse address { font-size: 0.9rem; color: rgba(255,255,255,.65); line-height: 1.8; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ausstattung-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 2; aspect-ratio: 16/7; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { grid-template-columns: 1fr 1fr; }
  .about-img-main, .about-img-secondary { height: 280px; }

  .flaechen-grid { grid-template-columns: repeat(2, 1fr); }
  .flaeche-card--wide { grid-column: span 2; }

  .standort-grid { grid-template-columns: 1fr; gap: 48px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }

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

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--gray-800) !important; padding: 12px 0; border-bottom: 1px solid var(--gray-200); width: 100%; }
  .nav-links .nav-cta { background: var(--green-main); color: var(--white) !important; border-radius: var(--radius-sm); padding: 12px 20px; text-align: center; border-bottom: none; margin-top: 8px; }
  .nav-burger { display: flex; }
  /* Logo wird per JS getauscht – kein Filter nötig */

  .hero-title { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .about { padding: 80px 0; }
  .about-stats { gap: 24px; flex-wrap: wrap; }

  .flaechen { padding: 80px 0; }
  .flaechen-grid { grid-template-columns: 1fr; }
  .flaeche-card--wide { grid-column: span 1; }
  .card-body--horizontal { flex-direction: column; gap: 20px; }

  .ausstattung { padding: 80px 0; }
  .ausstattung-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .galerie { padding: 80px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--large { grid-column: span 2; aspect-ratio: 16/9; }

  .lightbox-prev { left: -40px; }
  .lightbox-next { right: -40px; }

  .standort { padding: 80px 0; }
  .kontakt { padding: 80px 0; }
  .kontakt-form-wrapper { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 80px 0; }
}

@media (max-width: 480px) {
  .ausstattung-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: span 1; }
  .hero-badge { font-size: 0.72rem; }
  .about-images { grid-template-columns: 1fr; }
  .about-img-secondary { display: none; }
  .lightbox-prev, .lightbox-next { display: none; }
}

/* ── Animations on Scroll ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   EVENTS
═══════════════════════════════════════════ */
.events {
  padding: 120px 0;
  background: var(--gray-100);
}
.events-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.event-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.event-img {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.event-img-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--green-main);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.event-text {
  padding: 48px 48px 48px 0;
}
.event-text h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.25;
  margin-bottom: 20px;
}
.event-text p {
  color: var(--gray-600);
  font-size: 0.97rem;
  margin-bottom: 16px;
}
.event-quote {
  border-left: 3px solid var(--green-main);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--green-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 0.93rem;
  color: var(--gray-600);
}
.event-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-main);
}
.event-types h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 28px;
  text-align: center;
}
.event-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.event-type {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-type:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.event-type-icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-type-icon svg { width: 20px; height: 20px; color: var(--green-main); }
.event-type strong { display: block; font-size: 0.9rem; color: var(--gray-800); margin-bottom: 4px; }
.event-type span { font-size: 0.82rem; color: var(--gray-600); line-height: 1.55; }
.event-cta-box {
  margin-top: 32px;
  background: var(--green-main);
  color: white;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.event-cta-box p { margin: 0; font-size: 0.97rem; color: rgba(255,255,255,.9); }
.event-cta-box strong { color: white; }

/* ═══════════════════════════════════════════
   LOGISTIK-BANNER
═══════════════════════════════════════════ */
.logistik-banner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  background: var(--green-dark);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  margin-bottom: 64px;
  align-items: center;
}
.logistik-center {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.logistik-center svg { width: 28px; height: 28px; color: rgba(255,255,255,.7); flex-shrink: 0; margin-top: 2px; }
.logistik-center strong { display: block; color: white; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.logistik-center span { color: rgba(255,255,255,.65); font-size: 0.87rem; line-height: 1.6; }
.logistik-highways,
.logistik-carriers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.highway-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.highway-badge--sub {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 0.75rem;
  padding: 0;
}
.carrier-badge {
  display: inline-flex;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ── Responsive Events & Logistik ─────────────────────── */
@media (max-width: 900px) {
  .event-highlight { grid-template-columns: 1fr; }
  .event-img { height: 280px; }
  .event-text { padding: 32px; }
  .event-types-grid { grid-template-columns: repeat(2, 1fr); }
  .event-cta-box { flex-direction: column; text-align: center; }
  .logistik-banner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .event-types-grid { grid-template-columns: 1fr; }
}

/* ── Logistik als eigene Section (nach Standort, vor CTA) ── */
.logistik-section {
  background: var(--white);
  padding: 0 0 80px;
}
.logistik-section .logistik-banner {
  border-radius: var(--radius-md);
}
