: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/Kaue.jpg'); 
    background-size: cover;
    background-position: center;
    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;
}

/* --- CSS Endlos-Logo-Slider --- */
.slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.logo-marquee {
    display: flex;
    width: calc(250px * 12); /* 6 Logos verdoppelt = 12 */
    animation: scrollSlider 25s linear infinite;
}

.logo-slide {
    width: 250px;
    flex-shrink: 0;
    padding: 0 15px;
}

.logo-card {
    background-color: transparent; /* Macht den grauen Kasten unsichtbar */
    box-shadow: none; /* Entfernt eventuelle Rahmen-Schatten */
    padding: 15px; /* Behält etwas Luft, damit die Logos nicht aneinanderkleben */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo-card:hover {
    border-color: var(--accent-gold);
    color: #fff;
}

@keyframes scrollSlider {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); } /* Scrollt exakt um die Hälfte der Logos */
}

/* --- 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: #0c0c0c;
    border-top: 1px solid #1a1a1a;
    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); 
}


/* --- Scroll-Animationen (Richtungsabhängig) --- */
body.scroll-down .fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

body.scroll-up .fade-in-section {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* KORREKTUR: !important hinzugefügt, damit das Einblenden Vorrang hat */
.fade-in-section.is-visible {
    opacity: 1 !important;
    transform: none !important;
}