:root {
  --ink: #211d1a;
  --paper: #f6f1e8;
  --paper-2: #ece3d5;
  --wine: #8d1c24;
  --gold: #b89555;
  --accent: var(--wine);
  --accent-2: var(--gold);
  --deep: #251c1a;
  --max: 1180px;
  --radius: 2px;
  --shadow: 0 24px 70px rgb(31 22 17 / .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
p { margin: 0 0 1.2rem; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.03; }
h1 { max-width: 930px; font-size: clamp(3rem, 8vw, 7.5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.35rem, 5vw, 4.8rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: -.025em; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: #f0d7aa; }
.kicker { max-width: 690px; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.55; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  padding: 24px 0;
  border-bottom: 1px solid rgb(255 255 255 / .38);
  color: white;
}
.header-brand {
  display: block;
  flex: 0 0 auto;
  width: min(235px, 40vw);
}
.site-header .header-brand img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 3px 10px rgb(0 0 0 / .2)); }
.header-links { display: flex; align-items: center; gap: 22px; }
.header-link { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.header-link:hover { color: #f0d7aa; }

.hero {
  position: relative;
  min-height: min(880px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; object-position: var(--hero-position, center); }
.hero-shade { background: linear-gradient(90deg, rgb(15 10 8 / .83) 0%, rgb(15 10 8 / .45) 52%, rgb(15 10 8 / .16) 100%), linear-gradient(0deg, rgb(15 10 8 / .55), transparent 50%); }
.hero-copy { position: relative; z-index: 2; padding: clamp(150px, 22vh, 230px) 0 clamp(72px, 12vh, 130px); }
.hero-copy em { color: #f0d7aa; font-style: italic; }
.hero-copy .kicker { margin-top: 1.4rem; color: rgb(255 255 255 / .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 54px;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: #a42831; }
.button.ghost { border-color: rgb(255 255 255 / .65); background: transparent; }
.button.ghost:hover { background: #fff; color: var(--ink); }
.button.pale { background: var(--paper); color: var(--ink); }
.button.pale:hover { background: #fff; }

.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; padding-block: clamp(76px, 11vw, 140px); }
.intro-copy { max-width: 720px; }
.intro-copy p:first-child { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.8vw, 2.25rem); line-height: 1.35; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgb(33 29 26 / .2); }
.proof { padding: 34px 24px; border-right: 1px solid rgb(33 29 26 / .2); }
.proof:last-child { border-right: 0; }
.proof strong { display: block; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; line-height: 1; }
.proof span { display: block; margin-top: .65rem; font-size: .86rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

.feature-section { padding-block: clamp(82px, 12vw, 150px); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 8vw; margin-bottom: 48px; }
.section-head p { max-width: 590px; margin-bottom: .35rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(33 29 26 / .2); }
.feature-card { padding: 32px 28px 0 0; }
.feature-card + .feature-card { padding-left: 28px; border-left: 1px solid rgb(33 29 26 / .2); }
.feature-card .number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 4rem; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); font-size: .75rem; font-weight: 800; }
.feature-card p { margin-top: 1rem; }
.feature-card a { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.image-story { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 690px; background: var(--deep); color: #fff; }
.story-image { min-height: 520px; }
.story-image img { height: 100%; object-fit: cover; object-position: var(--story-position, center); }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 100px); }
.story-copy p:not(.eyebrow) { max-width: 540px; color: rgb(255 255 255 / .82); }
.story-copy h2 { margin-bottom: 1.5rem; }
.story-copy .button { align-self: flex-start; margin-top: .6rem; }

.gallery-section { padding-block: clamp(82px, 12vw, 150px); }
.gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(230px, 310px)); gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; background: #ddd; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption { position: absolute; inset: auto 18px 18px; padding: .5rem .7rem; background: rgb(22 15 13 / .78); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.identity { padding-block: clamp(85px, 13vw, 160px); background: var(--accent); color: #fff; text-align: center; }
.identity-logo {
  width: min(330px, 76vw);
  margin: 0 auto 2.5rem;
}
.identity-logo img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 3px 12px rgb(52 18 12 / .16)); }
.identity h2 { max-width: 780px; margin-inline: auto; }
.identity p { margin: 1.4rem auto 2rem; max-width: 650px; color: rgb(255 255 255 / .84); }

.site-footer { background: #171311; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; padding-block: 52px; }
.footer-brand {
  display: block;
  width: min(215px, 62vw);
}
.footer-brand img { width: 100%; height: auto; object-fit: contain; }
.footer-address { margin-top: .8rem; color: rgb(255 255 255 / .7); }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 14px 22px; }
.footer-links a { color: rgb(255 255 255 / .78); font-size: .8rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-base { padding: 18px 0 28px; border-top: 1px solid rgb(255 255 255 / .12); color: rgb(255 255 255 / .45); font-size: .74rem; }

body[data-theme="event"] { --accent: #8d1c24; --deep: #2c171a; --hero-position: center 35%; }
body[data-theme="wineplace"] { --accent: #7a5a21; --accent-2: #d0ad69; --deep: #211d18; --hero-position: center 44%; }
body[data-theme="vinothek"] { --accent: #315e5e; --deep: #182424; --hero-position: center 52%; }
body[data-theme="ahrtal"] { --accent: #764029; --deep: #1f2b20; --hero-position: center 42%; }
body[data-theme="restaurant"] { --accent: #9a3b2e; --deep: #2a201b; --hero-position: center 50%; }
body[data-theme="whisky"] { --accent: #b97b25; --paper: #15191c; --paper-2: #22272b; --ink: #f5efe4; --deep: #0c1216; --hero-position: center 35%; }
body[data-theme="whisky"] .intro,
body[data-theme="whisky"] .feature-section,
body[data-theme="whisky"] .gallery-section { color: #f5efe4; }
body[data-theme="whisky"] .proof-strip,
body[data-theme="whisky"] .feature-grid { border-color: rgb(255 255 255 / .2); }
body[data-theme="whisky"] .proof,
body[data-theme="whisky"] .feature-card + .feature-card { border-color: rgb(255 255 255 / .2); }
body[data-theme="whisky"] .gallery figcaption { background: rgb(0 0 0 / .78); }
body[data-theme="genuss"] { --accent: #79262a; --deep: #2b1b18; --hero-position: center 48%; }

.award-seal { display: inline-grid; place-items: center; width: 132px; aspect-ratio: 1; margin-top: 2rem; border: 1px solid rgb(255 255 255 / .7); border-radius: 50%; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.15; text-align: center; transform: rotate(-6deg); }
.menu-thumb { object-position: top center !important; }

.overview { background: #eee8de; }
.overview-header { padding: 76px 0 46px; }
.overview-header h1 { max-width: 1100px; font-size: clamp(3rem, 7vw, 6.7rem); color: #2b2220; }
.overview-header p { max-width: 720px; margin-top: 1.5rem; font-size: 1.15rem; }
.overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 100px; }
.overview-card { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.overview-card img, .overview-card::after { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.overview-card::after { content: ""; background: linear-gradient(0deg, rgb(14 10 8 / .88), rgb(14 10 8 / .05) 70%); }
.overview-card div { position: relative; z-index: 1; padding: 34px; }
.overview-card span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.overview-card h2 { margin-top: .35rem; font-size: clamp(2rem, 4vw, 3.6rem); }
.overview-card p { max-width: 520px; color: rgb(255 255 255 / .78); }
.overview-card:hover img { transform: scale(1.02); transition: transform .5s ease; }
.overview-footer { padding: 30px 0; background: #1c1715; color: #fff; text-align: center; }

@media (max-width: 800px) {
  .wrap { width: min(100% - 30px, var(--max)); }
  .site-header { width: calc(100% - 30px); padding-top: 18px; }
  .header-brand { width: 185px; }
  .header-links { gap: 12px; }
  .header-link:first-child { display: none; }
  .hero { min-height: 780px; }
  .hero-shade { background: linear-gradient(0deg, rgb(15 10 8 / .9) 0%, rgb(15 10 8 / .36) 75%, rgb(15 10 8 / .42) 100%); }
  .intro, .section-head, .image-story, .footer-inner { grid-template-columns: 1fr; }
  .intro { gap: 2rem; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof { padding-inline: 0; border-right: 0; border-bottom: 1px solid rgb(33 29 26 / .2); }
  .proof:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 0; }
  .feature-card + .feature-card { padding-left: 0; border-left: 0; border-top: 1px solid rgb(33 29 26 / .2); }
  .feature-card .number { margin-bottom: 2.2rem; }
  .image-story { min-height: 0; }
  .story-image { min-height: 420px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 460px 280px 280px; }
  .gallery figure:first-child { grid-row: auto; }
  .footer-links { justify-content: flex-start; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-card { min-height: 390px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .header-brand { width: 145px; }
  .header-link { font-size: .67rem; }
  .hero { min-height: 720px; }
  .button { width: 100%; }
  .gallery { grid-template-rows: 360px 240px 240px; }
  .story-image { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
