/* =========================================================
   BRAUWERK GUSTAVSBURG – EDITIERBARE ONEPAGER-STYLES
   ========================================================= */

:root {
  --bg: #ede8df;
  --white: #ffffff;
  --ink: #272727;
  --muted: #6e6a63;
  --line: #d8d1c7;
  --accent: #b58a56;
  --shadow: 0 10px 28px rgba(33, 29, 24, .10);
  --max-width: 900px;
  --header-height: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

/* ---------------- Sticky Navigation ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.nav-wrap {
  width: min(100% - 40px, 1200px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark,
.badge-g {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 29px;
  line-height: 1;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 25px;
  letter-spacing: .04em;
  font-weight: 700;
}

.brand-text small {
  margin-top: 4px;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .10em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.main-nav a:hover { opacity: .6; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* ---------------- Hero ---------------- */

.hero {
  height: clamp(230px, 27vw, 320px);
  overflow: hidden;
  background: #6b5137;
}

.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Dieser Wert steuert, welcher Bildausschnitt sichtbar ist. */
  object-position: center 52%;
}

/* ---------------- Content ---------------- */

.content-section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 0 0 56px;
}

.content-section-tight {
  padding-top: 0;
}

.intro-card,
.beer-card,
.image-text-card {
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-card {
  position: relative;
  max-width: 700px;
  margin: -28px auto 0;
  padding: 54px 68px 48px;
  text-align: center;
}

.badge-g {
  position: absolute;
  top: -23px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border: 3px solid var(--white);
  font-size: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

h1, h2, h3 {
  line-height: 1.25;
}

.intro-card h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
}

.meta {
  margin: 8px 0 38px;
  color: var(--muted);
  font-size: 13px;
}

.intro-copy {
  font-size: 15px;
}

.intro-copy h2 {
  margin: 0 0 22px;
  font-size: 18px;
}

.intro-copy p {
  margin: 0 0 18px;
}

.intro-highlight {
  margin-top: 28px !important;
  font-weight: 700;
  font-size: 16px;
}

/* ---------------- Additional image/text card ---------------- */

.image-text-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.image-text-media {
  min-height: 360px;
}

.image-text-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.image-text-copy {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-text-copy h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 400;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  margin-top: 10px;
}

.text-link span {
  margin-left: 6px;
}

/* ---------------- Sortiment ---------------- */

.beer-image {
  width: 100%;
  height: 310px;
  display: block;
  object-fit: cover;
  object-position: center 50%;
}

.beer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.beer {
  padding: 28px 24px 34px;
}

.beer + .beer {
  border-left: 1px solid var(--line);
}

.beer h2 {
  margin: 0 0 10px;
  font-size: 19px;
}

.beer h3 {
  min-height: 44px;
  margin: 0 0 18px;
  font-size: 15px;
}

.beer p,
.beer li {
  color: #4f4c47;
  font-size: 13px;
}

.beer ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-main {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  padding: 52px 0 42px;
  display: grid;
  grid-template-columns: .85fr 1.45fr 2.4fr;
  gap: 54px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.site-footer p,
.site-footer dt,
.site-footer dd {
  font-size: 13px;
}

.site-footer p {
  margin: 0 0 14px;
}

.site-footer a {
  color: #566d8c;
}

.hours {
  margin: 0 0 16px;
}

.hours div {
  display: grid;
  grid-template-columns: 115px 1fr;
  border-bottom: 1px solid #e4e0da;
  padding: 3px 8px;
}

.hours dt, .hours dd { margin: 0; }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  min-height: 120px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-center {
  text-align: center;
  margin: 0 auto;
}

.footer-center p {
  margin: 4px 0;
  font-size: 12px;
}

.compact {
  justify-content: center;
  margin: 0 0 8px;
}

.footer-brand {
  opacity: .9;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 800px) {
  :root { --header-height: 68px; }

  .nav-wrap,
  .content-section,
  .footer-main,
  .footer-bottom {
    width: min(100% - 28px, 900px);
  }

  .brand-text strong { font-size: 21px; }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    padding: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 10px;
  }

  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }

  .hero {
    height: 260px;
  }

  .hero img {
    object-position: center 48%;
  }

  .intro-card {
    padding: 48px 28px 36px;
  }

  .image-text-card {
    grid-template-columns: 1fr;
  }

  .image-text-media {
    min-height: 280px;
  }

  .image-text-copy {
    padding: 36px 28px;
  }

  .beer-grid {
    grid-template-columns: 1fr;
  }

  .beer + .beer {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .beer h3 {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 22px;
    text-align: center;
  }

  .footer-center {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 220px;
  }

  .hero img {
    object-position: center 45%;
  }

  .intro-card h1 {
    font-size: 29px;
  }

  .intro-copy {
    font-size: 14px;
  }

  .hours div {
    grid-template-columns: 95px 1fr;
  }
}


/* =========================================================
   UPDATE V2: ECHTES G-LOGO + FOOTER-ANPASSUNG
   ========================================================= */

.brand-logo-image {
  object-fit: contain;
  background: transparent;
  flex: 0 0 auto;
}

.badge-logo-image {
  object-fit: cover;
  display: block;
  background: var(--white);
}

/* Linke Footer-Spalte in der Desktopansicht etwas breiter. */
.footer-main {
  grid-template-columns: 1.2fr 1.25fr 2.15fr;
}

/* Neue mittlere Footer-Spalte als normaler Textbereich ohne Linien. */
.footer-order p {
  max-width: 420px;
}

.footer-order a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 800px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}
