/* ==========================================================================
   Steirisch Ursprung — Ghost Theme CSS
   Inspired by smol-11ty-starter (Stephanie Eckles) + Pico CSS tokens
   ========================================================================== */

/* --- Tokens --- */
:root {
  --color-primary: #006633;
  --color-navbar: #206f40;
  --color-secondary: #7b6852;
  --color-text: #2c2930;
  --color-text-muted: #888;
  --color-bg: #fff;
  --color-bg-light: #f4f4f4;
  --color-bg-warm: #f8f8f8;
  --color-border: #e0e0e0;

  --font-heading: 'Crimson Text', Georgia, serif;
  --font-body: 'Josefin Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --max-width: 1220px;
  --spacing: clamp(1rem, 5vw, 3rem);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }

/* --- Base Typography --- */
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

:is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); }

:is(h2, h3):not(:first-child) { margin-top: 2em; }

a { color: var(--color-primary); text-underline-offset: 0.15em; }
a:hover { color: var(--color-secondary); }

p { margin: 0 0 1em; }

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

iframe { max-width: 100%; aspect-ratio: 16/9; height: auto; }

/* --- Ghost Content Styles --- */
.gh-content {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.gh-content > * + * {
  margin-top: 1em;
}

/* Ghost Koenig Editor — width classes (required by Ghost) */
.kg-width-wide {
  width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.kg-width-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Ghost image cards */
.kg-image-card, .kg-gallery-card {
  margin: 2em 0;
}

.kg-image-card img {
  margin: 0 auto;
}

.kg-image-card figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5em;
}

/* Ghost bookmark cards */
.kg-bookmark-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: var(--color-text);
}

.kg-bookmark-content {
  flex: 1;
  padding: 1rem;
}

.kg-bookmark-title {
  font-family: var(--font-body);
  font-weight: 600;
}

.kg-bookmark-thumbnail img {
  width: 200px;
  height: 100%;
  object-fit: cover;
}

/* --- Topbar --- */
.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
  padding-left: max(var(--spacing), calc((100vw - var(--max-width)) / 2)); /* #4: linksbündig mit Navbar */
  padding-right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  background: var(--color-navbar) url('../img/header-verlauf.png');
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(255,255,255,0.5);
}

.topbar a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.topbar a:hover { color: #fff; }

.topbar-cta {
  padding: 0.35em 1.2em;
  border: 1px solid #fff;
  background: #fff;
  color: var(--color-primary) !important;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 0.75rem;
  transition: all 0.2s;
  border-radius: 4px;
}

.topbar-cta:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff !important;
}

.topbar-right { margin-left: auto; }

/* #6: Warenkorb-Icon (SVG statt Unicode für konsistentes Rendering) */
.topbar-cart {
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none;
  padding: 0.2em 0.5em;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.topbar-cart svg {
  width: 18px;
  height: 18px;
}
.topbar-cart span {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
}

/* --- Navbar (Split Layout) --- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary) url('../img/header-bg.jpg') repeat-x;
  min-height: 90px;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  padding-left: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  padding-right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -45px; /* #2: Logo reicht weiter nach oben */
  z-index: 300;
}

.nav-logo img {
  height: 210px; /* #3: Logo größer */
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.nav-left, .nav-right {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  gap: 0;
}

.nav-left { justify-content: flex-start; padding-right: 130px; } /* #4: linksbündig */
.nav-right { justify-content: flex-end; padding-left: 130px; } /* #4: rechtsbündig */
.nav-mobile { display: none; }

.nav-left > li > a,
.nav-right > li > a {
  display: block;
  padding: 30px 18px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-left > li > a:hover,
.nav-right > li > a:hover,
[aria-current="page"] { color: #fff !important; }

/* Dropdowns */
.has-children { position: relative; }

.has-children > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  z-index: 200;
}

.has-children:hover > ul { display: block; }

.has-children > ul a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.has-children > ul a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Ghost Members "Sign up" Link ausblenden (wird über Ghost Admin deaktiviert) */
.nav-right > li:last-child > a[href="/"],
.nav-mobile > li:last-child > a[href="/"] { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: var(--spacing);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.2s;
}

/* Sticky: Logo + Navbar verkleinern beim Scrollen */
.site-nav.scrolled {
  min-height: 60px;
  transition: min-height 0.3s;
}

.site-nav.scrolled .nav-logo {
  top: -10px;
}

.site-nav.scrolled .nav-logo img {
  height: 80px;
  transition: height 0.3s;
}

.site-nav.scrolled .nav-left > li > a,
.site-nav.scrolled .nav-right > li > a {
  padding: 18px 15px;
}

/* --- Green zigzag border after navbar (Original sep-green) --- */
.site-nav::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-bottom.png') repeat-x;
  z-index: 200;
  pointer-events: none;
}

/* --- Main Content --- */
main {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: var(--spacing);
}

/* Homepage: Hero direkt unter Navbar, kein Top-Padding */
main:has(.hero) {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* Raumseiten: main volle Breite, Content-Blöcke steuern ihr eigenes Max-Width */
main:has(.capacity-bar) {
  width: 100%;
  max-width: none;
  padding: 0;
}

main article > * + * {
  margin-top: 1em;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

/* Slider: Hero-Overlay deaktivieren — jeder Slide hat sein eigenes */
.hero:has(.hero-slide)::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 var(--spacing);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 3vw, 4rem);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 0.5em;
}

.hero p {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

.hero .btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.hero .btn:hover {
  background: #fff;
  color: var(--color-primary);
}

/* --- Page Header (Unterseiten mit Bild) --- */
.page-header {
  background-size: cover;
  background-position: center;
  padding: clamp(7rem, 18vw, 13rem) var(--spacing);
  text-align: center;
  color: #fff;
  position: relative;
}

/* Posts: Bild verdunkelt, Titel weiß darauf */
.page-header--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* #header-image: Bild hell, kein Overlay, kein Titel — Größe wie .page-header */
.page-header--light::after {
  display: none;
}

/* Kein weißer Rand zwischen Header-Bild und Content */
.page-header + main {
  padding-top: 0;
}

.page-header h1,
.page-header-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 2rem + 2.5vw, 3.9rem);
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin: 0;
}

/* Ohne Feature-Image: schlichter Header */
.page-header-plain {
  text-align: center;
  padding: 3rem var(--spacing) 1rem;
  background: #fff;
}

.page-header-plain .page-header-title {
  color: var(--color-text);
  text-shadow: none;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* --- Sections (full-width backgrounds) --- */
.section-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: clamp(2rem, 5vw, 5rem) var(--spacing);
}

.section-full > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-dark {
  background: var(--color-primary);
  color: #fff;
}

.section-dark :is(h1,h2,h3,h4,h5,h6) { color: #fff; }

.section-warm {
  background: var(--color-bg-light);
}

/* Green decoration borders (Original sep-green PNG) */
.sep-top { border-top: 6px solid var(--color-primary); border-image: url('../img/sep-green-top.png') 6 repeat; }
.sep-bottom { border-bottom: 6px solid var(--color-primary); border-image: url('../img/sep-green-bottom.png') 6 repeat; }

/* --- News & Termine Section --- */
.news-section {
  padding: clamp(3rem, 5vw, 5rem) var(--spacing);
  text-align: center;
  background: #fff;
}

.news-header {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.news-header h2 {
  font-family: var(--font-heading);
  font-size: 45px;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.news-header p {
  font-size: 18px;
  color: var(--color-text);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.news-card {
  background: #fff;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}

.news-card-content {
  padding: 1rem;
  text-align: left;
}

.news-card-content h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.news-card-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --- */
footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  padding: clamp(2rem, 5vw, 3rem) var(--spacing);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

footer h5 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 0.3rem; }

.footer-copy { text-align: left; }

/* --- Feature Grid (3 Spalten nach Hero, edge-to-edge) --- */
.section-full:has(.feature-grid) {
  padding: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: none;
  margin: 0;
}

.feature-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  color: #fff;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing);
  background: rgba(0,0,0,0.35);
  transition: background 0.3s;
}

.feature-card:hover .feature-card-content {
  background: rgba(0,0,0,0.5);
}

.feature-card h3 {
  color: #fff;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.feature-card h3 span {
  font-weight: 400;
}

.feature-card p {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.feature-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* --- Video Teaser (Klick-to-Play) --- */
.video-teaser {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.video-teaser h2 {
  margin: 0;
}

.video-teaser-btn {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px dashed rgba(255,255,255,0.5);
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s;
}

.video-teaser-btn:hover {
  transform: scale(1.08);
  border-color: #fff;
}

.video-teaser-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.video-teaser-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.video-player {
  margin-top: 1.5rem;
}

/* --- Post Card (News auf Homepage) --- */
.post-card {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  padding: 0 var(--spacing);
}

.post-card h3 a {
  text-decoration: none;
}

.post-card h3 a:hover {
  text-decoration: underline;
}

/* --- Post Meta --- */
.post-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  margin-bottom: 1.5em;
}

/* --- Angebot Row --- */
.angebot-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.angebot-text {
  flex: 1;
  min-width: 300px;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* --- Room Detail Layout (Bienenstock etc.) --- */
.room-layout {
  display: grid;
  grid-template-columns: 5fr 5fr; /* #9: gleichmäßigere Aufteilung */
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--spacing);
  font-size: 18px;
}

.room-text h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); /* #9: größere Überschrift */
}

.room-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Bilder: Original hat keine Rundung/Rahmen/Shadow */
.room-images img {
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* Capacity Badge Bar (Bienenstock: "bis 36 Personen") */
.capacity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #d5c8b9 url('../img/header-bg.jpg') repeat center;
  padding: 30px var(--spacing);
  padding-left: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  padding-right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  overflow: visible;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  border: none;
  position: relative;
  z-index: 2;
}

/* sep-green-top + dashed Linie direkt darunter */
.capacity-bar::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-top.png') repeat-x;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  z-index: 10;
}

/* sep-green-bottom (= top gespiegelt) */
.capacity-bar::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-bottom.png') repeat-x;
  z-index: 10;
}

.capacity-bar > .capacity-badge {
  position: absolute;
  right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  top: 50%;
  transform: translateY(-55%);
}

.capacity-bar h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2.5vw, 3.9rem);
  color: #fff;
  margin: 0;
  font-style: normal;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.capacity-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: normal;
  background: #ba8d1a;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 20;
  align-self: center;
}

/* Innerer weißer Ring (wie Original ::after) */
.capacity-badge::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: none;
}

.capacity-badge .num {
  font-size: 3.4rem;
  font-weight: 400;
  font-family: var(--font-body);
  line-height: 54px;
  font-style: normal;
  margin: 2px 0 8px;
}

.capacity-badge .label {
  font-size: 1.46rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.2;
}

/* CTA Bar ("Jetzt online anfragen") */
.cta-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: #d5c8b9 url('../img/header-bg.jpg') repeat center;
  padding: 50px var(--spacing) 45px;
  padding-left: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  padding-right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  overflow: visible;
  position: relative;
  margin-top: 0;
  z-index: 10;
}

.cta-bar::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-top.png') repeat-x;
  z-index: 10;
}

.cta-bar::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-bottom.png') repeat-x;
  z-index: 10;
}

.cta-bar .capacity-badge {
  margin-top: -3.5rem;
}

.cta-bar-text {
  flex: 1;
}

.cta-bar h2 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0 0 0.3rem;
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.8rem);
  font-style: italic;
}

.cta-bar p {
  margin: 0;
  font-size: 1.15rem;
}

.cta-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.cta-bar a:hover {
  text-decoration: underline;
}

.cta-bar-button {
  position: absolute;
  right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.cta-bar-button img {
  display: block;
  transition: transform 0.3s ease;
}

.cta-bar-button:hover img {
  transform: scale(1.05);
}

/* "Weitere Säle" — Intro (weißer Hintergrund) */
.rooms-intro {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) var(--spacing) clamp(1rem, 3vw, 2rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.rooms-intro h2 {
  margin: 0 0 0.5rem;
}

.rooms-intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* ==========================================================================
   DESIGN SYSTEM — Einheitliche Klassen (Session 10)
   Ersetzt: .room-card/.saele-card → .venue-card
            .rooms-grid/.saele-grid → .venue-grid
            .btn-more/.feature-button → .action-button
            .capacity-bar/.feiern-title-bar → .title-bar
   Werte: gemessen auf web.steirischursprung.at/feiern-geniessen/ (Session 10)
   ========================================================================== */

/* --- Venue Grid (Holztextur-Hintergrund, 3 Spalten) --- */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--spacing) 3rem;
  background: #16192a url('../img/bg-holz.jpg') repeat center top;
  position: relative;
}

.venue-grid::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/home_pizza2_decoration2.png') repeat-x;
  z-index: 5;
}

/* --- Venue Card (weiße Karte mit Hover-Effekt) --- */
.venue-card {
  position: relative;
  display: block;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--color-text);
}

/* --- Venue Card Image (aspect-ratio 3:2) --- */
.venue-card-image {
  width: 100%;
  aspect-ratio: 3/2;
  background-size: cover;
  background-position: center;
}

.venue-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* --- Venue Card Badge (goldener Kreis, 105px, flach) --- */
.venue-card-badge {
  position: relative;
  z-index: 2;
  width: 105px;
  height: 105px;
  margin: -52px auto 0;
  border-radius: 50%;
  background: #ba8d1a;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.venue-card-badge .badge-prefix {
  font-size: 16px;
}

.venue-card-badge .badge-number {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}

.venue-card-badge .badge-suffix {
  font-size: 16px;
}

/* --- Venue Card Content --- */
.venue-card-content {
  padding: 15px 30px 30px;
  text-align: center;
  background: #fff;
}

.venue-card-content h3 {
  font-size: 26px;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
  font-weight: 400;
}

.venue-card-content p {
  font-size: 18px;
  color: #554030;
  margin: 0;
  line-height: 1.4;
}

/* --- Action Button (einheitlich, gefüllt) --- */
.action-button {
  display: inline-block;
  padding: 11px 20px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  transition: all 0.2s;
  margin-top: 1rem;
}

.action-button:hover {
  background: var(--color-navbar);
  color: #fff;
}

/* --- Title Bar (Holztextur + Zierlinien, wie Capacity-Bar) --- */
.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #d5c8b9 url('../img/header-bg.jpg') repeat center;
  padding: 30px var(--spacing);
  padding-left: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  padding-right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  overflow: visible;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  border: none;
  position: relative;
  z-index: 2;
}

.title-bar::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-top.png') repeat-x;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  z-index: 10;
}

.title-bar::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-bottom.png') repeat-x;
  z-index: 10;
}

.title-bar h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2.5vw, 3.9rem);
  color: #fff;
  margin: 0;
  font-style: normal;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.title-bar--centered {
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 30px;
}

.title-bar--centered h2 {
  font-family: var(--font-heading);
}

.title-bar--overlap {
  margin-top: -5rem;
}

.title-bar > .capacity-badge {
  position: absolute;
  right: max(var(--spacing), calc((100vw - var(--max-width)) / 2));
  top: 50%;
  transform: translateY(-55%);
}

/* --- Responsive: venue-grid --- */
@media (max-width: 1099px) {
  .venue-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LEGACY — Altes CSS (NICHT LÖSCHEN bis Migration + DevOps-Genehmigung)
   ========================================================================== */

/* "Weitere Säle" — Grid (Holztextur-Hintergrund) */
.rooms-section {
  background: #16192a url('../img/bg-holz.jpg') repeat center top;
  padding: clamp(3rem, 5vw, 5rem) var(--spacing);
  margin-top: 0;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.room-card {
  background: #fff;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  color: var(--color-text);
}

.room-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.room-card-body {
  padding: 1.2rem 1rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.room-card-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #c9a020, #a67c10);
  color: #fff;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 1px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 1.2;
  margin-top: -2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.2);
}

.room-card-badge .num {
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.room-card h3 {
  font-size: 1.1rem;
  margin: 0.8rem 0 0.5rem;
}

.room-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  flex: 1;
}

.room-card .btn-more {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.2s;
}

.room-card:hover .btn-more {
  background: var(--color-primary);
  color: #fff;
}

/* --- Hero Slider (Hotel etc.) --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(320px, 48vh, 520px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  padding: 0 var(--spacing);
  color: #fff;
}

.hero-slide-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.hero-slide-content p {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
  margin: 0;
  max-width: 700px;
}

/* Hero Slider: Vor/Zurück-Pfeile */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 1rem 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.hero-arrow--prev { left: 0; border-radius: 0 4px 4px 0; }
.hero-arrow--next { right: 0; border-radius: 4px 0 0 4px; }

/* Section-Decoration Borders (Original BeTheme) */
.deco-slider-bottom {
  height: 6px;
  background: url('../img/home_decoration9.png') repeat-x;
  position: relative;
  z-index: 5;
  margin-top: -6px;
}

.deco-cards-top {
  height: 6px;
  background: url('../img/home_pizza2_decoration2.png') repeat-x;
  position: relative;
  z-index: 5;
  margin-bottom: -6px;
}

/* Raumseiten + Hotel + Feiern + Brauerei: main volle Breite wenn fullwidth-Content vorhanden */
main:has(.hero-slider),
main:has(.feiern-title-section),
main:has(.title-bar) {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* Ghost margin-fix: fullwidth sections brauchen margin-top: 0 */
.title-bar,
.venue-grid,
.feiern-title-bar,
.feiern-title-section,
.feiern-cards,
.feiern-saele-section,
.saele-grid {
  margin-top: 0;
}

/* --- Hotel Title Section (weißer BG, Zierlinien oben+unten) --- */
.hotel-title-section {
  text-align: center;
  padding: 50px 1rem 10px;
  background: #fff;
  position: relative;
  margin-top: 0;
}

.hotel-title-section::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/home_decoration9.png') repeat-x;
  z-index: 5;
}

.hotel-title-section::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/home_pizza2_decoration2.png') repeat-x;
  z-index: 5;
}

.hotel-title-section h1 {
  font-size: clamp(2.5rem, 2rem + 3vw, 3.9rem);
  color: var(--color-text);
  font-weight: 400;
  margin: 0 0 0.5rem;
  text-decoration: none;
}

.hotel-title-section p {
  font-size: 18px;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
}

/* --- Hotel Feature Cards (runde Bilder + gestrichelter Rahmen) --- */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hotel-card {
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  padding: 2rem 1.5rem 1.8rem;
  border: 2px dashed var(--color-primary);
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--color-text);
}

.hotel-card-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  margin-top: -3.5rem;
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hotel-card-icon img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
}

.hotel-card h3 {
  font-size: 1.8rem;
  margin: 0 0 0.8rem;
  color: var(--color-primary);
}

.hotel-card p {
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 0 0 1.2rem;
  flex: 1;
  line-height: 1.6;
}

.hotel-card .btn-more {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s;
}

.hotel-card:hover .btn-more {
  background: var(--color-navbar);
}

/* --- Feiern: Title-Bar (Holztextur, wie Capacity-Bar) --- */
.feiern-title-bar {
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 30px;
}

.feiern-title-bar h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 2rem + 2.5vw, 3.9rem);
  color: #fff;
  margin: 0;
  font-weight: 400;
  font-style: normal;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* --- Feiern & Genießen: Intro-Section (weißer BG) --- */
.feiern-title-section {
  text-align: center;
  padding: 55px var(--spacing) 20px;
  background: #fff;
  position: relative;
}

.feiern-title-section::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/sep-green-top.png') repeat-x;
  z-index: 5;
}

.feiern-title-section h2 {
  font-size: 45px;
  color: var(--color-text);
  font-weight: 400;
  margin: 0 0 1rem;
}

.feiern-title-section p {
  font-size: 18px;
  color: var(--color-text);
  max-width: 700px;
  margin: 0.5rem auto;
}

/* --- Feiern: 3-Spalten Icon-Cards (helle Holztextur) --- */
.feiern-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px var(--spacing) 100px;
  background: url('../img/bg-holz.jpg') no-repeat center top;
  background-size: cover;
  position: relative;
}

.feiern-cards::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/home_pizza2_decoration2.png') repeat-x;
  z-index: 5;
}

.feiern-cards::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/home_decoration9.png') repeat-x;
  z-index: 5;
}

.feiern-cards .feature-card {
  aspect-ratio: unset;
  background: #fff;
  text-align: center;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  border-radius: 8px;
  padding: 0 1.5rem 1.8rem;
  padding-top: 90px;
  position: relative;
}

.feiern-cards .feature-card-image {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feiern-cards .feature-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: none;
}

.feiern-cards .feature-card h3 {
  font-size: 30px;
  color: var(--color-primary);
  margin: 0 0 0.8rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.feiern-cards .feature-card p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0 0 1.2rem;
  opacity: 1;
  transform: none;
}

.feiern-cards .feature-card:hover img {
  transform: none;
}

.feiern-cards .feature-card:hover .feature-card-content {
  background: transparent;
}

.feature-button {
  display: inline-block;
  padding: 11px 20px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  transition: all 0.2s;
}

.feature-button:hover {
  background: var(--color-navbar);
  color: #fff;
}

/* --- Feiern: Veranstaltungssäle Section --- */
.feiern-saele-section {
  text-align: center;
  padding: 55px var(--spacing) 40px;
  background: #fff;
}

.feiern-saele-section h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  color: var(--color-text);
  font-weight: 400;
  margin: 0 0 1rem;
}

.feiern-saele-section p {
  font-size: 18px;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Feiern: Säle-Grid (6 Cards, Holztextur-BG) --- */
.saele-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--spacing) 3rem;
  background: #16192a url('../img/bg-holz.jpg') repeat center top;
  position: relative;
}

.saele-grid::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: url('../img/home_pizza2_decoration2.png') repeat-x;
  z-index: 5;
}

.saele-card {
  position: relative;
  display: block;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.saele-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--color-text);
}

.saele-card-image {
  width: 100%;
  aspect-ratio: 3/2;
  background-size: cover;
  background-position: center;
}

.saele-card-badge {
  position: relative;
  z-index: 2;
  width: 105px;
  height: 105px;
  margin: -52px auto 0;
  border-radius: 50%;
  background: #ba8d1a;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

.saele-card-badge .badge-prefix {
  font-size: 16px;
}

.saele-card-badge .badge-number {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}

.saele-card-badge .badge-suffix {
  font-size: 16px;
}

.saele-card-content {
  padding: 15px 30px 30px;
  text-align: center;
  background: #fff;
}

.saele-button {
  margin-top: 1rem;
}

.saele-card-content h3 {
  font-size: 26px;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
  font-weight: 400;
}

.saele-card-content p {
  font-size: 18px;
  color: #554030;
  margin: 0;
  line-height: 1.4;
}

/* --- Responsive --- */
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-copy { grid-column: 1 / -1; text-align: center; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; margin-top: 1rem; }
}

@media (max-width: 1099px) {
  .site-nav { flex-wrap: wrap; min-height: auto; padding: 0.5rem var(--spacing); }

  .nav-toggle { display: block; }

  .nav-logo {
    position: relative;
    left: auto; top: auto;
    transform: none;
    padding: 0.5rem 0;
  }
  .nav-logo img { height: 60px; }

  .nav-left, .nav-right,
  .nav-desktop {
    display: none !important;
  }

  .nav-mobile {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    list-style: none;
    margin: 0;
  }

  .site-nav.open .nav-mobile { display: flex; }

  .nav-mobile > li > a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .nav-mobile > li > a:hover { color: #fff; }

  .nav-secondary-item > a {
    opacity: 0.7;
    font-size: 0.75rem !important;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .has-children > ul {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.1);
  }

  .has-children > ul a { color: rgba(255,255,255,0.8); }
  .has-children > ul a:hover { background: rgba(255,255,255,0.1); color: #fff; }

  .has-children.open > ul { display: block; }

  .topbar { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .room-layout { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .hotel-grid { grid-template-columns: 1fr; }
  .feiern-cards { grid-template-columns: 1fr; padding-bottom: 40px; }
  .saele-grid { grid-template-columns: 1fr; }
}

/* --- Print --- */
@media print {
  .topbar, .site-nav, .nav-toggle, footer { display: none !important; }
  main { width: 100%; max-width: none; }
}
