/* ── Heide-Trans Gräfenhainichen — Stylesheet ───────────────────────── */

:root {
  --primary:        #478ac9;
  --primary-dark:   #387cbd;
  --primary-darker: #1f5a91;
  --dark:           #15120d;
  --dark-2:         #2a241c;
  --accent:         #f5e378;
  --light-blue:     #adcce9;
  --bg:             #f7f9fb;
  --bg-alt:         #ffffff;
  --text:           #1a1a1a;
  --text-mid:       #4a4a4a;
  --text-light:     #6b6b6b;
  --border:         #e2e6ea;
  --radius:         10px;
  --radius-lg:      16px;
  --shadow:         0 6px 24px rgba(20,30,50,.08);
  --shadow-lg:      0 14px 40px rgba(20,30,50,.12);
  --t:              .25s ease;
  --container:      1180px;
  --serif:          'Roboto', system-ui, sans-serif;
  --sans:           'Open Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--dark); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }

p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; transition: color var(--t); }
a:hover, a:focus { color: var(--primary-darker); text-decoration: underline; }

ul.unstyled { list-style: none; padding: 0; margin: 0; }
ul.unstyled li { margin-bottom: .4em; }

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

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--accent); padding: 6px 12px; border-radius: 6px; z-index: 999; }

/* ── HEADER ──────────────────────────────────────────────────────── */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 100; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; min-height: 150px; }
.brand img { width: auto; height: 120px; }
@media (max-width: 900px) {
  .nav-bar { min-height: 80px; padding: 10px 24px; }
  .brand img { height: 56px; }
}
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav ul { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.primary-nav ul a { color: #fff; font-weight: 600; font-size: 15px; padding: 8px 0; position: relative; }
.primary-nav ul a:hover, .primary-nav ul a:focus { color: var(--accent); text-decoration: none; }
.primary-nav ul a.is-active { color: var(--accent); }
.primary-nav ul a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
}
.phone-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F5E378; color: var(--dark) !important;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: background var(--t), color var(--t);
}
.phone-cta:hover, .phone-cta:focus { background: var(--dark); color: #F5E378 !important; text-decoration: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: var(--t); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 20px;
    max-height: 0; overflow: hidden;
    transition: max-height var(--t);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .primary-nav.is-open { max-height: 500px; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-nav ul a.is-active::after { display: none; }
  .nav-phone-cta { display: none !important; }
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(60px, 10vw, 140px) 0 clamp(50px, 8vw, 110px);
  text-align: center;
  background: var(--dark);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-position: center; background-size: cover;
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,18,13,.78), rgba(20,18,13,.55));
  z-index: 1;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 740px; margin: 0 auto; color: rgba(255,255,255,.92); }

.hero-buero::before  { background-image: url('/bilder/heidetrans-fuhrpark.webp'); }
.hero-faq::before    { background-image: url('/bilder/heidetrans-fuhrpark-luftbild.webp'); }
.hero-kontakt::before{ background-image: url('/bilder/heidetrans-fahrzeuge.webp'); }
.hero-impressum::before { background-image: url('/bilder/heidetrans-fuhrpark.webp'); }

/* ── HERO WITH ANNIVERSARY (Über uns) ─────────────────────────────── */
.hero-with-anniversary { overflow: visible; position: relative; }
.hero-anniversary-art {
  position: absolute;
  right: clamp(20px, 4vw, 70px);
  top: 50%;
  width: clamp(220px, 22vw, 320px);
  height: auto;
  z-index: 4;
  animation: anniv-slide-in 4s cubic-bezier(.16,.84,.3,1) .3s both;
}
@keyframes anniv-slide-in {
  from { transform: translateX(110vw); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anniversary-art { animation: none; }
}
.about-anniversary-spacer .prose { padding-right: clamp(0px, 22vw, 320px); }
@media (max-width: 800px) {
  .hero-anniversary-art {
    right: 10px;
    width: 140px;
    top: auto; bottom: -50px;
  }
  .about-anniversary-spacer .prose { padding-right: 0; padding-top: 60px; }
}

/* ── INTRO / VIDEO-HERO (Startseite) ─────────────────────────────── */
.video-hero {
  position: relative; height: clamp(360px, 60vw, 540px);
  background: var(--dark);
  overflow: hidden;
}
.video-hero video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.video-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,13,.25), rgba(20,18,13,.65));
  z-index: 1;
}
.video-hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 0 24px; text-align: center;
}
.video-hero h1 {
  color: var(--light-blue);
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-shadow: 0 4px 24px rgba(0,0,0,.5);
  margin: 0;
}
.video-hero p.tagline {
  color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500; margin-top: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

/* ── INTRO-SPLIT (Leistungsbox + Headline) ───────────────────────── */
.intro-split { padding: 0 0 80px; background: var(--bg-alt); }
.intro-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: end; }
@media (max-width: 800px) { .intro-grid { grid-template-columns: 1fr; gap: 32px; } }

.service-box {
  background: #F5E378;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-top: clamp(-220px, -18vw, -100px);
  position: relative;
  z-index: 5;
  animation: service-slide-up 4s cubic-bezier(.16, .84, .3, 1) .3s both;
}
@keyframes service-slide-up {
  from { transform: translateY(110vh); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.hero-headline { padding-bottom: 0; display: flex; align-items: flex-end; }
.hero-headline h1 {
  font-size: clamp(1.6rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: .95;
  margin: 0;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: -.015em;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .hero-headline { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-box { animation: none; }
}
.intro-text { padding-top: 40px; }
@media (max-width: 800px) {
  .service-box { margin-top: -80px; }
  .intro-text { padding-top: 0; }
}
.service-box h2 { font-size: 1.5rem; margin-bottom: 18px; }
.service-list { list-style: none; padding: 0; margin: 0 0 24px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; font-size: 15px;
}
.service-list li::before {
  content: ''; flex-shrink: 0; margin-top: 4px;
  width: 18px; height: 18px;
  background: url('/bilder/1008958.png') no-repeat center / contain;
}
.service-box .phone-cta {
  width: 100%; justify-content: center; font-size: 17px; padding: 14px 18px;
  background: var(--dark); color: #fff !important;
}
.service-box .phone-cta:hover,
.service-box .phone-cta:focus { background: var(--dark-2); }

.intro-text { }
.intro-text .tag { display: inline-block; background: var(--primary); color: #fff; padding: 5px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.intro-text p { color: var(--text-mid); font-size: 1.05rem; }

/* ── PHOTO GRID (z.B. Ueber-uns) ─────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/5;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
}
.photo-card .caption strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.photo-card .caption span { font-size: .85rem; opacity: .9; }

/* ── TEXT + SLIDER GRID ──────────────────────────────────────────── */
.text-slider-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 60px;
  align-items: center;
}
@media (max-width: 800px) {
  .text-slider-grid { grid-template-columns: 1fr; gap: 32px; }
}
.text-slider-grid .intro-text {
  text-align: center;
}
.text-slider-grid .intro-text h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateX(-110vw);
  transition: opacity 4s cubic-bezier(.16,.84,.3,1), transform 4s cubic-bezier(.16,.84,.3,1);
}
.text-slider-grid .intro-text h2.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.text-slider-grid .intro-text p { color: var(--text-mid); }
.text-slider-grid .star-icon {
  display: block;
  width: 56px; height: 56px;
  background: #F5E378;
  border-radius: 50%;
  padding: 0;
  margin: 0 auto 18px;
}
@media (prefers-reduced-motion: reduce) {
  .text-slider-grid .intro-text h2 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── SLIDER ───────────────────────────────────────────────────── */
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--dark);
}
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  margin: 0;
  aspect-ratio: 570 / 797;
  overflow: hidden;
}
.slider--landscape { max-width: 720px; margin: 0 auto; }
.slider--landscape .slide { aspect-ratio: 16 / 9; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff;
}
.slide figcaption strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.slide figcaption span   { font-size: .9rem; opacity: .9; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--dark);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: background var(--t), transform var(--t);
  z-index: 3;
}
.slider-btn:hover, .slider-btn:focus { background: #fff; transform: translateY(-50%) scale(1.06); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider > .slider-dots {
  position: absolute; left: 0; right: 0; bottom: 70px;
  display: flex; justify-content: center; gap: 8px;
  z-index: 3;
}
.slider > .slider-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: 0; cursor: pointer; padding: 0;
  transition: background var(--t), transform var(--t);
}
.slider > .slider-dots button.is-active { background: #fff; transform: scale(1.3); }
@media (max-width: 600px) {
  .slider > .slider-dots { bottom: 64px; }
  .slider-btn { width: 36px; height: 36px; }
}

/* ── AWARD / Landessiegel ────────────────────────────────────────── */
.award {
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa, #e7eef6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.award-inner { display: inline-flex; align-items: center; gap: 40px; max-width: 820px; }
.award-inner img { width: 240px; flex-shrink: 0; }
@media (max-width: 600px) { .award-inner img { width: 180px; } }
.award-text { text-align: left; }
.award-text h3 { color: var(--primary-darker); margin-bottom: 4px; }
.award-text p { margin: 0; font-size: .95rem; color: var(--text-mid); }
@media (max-width: 600px) {
  .award-inner { flex-direction: column; gap: 16px; }
  .award-text { text-align: center; }
}

/* ── SECTIONS ────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .tag,
.tag { display: inline-block; background: var(--primary); color: #fff; padding: 5px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.tag.tag-yellow { background: #F5E378; color: var(--dark); }
.section-head p { color: var(--text-mid); font-size: 1.05rem; }

/* ── TEXT BLOCK ─────────────────────────────────────────────────── */
.prose { max-width: 780px; margin: 0 auto; }
.prose p { color: var(--text-mid); }
.prose strong { color: var(--dark); }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.1em; }
.prose-center, .prose-center p { text-align: center; }
.ds-tldr {
  background: #fffbea;
  border: 1px solid #f0d76b;
  border-left: 5px solid #F5E378;
  padding: 22px 28px 8px;
  border-radius: 10px;
  margin-bottom: 40px;
}
.ds-tldr h2 { font-size: 1.2rem; color: var(--dark); }
.ds-tldr ul { padding-left: 22px; }
.ds-tldr li { color: var(--text-mid); margin-bottom: 8px; }

/* ── STELLENANGEBOTE ─────────────────────────────────────────────── */
.stellen-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 800px) { .stellen-grid { grid-template-columns: 1fr; gap: 30px; } }
.stellen-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 12px 0 18px; }
.stellen-text h3 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin-top: 28px; color: var(--dark); }
.stellen-text .stellen-lead { color: var(--text-mid); font-size: 1.1rem; margin-bottom: 26px; }
.stellen-text ul { padding-left: 22px; color: var(--text-mid); margin: 10px 0 20px; }
.stellen-text ul li { margin-bottom: 7px; }
.stellen-cta {
  margin-top: 36px; padding: 24px 26px;
  background: #fffbea; border-left: 4px solid #F5E378;
  border-radius: 10px;
}
.stellen-cta h3 { margin-top: 0; }
.stellen-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 0; }
.stellen-poster img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ── PRESS / LIGHTBOX ───────────────────────────────────────────── */
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 800px) { .press-grid { grid-template-columns: 1fr; } }

.press-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--dark);
  cursor: zoom-in;
  transition: transform var(--t);
}
.press-card:hover, .press-card:focus { transform: translateY(-3px); text-decoration: none; }
.press-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.press-card--portrait  { aspect-ratio: 1290 / 1719; }
.press-card--landscape { aspect-ratio: 16 / 8; align-self: start; }
.press-card--wide      { aspect-ratio: 1290 / 1074; }
.press-grid--single    { grid-template-columns: minmax(0, 720px); justify-content: center; }
.press-grid--pair      { grid-template-columns: 1fr 1fr; align-items: start; }
.press-card__zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--dark);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(15,15,15,.92);
  display: grid; place-items: center;
  padding: 40px 20px;
  animation: lightbox-fade .2s ease-out;
}
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__inner {
  position: relative;
  margin: 0;
  max-width: min(94vw, 1100px);
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox__inner img {
  max-width: 100%; max-height: 80vh; height: auto; width: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__caption {
  color: rgba(255,255,255,.88);
  font-size: 14px; margin-top: 14px; text-align: center;
  max-width: 800px;
}
.lightbox__close {
  position: absolute; top: 16px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 0; cursor: pointer;
  font-size: 26px; line-height: 1;
  transition: background var(--t);
}
.lightbox__close:hover, .lightbox__close:focus { background: rgba(255,255,255,.22); }
body.lightbox-open { overflow: hidden; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(20,30,50,.04);
}
.faq-item h3 { font-size: 1.15rem; margin: 0 0 10px; color: var(--primary-darker); }
.faq-item p { margin: 0; color: var(--text-mid); }
.faq-note {
  background: #fffbea; border-left: 4px solid var(--accent);
  padding: 16px 22px 16px 56px; border-radius: var(--radius);
  position: relative; margin: 30px auto 0; max-width: 820px;
}
.faq-note::before {
  content: ''; position: absolute; left: 16px; top: 14px;
  width: 28px; height: 28px;
  background: url('/bilder/598426.png') no-repeat center / contain;
}
.faq-cta {
  margin-top: 50px; text-align: center;
  max-width: 720px; margin-inline: auto;
}
.faq-cta blockquote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--dark);
  border-left: 4px solid var(--primary);
  padding: 8px 0 8px 22px;
  margin: 0 0 22px;
  text-align: left;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 13px 26px; border-radius: 99px;
  font-weight: 600; font-size: 15px;
  white-space: nowrap;
  transition: background var(--t), transform var(--t);
  text-decoration: none;
}
.btn svg { flex-shrink: 0; }

/* Override Google-Reviews Modul-Farben */
.reviews-section .section-label    { color: var(--primary); }
.reviews-section .section-title span { color: var(--primary); }
.btn:hover, .btn:focus { background: var(--primary-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover, .btn-outline:focus { background: var(--primary); color: #fff; }
.btn-yellow { background: #F5E378; color: var(--dark) !important; }
.btn-yellow:hover, .btn-yellow:focus { background: var(--dark); color: #F5E378 !important; }

/* ── KONTAKT GRID ───────────────────────────────────────────────── */
.kontakt-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .kontakt-grid { grid-template-columns: 1fr; gap: 32px; } }

.kontakt-info { background: var(--bg-alt); padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.kontakt-info h2 { margin-top: 0; }
.kontakt-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.kontakt-row:last-child { border-bottom: 0; }
.kontakt-row .kontakt-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.kontakt-row .kontakt-icon img { width: 24px; height: 24px; }
.kontakt-row .label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-light); display: block; margin-bottom: 2px; }
.kontakt-row .value { font-weight: 600; color: var(--dark); }
.kontakt-row a { color: var(--dark); }

.oeffnungszeiten { margin-top: 30px; }
.oeffnungszeiten h3 { font-size: 1.1rem; margin-bottom: 14px; }
.oeffnungszeiten table { width: 100%; border-collapse: collapse; }
.oeffnungszeiten td { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
.oeffnungszeiten td:first-child { font-weight: 600; color: var(--dark); }
.oeffnungszeiten td:last-child { text-align: right; color: var(--text-mid); }
.oeffnungszeiten tr.closed td:last-child { color: var(--text-light); }

/* ── FORM ───────────────────────────────────────────────────────── */
.contact-form { background: var(--bg-alt); padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form h2 { margin-top: 0; }
.form-row { display: grid; gap: 16px; margin-bottom: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row.two { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--dark); }
.field label .req { color: #c43; }
.field input, .field textarea, .field select {
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px;
  font: inherit; font-size: 15px; background: var(--bg);
  transition: border-color var(--t), background var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--primary); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.optional-block { background: var(--bg); padding: 20px; border-radius: var(--radius); margin: 18px 0; }
.optional-block .hint { font-size: 13px; color: var(--text-light); margin-bottom: 12px; font-style: italic; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type="range"] { flex: 1; }
.range-row output { font-weight: 700; color: var(--primary); min-width: 28px; text-align: right; }
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-actions .btn { width: 100%; padding: 15px; font-size: 16px; justify-content: center; }
.form-note { font-size: 13px; color: var(--text-light); margin: 14px 0 6px; }
.form-message { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 15px; }
.form-message.success { background: #e6f3e9; color: #1f5028; border: 1px solid #b6dfc1; }
.form-message.error   { background: #faecec; color: #6b1a1a; border: 1px solid #e7b6b6; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); margin-top: 80px; padding: 60px 0 20px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover, .site-footer a:focus { color: var(--accent); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 130px; height: auto; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; font-size: .92rem; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.social a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  transition: background var(--t), color var(--t);
}
.social a:hover, .social a:focus { background: var(--accent); color: var(--dark); }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.footer-bottom small { color: rgba(255,255,255,.55); font-size: .85rem; }

/* ── Festivalfahrten-Hinweis (Modal) ───────────────────────────────── */
.festival-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 16px;
}
.festival-modal[hidden] { display: none; }

.festival-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 50, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background .25s ease, backdrop-filter .25s ease;
  cursor: pointer;
}
.festival-modal.is-open .festival-modal__backdrop {
  background: rgba(15, 30, 50, .58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.festival-modal__card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px 28px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.9,.3,1);
  overflow: hidden;
}
.festival-modal__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-darker));
}
.festival-modal.is-open .festival-modal__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.festival-modal__close {
  position: absolute;
  top: 10px; right: 10px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.festival-modal__close:hover,
.festival-modal__close:focus-visible {
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.festival-modal__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(71, 138, 201, .12);
  color: var(--primary);
  margin: 4px auto 18px;
}

.festival-modal__title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--text);
}

.festival-modal__text {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-mid);
}

.festival-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 600 1rem/1 var(--sans);
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 6px 18px rgba(71, 138, 201, .28);
}
.festival-modal__cta:hover,
.festival-modal__cta:focus-visible {
  background: var(--primary-dark);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(71, 138, 201, .35);
}
.festival-modal__cta:active { transform: translateY(0); }

@media (max-width: 480px) {
  .festival-modal__card {
    padding: 32px 22px 24px;
    border-radius: 14px;
  }
  .festival-modal__title { font-size: 1.25rem; }
  .festival-modal__icon { width: 64px; height: 64px; margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .festival-modal__card,
  .festival-modal__backdrop { transition: none; }
  .festival-modal.is-open .festival-modal__card { transform: none; }
}
