/*
Theme Name: Hoamat
Theme URI: https://www.hoamat-wirtshaus.de/
Author: GhaliWeb
Description: Eigenes Theme für das Hoamat Wirtshaus in Schönbrunn am Lusen. Logo-Rot als Fläche, Lusen-Grat als Leitmotiv, Bogenfenster. Arbeitet mit dem Plugin „Hoamat Reservierung“ (Tisch- und Feierkalender). DSGVO: Schriften und Skripte lokal, Google Maps erst nach Einwilligung (eigener Hinweis, keine Cookies).
Version: 1.9.6
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietär
Text Domain: hoamat
*/

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 700; font-stretch: 75% 100%; font-display: swap; src: url("fonts/bricolage-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: "Bricolage Grotesque"; font-style: normal; font-weight: 300 700; font-stretch: 75% 100%; font-display: swap; src: url("fonts/bricolage-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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; }

/* Hoamat Wirtshaus – Design v5
   Logo-Rot als Fläche, Lusen-Grat als Leitlinie, Bricolage Grotesque */
:root {
  --red: #984245;         /* Logo-Rot, Fläche */
  --red-deep: #7a3033;    /* Hover / dunkle Fläche */
  --black: #000000;
  --ink: #1a1a1a;         /* Fließtext */
  --stone: #666663;       /* Nebentext */
  --glass: #eef1ef;       /* kühles Glasgrau – Glashütten-Erbe */
  --white: #ffffff;
  --rule: #d9dcda;
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --top: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 20px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 var(--font); font-variation-settings: "opsz" 16, "wdth" 100;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.stage :focus-visible, .still :focus-visible, .foot :focus-visible, .feast :focus-visible, .drawer :focus-visible, .phead :focus-visible { outline-color: #fff; }
::selection { background: var(--red); color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Typo-Skala (1.25) ---------- */
.h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 80; letter-spacing: -.01em; margin-bottom: 22px; }
.h3 { font-size: clamp(22px, 1.8vw, 27px); line-height: 1.2; font-weight: 600; font-variation-settings: "opsz" 48, "wdth" 85; margin-bottom: 10px; }
.body-l { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 36ch; margin-bottom: 30px; }
.soft { color: var(--stone); }
p + p { margin-top: .9em; }

/* ---------- Buttons & Links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; border-radius: 3px;
  transition: background-color .2s ease, color .2s ease;
}
.button--red { background: var(--red); color: #fff; }
.button--red:hover { background: var(--red-deep); }
.button--white { background: #fff; color: var(--red); }
.button--white:hover { background: var(--black); color: #fff; }
.button--outline { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.button--outline:hover { background: var(--ink); color: #fff; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: text-underline-offset .2s ease; }
.textlink:hover { text-underline-offset: 3px; }
.textlink--white { color: #fff; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; gap: 36px; height: var(--top); padding: 0 var(--gut); max-width: 1600px; margin: 0 auto; }
.top__logo img { width: 112px; }
.top__nav { display: flex; gap: 30px; margin-left: auto; }
.top__nav a { font-size: 16px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
.top__nav a:hover { color: var(--red); }
.top__nav a[aria-current="page"] { border-color: var(--red); }
.top__cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.top__burger { display: none; margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; }
.drawer { position: fixed; inset: var(--top) 0 0; background: var(--red); color: #fff; padding: 36px var(--gut) 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-size: 32px; line-height: 1.25; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 80; text-decoration: none; padding: 6px 0; }
.drawer .button { align-self: flex-start; }
.drawer p { color: rgba(255, 255, 255, .85); }
.drawer p a { color: #fff; }

/* ---------- Stage (Startseite) ---------- */
.stage { position: relative; display: grid; grid-template-columns: minmax(380px, 5fr) 7fr; height: calc(100svh - var(--top)); min-height: 600px; max-height: 960px; background: var(--red); color: #fff; overflow: hidden; }
.stage__panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(28px, 4vw, 72px) 120px; }
.stage__logo { width: clamp(170px, 15vw, 230px); margin-bottom: clamp(28px, 4vh, 48px); }
.stage__title { font-size: clamp(38px, 4.2vw, 64px); line-height: 1.02; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 78; letter-spacing: -.015em; max-width: 11ch; margin-bottom: 22px; }
.stage__text { font-size: 19px; line-height: 1.5; max-width: 30ch; color: rgba(255, 255, 255, .9); }
.stage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.stage__status { position: absolute; left: clamp(28px, 4vw, 72px); bottom: 34px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.stage__photo { position: relative; }
.stage__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.stage__photo img.is-active { opacity: 1; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); margin-right: 10px; vertical-align: 1px; }
.dot.is-open { background: #9be29a; }

/* Der Lusen-Grat */
.ridge { position: absolute; left: 0; right: 0; bottom: 64px; width: 100%; height: clamp(70px, 9vw, 130px); z-index: 3; pointer-events: none; overflow: visible; }
.ridge path { fill: none; stroke: #fff; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ridge__line { stroke-dasharray: 2000; stroke-dashoffset: 0; }
.ridge__cross { stroke-width: 2 !important; }
@media (prefers-reduced-motion: no-preference) {
  .ridge__line { animation: draw 2.6s cubic-bezier(.6, 0, .2, 1) .3s both; }
  .ridge__cross { animation: appear .6s ease 2.4s both; }
}
@keyframes draw { from { stroke-dashoffset: 2000; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Willkommen ---------- */
.welcome { padding: clamp(90px, 11vw, 150px) 0; }
.welcome__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.welcome__text { grid-column: 1 / 8; }
.statement { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.32; font-weight: 400; font-variation-settings: "opsz" 48, "wdth" 92; letter-spacing: -.005em; max-width: 30ch; }
.welcome__sign { margin-top: 28px; color: var(--stone); }
.welcome__a { grid-column: 9 / 13; grid-row: 1 / 3; aspect-ratio: 4 / 5; overflow: hidden; }
.welcome__b { grid-column: 3 / 8; grid-row: 2; aspect-ratio: 3 / 2; overflow: hidden; margin-top: 56px; }
.welcome figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stuben ---------- */
.rooms { padding-bottom: clamp(90px, 11vw, 150px); }
.rooms__grid { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-top: 12px; }
.room { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; text-decoration: none; background: var(--black); }
.room--wide { aspect-ratio: auto; min-height: 100%; }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s ease, transform .6s ease; }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .62), transparent 55%); }
.room:hover img { opacity: 1; transform: scale(1.03); }
.room__name, .room__text { position: absolute; left: 24px; right: 24px; z-index: 1; }
.room__name { bottom: 50px; font-size: clamp(24px, 2vw, 30px); font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 82; }
.room__text { bottom: 22px; font-size: 15px; color: rgba(255, 255, 255, .88); }

/* ---------- Karte (Auszug) ---------- */
.card-section { background: var(--glass); padding: clamp(80px, 10vw, 130px) 0; }
.card-section__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.menu-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0 12px; padding: 20px 0; }
.menu-list li + li { border-top: 1px solid var(--rule); }
.menu-list__name { font-size: 21px; font-weight: 600; font-variation-settings: "opsz" 36, "wdth" 88; }
.menu-list__dots { border-bottom: 2px dotted #b9bdbb; transform: translateY(-5px); }
.menu-list__price { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--red); }
.menu-list__desc { grid-column: 1 / -1; margin-top: 4px; font-size: 16px; color: var(--stone); max-width: 58ch; }
.menu-list__sub { font-weight: 400; }

/* ---------- Brennerei ---------- */
.still { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); color: #fff; }
.still__photo { min-height: 560px; }
.still__photo img { width: 100%; height: 100%; object-fit: cover; }
.still__text { align-self: center; padding: clamp(60px, 8vw, 120px) clamp(28px, 6vw, 100px); max-width: 640px; }
.still__text p { color: rgba(255, 255, 255, .82); font-size: 18px; }
.still__links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }

/* ---------- Feiern-Teaser ---------- */
.feast { position: relative; min-height: 640px; display: flex; align-items: flex-end; }
.feast__photo { position: absolute; inset: 0; }
.feast__photo img { width: 100%; height: 100%; object-fit: cover; }
.feast__wrap { position: relative; padding-bottom: clamp(40px, 6vw, 80px); padding-top: 160px; }
.feast__box { background: var(--red); color: #fff; padding: clamp(32px, 4vw, 52px); max-width: 520px; }
.feast__box p { color: rgba(255, 255, 255, .9); margin-bottom: 28px; }

/* ---------- Seitenkopf Unterseiten ---------- */
.phead { display: grid; grid-template-columns: 5fr 7fr; min-height: 440px; background: var(--red); color: #fff; }
.phead__text { display: flex; flex-direction: column; justify-content: flex-end; padding: 60px clamp(28px, 4vw, 72px); }
.phead__title { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.02; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 78; letter-spacing: -.015em; }
.phead__lead { margin-top: 18px; font-size: 19px; color: rgba(255, 255, 255, .9); max-width: 34ch; }
.phead__photo { position: relative; overflow: hidden; }
.phead__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phead--plain { grid-template-columns: 1fr; min-height: 280px; }

/* ---------- Allgemeine Bausteine Unterseiten ---------- */
.block { padding: clamp(80px, 10vw, 130px) 0; }
.block--glass { background: var(--glass); }
.block--black { background: var(--black); color: rgba(255, 255, 255, .82); }
.block--black .h2, .block--black .h3 { color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.two--center { align-items: center; }
.prose { max-width: 60ch; }
.prose p { font-size: 18px; }
.photo { overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--land { aspect-ratio: 3 / 2; }
.quote { font-size: clamp(22px, 2vw, 30px); line-height: 1.38; font-weight: 400; font-variation-settings: "opsz" 48, "wdth" 92; }
.quote-by { margin-top: 24px; color: var(--stone); }
.grid-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 64px) 24px; }
.grid-rooms .photo { aspect-ratio: 3 / 2; margin-bottom: 20px; }
.grid-rooms p { color: var(--stone); max-width: 46ch; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.team .photo { aspect-ratio: 2 / 3; }
.suppliers li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.suppliers li:first-child { border-top: 1px solid var(--rule); }
.suppliers strong { display: block; font-size: 19px; font-weight: 600; }
.suppliers span { color: var(--stone); font-size: 16px; }
.note { margin-top: 26px; font-size: 14px; color: var(--stone); }
.block--black .note { color: rgba(255, 255, 255, .55); }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); font-weight: 600; color: rgba(255, 255, 255, .8); transition: background-color .2s, color .2s; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--black); box-shadow: none; }
.block--black .menu-list li + li { border-color: rgba(255, 255, 255, .16); }
.block--black .menu-list__dots { border-color: rgba(255, 255, 255, .3); }
.block--black .menu-list__price { color: #fff; }
.block--black .menu-list__desc { color: rgba(255, 255, 255, .6); }
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.strip .photo { aspect-ratio: 4 / 5; }
.strip .photo:first-child { aspect-ratio: auto; }
.occasion { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.occasion + .occasion { margin-top: clamp(70px, 9vw, 120px); }
.occasion--flip .photo { order: 2; }
.occasion .photo { aspect-ratio: 4 / 3; }
.occasion p { color: var(--stone); font-size: 18px; max-width: 44ch; }
.redbox { background: var(--red); color: #fff; padding: clamp(40px, 6vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.redbox .h2 { margin: 0; max-width: 18ch; }
.redbox p { color: rgba(255, 255, 255, .9); margin-top: 10px; }
.redbox__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.films { counter-reset: film; margin-top: 16px; }
.films li { counter-increment: film; display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 18px; font-weight: 500; }
.films li::before { content: counter(film); color: var(--red); font-weight: 600; min-width: 18px; }
.bigyear { font-size: clamp(110px, 17vw, 250px); line-height: .9; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 75; color: var(--red); letter-spacing: -.03em; }
.doc img { box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.hours td { text-align: right; }
.hours .closed { color: var(--stone); }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--red); }
.contact-list { display: grid; gap: 40px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.insta a { display: block; aspect-ratio: 9 / 14; overflow: hidden; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insta a:hover img { transform: scale(1.03); }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.legal { max-width: 760px; }
.legal .h3 { margin-top: 40px; }
.legal .h3:first-child { margin-top: 0; }
.legal a { color: var(--red); }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--red); color: #fff; padding: 110px 0 32px; margin-top: 0; }
.foot__ridge { position: absolute; left: 0; right: 0; top: 18px; width: 100%; height: 70px; overflow: visible; }
.foot__ridge path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; }
.foot__brand img { width: 150px; }
.foot h2 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.foot p { color: rgba(255, 255, 255, .88); font-size: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__soft { color: rgba(255, 255, 255, .65) !important; }
.foot__copy { margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px; color: rgba(255, 255, 255, .7); }
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .top__nav { gap: 22px; }
  .top__nav a { font-size: 15px; }
}
@media (max-width: 960px) {
  :root { --top: 70px; }
  .top__nav, .top__cta { display: none; }
  .top__burger { display: inline-flex; align-items: center; }
  .top__logo img { width: 96px; }
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 56vw; height: auto; max-height: none; }
  .stage__panel { padding: 48px var(--gut) 110px; }
  .stage__status { left: var(--gut); bottom: 28px; }
  .stage__photo { min-height: 320px; }
  .stage__photo { grid-row: 2; grid-column: 1; }
  .ridge { position: relative; bottom: auto; grid-row: 2; grid-column: 1; align-self: start; height: 60px; transform: translateY(-62%); }
  .welcome__grid { grid-template-columns: 1fr 1fr; }
  .welcome__text { grid-column: 1 / -1; }
  .welcome__a { grid-column: 1; grid-row: 2; }
  .welcome__b { grid-column: 2; grid-row: 2; margin-top: 60px; aspect-ratio: 4 / 5; }
  .rooms__grid { grid-template-columns: 1fr; }
  .room, .room--wide { aspect-ratio: 3 / 2; min-height: 0; }
  .card-section__grid, .two, .occasion, .phead { grid-template-columns: 1fr; }
  .occasion--flip .photo { order: 0; }
  .still { grid-template-columns: 1fr; }
  .still__photo { min-height: 0; aspect-ratio: 3 / 2; }
  .phead__photo { min-height: 280px; order: 2; }
  .phead__text { padding: 48px var(--gut); }
  .grid-rooms { grid-template-columns: 1fr; }
  .team, .insta { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .photo:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; justify-content: center; align-items: center; min-height: 52px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; border-radius: 3px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stage__title { font-size: 38px; }
  .menu-list li { grid-template-columns: 1fr auto; }
  .menu-list__dots { display: none; }
  .foot__grid { grid-template-columns: 1fr; }
  .bigyear { font-size: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Ergänzungen */
.block--flush-top { padding-top: 0; }
.photo-strip { padding: 12px; }
.h3--gap { margin-top: 40px; }
.phead--plain .phead__text { padding-top: 90px; padding-bottom: 50px; max-width: var(--wrap); margin: 0 auto; width: 100%; padding-left: var(--gut); padding-right: var(--gut); }
.menu-photo { position: sticky; top: calc(var(--top) + 30px); max-width: 380px; }
.occasion--flip { grid-template-columns: 5fr 7fr; }
@media (max-width: 960px) { .menu-photo { display: none; } .occasion--flip { grid-template-columns: 1fr; } }

/* ================= Startbild mit Animation (v6) =================
   Ohne JS: Endzustand (Foto vollflächig, Begrüßung sichtbar).
   hero.js setzt die Startzustände und steuert Lade- und Scroll-Animation. */
.hero { position: relative; background: var(--red); }
.hero-anim .hero { height: 280vh; }
.hero__sticky { position: relative; top: 0; max-height: 1000px; height: calc(100vh - var(--top)); height: calc(100svh - var(--top)); overflow: hidden; color: #fff; }
.hero__window { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0% 0% 0% 0% round 0px 0px 0px 0px); will-change: clip-path; }
.hero__slides { position: absolute; inset: 0; will-change: transform; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero__slides img.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .15) 100%); }
.hero__ridge { position: absolute; left: 0; right: 0; top: 66%; width: 100%; height: clamp(120px, 18vw, 240px); z-index: 2; pointer-events: none; overflow: visible; opacity: 0; }
.hero__ridge path { fill: none; stroke: #fff; stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.hero__brand { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.hero__logo { width: clamp(260px, 34vw, 520px); filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .25)); }
.hero__final { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 var(--gut) clamp(40px, 7vh, 80px); max-width: var(--wrap); margin: 0 auto; }
.hero__title { font-size: clamp(40px, 5.2vw, 84px); line-height: 1; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 76; letter-spacing: -.02em; margin-bottom: 20px; }
.hero__text { font-size: 19px; max-width: 34ch; color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.hero__status { margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hero__hint { position: absolute; left: 50%; bottom: 26px; z-index: 5; transform: translateX(-50%); font-size: 14px; letter-spacing: .04em; color: rgba(255, 255, 255, .85); opacity: 0; }
.hero__hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: currentColor; animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.hero-anim .hero__sticky { position: sticky; top: var(--top); max-height: none; }
@media (max-width: 960px) {
  .hero-anim .hero { height: 220vh; }
  .hero__ridge { top: 60%; }
  .hero__logo { width: min(72vw, 340px); }
}

/* Startseite: Header-Logo erst, wenn das große Logo im Startbild weg ist */
.top__logo img { transition: opacity .4s ease; }
.hero-anim:not(.logo-in) .top__logo img { opacity: 0; }

/* ================= Startseite v7: moderne Abschnitte, Bogenfenster als Motiv ================= */
/* Text mit Bildern in der Zeile */
.words { padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 11vw, 160px); }
.words__text { font-size: clamp(30px, 4.6vw, 76px); line-height: 1.14; font-weight: 500; font-variation-settings: "opsz" 96, "wdth" 82; letter-spacing: -.018em; max-width: 30ch; }
.inpic { display: inline-block; width: 1.9em; height: .8em; margin: 0 .06em; vertical-align: -.06em; border-radius: .8em .8em 0 0; overflow: hidden; background: var(--glass); }
.inpic img { width: 100%; height: 100%; object-fit: cover; }
.words__sign { margin-top: 40px; font-size: 17px; color: var(--stone); }

/* Aufklappende Stuben */
.panels { padding-bottom: clamp(100px, 12vw, 170px); }
.panels__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.panels__row { display: flex; gap: 10px; height: clamp(480px, 74vh, 760px); padding: 0 var(--gut); max-width: 1600px; margin: 0 auto; }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 180px 180px 0 0; background: var(--black); transition: flex-grow .9s cubic-bezier(.7, 0, .2, 1); }
.panel.is-open { flex-grow: 5.5; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.8); transform: scale(1.08); transition: filter .8s ease, transform 1.2s ease; }
.panel.is-open img { filter: none; transform: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 50%); pointer-events: none; }
.panel__btn { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 34px; color: #fff; }
.panel__vert { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 24px; font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 80; white-space: nowrap; transition: opacity .4s ease; }
.panel.is-open .panel__btn { pointer-events: none; }
.panel.is-open .panel__vert { opacity: 0; }
.panel__info { position: absolute; left: clamp(24px, 3vw, 44px); right: 24px; bottom: clamp(24px, 3vw, 40px); z-index: 1; color: #fff; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s ease; }
.panel.is-open .panel__info { opacity: 1; transform: none; transition-delay: .45s; }
.panel__info h3 { font-size: clamp(30px, 3vw, 46px); line-height: 1; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 78; margin-bottom: 10px; }
.panel__info p { max-width: 42ch; color: rgba(255, 255, 255, .88); }

/* Bogenfenster-Bilder */
.archpic { overflow: hidden; border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; background: var(--glass); }
.archpic img { width: 100%; height: 100%; object-fit: cover; }

/* Kuchl */
.kuchl { background: var(--glass); padding: clamp(100px, 12vw, 170px) 0; }
.kuchl__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.kuchl__side { position: sticky; top: calc(var(--top) + 40px); }
.kuchl__main .menu-list { margin-bottom: 36px; }

/* Brennerei */
.distill { background: var(--black); color: #fff; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.distill__kopf { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.distill__text { max-width: 540px; }
.distill__logo { width: clamp(200px, 20vw, 280px); filter: invert(1); margin-bottom: 34px; }
.distill__text p { color: rgba(255, 255, 255, .8); font-size: 18px; }
.distill__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.distill__foto { aspect-ratio: 4 / 4.4; }
.flaschen { list-style: none; padding: 0; margin: clamp(56px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.flaschen a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #fff; }
.flaschen a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.flaschen img { transition: transform .4s ease; }
.flaschen a:hover img { transform: scale(1.02); }
.flaschen img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.flaschen strong { font-size: 19px; font-weight: 600; }
.flaschen span { font-size: 15px; color: rgba(255, 255, 255, .7); }
.archpic--tall { aspect-ratio: 3 / 4.6; }
.archpic--small { aspect-ratio: 3 / 4; }

@media (max-width: 960px) {
  .panels__row { flex-direction: column; height: auto; }
  .panel { flex: none; height: 84px; border-radius: 42px 42px 0 0; transition: height .8s cubic-bezier(.7, 0, .2, 1); }
  .panel.is-open { height: 440px; border-radius: 160px 160px 0 0; }
  .panel__btn { justify-content: flex-start; align-items: center; padding: 0 28px; }
  .panel__vert { writing-mode: horizontal-tb; transform: none; font-size: 22px; }
  .kuchl__grid { grid-template-columns: 1fr 1fr; }
  .distill__kopf { grid-template-columns: 1fr; }
  .distill__foto { max-width: 460px; }
  .flaschen { grid-template-columns: 1fr 1fr; }
  .kuchl__side { position: static; grid-column: 1 / -1; max-width: 360px; }
  .kuchl__main { grid-column: 1 / -1; }
  .archpic--small { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .inpic { width: 1.5em; }
}

/* ================= v8: Wirt-Abschnitt, Unterseiten im Bogen-Stil ================= */
/* Michi */
.wirt { background: var(--red); color: #fff; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.wirt__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.wirt__photo { aspect-ratio: 3 / 4.2; }
.wirt__role { font-size: 18px; color: rgba(255, 255, 255, .8); margin-bottom: 10px; }
.wirt__name { font-size: clamp(46px, 6vw, 104px); line-height: .92; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 75; letter-spacing: -.025em; margin-bottom: 34px; }
.wirt__quote { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.45; font-variation-settings: "opsz" 36, "wdth" 92; max-width: 34ch; }
.wirt__more { margin-top: 22px; color: rgba(255, 255, 255, .82); max-width: 40ch; }
.wirt__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.wirt__second { aspect-ratio: 3 / 4; align-self: end; margin-bottom: -40px; }

/* Seitenkopf der Unterseiten: roter Grund, Foto als Bogenfenster, das beim Laden aufsteigt */
.phead { grid-template-columns: 6fr 5fr; min-height: 0; align-items: end; overflow: hidden; }
.phead__text { padding: clamp(60px, 8vw, 120px) clamp(28px, 4vw, 72px) clamp(50px, 6vw, 90px); }
.phead__photo { position: relative; align-self: end; height: clamp(360px, 44vw, 560px); margin: 56px clamp(28px, 4vw, 72px) 0 0; border-radius: 999px 999px 0 0; }
.phead__title { font-size: clamp(44px, 5.4vw, 92px); line-height: .95; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 75; letter-spacing: -.025em; }
@media (prefers-reduced-motion: no-preference) {
  .phead__photo { animation: archRise 1.6s cubic-bezier(.7, 0, .2, 1) .15s both; }
  .phead__photo img { animation: archZoom 2.2s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .phead__title, .phead__lead, .phead .stage__actions { animation: fadeUp 1s ease .5s both; }
}
@keyframes archRise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes archZoom { from { transform: scale(1.3); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.phead--plain { grid-template-columns: 1fr; }

/* Bogenfenster auch in den Unterseiten */
.occasion .photo, .team .photo, .strip .photo, .photo--portrait, .insta a { border-radius: 999px 999px 0 0; }
.occasion .photo { aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: center; }
.occasion { grid-template-columns: 1fr 1fr; }
.occasion--flip { grid-template-columns: 1fr 1fr; }
.strip { max-width: var(--wrap); margin: 0 auto; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.strip .photo, .strip .photo:first-child { aspect-ratio: 3 / 4; }
.photo-strip { padding: clamp(60px, 8vw, 110px) var(--gut); }
.team { gap: 16px; }
.panels--page { padding-top: clamp(90px, 11vw, 150px); }

@media (max-width: 960px) {
  .wirt__grid { grid-template-columns: 1fr 1fr; }
  .wirt__text { grid-column: 1 / -1; grid-row: 1; }
  .wirt__second { margin-bottom: 0; }
  .phead { grid-template-columns: 1fr; }
  .phead__photo { height: 320px; margin: 0 var(--gut); order: 2; }
  .occasion, .occasion--flip { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .photo:first-child { grid-column: auto; aspect-ratio: 3 / 4; }
  .strip .photo:last-child { display: none; }
}

.wirt + .panels { padding-top: clamp(90px, 11vw, 150px); }
.wirt__photo { max-width: 520px; }
@media (max-width: 960px) { .wirt__grid { grid-template-columns: 1fr; } .wirt__photo { max-width: 420px; } }

/* Neues Logo: in der Kopfzeile größer und gut lesbar */
:root { --top: 104px; }
.top__logo img { width: 178px; }
@media (max-width: 960px) {
  :root { --top: 84px; }
  .top__logo img { width: 140px; }
}
@media (max-width: 400px) {
  .top__logo img { width: 124px; }
}
/* Kein seitliches Ueberlaufen (clip statt hidden, damit sticky funktioniert) */
html, body { overflow-x: clip; }

/* ================= Buchung (Reservieren, Feier-Anfrage) ================= */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.booking__info { position: sticky; top: calc(var(--top) + 30px); display: grid; gap: 16px; }
.infocard { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 26px; }
.block--glass .infocard { border-color: transparent; }
.infocard p + p { margin-top: 10px; }
.infocard--red { background: var(--red); color: #fff; border-color: var(--red); }
.infocard--red .h3 { color: #fff; }
.infocard--red p { color: rgba(255, 255, 255, .9); }
.vorschau-kalender { border: 2px dashed var(--rule); border-radius: 10px; padding: 40px 28px; text-align: center; color: var(--stone); background: #fff; }
.vorschau-kalender strong { display: block; color: var(--ink); font-size: 20px; margin-bottom: 6px; }
@media (max-width: 960px) {
  .booking { grid-template-columns: 1fr; }
  .booking__info { position: static; }
}
/* ================= Cookie-Banner (Einwilligung) ================= */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 200; width: min(440px, calc(100vw - 24px)); background: #fff; color: var(--ink); border-radius: 12px; padding: 30px 28px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .04); overflow: hidden; transform: translateY(24px); opacity: 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .35s ease; }
.consent.is-offen { transform: none; opacity: 1; }
.consent [hidden], .consent[hidden] { display: none !important; }
.consent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red); }
.consent__ridge { display: block; width: 120px; height: 14px; margin-bottom: 14px; overflow: visible; }
.consent__ridge path { fill: none; stroke: var(--red); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.consent__titel { font-size: 22px; line-height: 1.15; font-weight: 700; font-variation-settings: "opsz" 72, "wdth" 80; margin-bottom: 10px; }
.consent__text { font-size: 15px; line-height: 1.55; color: var(--stone); }
.consent__text a { color: var(--red); }
.consent__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.consent__knoepfe .button { min-height: 48px; padding: 0 12px; font-size: 15px; }
.consent__mehr { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.consent__details { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.consent__option { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--stone); cursor: pointer; }
.consent__option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent__option strong { display: block; color: var(--ink); font-size: 15px; }
.consent__speichern { justify-self: start; min-height: 44px; font-size: 15px; }
.consent :focus-visible { outline-color: var(--red); }
.foot__linkbtn { color: rgba(255, 255, 255, .88); font-size: 16px; text-decoration: none; }
.foot__linkbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .consent { left: 12px; bottom: 12px; padding: 26px 20px 18px; }
  .consent__knoepfe { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* Karte mit Zwei-Klick */
.karte { position: relative; border-radius: 12px; overflow: hidden; background: var(--glass); min-height: 420px; }
.karte__platz { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 420px; padding: clamp(28px, 5vw, 60px); max-width: 640px; }
.karte__ridge { width: 180px; height: 26px; margin-bottom: 18px; overflow: visible; }
.karte__ridge path { fill: none; stroke: var(--red); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.karte__platz p { color: var(--stone); }
.karte iframe { display: block; width: 100%; height: 460px; border: 0; }
.karte--resmio { background: #fff; border-radius: 10px; border-top: 4px solid var(--red); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .35); }
.karte--resmio, .karte--resmio .karte__platz { min-height: 360px; }
.karte--resmio.is-geladen { padding: 14px 10px 6px; }
.karte--resmio iframe { height: 620px; }
.schritte { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: -4px 0 26px; padding: 0; color: var(--ink); font-size: 17px; }
.schritte li { display: flex; align-items: center; gap: 10px; }
.schritte span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 600px) { .schritte { flex-direction: column; } .karte--resmio.is-geladen { padding: 10px 0 4px; } .karte--resmio iframe { height: 600px; } }
/* WordPress-Werkzeugleiste (nur angemeldet) */
.admin-bar .top { top: 32px; }
.admin-bar.hero-anim .hero__sticky, .hero-anim .admin-bar .hero__sticky { top: calc(var(--top) + 32px); }
@media (max-width: 782px) { .admin-bar .top { top: 0; } }
/* Rechtstexte aus dem Editor */
.legal h2 { font-size: clamp(22px, 1.8vw, 27px); line-height: 1.2; font-weight: 600; margin: 40px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { list-style: disc; padding-left: 22px; }

/* ---------- v1.3: Brennerei-Shop im Kopf, Events ---------- */
.top__in { gap: 28px; }
.top__shop { gap: 8px; }
.top__shop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.top__shop + .top__cta { margin-left: -16px; }
.top__logo { flex-shrink: 0; }
.top__nav a { white-space: nowrap; }
@media (max-width: 1280px) { .top__nav { gap: 20px; } .top__nav a { font-size: 15px; } .top__shop span { display: none; } .top__shop { padding: 0 12px; } .top__shop::after { content: "Shop"; } }
@media (min-width: 961px) and (max-width: 1180px) {
  .top__nav { display: none; }
  .top__shop { margin-left: auto; }
  .top__burger { display: inline-flex; align-items: center; margin-left: 0; }
}
.drawer__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.button--hell { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.button--hell:hover { background: #fff; color: var(--red); }

.events { display: grid; gap: 18px; }
.event { display: grid; grid-template-columns: 130px 1fr; background: #fff; border-radius: 10px; overflow: hidden; }
.event--bild { grid-template-columns: 130px minmax(0, 2fr) minmax(0, 3fr); }
.event__datum { background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 10px; text-align: center; }
.event__tag { font-size: 54px; line-height: 1; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 75; }
.event__monat { font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.event__wt { font-size: 14px; color: rgba(255, 255, 255, .85); margin-top: 6px; }
.event__bild { margin: 0; position: relative; min-height: 220px; }
.event__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event__text { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.event__titel { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 80; }
.event__wann { margin-top: 8px; color: var(--stone); font-weight: 500; }
.event__beschreibung { margin-top: 14px; max-width: 60ch; }
.event__preis { margin-top: 12px; font-weight: 600; color: var(--red); }
.event__knopf { margin-top: 22px; min-height: 46px; }
.events__leer { max-width: 640px; }
.events__hinweis { margin-top: 36px; color: var(--stone); }
.datum-hinweis { margin: -8px 0 18px; font-size: 17px; }

/* Startseite: nächste Events */
.termine { padding: clamp(90px, 10vw, 140px) 0; }
.termine__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 28px; margin-bottom: 30px; }
.termine__kopf .h2 { margin-bottom: 0; }
.events--klein { grid-template-columns: repeat(3, 1fr); }
.event--klein { grid-template-columns: 96px 1fr; border: 1px solid var(--rule); }
.event--klein .event__tag { font-size: 42px; }
.event--klein .event__titel { font-size: 22px; }
.event--klein .event__text { padding: 22px; }
.event--klein .event__knopf { margin-top: auto; }
.event--klein .event__wann { margin-bottom: 18px; }

@media (max-width: 960px) {
  .events--klein { grid-template-columns: 1fr; }
  .event--bild { grid-template-columns: 110px 1fr; }
  .event--bild .event__bild { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; }
  .event { grid-template-columns: 110px 1fr; }
}
@media (max-width: 560px) {
  .event, .event--bild, .event--klein { grid-template-columns: 84px 1fr; }
  .event__tag { font-size: 40px; }
  .flaschen { grid-template-columns: 1fr 1fr; }
}

/* ---------- v1.4: 360°-Rundgang ---------- */
.rundgang { padding: clamp(90px, 10vw, 140px) 0; }
.rundgang__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0 40px; margin-bottom: 26px; }
.rundgang__kopf .body-l { margin-bottom: 22px; }
.karte--tour { border-radius: 12px; min-height: 0; aspect-ratio: 16 / 8; background: var(--black); }
.karte--tour .rundgang__platz { position: relative; max-width: none; min-height: 100%; height: 100%; align-items: flex-start; justify-content: flex-end; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.05) 70%), var(--bild) center / cover; }
.karte--tour .rundgang__platz p { color: rgba(255, 255, 255, .85); max-width: 46ch; font-size: 15px; }
.rundgang__badge { position: absolute; top: 24px; left: 24px; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--red); color: #fff; font-size: 22px; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 80; }
.karte--tour iframe { width: 100%; height: 100%; min-height: 100%; }
/* 1.8.8 – Handy wie PC: Querformat, kleine Schrift, „Rundgang starten“ + „Im Vollbild öffnen“ nebeneinander */
@media (max-width: 700px) {
  .karte--tour { aspect-ratio: 4 / 3; }
  .karte--tour .rundgang__platz { padding: 18px; }
  .karte--tour .rundgang__platz p { font-size: 12.5px; line-height: 1.45; max-width: 34ch; margin: 0; }
  .karte--tour .stage__actions { flex-wrap: nowrap; gap: 16px; margin-top: 14px; }
  .karte--tour .stage__actions .button { padding: 11px 16px; font-size: 14px; min-height: 0; white-space: nowrap; }
  .karte--tour .stage__actions .textlink { font-size: 14px; white-space: nowrap; }
  .rundgang__badge { top: 14px; left: 14px; width: 48px; height: 48px; font-size: 15px; }
}

/* Speisekarte aus dem Plugin: Gruppentitel */
.menu-gruppe { font-size: 24px; font-weight: 650; font-variation-settings: "opsz" 96, "wdth" 80; margin: 34px 0 4px; }
.menu-gruppe:first-child { margin-top: 0; }
.block--black .menu-gruppe { color: #fff; }

/* ================= v1.5.1: Handy und Tablet sauber ================= */
/* Startbild ohne Animation (Handy, Tablet hoch): Foto mit Begrüßung, Höhe passend */
@media (max-width: 960px) {
  html:not(.hero-anim) .hero__sticky { height: min(calc(100svh - var(--top)), 760px); min-height: 520px; }
  html:not(.hero-anim) .hero__final { padding-bottom: 96px; }
  html:not(.hero-anim) .hero__title { font-size: clamp(40px, 8vw, 64px); }
  html:not(.hero-anim) .hero__hint { display: none; }
}
/* Tablet hoch (700–960): zweispaltig statt halbe Bilder mit Leerraum */
@media (min-width: 700px) and (max-width: 960px) {
  .wirt__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; }
  .wirt__text { grid-column: 2; grid-row: 1; }
  .wirt__photo { grid-column: 1; grid-row: 1; max-width: none; }
  .wirt__name { font-size: 52px; }
  .kuchl__grid { grid-template-columns: 2fr 3fr; gap: 36px; }
  .kuchl__side { grid-column: 1; max-width: none; position: sticky; top: calc(var(--top) + 30px); }
  .kuchl__main { grid-column: 2; }
  .distill__kopf { grid-template-columns: 1fr 1fr; gap: 36px; }
  .distill__foto { max-width: none; }
  .phead { grid-template-columns: 1fr 1fr; align-items: end; }
  .phead__text { padding: 64px 0 56px var(--gut); }
  .phead__title { font-size: clamp(44px, 6.4vw, 60px); }
  .phead__lead { font-size: 18px; }
  .phead__photo { order: 0; height: 400px; margin: 48px var(--gut) 0 0; }
  .two, .card-section__grid { gap: 40px; }
  .occasion .photo { max-width: 460px; }
}
/* Handy (bis 699): Bilder volle Breite, Bogen nicht angeschnitten */
@media (max-width: 699px) {
  .phead__photo { height: auto; aspect-ratio: 4 / 3.4; margin: 0 var(--gut); }
  .phead__text { padding: 48px var(--gut) 36px; }
  .kuchl__side { max-width: none; }
  .kuchl__side .archpic { aspect-ratio: 4 / 3.6; }
  .distill__foto { max-width: none; aspect-ratio: 4 / 3.6; }
  .wirt__photo { max-width: none; aspect-ratio: 4 / 4.4; }
}
/* Textlinks: größere Tippfläche */
@media (max-width: 960px) { .textlink { display: inline-block; padding: 8px 0; } }

/* 1.6.0 – Fotostreifen, Bonuskarte, Team-Fotos (Fotoshooting Nov. 2026) */
.leben { padding: clamp(70px, 9vw, 120px) 0; }
.leben__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 30px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.leben__kopf .soft { margin: 0; max-width: 44ch; }
.leben__raster { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(260px, 30vw, 440px); gap: 12px; }
.leben__bild { margin: 0; overflow: hidden; }
.leben__bild--breit { grid-column: span 2; }
.leben__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.region { padding: clamp(80px, 10vw, 140px) 0; }
.region__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.region__text .h2 { max-width: 18ch; }
.region__text .body-l { max-width: 46ch; margin: 22px 0 14px; }
.region__sign { color: var(--stone); font-size: 16px; margin: 0 0 30px; }
.region__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.region__foto { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; background: var(--glass); }
.region__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.bonus { padding: clamp(70px, 9vw, 120px) 0; }
.bonus__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.bonus__foto { aspect-ratio: 3 / 2; }
.bonus__text .body-l { margin-bottom: 14px; }
.bonus__karte { margin: 28px 0 0; max-width: 300px; aspect-ratio: 3 / 2; overflow: hidden; }
.bonus__karte img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.team--neu { grid-template-columns: repeat(3, 1fr); }
.team--neu .photo { aspect-ratio: 3 / 2; border-radius: 3px; }
.team--neu .team__gruppe { border-radius: 260px 260px 3px 3px / 120px 120px 3px 3px; }
.team--neu .team__gruppe { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.raeume p { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(0, 0, 0, .1); padding-bottom: 10px; }
.raeume p span { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .region__grid { grid-template-columns: 1fr; }
  .region__foto { max-width: 460px; }
  .leben__raster { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .leben__bild--breit, .leben__bild:last-child { grid-column: span 2; aspect-ratio: 3 / 2; }
  .leben__bild--schmal { aspect-ratio: 3 / 4; }
  .bonus__grid { grid-template-columns: 1fr; }
  .team--neu { grid-template-columns: 1fr 1fr; }
  .team--neu .photo:last-child { grid-column: 1 / -1; }
  .team--neu .team__gruppe { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .team--neu { grid-template-columns: 1fr; }
}
.stadel { padding: clamp(70px, 9vw, 120px) 0 0; }
.stadel__kopf { display: grid; grid-template-columns: 5fr 7fr; gap: 12px clamp(32px, 6vw, 90px); align-items: end; margin-bottom: 32px; }
.stadel__kopf .body-l { margin: 0; max-width: 52ch; }
.stadel__bilder { display: grid; grid-template-columns: 5fr 7fr; gap: 12px; align-items: end; }
.stadel__bilder figure { margin: 0; overflow: hidden; }
.stadel__bilder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stadel__innen { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.stadel__eingang { aspect-ratio: 3 / 2; }
@media (max-width: 760px) {
  .stadel__kopf, .stadel__bilder { grid-template-columns: 1fr; }
}

/* 1.6.3 – Einheitliches Raster: jede Inhaltskante auf der .wrap-Linie, gleicher Abschnittsabstand */
:root { --abstand: clamp(80px, 10vw, 140px); }
.wirt, .kuchl, .distill, .termine, .rundgang, .leben, .bonus, .region, .block, .photo-strip { padding-top: var(--abstand); padding-bottom: var(--abstand); }
.block--flush-top { padding-top: 0; }
.panels { padding-bottom: var(--abstand); }
.wirt + .panels, .panels--page, .region + .panels, .leben + .panels { padding-top: var(--abstand); }
.stadel { padding-top: var(--abstand); padding-bottom: 0; }
.stadel + .block { padding-top: var(--abstand); }
/* Stuben-Streifen und Fotoleiste auf Inhaltsbreite statt randlos */
.panels__row { max-width: var(--wrap); padding: 0 var(--gut); }
.panels__head { margin-bottom: 28px; }
.photo-strip { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
/* Seitenköpfe: Text und Bogenfoto auf derselben Linie wie der Inhalt darunter */
@media (min-width: 961px) {
  .phead { padding-inline: max(0px, calc((100% - var(--wrap)) / 2)); }
  .phead__text { padding-left: var(--gut); padding-right: var(--gut); }
  .phead__photo { margin-right: var(--gut); }
  .phead--plain .phead__text { max-width: none; }
}
/* gleiche Überschriften-Kopfzeile in allen Abschnitten */
.leben__kopf, .panels__head, .rundgang__kopf, .termine__kopf { margin-bottom: clamp(28px, 3.5vw, 44px); }
/* Stadel: beide Fotos gleich hoch, unten bündig */
@media (min-width: 761px) {
  .stadel__bilder { height: clamp(380px, 40vw, 560px); align-items: stretch; }
  .stadel__innen, .stadel__eingang { aspect-ratio: auto; height: 100%; }
}
/* Handy/Tablet: Shop-Knopf neben „Menü“ in der Kopfleiste */
@media (max-width: 960px) {
  .top__shop { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; }
  .top__burger { margin-left: 10px; }
}
/* 1.6.5 – Startbild am Handy: Inhalt bestimmt die Höhe, nichts wird oben abgeschnitten (auch bei großer Systemschrift) */
@media (max-width: 960px) {
  html:not(.hero-anim) .hero__sticky { height: auto; min-height: min(calc(100svh - var(--top)), 680px); display: flex; flex-direction: column; justify-content: flex-end; }
  html:not(.hero-anim) .hero__final { position: relative; padding-top: 110px; padding-bottom: 40px; }
  html:not(.hero-anim) .hero__title { font-size: clamp(36px, 9vw, 56px); margin-bottom: 14px; }
  .hero__text { font-size: 17px; line-height: 1.5; }
  .hero__actions { margin-top: 22px; }
  .hero__status { margin-top: 20px; font-size: 14px; }
}
@media (max-width: 560px) {
  /* „Tisch reservieren“ steht unten fest am Bildschirm – im Startbild nicht doppelt */
  html:not(.hero-anim) .hero__actions .button--red { display: none; }
  html:not(.hero-anim) .hero__actions { margin-top: 18px; }
  html:not(.hero-anim) .hero__final { padding-bottom: 92px; }
}
/* kleine Handys (bis 420 px): Logo, Shop und Menü passen nebeneinander */
@media (max-width: 420px) {
  .top__in { gap: 8px; }
  .top__logo img { width: 84px; }
  .top__shop { padding: 0 10px; font-size: 14px; gap: 6px; min-height: 42px; }
  .top__shop svg { width: 16px; height: 16px; }
  .top__burger { padding: 0 12px; margin-left: 6px; min-height: 42px; }
}

/* 1.6.8 Fußzeile: Credit Ghaliweb */
.foot__copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.foot__copy p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.foot .foot__credit { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .7); text-decoration: none; }
.foot .foot__credit img { width: 112px; height: auto; display: block; opacity: .9; transition: opacity .2s; }
.foot .foot__credit:hover { text-decoration: none; color: #fff; }
.foot .foot__credit:hover img { opacity: 1; }
@media (max-width: 560px) { .foot__copy { flex-direction: column; align-items: flex-start; } }

/* 1.6.9 Kopfleiste: Brennerei-Shop als Siegel statt Kasten */
.top__shop { display: inline-flex; align-items: center; gap: 10px; padding: 0 0 0 22px; min-height: 48px; border: 0; border-left: 1px solid rgba(0, 0, 0, .14); border-radius: 0; background: none; color: var(--ink, #1a1a1a); text-decoration: none; line-height: 1.15; }
.top__shop::after { content: none !important; }
.top__shop img { width: 42px; height: 42px; display: block; flex-shrink: 0; transition: transform .35s ease; }
.top__shop-text { display: flex !important; flex-direction: column; }
.top__shop-text small { font-size: 12px; letter-spacing: .02em; color: rgba(0, 0, 0, .58); }
.top__shop-text b { font-size: 15px; font-weight: 700; color: var(--red); }
.top__shop-text b::after { content: " ↗"; font-weight: 400; }
.top__shop:hover { text-decoration: none; }
.top__shop:hover img { transform: rotate(-8deg); }
.top__shop:hover b { text-decoration: underline; text-underline-offset: 3px; }
.top__shop + .top__cta { margin-left: 0; }
@media (max-width: 1280px) { .top__shop { padding: 0 0 0 16px; } .top__shop img { width: 38px; height: 38px; } }
@media (max-width: 960px) {
  .top__shop { margin-left: auto; padding: 0 4px 0 0; min-height: 44px; border-left: 0; font-size: inherit; }
  .top__shop-text small { display: none; }
  .top__shop-text b { font-size: 15px; }
  .top__shop img { width: 38px; height: 38px; }
  .top__burger { margin-left: 14px; }
}
@media (max-width: 420px) {
  .top__shop { padding: 0; gap: 7px; min-height: 42px; }
  .top__shop img { width: 34px; height: 34px; }
  .top__shop-text b { font-size: 14px; }
  .top__burger { margin-left: 10px; }
}


/* 1.7.4 Bonuskarte: Bogen-Foto wie auf der ganzen Seite, Karte als rundes Foto, rotes Band wie auf der echten Karte */
.bonus { background: var(--glass); }
.bonus__grid { grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(48px, 8vw, 130px); }
.bonus__bilder { position: relative; max-width: 460px; width: 100%; margin: 0 0 clamp(40px, 5vw, 64px) clamp(0px, 3vw, 40px); }
.bonus__foto { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; }
.bonus__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; }
.bonus__karte { position: absolute; left: clamp(-44px, -3vw, -16px); bottom: -13%; width: 40%; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; border: 6px solid var(--glass); box-shadow: 0 14px 34px rgba(0, 0, 0, .16); }
.bonus__karte img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 66%; transform: scale(1.35); }
.bonus__text { max-width: 540px; }
.bonus__text .h2 { margin-bottom: 18px; }
.bonus__text .body-l { margin-bottom: 26px; }
.bonus__band { display: flex; align-items: center; column-gap: 16px; margin: 0 0 22px; padding: 0 18px 0 0; background: var(--red); color: #fff; font-weight: 600; font-size: 17px; line-height: 1.3; border-radius: 3px; overflow: hidden; }
.bonus__band span { align-self: stretch; display: flex; align-items: center; padding: 14px 16px; background: var(--red-deep); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 960px) {
  .bonus__grid { grid-template-columns: 1fr; }
  .bonus__bilder { max-width: 380px; margin: 0 auto 56px; }
  .bonus__karte { left: -12px; }
}
@media (max-width: 420px) { .bonus__bilder { max-width: 300px; } .bonus__band { font-size: 15px; } .bonus__band span { padding: 12px; font-size: 12px; } }

/* 1.7.5 Fußzeile: Instagram- und Facebook-Logo */
.foot__social { display: flex; gap: 12px; margin-top: 26px; }
.foot .foot__social a { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--red); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.foot__social svg { width: 22px; height: 22px; display: block; }
.foot .foot__social a:hover { background: var(--red-deep); color: #fff; transform: translateY(-2px); text-decoration: none; }
.foot .foot__social a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 1.7.6 Geschichte: Filme zur Faschingshochzeit */
.filme { padding-top: var(--abstand); padding-bottom: var(--abstand); }
.filme__kopf { max-width: 640px; margin-bottom: 44px; }
.filme__kopf .h2 { margin-bottom: 14px; }
.filme__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.film__knopf { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.film__bild { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #1a1a1a; }
.film__bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.film__play { position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: background .2s; }
.film__play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.film__titel { display: block; margin-top: 16px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.film__text { margin: 8px 0 0; color: var(--stone); font-size: 15px; line-height: 1.55; }
.film__knopf:hover .film__bild img { transform: scale(1.04); }
.film__knopf:hover .film__play { background: var(--red-deep); }
.film__knopf:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.kino { width: fit-content; max-width: 94vw; padding: 0; border: 0; background: transparent; overflow: visible; }
.kino::backdrop { background: rgba(0, 0, 0, .86); }
.kino__in { position: relative; }
.kino__titel { margin: 0 56px 12px 0; color: #fff; font-size: 18px; font-weight: 700; }
.kino__zu { position: absolute; right: 0; top: -6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #1a1a1a; font-size: 28px; line-height: 1; cursor: pointer; }
.kino__video { display: block; width: auto; height: auto; max-width: 94vw; max-height: 78vh; min-width: min(320px, 94vw); margin: 0 auto; background: #000; border-radius: 3px; }
@media (max-width: 960px) { .filme__liste { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }
@media (max-width: 560px) { .filme__liste { grid-template-columns: 1fr; } }

/* 1.7.7 Formulare: Kontakt und Feier-Anfrage */
.formular { display: grid; gap: 18px; margin-top: 8px; }
.formular fieldset { border: 0; margin: 0 0 6px; padding: 0; display: grid; gap: 18px; }
.formular legend { padding: 0; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld { margin: 0; display: grid; gap: 7px; }
.feld label { font-size: 15px; font-weight: 600; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c9ceca; border-radius: 3px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.feld textarea { min-height: 130px; resize: vertical; }
.feld select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23984245' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(152, 66, 69, .16); }
.feld input::placeholder, .feld textarea::placeholder { color: #9a9d9b; }
.formular__check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--stone); cursor: pointer; }
.formular__check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.formular__check a { color: var(--ink); }
.formular__senden { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.formular__pflicht { font-size: 14px; color: var(--stone); }
.formular__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__meldung { padding: 16px 18px; border-radius: 3px; font-size: 16px; line-height: 1.5; }
.formular__meldung--ok { background: #e6f0e9; border-left: 4px solid #3d7a50; color: #1f4a2c; }
.formular__meldung--fehler { background: #f7e7e7; border-left: 4px solid var(--red); color: #6d2326; }
.kontaktform .two { align-items: start; }
.booking__form .formular { margin-top: 28px; }
@media (max-width: 960px) { .kontaktform .two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .formular__reihe { grid-template-columns: 1fr; } }

/* 1.7.9 – Startbild am Handy wie am PC: Bogenfenster mit Logo, beim Scrollen wächst es auf Vollbild.
   „Tisch reservieren“ steht bis 960 px unten fest am Bildschirm – im Startbild nicht doppelt. */
@media (max-width: 960px) {
  .hero-anim .hero__title { font-size: clamp(36px, 9vw, 56px); margin-bottom: 14px; }
  .hero-anim .hero__actions .button--red { display: none; }
  .hero-anim .hero__actions { margin-top: 18px; }
  .hero-anim .hero__final { padding-bottom: 92px; }
  .hero-anim .hero__hint { bottom: 82px; }
}

/* 1.8.3 – Team-Collage statt „Dein Wirt“ (Michis Wahl: Variante 4, 26.11.) */
.teamwand { background: var(--red); color: #fff; padding-top: var(--abstand); padding-bottom: var(--abstand); }
.teamwand__kopf { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.teamwand__kopf .h2 { margin: 0; }
.teamwand__kopf .body-l { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .92); }
/* PC (1.8.7): kompakt – oben Hochformat | Teamfoto mit Bogen | Hochformat, darunter Quer | Hoch | Quer. Jede Reihe gleich hoch, kein Foto beschnitten. */
.teamwand__raster { display: grid; gap: 12px; }
.teamwand__reihe { display: flex; gap: 12px; }
.teamwand__bild { margin: 0; position: relative; overflow: hidden; border-radius: 3px; background: rgba(0, 0, 0, .15); }
.teamwand__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teamwand__bild--hoch { flex: 0.6669 1 0; aspect-ratio: 1067 / 1600; }
.teamwand__bild--quer, .teamwand__bild--gross { flex: 1.5 1 0; aspect-ratio: 3 / 2; }
.teamwand__bild--gross { border-radius: 300px 300px 3px 3px / 110px 110px 3px 3px; }
.teamwand__bild figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 15px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.teamwand__bild--oben img { object-position: 50% 20%; }
.teamwand__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(26px, 3vw, 40px); }
.teamwand + .leben { padding-top: var(--abstand); }
@media (max-width: 960px) {
  .teamwand__kopf { grid-template-columns: 1fr; align-items: start; }
  .teamwand__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .teamwand__bild { aspect-ratio: auto; height: 170px; }
  .teamwand__bild--gross, .teamwand__reihe:last-child .teamwand__bild:first-child { grid-column: 1 / -1; order: -1; height: auto; aspect-ratio: 3 / 2; }
  .teamwand__bild--gross { border-radius: 120px 120px 3px 3px / 55px 55px 3px 3px; }
}
@media (min-width: 600px) and (max-width: 960px) { .teamwand__bild { height: 240px; } }
/* 1.8.7 – Fotostreifen am PC ohne Beschnitt, 3 Fotos je Reihe: Quer | Hoch | Quer, dann Hoch | Quer | Hoch */
@media (min-width: 961px) {
  .leben__raster { display: flex; flex-wrap: wrap; gap: 12px; }
  .leben__bild:nth-child(1), .leben__bild:nth-child(3) { flex: 0 0 calc(40.91% - 8px); aspect-ratio: 3 / 2; }
  .leben__bild:nth-child(2) { flex: 0 0 calc(18.18% - 8px); aspect-ratio: 1067 / 1600; }
  .leben__bild:nth-child(4), .leben__bild:nth-child(6) { flex: 0 0 calc(23.53% - 8px); aspect-ratio: 1067 / 1600; }
  .leben__bild:nth-child(5) { flex: 0 0 calc(52.94% - 8px); aspect-ratio: 3 / 2; }
}
@media (max-width: 960px) {
  .leben__bild:nth-child(1) { order: 1; } .leben__bild:nth-child(2) { order: 2; } .leben__bild:nth-child(4) { order: 3; }
  .leben__bild:nth-child(3) { order: 4; } .leben__bild:nth-child(5) { order: 5; } .leben__bild:nth-child(6) { order: 6; }
}

/* 1.8.9 – Handy-Menü: Kopfleiste bleibt sichtbar, Seite dahinter gesperrt, Schrift etwas kleiner */
html.menu-offen { overflow: hidden; }
html.menu-offen .top { position: fixed; left: 0; right: 0; top: 0; }
html.menu-offen body.admin-bar .top { top: 32px; }
html.menu-offen body.admin-bar .drawer { top: calc(var(--top) + 32px); }
@media (max-width: 782px) { html.menu-offen body.admin-bar .top { top: 0; } html.menu-offen body.admin-bar .drawer { top: var(--top); } }
.drawer { z-index: 49; padding-bottom: calc(40px + env(safe-area-inset-bottom)); gap: 26px; }
.drawer nav a { font-size: 28px; padding: 4px 0; }

/* 1.9.4 – Rundgang-Bild wird erst geladen, wenn der Abschnitt in die Nähe kommt (main.js setzt --bild); bis dahin dunkler Grund */
.rundgang__platz { --bild: none; }
.karte--tour .rundgang__platz { background-color: #3a3734; }

/* 1.9.5 – Fußtext auf Rot etwas heller, damit der Kontrast reicht (WCAG 4,5:1) */
.foot__soft { color: rgba(255, 255, 255, .82) !important; }
.foot__copy, .foot__copy p { color: rgba(255, 255, 255, .82); }
.foot .foot__credit { color: rgba(255, 255, 255, .82); }
.foot .foot__credit:hover { color: #fff; }
