/* Barfussweg Schrattenberg – Valtice */
:root {
  --green: #4a7c2f;
  --green-dark: #35591f;
  --brown: #7a5230;
  --sand: #f5efe3;
  --text: #2d2a26;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.25; color: var(--green-dark); }
h1 { font-size: 2rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
address { font-style: normal; }

.rounded { border-radius: var(--radius); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo img { width: 200px; height: auto; }
.nav-toggle {
  display: none;
  margin-left: auto;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-dark);
}
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  display: block;
}
.main-nav li a:hover { background: var(--sand); }
.main-nav li.active a { background: var(--green); color: var(--white); }

.lang-switch {
  display: flex;
  gap: 0.25rem;
  border-left: 2px solid var(--sand);
  padding-left: 0.9rem;
}
.lang-switch a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  color: var(--brown);
}
.lang-switch a.active { background: var(--brown); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  min-height: 62vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  background: rgba(35, 50, 20, 0.55);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 2rem 1rem;
}
.hero-overlay h1 { color: var(--white); font-size: 2.4rem; }
.hero-sub { font-size: 1.3rem; margin: 0.75rem 0 1.5rem; }

/* ---------- Layout ---------- */
.section { padding: 3rem 0; }
.section-alt { background: var(--sand); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.intro { font-size: 1.1rem; max-width: 800px; margin-bottom: 2rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.photo-row img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3/2; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.card-hours { border-top: 5px solid var(--green); }
.hours { list-style: none; margin: 0.75rem 0; }
.hours li { padding: 0.35rem 0; border-bottom: 1px dashed #ddd; }
.notice { color: #a33; font-weight: 700; margin-top: 0.75rem; }
.berti-logo { max-width: 260px; margin-bottom: 1rem; }
.teaser .btn { margin-top: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brown);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-big { font-size: 1.25rem; padding: 1rem 2.2rem; }

/* ---------- Stationen ---------- */
.station-grid { margin-top: 1rem; }
.station-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}
.station-card:hover { transform: translateY(-4px); }
.station-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.station-card h2 { font-size: 1.15rem; padding: 0.9rem 1rem 0.25rem; }
.station-card .more { padding: 0 1rem 1rem; color: var(--brown); font-weight: 600; }
.station-nr {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--green);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.station-detail .breadcrumb { margin-bottom: 1rem; }
.station-hero { width: 100%; max-height: 480px; object-fit: cover; margin: 1rem 0; }
.station-text { max-width: 800px; font-size: 1.05rem; }
.station-text p { margin-bottom: 1rem; }
.station-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--sand);
  font-weight: 600;
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.15s;
}
.gallery-item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
}
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 6px; }

/* ---------- Videos (Klick-zum-Laden) ---------- */
.section-title { margin-bottom: 1.25rem; }
.video-grid { align-items: stretch; }
.video { margin: 0; }
.video-placeholder {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-placeholder img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.video-placeholder:hover img { opacity: 1; }
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: rgba(53, 89, 31, 0.9);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.3rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s, background 0.15s;
}
.video-placeholder:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); background: var(--green); }
.video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: var(--radius);
  display: block;
}
.video figcaption { margin-top: 0.6rem; font-weight: 600; color: var(--green-dark); }
.video-hint { margin-top: 1rem; font-size: 0.85rem; color: #777; }
.kegel-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* ---------- Angebote ---------- */
.offer-list { display: grid; gap: 1.25rem; max-width: 950px; }
.offer h2 { color: var(--brown); }
.offer p { margin-bottom: 0.5rem; }
.offer-has-img {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}
.offer-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.15s;
}
.offer-img:hover img { transform: scale(1.03); }
@media (max-width: 700px) {
  .offer-has-img { grid-template-columns: 1fr; }
  .offer-img { order: -1; }
}

/* ---------- Anfahrt ---------- */
.map-wrap { overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Shop ---------- */
.shop-cta { text-align: center; margin: 2.5rem 0; }
.cta-hint { margin-top: 0.6rem; color: #777; font-size: 0.9rem; }
.shop-cats { margin: 1rem 0 2rem; }
.shop-cat { text-decoration: none; display: block; border-left: 5px solid var(--green); }
.shop-cat:hover { border-left-color: var(--brown); }
.shop-cat h3 { margin-bottom: 0.35rem; }
.shop-cat p { color: var(--text); }
.shop-seo { max-width: 800px; color: #555; font-size: 0.95rem; }

/* ---------- Kontakt ---------- */
.contact-card p { margin-bottom: 0.6rem; }
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.alert { padding: 0.9rem 1.1rem; border-radius: 6px; margin-bottom: 1rem; font-weight: 600; }
.alert-ok { background: #e4f2dc; color: var(--green-dark); }
.alert-error { background: #fbe4e4; color: #a33; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 800px; }
.legal h2 { margin-top: 1.75rem; }
.legal p { margin-bottom: 1rem; }
.legal .stand { margin-top: 2rem; color: #777; font-size: 0.9rem; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  border-top: 5px solid var(--green);
}
.cookie-inner { max-width: 900px; margin: 0 auto; padding: 1.25rem 1rem; }
.cookie-inner h2 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.cookie-inner p { font-size: 0.95rem; margin-bottom: 0.9rem; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-outline {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--sand); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #e8f0e0;
  padding: 2.5rem 0;
  margin-top: 3rem;
  text-align: center;
}
.site-footer a { color: var(--white); }
.site-footer p { margin-bottom: 0.6rem; }
.eu-note { max-width: 700px; margin: 0 auto 0.75rem; }
.legal-links { font-size: 0.95rem; }
.credit { font-size: 0.85rem; opacity: 0.85; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .lang-switch { border-left: none; padding-left: 0.7rem; }
  .hero-overlay h1 { font-size: 1.7rem; }
  .station-nav { flex-direction: column; }
}
