:root {
    --bg-dark: #1a1a1a;
    --bg-card: #252525;
    --text-main: #f3f4f6;
    --text-muted: #aaaaaa;
    --accent-gold: #d4af37;
    --accent-rust: #b23b3b;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: url('images/hintegrund1.png'); 
    background-size: cover;
    background-position: center 65px;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26,26,26,0.5) 0%, rgba(26,26,26,0.95) 100%);
    z-index: -1;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-rust);
    color: #fff;
    padding: 6px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.hero-location {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-rust);
    color: white;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
}

/* --- About Section --- */
.about-section {
    padding: 100px 0 60px 0;
    text-align: center;
}

.about-text p {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* --- Sektions-Layouts --- */
.breweries-section, .faq-section, .map-section, .legal-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 60px;
}

/* --- FOTO SLIDER (IMPRESSIONEN) --- */
.slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.photo-marquee {
    display: flex;
    width: max-content;
    animation: scrollPhotos 60s linear infinite;
    gap: 20px; /* Abstand zwischen den Fotos */
}

/* Optional: Der Slider hält an, wenn man mit der Maus drüberfährt */
.photo-marquee:hover {
    animation-play-state: paused;
}

/* --- GRUNDGERÜST FÜR ALLE FOTOS --- */
.photo-slide {
    height: 250px; /* Einheitliche Höhe für beide Formate, damit die Linie gerade bleibt */
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* --- DAS MAß FÜR QUERFORMAT --- */
.photo-slide.landscape {
    width: 350px; 
}

/* --- DAS MAß FÜR HOCHFORMAT --- */
.photo-slide.portrait {
    width: 180px; 
}

.photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet die Ränder minimal zu, damit das Format exakt ausgefüllt wird */
    display: block;
}

@keyframes scrollPhotos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Schiebt die Leiste nahtlos weiter */
}

/* --- FAQ Akkordeon --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid #333;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--accent-gold);
}

.faq-trigger {
    padding: 22px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-trigger::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.faq-item[open] .faq-trigger::after {
    content: '−';
}

.faq-content {
    padding: 0 30px 25px 30px;
    color: var(--text-muted);
}

/* --- Anfahrt & ÖPNV Grid --- */
.direction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.transport-info {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 40px;
    border-radius: 8px;
}

.transport-info h3 {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.transport-list {
    list-style: none;
    margin-top: 20px;
}

.transport-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.transport-list li::before {
    content: "•";
    color: var(--accent-rust);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* --- Footer --- */
.site-footer {
    background-color: #144d3d;
    border-top: 1px solid #144d3d;
    padding: 80px 0 40px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 60px;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #fff;
}

.footer-brand p { color: var(--text-muted); }

.footer-partners h4, .footer-legal h4 {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-partners ul, .footer-legal ul { list-style: none; }
.footer-partners li, .footer-legal li { margin-bottom: 12px; }

.footer-partners a, .footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-partners a:hover, .footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Responsive Anpassungen (Handys) --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
    .logo-grid { grid-template-columns: 1fr; }
    .direction-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-tower { grid-row: 1; display: flex; justify-content: center; }
}

/* --- SOCIAL MEDIA FOOTER (Update für die linke Seite) --- */
.footer-socials {
  display: flex;
  justify-content: flex-start; /* Ändert die Ausrichtung von zentriert nach links */
  gap: 20px; /* Etwas enger zusammen, sieht am Rand kompakter aus */
  margin-top: 20px; /* Schafft etwas Luft nach oben zum Copyright-Text */
  flex-wrap: wrap; 
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center; /* Hält das Logo und den Text darunter mittig zueinander */
  text-decoration: none;
  color: #d4af37; 
  font-size: 0.8rem; /* Schrift minimal kleiner, passend zum Copyright */
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-link img {
  width: 32px; /* Logos minimal kleiner gemacht, damit sie perfekt unter den Text passen */
  height: 32px;
  margin-bottom: 5px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Hover-Effekte bleiben gleich */
.social-link:hover {
  color: #ff4500; 
}

.social-link:hover img {
  transform: translateY(-5px); 
}

/* --- TIBI BRAUEREI HEADER --- */
.site-header {
    background-color: #144d3d; /* Eure Logo-Farbe */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.header-logo a strong {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.header-logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #d4af37; 
}

/* --- HINTERGRUND FÜR SMARTPHONES --- */
@media (max-width: 768px) {
    body {
        /* Hier lädst du dein neues, hochformatiges Bild */
        background-image: url('images/hintergrund-mobile.png');
        
        /* Behält den 70px Abstand für deinen Header bei */
        background-position: center 65px; 
    }
}

/* --- MOBILE MENÜ BUTTONS (Auf Desktop unsichtbar) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

.menu-close {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 25px;
}

/* --- MOBILE MENÜ BUTTONS (Auf Desktop unsichtbar) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0; /* Verhindert komische Ränder */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    pointer-events: none; /* Wichtig für den Klick-Effekt! */
}

.menu-close {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* --- MOBILE ANSICHT (Handy) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Zeigt die 3 Striche auf dem Handy */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Versteckt das Menü rechts außerhalb */
        width: 250px; 
        height: 100vh;
        background-color: #144d3d; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        transition: right 0.3s ease; /* Weiche Animation */
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        z-index: 1002;
    }

    /* Diese Klasse wird vom JavaScript hinzugefügt! */
    .main-nav.open {
        right: 0; 
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .main-nav a {
        font-size: 1.3rem;
    }

    .menu-close {
        display: block; /* Zeigt das Kreuz an */
    }
}

/* --- SCROLL-LISTE FÜR DEN ÖPNV-KASTEN --- */
.scroll-list {
    max-height: 280px; /* Passt genau so in den Kasten, dass er mit der Map bündig abschließt */
    overflow-y: auto;
    padding-right: 15px;
}

.locations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.locations-list li {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Dezente Trennlinie zwischen den Orten */
}

.locations-list li:last-child {
    border-bottom: none; /* Beim letzten Eintrag keine Linie */
}

.location-type {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #d4af37; 
}

/* Der Scrollbalken in eurem Grün */
.scroll-list::-webkit-scrollbar {
    width: 6px;
}
.scroll-list::-webkit-scrollbar-track {
    background: transparent;
}
.scroll-list::-webkit-scrollbar-thumb {
    background: #144d3d;
    border-radius: 4px;
}

/* ========================================= */
/* --- UNTERSEITEN (z.B. biere.html) --- */
/* ========================================= */

/* Schlichter Hintergrund ohne Bild */
body.subpage {
    background-image: none !important;
    background-color: #0a0b0b; /* Euer dunkles Zechen-Grau/Schwarz */
}

.beers-page {
    padding: 60px 0;
}

/* --- DIE PRODUKT-BLÖCKE --- */
.beer-showcase-box {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05); /* Grauer Kasten, passend zum Design */
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    gap: 40px; /* Abstand zwischen Text und Bild */
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.beer-info {
    flex: 1; /* Der Textbereich füllt den linken Platz aus */
}

.beer-info h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Die Daten-Liste (Alkohol, Zutaten etc.) */
.beer-specs {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px 0;
    border-left: 3px solid #144d3d; /* Tiefgrüner Strich am Rand */
    padding-left: 15px;
}

.beer-specs li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.beer-specs strong {
    color: #d4af37; /* Beschriftung (z.B. "Alkoholgehalt") in Gold */
}

/* Der Bild-Bereich rechts */
.beer-image {
    flex: 0 0 350px; /* Nimmt rechts feste 350px ein */
    display: flex;
    justify-content: center;
}

.beer-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 400px; /* Verhindert, dass die Bilder riesig werden */
    object-fit: contain;
}

/* --- COMING SOON BLOCK BESONDERHEITEN --- */
.coming-soon-box {
    border: 1px dashed #d4af37; /* Gestrichelter, goldener Rand */
    background-color: rgba(20, 77, 61, 0.1); /* Ganz leichter grüner Schimmer im Kasten */
}

.construction-sign {
    font-size: 1.5rem;
    color: #d4af37;
    margin-top: 25px;
    font-weight: bold;
}

.placeholder-bottle {
    width: 200px;
    height: 350px;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.2);
}

/* --- MOBILE ANPASSUNG (Handy) --- */
@media (max-width: 768px) {
    .beer-showcase-box {
        flex-direction: column; /* Stapelt Text und Bild untereinander */
        padding: 25px;
        gap: 30px;
    }
    
    .beer-image {
        flex: auto; /* Löst die feste Breite auf dem Handy auf */
        order: -1; /* Schiebt das Bild auf dem Handy über den Text */
    }
}

/* ========================================= */
/* --- TERMINE SEITE --- */
/* ========================================= */

.events-page {
    padding: 60px 0;
}

/* Die einzelne Event-Kachel */
.event-card {
    display: flex;
    background-color: #212222; /* Euer typisches Zechen-Grau */
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover-Effekt: Kachel hebt sich leicht an */
.event-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37; /* Rand wird beim Drüberfahren gold */
}

/* Der Datums-Block (Ticket-Look links) */
.event-date {
    background-color: #144d3d; /* Logo-Grün */
    flex: 0 0 150px; /* Feste Breite */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px 0 0 12px;
    border-right: 2px dashed rgba(255, 255, 255, 0.2); /* Die gestrichelte "Abreiß"-Linie */
}

.event-date .day {
    font-size: 3.5rem;
    font-weight: bold;
    color: #d4af37;
    line-height: 1;
}

.event-date .month {
    font-size: 1.1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Die Event-Informationen rechts daneben */
.event-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-info h3 {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 1.8rem;
}

.event-location {
    color: #d4af37;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.event-info p {
    margin: 0;
    line-height: 1.6;
}

/* --- MOBILE ANPASSUNG (Handy) --- */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column; /* Stapelt Datum und Text untereinander */
    }
    
    .event-date {
        padding: 20px;
        border-radius: 12px 12px 0 0;
        border-right: none;
        border-bottom: 2px dashed rgba(255, 255, 255, 0.2); /* Linie wandert nach unten */
        flex: auto;
    }
    
    .event-info {
        padding: 20px;
    }
}






/* Über uns Seite, lang:

/* ========================================= */
/* --- ÜBER UNS (TIMELINE) --- */
/* ========================================= */

.about-page {
    padding: 60px 0;
}

/* Die Timeline als Ganzes */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Die mittlere vertikale Linie */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

/* Ein einzelner Zeit-Abschnitt */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Alternierende Anordnung */
.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* Die goldenen Punkte auf der Linie */
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #d4af37;
    border: 4px solid #0a0b0b;
    top: 32px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

/* Die Inhalts-Boxen (Der Text) */
.timeline-content {
    padding: 30px;
    background-color: #212222;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-year {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.timeline-content h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #fff;
}

/* --- DIE MINI-BILDER-SLIDER --- */
.mini-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Bilder rasten beim Scrollen ein */
    padding-bottom: 15px; /* Platz für den Scrollbalken */
}

.mini-gallery img {
    height: 250px; /* Einheitliche Höhe für die Slider-Bilder */
    width: auto;
    border-radius: 6px;
    scroll-snap-align: start;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Schmaler Scrollbalken für die Mini-Slider */
.mini-gallery::-webkit-scrollbar {
    height: 6px;
}
.mini-gallery::-webkit-scrollbar-track {
    background: transparent;
}
.mini-gallery::-webkit-scrollbar-thumb {
    background: #144d3d;
    border-radius: 4px;
}

/* --- MOBILE ANSICHT DER TIMELINE --- */
@media screen and (max-width: 768px) {
    /* Linie wandert nach links */
    .timeline::after {
        left: 20px;
    }
    
    /* Boxen nehmen volle Breite ein */
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item.left, 
    .timeline-item.right {
        left: 0;
    }
    
    /* Punkte wandern nach links auf die Linie */
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 10px;
    }
}


/* Altersüberprüfung:
/* ========================================= */
/* --- ALTERSABFRAGE (AGE GATE) --- */
/* ========================================= */

.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 11, 11, 0.95); /* Sehr dunkles, fast schwarzes Grau */
    backdrop-filter: blur(8px); /* Macht die Seite dahinter unscharf */
    z-index: 9999; /* Legt sich über absolut alles andere */
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-gate-box {
    background-color: #144d3d; /* Euer tiefes Marken-Grün */
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid #d4af37; /* Goldener Rahmen */
}

.age-gate-box h2 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 10px;
}

.age-gate-box p {
    color: #eeeeee;
    line-height: 1.5;
    margin-bottom: 25px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Ein zweiter Button-Style für das "Nein" */
.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #144d3d;
}

/* Hilfsklasse zum Ausblenden des gesamten Popups per JavaScript */
.age-gate-hidden {
    display: none !important;
}



/*Kontaktseite:

/* Kontaktseite */

.contact-page {
    padding: 80px 0;
}

.contact-box {
    max-width: 750px;
    margin: auto;
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    font-size: 16px;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-box .btn-primary {
    width: 100%;
    cursor: pointer;
}

.form-message{
    display:none;
    margin-top:20px;
    padding:15px;
    border-radius:10px;
    font-weight:600;
    text-align:center;
}

.form-message.success{
    display:block;
    background:#e9f8ee;
    color:#2e7d32;
    border:1px solid #81c784;
}

.form-message.error{
    display:block;
    background:#fdecea;
    color:#c62828;
    border:1px solid #ef9a9a;
}


body.legal-page {
    background-position: center -10px;
}

.event-info a {
    color: var(--accent-gold);
    text-decoration: none;
}

.event-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.event-info a:visited {
    color: var(--accent-gold);
}


/* --- Scroll Animationen (Richtungsabhängig) --- */
.fade-in-section {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Standard und beim Runterscrollen: Elemente warten 40px weiter unten */
body:not(.scroll-up) .fade-in-section {
    transform: translateY(40px);
}

/* Beim Hochscrollen: Elemente warten 40px weiter oben */
body.scroll-up .fade-in-section {
    transform: translateY(-40px);
}

/* Sobald sichtbar: Element gleitet auf seine Originalposition (0) */
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0) !important;
}