/* =========================================================
   Getränke Koch Pforzheim — Redesign Demo
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --red: #c8102e;
  --red-600: #a80c25;
  --red-800: #7d0a1c;
  --ink: #16110f;
  --ink-700: #3a312d;
  --ink-500: #6b5f59;
  --cream: #fbf7f2;
  --cream-2: #f3ece3;
  --gold: #d9a441;
  --line: rgba(22, 17, 15, .12);
  --white: #fff;

  --shadow-s: 0 1px 2px rgba(22,17,15,.06), 0 2px 8px rgba(22,17,15,.06);
  --shadow-m: 0 4px 12px rgba(22,17,15,.07), 0 18px 40px -18px rgba(22,17,15,.28);
  --shadow-l: 0 8px 24px rgba(22,17,15,.09), 0 40px 80px -30px rgba(22,17,15,.4);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --r-xl: 36px;

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --sec: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { text-wrap: pretty; }

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-wide { width: min(1400px, 100% - var(--gut) * 2); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Eyebrow / heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px;
}
.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-500); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .97rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px -8px rgba(200,16,46,.8); }
.btn--primary:hover { background: var(--red-600); box-shadow: 0 14px 30px -10px rgba(200,16,46,.75); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--red); text-decoration: none; font-size: .96rem;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.72);
  font-size: .8rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; align-items: center; gap: 22px; }
.topbar__list span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; opacity: .7; }
@media (max-width: 860px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,242,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22,17,15,.6); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 46px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--ink);
  letter-spacing: -.02em;
}
.brand__tag { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-500); }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav__menu a {
  position: relative; display: block; padding: 9px 14px; border-radius: 999px;
  text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-700);
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav__menu a:hover { color: var(--ink); background: rgba(22,17,15,.05); }
.nav__menu a[aria-current="page"] { color: var(--red); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .55;
}
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--shadow-m); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { padding: 10px 14px; border-radius: 10px; font-size: .9rem; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 19px; height: 1.8px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1240px) { .nav__actions .btn--ghost { display: none; } }
@media (max-width: 1080px) {
  .nav__menu { display: none; }
  .burger { display: inline-flex; }
}
/* Auf schmalen Displays übernimmt die Leiste am unteren Rand die Aktionen */
@media (max-width: 640px) {
  .nav { gap: 12px; }
  .nav__actions .btn { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 1.05rem; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--cream);
  padding: calc(var(--header-h) + 28px) var(--gut) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
body.nav-open .drawer { opacity: 1; visibility: visible; transform: translateY(0); }
body.nav-open { overflow: hidden; }
.drawer ul { list-style: none; padding: 0; }
.drawer > ul > li { border-bottom: 1px solid var(--line); }
.drawer > ul > li > a {
  display: block; padding: 17px 0; text-decoration: none;
  font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); font-weight: 600;
}
.drawer > ul > li > a[aria-current="page"] { color: var(--red); }
.drawer .sub-m { padding: 0 0 14px 2px; display: flex; flex-wrap: wrap; gap: 8px; }
.drawer .sub-m a {
  text-decoration: none; font-size: .88rem; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink-700);
}
.drawer .sub-m a[aria-current="page"] { border-color: var(--red); color: var(--red); font-weight: 600; }
.drawer__cta { margin-top: 30px; display: grid; gap: 12px; }
.drawer__cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-bottom: 72px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 15% 40%, rgba(22,17,15,.92) 0%, rgba(22,17,15,.55) 45%, rgba(22,17,15,.25) 75%),
    linear-gradient(to top, rgba(22,17,15,.96) 2%, rgba(22,17,15,0) 55%);
}
.hero__inner {
  position: relative; padding-block: clamp(80px, 13vw, 168px);
  display: grid; gap: 46px; align-items: end; grid-template-columns: 1.35fr .65fr;
}
@media (max-width: 940px) { .hero__inner { grid-template-columns: 1fr; align-items: start; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); font-variation-settings: "SOFT" 40, "WONK" 1; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero__lead { color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.7vw, 1.24rem); max-width: 54ch; margin-top: 24px; }
.hero .btn-row { margin-top: 38px; }

.hero__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-l); padding: 26px 28px; backdrop-filter: blur(12px);
}
.hero__card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.hero__card .status {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.status--open { background: rgba(58,190,120,.18); color: #6ce3a4; }
.status--closed { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--open .dot { animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
.hours { list-style: none; padding: 0; font-size: .92rem; color: rgba(255,255,255,.76); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hours li:first-child { border-top: 0; }
.hours b { color: #fff; font-weight: 600; text-align: right; }
@media (max-width: 430px) {
  .hours li { flex-direction: column; gap: 2px; align-items: flex-start; }
  .hours b { text-align: left; }
}
.hours li.is-today > span::after {
  content: " · heute"; margin-left: 6px; font-size: .74em; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}

.hero__strip {
  position: relative; border-top: 1px solid rgba(255,255,255,.13);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__strip div { padding: 26px 8px 30px; text-align: center; border-left: 1px solid rgba(255,255,255,.13); }
.hero__strip div:first-child { border-left: 0; }
.hero__strip b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.hero__strip span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 700px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip div:nth-child(3) { border-left: 0; }
  .hero__strip div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); }
}

/* ---------- Page header (subpages) ---------- */
.pagehead { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.pagehead__bg { position: absolute; inset: 0; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.pagehead__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(22,17,15,.95), rgba(22,17,15,.6));
}
.pagehead__inner { position: relative; padding-block: clamp(56px, 9vw, 108px); }
.pagehead:has(+ .quick) { padding-bottom: 72px; }
.pagehead h1 { color: #fff; }
.pagehead p { color: rgba(255,255,255,.75); margin-top: 18px; max-width: 60ch; font-size: 1.08rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* ---------- Quick actions ---------- */
.quick { position: relative; margin-top: -72px; z-index: 2; }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .quick__grid { grid-template-columns: 1fr; } }
.qcard {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 24px 26px; box-shadow: var(--shadow-m);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.qcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: rgba(200,16,46,.35); }
.qcard__icon {
  width: 52px; height: 52px; flex: none; border-radius: 16px;
  display: grid; place-items: center; background: var(--cream-2); color: var(--red);
  transition: background .3s, color .3s;
}
.qcard:hover .qcard__icon { background: var(--red); color: #fff; }
.qcard__icon svg { width: 24px; height: 24px; }
.qcard b { display: block; font-family: var(--font-display); font-size: 1.16rem; color: var(--ink); }
.qcard span { font-size: .88rem; color: var(--ink-500); }

/* ---------- Feature cards ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 940px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 32px 30px 34px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red);
  transition: width .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.card:hover::after { width: 100%; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--cream-2);
  display: grid; place-items: center; color: var(--red); margin-bottom: 22px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; color: var(--ink-500); }
.card .link-arrow { margin-top: 18px; }
.card--photo { padding: 0; }
.card--photo img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card--photo .card__body { padding: 28px 30px 32px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--wide-media { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split--wide-media { grid-template-columns: 1fr; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-l); box-shadow: var(--shadow-m); width: 100%; }
.split__media--stack { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.split__media--stack img:first-child { grid-column: 1 / -1; }
.media-badge {
  position: absolute; bottom: -22px; right: -14px;
  background: var(--red); color: #fff; border-radius: var(--r-m);
  padding: 16px 22px; box-shadow: var(--shadow-m); text-align: center;
}
.media-badge b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.media-badge span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
@media (max-width: 900px) { .media-badge { right: 12px; } }

/* ---------- Ticklist ---------- */
.ticks { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 26px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks--light li { color: rgba(255,255,255,.82); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 12px; padding-right: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-700);
  padding: 10px 20px; border-radius: 999px; font-size: .92rem; font-weight: 500; white-space: nowrap;
}
.marquee--2 .marquee__track { animation-duration: 58s; animation-direction: reverse; }

/* ---------- Sortiment tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 11px 22px; font-size: .92rem; font-weight: 500; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.searchbox { position: relative; max-width: 420px; margin-bottom: 28px; }
.searchbox input {
  width: 100%; padding: 15px 18px 15px 48px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .96rem;
  transition: border-color .25s, box-shadow .25s;
}
.searchbox input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.12); }
.searchbox svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-500); }

.brandgroup { margin-bottom: 52px; scroll-margin-top: 110px; }
.brandgroup__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brandgroup__head h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.brandgroup__head span { font-size: .82rem; color: var(--ink-500); }
.brandlist { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.brandlist li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 18px; font-size: .93rem; color: var(--ink-700);
  transition: transform .25s var(--ease), border-color .25s, color .25s, box-shadow .25s;
}
.brandlist li:hover { transform: translateY(-3px); border-color: rgba(200,16,46,.4); color: var(--ink); box-shadow: var(--shadow-s); }
.brandlist li em { font-style: normal; color: var(--ink-500); font-size: .84em; }
.is-hidden { display: none !important; }
.empty-note { color: var(--ink-500); font-style: italic; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 116px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--line) 8%, var(--line) 92%, transparent);
}
@media (max-width: 720px) { .timeline::before { left: 9px; } }
.tl-item { position: relative; display: grid; grid-template-columns: 116px 1fr; gap: 40px; padding-block: 22px; }
@media (max-width: 720px) { .tl-item { grid-template-columns: 1fr; gap: 12px; padding-left: 38px; } }
.tl-year {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--red);
  text-align: right; padding-top: 2px; padding-right: 26px;
}
@media (max-width: 720px) { .tl-year { text-align: left; padding-right: 0; } }
.tl-item::before {
  content: ""; position: absolute; left: 110px; top: 32px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--cream); border: 3px solid var(--red); z-index: 1;
}
@media (max-width: 720px) { .tl-item::before { left: 3px; top: 12px; } }
.tl-body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.tl-body p { color: var(--ink-500); font-size: 1rem; }

/* ---------- Dark section ---------- */
.dark { background: var(--ink); color: rgba(255,255,255,.75); }
.dark h2, .dark h3 { color: #fff; }
/* helle Karten behalten auch in dunklen Sektionen dunkle Überschriften */
.dark .card h3, .dark .infocard h3 { color: var(--ink); }
.dark .lead { color: rgba(255,255,255,.7); }
.dark .eyebrow { color: var(--gold); }
.dark .eyebrow::before { background: var(--gold); }

/* ---------- Contact / location ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.infocard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 30px 32px; box-shadow: var(--shadow-s);
}
.infocard + .infocard { margin-top: 18px; }
.infocard h3 { font-size: 1.18rem; margin-bottom: 16px; }
.infocard address { font-style: normal; line-height: 1.8; }
.infocard a:not(.btn) { color: var(--red); text-decoration: none; font-weight: 500; }
.infocard a:not(.btn):hover { text-decoration: underline; }
.hours--light { color: var(--ink-700); }
.hours--light li { border-top-color: var(--line); }
.hours--light b { color: var(--ink); }
.hours--light li.is-today > span::after { color: var(--red); }

/* Status-Chip auf hellem Grund */
.infocard .status--open { background: rgba(24,140,86,.12); color: #157a4c; }
.infocard .status--closed { background: rgba(22,17,15,.07); color: var(--ink-500); }

.map-embed { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-m); background: var(--cream-2); }
.map-embed iframe { display: block; width: 100%; height: 460px; border: 0; }
.map-embed--tall iframe { height: 560px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: #fff; font-size: .97rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.12);
}
.form__note { font-size: .84rem; color: var(--ink-500); }
.form__note a { color: var(--red); }
.demo-hint {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff7e8; border: 1px solid #f0d9a8; color: #7a5a16;
  padding: 14px 18px; border-radius: var(--r-m); font-size: .88rem;
}
.demo-hint svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure { margin: 0; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-s); background: #fff; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 14px 18px; font-size: .86rem; color: var(--ink-500); }

.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 24px; }
@media (max-width: 620px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-grid img { border-radius: var(--r-m); box-shadow: var(--shadow-m); border: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(115deg, var(--red-800), var(--red) 55%, #e0344c);
  color: #fff; padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 68px);
  box-shadow: var(--shadow-l);
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 68%);
}
.cta::before { width: 420px; height: 420px; top: -180px; right: -100px; }
.cta::after { width: 320px; height: 320px; bottom: -180px; left: -60px; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { color: #fff; max-width: 16ch; }
.cta p { color: rgba(255,255,255,.85); margin-top: 14px; max-width: 46ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__grid h4 {
  color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px;
}
.footer__grid ul { list-style: none; padding: 0; display: grid; gap: 11px; font-size: .93rem; }
.footer__grid a { text-decoration: none; transition: color .2s; }
.footer__grid a:hover { color: #fff; }
.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer__brand img { width: 52px; height: 52px; }
.footer__brand b { font-family: var(--font-display); font-size: 1.2rem; color: #fff; display: block; }
.footer__brand span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.footer__grid address { font-style: normal; font-size: .93rem; line-height: 1.85; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); transition: background .25s, color .25s, transform .25s;
}
.socials a:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.45);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Mobile sticky bar ---------- */
.mobilebar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; gap: 8px; padding: 8px;
  background: rgba(22,17,15,.92); backdrop-filter: blur(14px);
  border-radius: 18px; box-shadow: var(--shadow-l);
}
.mobilebar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 4px; border-radius: 12px; text-decoration: none;
  color: rgba(255,255,255,.85); font-size: .7rem; font-weight: 600;
}
.mobilebar a svg { width: 19px; height: 19px; }
.mobilebar a:active { background: rgba(255,255,255,.12); }
.mobilebar a.is-primary { background: var(--red); color: #fff; }
@media (max-width: 760px) {
  .mobilebar { display: flex; }
  .site-footer { padding-bottom: 84px; }
}

/* ---------- Legal pages ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 44px; margin-bottom: 14px; }
.prose h3 { font-size: 1.15rem; margin-top: 30px; margin-bottom: 10px; }
.prose p { margin-bottom: 16px; }
.prose p + p { margin-top: 0; }
.prose ol { padding-left: 22px; display: grid; gap: 18px; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose a { color: var(--red); }

/* ---------- Zugangsschutz (Demo) ---------- */
html.is-locked, html.is-locked body { height: 100%; overflow: hidden; }
html.is-locked body > *:not(#gate) { display: none !important; }

.gate {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; padding: 24px;
  background: var(--ink);
  background-image:
    radial-gradient(90% 70% at 50% 0%, rgba(200,16,46,.32), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(217,164,65,.14), transparent 65%);
  overflow-y: auto;
}
.gate__card {
  width: min(420px, 100%);
  background: var(--cream);
  border-radius: var(--r-l);
  padding: clamp(30px, 5vw, 44px) clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-l);
  text-align: center;
}
.gate__card.is-wrong { animation: gate-shake .4s var(--ease); }
@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
.gate__title { font-size: 1.6rem; margin-bottom: 12px; }
.gate__text { font-size: .95rem; color: var(--ink-500); margin-bottom: 26px; }
.gate__label {
  display: block; text-align: left; font-size: .8rem; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.gate__input {
  width: 100%; padding: 14px 16px; border-radius: var(--r-s);
  border: 1px solid var(--line); background: #fff; font-size: 1rem;
  letter-spacing: .08em; text-align: center;
  transition: border-color .25s, box-shadow .25s;
}
.gate__input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.12); }
.gate__error { margin-top: 12px; font-size: .86rem; color: var(--red); font-weight: 500; }
.gate__btn { width: 100%; margin-top: 20px; }

/* ---------- Reveal animation ----------
   Der Startzustand gilt nur, wenn JS läuft (html.js). Ohne JS bleibt alles sichtbar. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }
