/* ============================
   Grundfarben Kokille
============================ */

:root {
  --anthrazit: #1a1a1a;
  --bernstein: #d89b2b;
  --bernstein-dark: #bb7f1e;
  --creme: #f2e8ce;
  --creme-light: #fff9ea;

  --radius: 14px;
  --max-width: 1200px;
  --transition: 0.25s ease-in-out;
}

/* ============================
   Reset & Basics
============================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--anthrazit);
  color: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--creme);
  text-decoration: none;
  transition: var(--transition);
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.center {
  text-align: center;
}

/* ============================
   Header (mit Logo, Zeiten, Adresse)
============================ */

.header {
  background-color: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid rgba(216, 155, 43, 0.3);
  padding: 10px 0 16px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* obere Reihe: Logo + Info */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo links */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;
  width: auto;
  display: block;
  border-radius: 0;
}

/* Öffnungszeiten + Adresse mittig */
.header-info {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
}

.header-opening {
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--creme-light);
}

.header-address {
  margin-top: 4px;
  color: var(--creme-light);
}

.location-icon {
  margin-right: 6px;
}

.header-address a {
  color: var(--creme-light);
  text-decoration: none;
  border-bottom: 1px dashed rgba(242, 232, 206, 0.4);
}

.header-address a:hover {
  color: var(--bernstein);
  border-bottom-color: var(--bernstein);
}

/* untere Reihe: Navigation */
.header-nav {
  margin-top: 10px;
}

.nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.nav a:hover {
  color: var(--bernstein);
}


/* ============================
   HERO
============================ */

.hero {
  position: relative;
  height: 70vh;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin: 40px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  border-radius: inherit;
}

.hero-content {
  position: relative;
  padding-top: 80px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.2;
}

.accent {
  color: var(--bernstein);
}

.subline {
  margin-top: 12px;
  font-size: 1.1rem;
  color: var(--creme-light);
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================
   Buttons
============================ */

.btn-primary {
  background-color: var(--bernstein);
  color: var(--anthrazit);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: bold;
  transition: var(--transition);
}

.btn-primary.small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background-color: var(--bernstein-dark);
}

.btn-secondary {
  border: 1px solid rgba(242, 232, 206, 0.4);
  padding: 12px 28px;
  border-radius: 999px;
}

.btn-secondary:hover {
  border-color: var(--bernstein);
  color: var(--bernstein);
}

/* ============================
   INTRO
============================ */

.intro {
  margin: 100px 0;
  display: flex;             /* Block selbst zentrieren */
  justify-content: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  max-width: 1000px;         /* etwas schmaler als Container */
  width: 100%;
  align-items: center;
}

.intro .card-img {
  height: auto;
  aspect-ratio: 4 / 3;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: var(--radius);
}

/* ============================
   Angebote
============================ */

.angebote {
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;        /* Überschrift + Grid zentriert */
}

.angebote h2 {
  width: 100%;
}

/* 4 Kacheln als zentrierter Block */
.angebote-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1100px;          /* Gesamtbreite */
  width: 100%;
  justify-items: center;
}

.angebot-card {
  background-color: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding-bottom: 20px;
  transition: var(--transition);
  border: 1px solid transparent;
  width: 100%;
  max-width: 260px;
}

.angebot-card:hover {
  transform: translateY(-4px);
  border-color: var(--bernstein);
}

/* Kachel-Bilder */
.angebot-card .card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius) var(--radius) 0 0;
}

.angebot-card h3 {
  margin: 16px 16px 6px 16px;
  font-size: 1.3rem;
}

.angebot-card p {
  margin: 0 16px 0 16px;
  color: var(--creme-light);
}

/* ============================
   Fassware
============================ */

.fassware-section {
  margin: 60px 0;
}

.fassware-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ============================
   Location
============================ */

.location-section {
  margin: 80px 0;
}

.location-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================
   CTA
============================ */

.cta {
  background-color: rgba(255,255,255,0.05);
  padding: 60px 0;
  text-align: center;
  border-radius: var(--radius);
  margin: 60px 0;
}

.cta h2 {
  margin-bottom: 20px;
}

/* ============================
   Footer
============================ */

.footer {
  border-top: 1px solid rgba(216,155,43,0.4);
  padding: 28px 0;
  font-size: 0.9rem;
  background-color: rgba(26,26,26,0.98);
  margin-top: 60px;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--bernstein);
}

/* ============================
   Content Sections
============================ */

.section {
  margin: 60px 0;
}

.section h1,
.section h2 {
  margin-bottom: 16px;
}

.section p {
  margin-bottom: 10px;
  color: var(--creme-light);
}

/* ============================
   Kontaktformular
============================ */

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255,255,255,0.03);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(216,155,43,0.3);
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(242,232,206,0.4);
  background-color: rgba(0,0,0,0.3);
  color: var(--creme);
  font-size: 0.95rem;
}

.form-row textarea {
  min-height: 120px;
}

.form-row small {
  font-size: 0.8rem;
  color: var(--creme-light);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

/* ============================
   Mobile
============================ */

@media (max-width: 900px) {

  body {
    font-size: 17px;
    line-height: 1.7;
  }

  .container {
    padding: 0 16px;
  }

  /* Header kompakter auf Mobile */
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .logo img {
    height: 52px;
  }

  .header-info {
    text-align: left;
    font-size: 0.9rem;
  }

  /* Navigation vorerst weiter ausgeblendet (später Burger-Menü) */
  .nav {
    display: none;
  }

  /* Hero auf Mobile: keine feste Höhe, mehr Luft und besser lesbar */
  .hero {
    height: auto;
    margin-top: 24px;
    margin-bottom: 48px;
  }

  .hero-overlay {
    background: rgba(0,0,0,0.4); /* etwas heller, Bild besser erkennbar */
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .subline {
    font-size: 1rem;
  }

  .hero-buttons {
    margin-top: 20px;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Intro & Angebote kompakter und einspaltig */
  .intro {
    margin: 40px 0;
  }

  .intro-grid,
  .angebote-grid,
  .fassware-grid,
  .location-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 24px;
  }

  .angebote {
    margin: 40px 0;
  }

  .angebot-card {
    max-width: 100%;
  }

  .angebot-card .card-img {
    height: 200px;
    background-size: cover;
  }

  /* Location-Bilder schön groß und mit Rundung */
  .location-section {
    margin: 40px 0;
  }

  .location-grid img {
    border-radius: var(--radius);
  }

  /* Bier-Slider */
  .beers-slider-section {
    margin: 40px auto;
  }

  .beers-slider {
    gap: 12px;
  }

  .beer-display {
    padding: 20px;
  }

  /* Allgemeine Abschnitts-Abstände & Typografie */
  .section {
    margin: 40px 0;
  }

  .section h1,
  .section h2 {
    font-size: 1.4rem;
  }

  .blog-content p {
    font-size: 1rem;
  }

  /* Footer gestapelt */
  .footer {
    margin-top: 40px;
  }

  .footer-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================
   Zentrierung Intro & Angebote Fix
   ============================ */

/* Intro & Angebote wieder als normale Block-Sections behandeln */
.intro,
.angebote {
  display: block;
}

/* Intro-Section schmaler und zentriert */
.intro.container {
  max-width: 1000px;      /* kannst du bei Bedarf etwas anpassen */
  margin-left: auto;
  margin-right: auto;
}

/* Angebote-Section schmaler und zentriert */
.angebote.container {
  max-width: 1100px;      /* ebenfalls frei justierbar */
  margin-left: auto;
  margin-right: auto;
}
/* ========================================
   Bessere Absatz-lesbarkeit / Typografie
========================================= */

.section p,
.section ul,
.section h3 {
  margin-bottom: 18px; /* größerer Abstand zwischen Absätzen */
}

/* Visuelle Trennlinien zwischen thematischen Blöcken */
.section h3 {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* Liste etwas luftiger */
.section ul {
  padding-left: 20px;
  line-height: 1.6;
}

/* ============================
   Aktuell am Hahn – Bier Slider
============================ */

.beers-slider-section {
  margin: 60px auto;
  text-align: center;
  max-width: 700px;
}

.beers-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.beer-display {
  background: rgba(255,255,255,0.05);
  padding: 24px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(216,155,43,0.3);
  max-width: 500px;
  min-height: 180px;
}

.beer-display h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--bernstein);
}

.beer-display p {
  margin-bottom: 8px;
}

/* Ticker für Bierbeschreibung */
.beer-ticker {
  margin-top: 6px;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 6px;
}

.beer-ticker-inner {
  display: inline-block;
  padding-left: 100%;              /* startet außerhalb rechts */
  animation: beer-ticker 18s linear infinite;
  font-size: 0.95rem;
}

/* Animation: Text läuft von rechts nach links durch */
@keyframes beer-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Optional: Ticker pausiert, wenn man mit der Maus drüber geht (Desktop) */
.beer-ticker-inner:hover {
  animation-play-state: paused;
}

.beer-nav {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(216,155,43,0.4);
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--creme);
  transition: var(--transition);
}

.beer-nav:hover {
  background: rgba(216,155,43,0.2);
}

/* Mobile */
@media (max-width: 700px) {
  .beers-slider {
    gap: 12px;
  }
  
  .beer-display {
    padding: 20px;
  }
}

/* ============================
   BLOG STYLE
============================ */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.blog-preview h2 a {
  color: var(--creme);
}

.blog-preview p.blog-meta {
  font-size: 0.9rem;
  color: var(--creme-light);
  margin-bottom: 12px;
}

.blog-content p {
  margin-bottom: 18px;
  line-height: 1.7;
  color: var(--creme-light);
}

.blog-content h2,
.blog-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}