/* =========================================================================
   Brauerei Karg — Weissbier aus Murnau
   Palette & Type hergeleitet aus dem echten Karg-Wappen (Wordmark):
   Weizengold/Bernstein · Bayern-Blau (Rauten) · Tiefbraun · Creme · Terrakotta
   ========================================================================= */

/* ---------- Self-hosted Fonts (DSGVO: keine externen Font-Requests) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-normal-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/mulish-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/mulish-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Markenfarben (aus Logo abgenommen) */
  --gold:        #c79a3b;   /* Weizengold / Bernstein  – Braurahmen */
  --gold-deep:   #9a6e2a;   /* dunkles Bernstein        */
  --gold-light:  #e7ce86;   /* helles Malzgold          */
  --blau:        #159bd6;   /* Bayern-Blau (Rauten)     */
  --blau-deep:   #0f79a8;
  --braun:       #1e160d;   /* Tiefbraun / Bannerschwarz */
  --braun-2:     #2c2013;
  --creme:       #f6eedd;   /* Weizen-Creme             */
  --creme-2:     #efe2c8;
  --terra:       #c15e2e;   /* Terrakotta (Dächer)      */

  /* Semantische Tokens – Light (Default) */
  --bg:        var(--creme);
  --bg-elev:   #fbf6ea;
  --bg-sunk:   #efe2c8;
  --ink:       #241a0f;
  --ink-soft:  #5c4c37;
  --ink-faint: #8a7857;
  --line:      rgba(36, 26, 15, .14);
  --line-2:    rgba(36, 26, 15, .28);
  --accent:    var(--gold-deep);
  --accent-2:  var(--blau-deep);
  --hero-1:    #2c2013;
  --hero-2:    #14100a;
  --card:      #fbf6ea;
  --shadow:    0 14px 40px -18px rgba(30, 22, 13, .45);

  /* Typografie */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body:    "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.82rem, .78rem + .2vw, .92rem);
  --step-0:  clamp(1rem, .95rem + .25vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + .9vw, 2.05rem);
  --step-3:  clamp(2rem, 1.6rem + 1.9vw, 3.1rem);
  --step-4:  clamp(2.7rem, 2rem + 3.4vw, 5.2rem);
  --step-5:  clamp(3.4rem, 2.3rem + 5.4vw, 7rem);

  --wrap: 1200px;
  --gap:  clamp(1.2rem, 4vw, 3rem);
  --radius: 3px;   /* bewusst kantig – Werkstatt/Etikett, kein rounded-lg-Default */
}

:root[data-theme="dark"] {
  --bg:        #17110a;
  --bg-elev:   #211812;
  --bg-sunk:   #0f0b06;
  --ink:       #f3e9d6;
  --ink-soft:  #cbb896;
  --ink-faint: #94805f;
  --line:      rgba(243, 233, 214, .13);
  --line-2:    rgba(243, 233, 214, .26);
  --accent:    var(--gold);
  --accent-2:  #4bbdec;
  --card:      #221911;
  --shadow:    0 18px 50px -20px rgba(0, 0, 0, .7);
}

/* Hinweis: Kein prefers-color-scheme-Default. Die Seite startet immer hell;
   Dunkel wird ausschliesslich ueber :root[data-theme="dark"] (Button + localStorage) aktiviert. */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .8rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head .lead { color: var(--ink-soft); font-size: var(--step-1); margin-top: 1rem; }

/* ---------- Bavarian Rauten pattern (aus Logo) ---------- */
.rauten {
  height: 26px;
  background:
    repeating-conic-gradient(var(--blau) 0% 25%, #ffffff 0% 50%) 0 0 / 26px 26px;
  border-block: 2px solid var(--braun);
}
:root[data-theme="dark"] .rauten { border-color: rgba(255,255,255,.12); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--gold);
  --_fg: #241a0f;
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-body); font-weight: 800;
  font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase;
  padding: .95rem 1.6rem;
  background: var(--_bg); color: var(--_fg);
  text-decoration: none; border: 2px solid var(--_bg); border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -12px rgba(199,154,59,.8); }
.btn--ghost {
  --_bg: transparent; --_fg: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn--blau { --_bg: var(--blau); --_fg: #fff; }
.btn--blau:hover { box-shadow: 0 10px 26px -12px rgba(21,155,214,.8); }

/* =========================================================================
   Header / Nav
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -20px rgba(0,0,0,.6); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .5rem 0; min-height: 62px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: .01em; }
.brand-txt span { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft);
  font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  padding: .5rem .7rem; border-radius: var(--radius);
  position: relative; transition: color .18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .28rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: .5rem; }

.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--ink); cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(-12deg); }

.nav-burger { display: none; }

@media (max-width: 920px) {
  .nav-cta .btn { display: none; }
  .nav-burger {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
    cursor: pointer; gap: 5px; color: var(--ink);
  }
  .nav-burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: .25s; }
  .nav-links {
    position: fixed; inset: 62px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--line);
    padding: .6rem 1.2rem 1.4rem;
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: .9rem .4rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(199,154,59,.32), transparent 55%),
    radial-gradient(90% 120% at 12% 100%, rgba(21,155,214,.18), transparent 50%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
  color: #f6eedd;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  isolation: isolate;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .74rem;
  color: var(--gold-light); margin-bottom: 1.4rem;
}
.hero-kicker::before { content: ""; width: 2.4rem; height: 2px; background: var(--gold); }
.hero h1 {
  font-size: var(--step-5); font-weight: 600; letter-spacing: -.02em;
  color: #fff;
}
.hero h1 em {
  font-style: italic; font-weight: 300;
  color: var(--gold-light);
  display: block;
}
.hero h1 .u { color: var(--blau); font-style: normal; }
.hero-lead {
  color: rgba(246,238,221,.82); font-size: var(--step-1); max-width: 42ch;
  margin: 1.6rem 0 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-meta {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.8rem);
  border-top: 1px solid rgba(246,238,221,.16); padding-top: 1.6rem;
}
.hero-meta div b { font-family: var(--f-display); font-size: var(--step-2); color: var(--gold-light); display: block; line-height: 1; }
.hero-meta div span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,238,221,.6); }

/* Glass / crest column */
.hero-crest { position: relative; display: grid; place-items: center; }
.hero-media {
  position: relative; margin: 0; width: min(100%, 460px);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(246,238,221,.14);
  box-shadow: 0 30px 50px rgba(0,0,0,.5);
  animation: floaty 7s ease-in-out infinite;
}
.hero-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
.hero-media-crest {
  position: absolute; right: 12px; bottom: 12px; width: 72px; height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.55));
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-crest::after {
  content: ""; position: absolute; inset: auto 0 -6% 0; height: 40px;
  background: radial-gradient(50% 100% at 50% 0, rgba(0,0,0,.4), transparent 70%);
  z-index: -1;
}

/* Rising bubbles */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -30px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(231,206,134,.35));
  opacity: .0; animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  10%  { opacity: .7; }
  90%  { opacity: .5; }
  100% { transform: translateY(-105vh) scale(1); opacity: 0; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-crest { order: -1; margin-bottom: 1rem; }
  .hero-media { width: min(90%, 420px); animation: none; }
  .hero-media-crest { width: 58px; }
}

/* =========================================================================
   Geschichte / Timeline
   ========================================================================= */
.history { background: var(--bg); }
.history-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--gold), var(--blau));
}
.timeline li { position: relative; padding: 0 0 1.8rem 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  background: var(--gold); border: 3px solid var(--bg); border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold-deep);
}
.timeline .yr { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); color: var(--accent); display: block; }
.timeline .tl-body { color: var(--ink-soft); }
.history-aside {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: var(--radius); box-shadow: var(--shadow);
}
.history-aside blockquote { margin: 0; font-family: var(--f-display); font-size: var(--step-2); line-height: 1.25; }
.history-aside cite { display: block; margin-top: 1rem; font-style: normal; color: var(--ink-faint); font-size: .9rem; letter-spacing: .04em; }
.history-aside .signet { margin-top: 1.6rem; display: flex; align-items: center; gap: .8rem; }
.history-aside .signet img { width: 54px; }

/* =========================================================================
   Biere / Product grid
   ========================================================================= */
.biere { background: var(--bg-sunk); }
:root[data-theme="dark"] .biere { background: var(--bg-elev); }

.beer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.2rem; }
.beer-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.beer-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.beer-card.is-season { border-style: dashed; }
.beer-visual {
  height: 88px; margin-bottom: 1.1rem; display: flex; align-items: flex-end; gap: 6px;
}
/* CSS-Glas: schlanke Weissbier-Silhouette */
.glass {
  width: 34px; height: 82px; position: relative; margin-inline: auto;
  border-radius: 6px 6px 14px 14px / 6px 6px 22px 22px;
  background: linear-gradient(to top, var(--beer, var(--gold)) 0 70%, transparent 70%);
  border: 2px solid var(--line-2); border-top: none;
  box-shadow: inset -4px 0 6px rgba(0,0,0,.12), inset 4px 0 6px rgba(255,255,255,.25);
}
.glass::before { /* Schaumkrone */
  content: ""; position: absolute; left: -3px; right: -3px; top: -9px; height: 16px;
  background: #fbf6ea; border-radius: 12px 12px 4px 4px;
  box-shadow: 0 -3px 0 -1px #fff;
}
.glass.dunkel { --beer: #4a2c14; }
.glass.hell   { --beer: #e7b93f; }
.glass.gold   { --beer: #d99b2a; }
.glass.leicht { --beer: #ecd583; }
.glass.frei   { --beer: #f0dfa0; }
.glass.bock   { --beer: #7a3d12; }
.glass.ipa    { --beer: #e0902a; }
.beer-tag {
  align-self: flex-start; font-size: .64rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; padding: .28rem .55rem; border-radius: 100px;
  background: color-mix(in srgb, var(--blau) 16%, transparent); color: var(--accent-2);
  margin-bottom: .7rem;
}
.beer-tag.season { background: color-mix(in srgb, var(--terra) 18%, transparent); color: var(--terra); }
.beer-tag.bio    { background: color-mix(in srgb, #4b9b3f 20%, transparent); color: #4b9b3f; }
.beer-card h3 { font-size: var(--step-1); }
.beer-card .desc { color: var(--ink-soft); font-size: .95rem; margin: .5rem 0 0; }
.beer-card .abv { margin-top: auto; padding-top: 1rem; font-size: .82rem; color: var(--ink-faint); font-weight: 700; letter-spacing: .04em; }

/* =========================================================================
   Highlights / USP
   ========================================================================= */
.usp { background: var(--braun); color: #f6eedd; position: relative; }
.usp .eyebrow { color: var(--gold-light); }
.usp .eyebrow::before { background: var(--gold-light); }
.usp .section-head h2 { color: #fff; }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.usp-card {
  border: 1px solid rgba(246,238,221,.14); border-radius: var(--radius);
  padding: 1.6rem; background: rgba(246,238,221,.03);
}
.usp-card .n { font-family: var(--f-display); font-size: var(--step-2); color: var(--gold-light); line-height: 1; }
.usp-card h3 { color: #fff; font-size: var(--step-1); margin: .7rem 0 .5rem; }
.usp-card p { color: rgba(246,238,221,.72); font-size: .95rem; margin: 0; }

/* =========================================================================
   Bräustüberl / Bierladen — split feature
   ========================================================================= */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--card); display: flex; flex-direction: column;
}
.feature-photo {
  aspect-ratio: 16 / 10; position: relative;
  background:
    linear-gradient(135deg, rgba(199,154,59,.25), rgba(21,155,214,.18)),
    repeating-linear-gradient(45deg, var(--bg-sunk) 0 14px, var(--bg-elev) 14px 28px);
  display: grid; place-items: center; color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
}
.feature-photo span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-body { padding: clamp(1.4rem, 3vw, 2rem); }
.feature-body h3 { font-size: var(--step-2); }
.feature-body p { color: var(--ink-soft); }
.hours { list-style: none; margin: 1rem 0 1.3rem; padding: 0; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); }
.hours li b { font-weight: 700; }
.hours .muted { color: var(--ink-faint); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag-list span { font-size: .78rem; padding: .35rem .7rem; border: 1px solid var(--line-2); border-radius: 100px; color: var(--ink-soft); }

/* =========================================================================
   Bezugsliste
   ========================================================================= */
.bezug { background: var(--bg); }
.bezug-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.bezug-card {
  border: 1px solid var(--line); border-left: 3px solid var(--blau); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; background: var(--card);
}
.bezug-card h4 { font-size: var(--step-1); font-family: var(--f-display); }
.bezug-card p { margin: .3rem 0 0; color: var(--ink-soft); font-size: .92rem; }

/* =========================================================================
   Kontakt / Anfahrt
   ========================================================================= */
.kontakt { background: var(--bg-sunk); }
:root[data-theme="dark"] .kontakt { background: var(--bg-elev); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.kontakt-info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; }
.kontakt-info dt { font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); padding-top: .5rem; }
.kontakt-info dd { margin: 0; padding-top: .35rem; }
.kontakt-info dd a { color: var(--accent-2); text-decoration: none; font-weight: 700; }
.kontakt-info dd a:hover { text-decoration: underline; }
.map-embed {
  min-height: 320px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21,155,214,.12), rgba(199,154,59,.12));
  position: relative; display: grid; place-items: center; text-align: center; color: var(--ink-faint);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; min-height: 320px; }

/* =========================================================================
   CTA
   ========================================================================= */
.cta {
  background: linear-gradient(160deg, var(--gold-deep), var(--gold));
  color: #241a0f; text-align: center; position: relative; overflow: hidden;
}
.cta .rauten { position: absolute; inset: 0 0 auto 0; opacity: .35; }
.cta-inner { position: relative; padding-block: clamp(3rem, 7vw, 5rem); }
.cta h2 { font-size: var(--step-4); color: #1e160d; }
.cta p { max-width: 46ch; margin: 1rem auto 2rem; color: #3a2c17; font-size: var(--step-1); }
.cta .btn { --_bg: #1e160d; --_fg: #f6eedd; border-color: #1e160d; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--braun); color: rgba(246,238,221,.75); padding: clamp(2.5rem,6vw,4rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand img { width: 46px; }
.footer-brand b { font-family: var(--f-display); font-size: 1.4rem; color: #fff; }
.site-footer h4 { color: var(--gold-light); font-family: var(--f-body); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(246,238,221,.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(246,238,221,.2); border-radius: var(--radius); color: #f6eedd;
  transition: border-color .2s, background .2s;
}
.socials a:hover { border-color: var(--gold); background: rgba(199,154,59,.15); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(246,238,221,.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: rgba(246,238,221,.55);
}
.footer-bottom a { color: rgba(246,238,221,.7); }

/* =========================================================================
   Age Gate
   ========================================================================= */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(160deg, rgba(20,16,10,.96), rgba(30,22,13,.98));
  backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.age-gate.is-visible { opacity: 1; visibility: visible; }
.age-card {
  background: var(--creme); color: #241a0f; max-width: 440px; width: 100%;
  border-radius: var(--radius); border-top: 6px solid var(--gold);
  padding: clamp(1.8rem, 5vw, 2.6rem); text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  transform: translateY(14px) scale(.98); transition: transform .35s ease;
}
.age-gate.is-visible .age-card { transform: none; }
.age-card img { width: 78px; margin: 0 auto 1.1rem; }
.age-card h2 { font-size: var(--step-2); }
.age-card p { color: #5c4c37; font-size: .96rem; margin: .8rem 0 1.6rem; }
.age-card .age-actions { display: flex; flex-direction: column; gap: .6rem; }
.age-card .btn { justify-content: center; }
.age-note { margin: 1.2rem 0 0; font-size: .78rem; color: #8a7857; }
.age-note a { color: var(--gold-deep); }
.age-deny {
  background: transparent; border: none; color: #8a7857; text-decoration: underline;
  cursor: pointer; font-family: var(--f-body); font-size: .88rem; padding: .4rem;
}
.age-denied-msg { display: none; }
body.age-locked { overflow: hidden; }

/* =========================================================================
   Karte: Klick-zum-Laden (kein Auto-Request an OpenStreetMap)
   ========================================================================= */
.map-consent {
  padding: clamp(1.4rem, 4vw, 2.2rem); max-width: 42ch;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.map-consent p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.map-consent .map-note { font-size: .8rem; color: var(--ink-faint); }
.map-consent .map-note a { color: var(--accent-2); }
.map-embed.is-loaded { display: block; place-items: unset; }

/* =========================================================================
   Datenschutz-Hinweis-Banner (dismissible)
   ========================================================================= */
.cookie-note {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 120;
  max-width: 640px; margin-inline: auto;
  background: var(--bg-elev); color: var(--ink);
  border: 1px solid var(--line-2); border-left: 4px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem;
  transform: translateY(160%); transition: transform .4s ease;
}
.cookie-note.is-in { transform: translateY(0); }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; flex: 1 1 260px; font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }
.cookie-note a { color: var(--accent-2); font-weight: 700; }
.cookie-note .btn { padding: .6rem 1.1rem; font-size: .72rem; }
@media (prefers-reduced-motion: reduce) {
  .cookie-note { transition: none; }
}

/* =========================================================================
   Reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive stacks ---------- */
@media (max-width: 860px) {
  .history-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.4rem; }
}

/* ---------- Standort-Nadel (blaue Karten-Nadel als Overlay) ---------- */
.map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 40px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
  animation: mapMarkerIn .35s ease-out both;
}
.map-marker svg { display: block; width: 100%; height: 100%; }
@keyframes mapMarkerIn {
  from { opacity: 0; transform: translate(-50%, -130%); }
  to   { opacity: 1; transform: translate(-50%, -100%); }
}
@media (prefers-reduced-motion: reduce) {
  .map-marker { animation: none; }
}
