/*
Theme Name: Bierosophie
Theme URI: https://www.bierosophie.at/
Description: Astra Child Theme fuer die Bierosophie Website.
Author: Bierosophie
Template: astra
Version: 1.0.0
Text Domain: bierosophie
*/

:root {
  --bs-green: #6fb52a;
  --bs-green-dark: #315f18;
  --bs-green-soft: #edf6df;
  --bs-ink: #162011;
  --bs-muted: #697161;
  --bs-paper: #fffdf8;
  --bs-white: #ffffff;
  --bs-line: rgba(49, 95, 24, 0.16);
  --bs-shadow: 0 22px 60px rgba(22, 32, 17, 0.15);
  --bs-radius: 8px;
  --bs-max: 1400px;
}

body.bierosophie-home {
  margin: 0;
  background: var(--bs-paper);
  color: var(--bs-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bs-page {
  min-height: 100vh;
  overflow-x: clip;
}

.bs-skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--bs-white);
  color: var(--bs-green-dark);
  padding: 10px 14px;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.bs-skip-link:focus {
  top: 16px;
}

.bs-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px clamp(16px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(13, 28, 8, 0.76), rgba(13, 28, 8, 0.12));
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.bs-header__inner {
  width: min(var(--bs-max), 100%);
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  transition: min-height 0.25s ease;
}

.bs-header.is-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(13, 28, 8, 0.92);
  box-shadow: 0 12px 34px rgba(13, 28, 8, 0.22);
}

.bs-header.is-scrolled .bs-header__inner {
  min-height: 64px;
}

.bs-logo {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  width: clamp(178px, 22vw, 292px);
  transition: width 0.25s ease;
}

.bs-header.is-scrolled .bs-logo {
  width: clamp(142px, 16vw, 218px);
}

.bs-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.bs-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.7vw, 10px);
}

.bs-nav--left {
  justify-content: flex-start;
}

.bs-nav--right {
  justify-content: flex-end;
}

.bs-nav a,
.bs-mobile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px clamp(8px, 0.9vw, 14px);
  border-radius: 999px;
  color: var(--bs-white);
  font-size: clamp(10px, 0.72vw, 12px);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.bs-nav a:hover,
.bs-mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--bs-white);
  transform: translateY(-1px);
}

.bs-nav .bs-nav-button,
.bs-mobile-nav .bs-nav-button {
  background: var(--bs-green);
  color: var(--bs-white);
}

.bs-nav .bs-nav-button:hover,
.bs-mobile-nav .bs-nav-button:hover {
  background: var(--bs-green-dark);
  color: var(--bs-white);
}

.bs-menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bs-white);
  cursor: pointer;
}

.bs-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.bs-mobile-nav {
  display: none;
  grid-column: 1 / -1;
  padding-top: 4px;
}

.bs-mobile-nav.is-open {
  display: grid;
  gap: 6px;
}

.bs-hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  padding: 144px clamp(18px, 5vw, 72px) clamp(48px, 9vh, 96px);
  color: var(--bs-white);
  background:
    linear-gradient(180deg, rgba(9, 18, 6, 0.28), rgba(9, 18, 6, 0.78)),
    var(--bs-hero-image) center / cover no-repeat;
}

.bs-hero__inner {
  width: min(var(--bs-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(180px, 300px);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
}

.bs-kicker {
  margin: 0 0 12px;
  color: #d9f2c5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bs-hero h1 {
  margin: 0;
  max-width: 660px;
  color: var(--bs-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: 0;
}

.bs-hero__text {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.bs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bs-green);
  color: var(--bs-white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.bs-button:hover {
  background: var(--bs-green-dark);
  color: var(--bs-white);
}

.bs-button--light {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.bs-button--light:hover {
  background: var(--bs-white);
  color: var(--bs-green-dark);
}

.bs-hero-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--bs-radius);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.bs-hero-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bs-white);
  font-size: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.bs-hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.bs-section {
  padding: clamp(64px, 10vw, 118px) clamp(18px, 5vw, 72px);
}

.bs-wrap {
  width: min(var(--bs-max), 100%);
  margin: 0 auto;
}

.bs-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
}

.bs-eyebrow {
  margin: 0 0 10px;
  color: var(--bs-green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bs-section h2 {
  margin: 0;
  color: var(--bs-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.bs-section p {
  color: var(--bs-muted);
  font-size: 17px;
  line-height: 1.72;
}

.bs-intro__image,
.bs-feature img,
.bs-menu-teaser img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--bs-radius);
  box-shadow: var(--bs-shadow);
}

.bs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bs-feature {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--bs-line);
  border-radius: var(--bs-radius);
  background: var(--bs-white);
}

.bs-feature img {
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.bs-feature__body {
  padding: 24px;
}

.bs-feature h3 {
  margin: 0 0 10px;
  color: var(--bs-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.bs-feature p {
  margin: 0;
  font-size: 15px;
}

.bs-menu-teaser {
  position: relative;
  overflow: hidden;
  background: var(--bs-green-soft);
}

.bs-menu-teaser__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr) minmax(180px, 0.48fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.bs-beer-outline {
  justify-self: end;
  width: min(260px, 100%);
  opacity: 0.86;
}

.bs-beer-outline svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--bs-green-dark);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bs-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: var(--bs-radius);
  background: var(--bs-line);
  border: 1px solid var(--bs-line);
}

.bs-note {
  background: var(--bs-white);
  padding: 24px;
}

.bs-note strong {
  display: block;
  color: var(--bs-green-dark);
  font-size: 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.bs-note span {
  display: block;
  margin-top: 8px;
  color: var(--bs-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bs-info {
  background: var(--bs-green-dark);
  color: var(--bs-white);
}

.bs-info h2,
.bs-info .bs-eyebrow {
  color: var(--bs-white);
}

.bs-info p {
  color: rgba(255, 255, 255, 0.82);
}

.bs-info__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.bs-hours {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--bs-radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.bs-hours h3 {
  margin: 0 0 18px;
  color: var(--bs-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.bs-hours dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  margin: 0;
}

.bs-hours dt,
.bs-hours dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.bs-hours dt {
  font-weight: 750;
}

.bs-footer {
  min-height: 360px;
  padding: 76px clamp(18px, 5vw, 72px) 48px;
  background: #10180c;
  color: rgba(255, 255, 255, 0.72);
}

.bs-footer__inner {
  width: min(var(--bs-max), 100%);
  min-height: 236px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.8fr) minmax(180px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.bs-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.bs-footer a:hover {
  color: var(--bs-white);
}

.bs-footer__brand {
  align-self: end;
}

.bs-footer__logo {
  display: block;
  width: min(270px, 100%);
  margin-bottom: 18px;
}

.bs-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.bs-footer__credit {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.bs-footer__links {
  display: grid;
  justify-items: center;
  align-self: center;
  gap: 13px;
  text-align: center;
}

.bs-footer__links a {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bs-footer__credit {
  margin: 0;
  max-width: 300px;
  font-size: 14px;
}

.bs-heart {
  display: inline-flex;
  width: 15px;
  height: 15px;
  margin: 0 3px;
  vertical-align: -2px;
}

.bs-heart svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--bs-green);
}

.bs-footer__award {
  justify-self: end;
  align-self: end;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.bs-footer__award img {
  display: block;
  width: 142px;
  height: auto;
  border-radius: var(--bs-radius);
}

.bs-footer__award span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .bs-header__inner {
    grid-template-columns: 1fr auto 1fr;
    min-height: 82px;
  }

  .bs-header {
    background: rgba(13, 28, 8, 0.88);
  }

  .bs-nav {
    display: none;
  }

  .bs-menu-toggle {
    display: inline-block;
  }

  .bs-hero__inner,
  .bs-intro,
  .bs-menu-teaser__grid,
  .bs-info__grid {
    grid-template-columns: 1fr;
  }

  .bs-beer-outline {
    justify-self: center;
    width: min(210px, 58vw);
    margin-top: 8px;
  }

  .bs-hero-card {
    max-width: 420px;
  }

  .bs-feature-grid,
  .bs-notes {
    grid-template-columns: 1fr;
  }

  .bs-footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .bs-footer__brand,
  .bs-footer__award {
    justify-self: center;
    text-align: center;
  }

  .bs-footer__logo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 620px) {
  .bs-header {
    padding: 10px 14px;
  }

  .bs-logo {
    width: 174px;
  }

  .bs-header.is-scrolled .bs-logo {
    width: 138px;
  }

  .bs-hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .bs-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bs-button {
    width: 100%;
  }

  .bs-hours dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bs-hours dd {
    padding-bottom: 8px;
  }

  .bs-footer {
    min-height: 0;
    padding-top: 58px;
  }

  .bs-footer__logo {
    width: min(230px, 88vw);
  }

  .bs-footer__award img {
    width: 118px;
  }
}
