@font-face {
  font-family: "Gloock";
  src: url("/assets/fonts/Gloock-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --nuss: #3A2618;
  --nuss-2: #5A3B24;
  --leinen: #EADFC8;
  --leinen-2: #F3EBDA;
  --beere: #6B2346;
  --kupfer: #D8A86A;
  --tinte: #23170F;
  --gedeckt: #CDBB9C;
  --rand: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 17px/1.65 "Inter", system-ui, sans-serif; color: var(--tinte); background: var(--leinen); }
::selection { background: var(--beere); color: var(--leinen); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--beere); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--beere); outline-offset: 3px; }
h1, h2, h3 { font-family: "Gloock", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }

.demo-hinweis { background: var(--tinte); color: var(--gedeckt); font-size: 12.5px; text-align: center; padding: 5px 16px; }

.knopf { display: inline-block; background: var(--leinen); color: var(--nuss); text-decoration: none; font-weight: 650; font-size: 15px;
  padding: 10px 18px; border-radius: 3px; white-space: nowrap; transition: background .2s, color .2s; }
.knopf:hover { background: var(--kupfer); color: var(--tinte); }
.blatt .knopf, .besuch .knopf { background: var(--nuss); color: var(--leinen); }
.blatt .knopf:hover { background: var(--beere); color: var(--leinen); }
.knopf.hell { background: var(--leinen); color: var(--nuss); }

/* Hero: Gemälde, Titel unten */
.hero { position: relative; min-height: min(88vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--leinen); overflow: hidden; }
.hero picture, .hero > .hero-bild { position: absolute; inset: 0; }
.hero picture img, .hero > .hero-bild { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,23,15,.25) 0%, rgba(35,23,15,.1) 40%, rgba(35,23,15,.88) 100%); }
.hero-text { position: relative; z-index: 1; padding: 130px var(--rand) 56px; max-width: 920px; }
.hero h1 { font-size: clamp(50px, 8vw, 116px); line-height: .95; margin: 0 0 20px; text-wrap: balance; }
.hero-text p { font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; margin: 0 0 14px; color: #F1E7D3; }
.hero-zeiten { font-size: 15px !important; color: var(--gedeckt) !important; }
.hero-zeiten a { color: var(--leinen); }
.nachweis { position: absolute; z-index: 1; right: 14px; bottom: 8px; margin: 0; font-size: 11px; color: rgba(241,231,211,.65); }

/* Blatt: zentrierte Speisekarten-Seite */
.blatt { max-width: 760px; margin: 0 auto; padding: 88px var(--rand); text-align: center; }
.blatt.breit { max-width: 1140px; }
.blatt h2 { font-size: clamp(40px, 5vw, 62px); line-height: 1; margin: 0; color: var(--nuss); }
.unter { color: var(--nuss-2); margin: 0 0 30px; }
.unter.gross { font-size: 19px; max-width: 34em; margin-left: auto; margin-right: auto; }
.leer { color: var(--nuss-2); font-style: italic; }

.mittag-tage { text-align: left; }
.mittag-tag { padding: 6px 0 10px; }
.mittag-tag + .mittag-tag { border-top: 1px solid rgba(58,38,24,.18); }
.mittag-tag h3 { font-size: 26px; color: var(--beere); margin: 22px 0 6px; display: flex; justify-content: space-between; align-items: baseline; }
.mittag-tag h3 span { font-family: "Inter", sans-serif; font-size: 14px; color: var(--nuss-2); letter-spacing: .04em; }

ul { list-style: none; margin: 0; padding: 0; }
.zeile { padding: 8px 0 4px; }
.zeile-kopf { display: flex; align-items: baseline; gap: 10px; font-size: 19px; }
.zeile .name { font-weight: 620; }
.zeile .punkte { flex: 1; min-width: 24px; border-bottom: 2px dotted rgba(58,38,24,.35); transform: translateY(-5px); }
.zeile .preis { font-variant-numeric: tabular-nums; font-weight: 620; }
.zeile .preis::after { content: " €"; font-weight: 400; }
.besch { color: var(--nuss-2); font-size: 15px; margin: 2px 0 0; text-wrap: pretty; }
.veg { display: inline-block; margin-left: 8px; font-size: 12px; padding: 0 7px; border: 1px solid currentColor; border-radius: 999px; color: #4F5B2E; }
.al { margin-left: 3px; font-size: 10.5px; letter-spacing: .08em; color: var(--beere); font-weight: 600; }
.ausv { margin-left: 8px; font-size: 12px; font-weight: 650; color: var(--beere); text-transform: uppercase; letter-spacing: .06em; }
.zeile.aus .name, .zeile.aus .preis { text-decoration: line-through; text-decoration-thickness: 1px; opacity: .6; }

/* Aus der Küche: drei Fotos als Band */
.kueche { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; background: var(--tinte); padding: 6px; }
.kueche figure { margin: 0; position: relative; height: clamp(200px, 26vw, 380px); overflow: hidden; }
.kueche picture { display: block; position: absolute; inset: 0; }
.kueche img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kueche figcaption { z-index: 1; }
.kueche img { object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.kueche figure:hover img { transform: scale(1.04); }
.kueche figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 10px; color: var(--leinen); font-family: "Gloock", serif; font-size: 20px; background: linear-gradient(180deg, transparent, rgba(35,23,15,.78)); }

/* Das Haus */
.haus { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--leinen-2); }
.haus-bild { margin: 0; position: relative; min-height: 420px; }
.haus-bild picture { display: block; position: absolute; inset: 0; }
.haus-bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.haus-bild figcaption { z-index: 1; }
.haus-bild img { object-fit: cover; }
.haus-bild figcaption { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: rgba(255,255,255,.75); }
.haus-text { padding: 80px var(--rand); align-self: center; max-width: 620px; }
.haus h2 { font-size: clamp(40px, 4.4vw, 56px); margin: 0 0 18px; color: var(--nuss); line-height: 1; }
.haus p { font-size: 18px; color: var(--nuss-2); }

/* Feiern: Beerenrot */
.feiern { background: var(--beere); color: var(--leinen); }
.feiern h2 { color: var(--leinen); }
.feiern .zier { color: var(--kupfer); }
.feiern .unter { color: #EBD3DC; }
.raeume { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 12px 0 36px; text-align: left; border-top: 1px solid rgba(234,223,200,.3); }
.raeume li { padding: 22px 24px 8px 0; }
.raeume li + li { padding-left: 24px; border-left: 1px solid rgba(234,223,200,.3); }
.raeume h3 { font-size: 28px; margin: 0; color: var(--leinen); }
.raeume .platz { color: var(--kupfer); font-weight: 600; margin: 2px 0 8px; }
.raeume p { margin: 0 0 8px; color: #F3E3E9; }
.feiern-aktion { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; }
.feiern-aktion a:not(.knopf) { color: var(--leinen); }

/* Besuch */
.besuch-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; margin: 0 0 32px; }
.besuch h3 { font-size: 24px; margin: 0 0 8px; color: var(--beere); }
.besuch dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.besuch dt { font-weight: 620; }
.besuch dd { margin: 0; color: var(--nuss-2); }

/* Unterseiten */
.seite { max-width: 46em; margin: 0 auto; padding: 64px var(--rand) 88px; }
.seite h1 { font-size: 48px; margin: 0 0 20px; color: var(--nuss); }
.seite h2 { font-size: 28px; margin: 36px 0 10px; color: var(--nuss); }
.nachweise li { margin: 0 0 10px; font-size: 15px; }

.fuss { background: var(--tinte); color: var(--gedeckt); padding: 40px var(--rand); font-size: 15px; }
.fuss-innen { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.fuss p { margin: 0; }
.fuss-name { color: var(--leinen); }
.fuss a { color: var(--leinen); }
.fuss nav { display: flex; gap: 18px; }


/* Logo: Hollerblüten-Dolde + Schriftzug */
.dolde circle { fill: currentColor; }
.dolde .stiel, .logo-dolde .stiel, .zier-dolde .stiel, .karte-dolde .stiel, .x .stiel { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .55; }
.logo-dolde circle, .zier-dolde circle, .karte-dolde circle, .x circle { fill: currentColor; }
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.logo-dolde { width: 38px; height: 38px; color: var(--kupfer); flex: none; }
.logo-schrift { display: flex; flex-direction: column; }
.logo-oben { font-size: 10px; letter-spacing: .38em; text-transform: uppercase; color: var(--gedeckt); margin-bottom: 3px; }
.logo-name { font-family: "Gloock", serif; font-size: 24px; letter-spacing: -0.01em; }
.fuss .logo-dolde { width: 46px; height: 46px; }
.fuss .logo-name { font-size: 28px; }

/* Zier: Linie — kleine Dolde — Linie */
.zier { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px auto 22px; color: var(--beere); }
.zier-linie { width: 46px; height: 1px; background: currentColor; opacity: .6; }
.zier-dolde { width: 26px; height: 26px; }
.karte .zier, .feiern .zier { color: var(--kupfer); }

/* Eröffnung: die Dolde blüht auf, dann hebt sich der Vorhang */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--nuss);
  color: var(--leinen); animation: vorhang .9s cubic-bezier(.7, 0, .2, 1) 1.55s forwards; pointer-events: none; }
.intro .logo { flex-direction: column; gap: 18px; text-align: center; }
.intro .logo-dolde { width: 132px; height: 132px; }
.intro .logo-schrift { align-items: center; opacity: 0; animation: auftauchen .7s ease-out .75s forwards; }
.intro .logo-oben { font-size: 12px; }
.intro .logo-name { font-size: 46px; }
.intro .logo-dolde circle { transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: bluehen .5s cubic-bezier(.2, 1.4, .4, 1) forwards; animation-delay: calc(var(--i) * 14ms); }
.intro .logo-dolde .stiel { stroke-dasharray: 60; stroke-dashoffset: 60; animation: stiel .6s ease-out forwards; }
.ohne-intro .intro { display: none; }
@keyframes bluehen { to { transform: scale(1); } }
@keyframes stiel { to { stroke-dashoffset: 0; } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes vorhang { to { transform: translateY(-100%); visibility: hidden; } }
.start .hero-text > * { animation: auftauchen .8s cubic-bezier(.16, 1, .3, 1) both; }
.start .hero-text > :nth-child(1) { animation-delay: 1.9s; }
.start .hero-text > :nth-child(2) { animation-delay: 2.05s; }
.start .hero-text > :nth-child(3) { animation-delay: 2.2s; }
.ohne-intro .start .hero-text > * { animation-delay: 0s; animation-duration: .5s; }

/* Speisekarte: aufgeklappte gedruckte Karte auf dunklem Holz */
.karte { background-color: var(--nuss);
  background-image: repeating-linear-gradient(92deg, rgba(0,0,0,.06) 0 2px, transparent 2px 9px),
                    repeating-linear-gradient(88deg, rgba(255,255,255,.025) 0 1px, transparent 1px 23px);
  padding: 88px var(--rand); }
.karte-blatt { position: relative; max-width: 1120px; margin: 0 auto; background: var(--leinen-2); color: var(--tinte);
  padding: 64px clamp(22px, 5vw, 72px) 44px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 2px 0 rgba(0,0,0,.2);
  outline: 1px solid rgba(58,38,24,.45); outline-offset: -14px; }
.karte-blatt::before { content: ""; position: absolute; inset: 20px; border: 3px double rgba(58,38,24,.35); pointer-events: none; }
.karte-kopf { text-align: center; margin-bottom: 36px; }
.karte-dolde { width: 54px; height: 54px; color: var(--beere); }
.karte-kopf h2 { font-size: clamp(44px, 6vw, 72px); margin: 4px 0 2px; color: var(--nuss); }
.karte-unter { margin: 0 0 22px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--nuss-2); }
.sprung { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.sprung a { color: var(--nuss-2); text-decoration: none; border-bottom: 1px solid transparent; }
.sprung a:hover { color: var(--beere); border-color: var(--beere); }
.karte-seiten { columns: 2; column-gap: 96px; column-rule: 1px solid rgba(58,38,24,.18); position: relative; }
.kategorie { break-inside: avoid; margin: 0 0 34px; }
.kategorie h3 { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--beere); margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.kategorie h3::after { content: ""; flex: 1; height: 1px; background: rgba(107,35,70,.35); }
.kat-hinweis { margin: 0 0 6px; font-size: 14px; color: var(--nuss-2); font-style: italic; }
.karte .zeile .name { font-family: "Gloock", serif; font-weight: 400; font-size: 21px; letter-spacing: 0; }
.legende { font-size: 13px; color: var(--nuss-2); border-top: 1px solid rgba(58,38,24,.18); padding-top: 18px; margin: 10px 0 0; text-align: center; }
.legende b { color: var(--beere); font-weight: 700; }

@media (max-width: 860px) {
  .karte { padding: 40px 10px; }
  .karte-blatt { padding: 48px 26px 32px; outline-offset: -8px; }
  .karte-blatt::before { inset: 12px; }
  .karte-seiten { columns: 1; }
  .logo-dolde { width: 32px; height: 32px; }
  .logo-name { font-size: 20px; }
  .logo-oben { font-size: 9px; }
}

/* ---------- Navigation: gedrucktes Schild im Stil der Speisekarte ---------- */
.kopf-b { position: sticky; top: 12px; z-index: 20; padding: 0 var(--rand); }
.start .kopf-b { margin-bottom: -84px; }
.kopf-b-schild { position: relative; max-width: 1140px; margin: 12px auto 0; display: flex; align-items: center; gap: 26px;
  padding: 12px 14px 12px 22px; background: var(--leinen-2); color: var(--nuss);
  outline: 1px solid rgba(58,38,24,.5); outline-offset: -5px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.55); }
.kopf-b-schild::before { content: ""; position: absolute; inset: 8px; border: 3px double rgba(58,38,24,.28); pointer-events: none; }
.kopf-b .wortmarke { color: var(--nuss); }
.kopf-b .logo-dolde { color: var(--beere); }
.kopf-b .logo-oben { color: var(--nuss-2); }
.kopf-b-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; font-family: "Gloock", serif; font-size: 18px; }
.kopf-b-nav i { font-style: normal; color: var(--beere); opacity: .6; }
.kopf-b-nav a { color: var(--nuss); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.kopf-b-nav a:hover { color: var(--beere); border-color: var(--beere); }
.kopf-b .knopf { position: relative; background: var(--beere); color: var(--leinen); border-radius: 0; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; padding: 12px 18px; outline: 1px solid rgba(243,235,218,.55); outline-offset: -4px; }
.kopf-b .knopf:hover { background: var(--nuss); color: var(--leinen); }
.handy-leiste { display: none; }

@media (max-width: 860px) {
  .kopf-b { top: 8px; padding: 0 10px; }
  .start .kopf-b { margin-bottom: -70px; }
  .kopf-b-schild { gap: 12px; padding: 8px 8px 8px 12px; }
  .kopf-b-nav, .kopf-b .knopf { display: none; }
  .handy-leiste { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30;
    background: var(--leinen-2); outline: 1px solid rgba(58,38,24,.5); outline-offset: -4px; box-shadow: 0 10px 30px rgba(0,0,0,.4); overflow: hidden; }
  .handy-leiste a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; color: var(--nuss);
    text-decoration: none; font-family: "Gloock", serif; font-size: 15px; }
  .handy-leiste a + a { border-left: 1px solid rgba(58,38,24,.2); }
  .handy-leiste svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  .handy-leiste .handy-haupt { background: var(--beere); color: var(--leinen); }
  .fuss { padding-bottom: 96px; }
    background: var(--leinen-2); border-top: 1px solid rgba(58,38,24,.3); }
    font-size: 11px; letter-spacing: .1em; }
}


@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .start .hero-text > * { animation: none; }
}

@media (max-width: 860px) {
  .knopf { padding: 8px 14px; font-size: 14px; }
  .hero { min-height: min(78vh, 640px); }
  .hero-text { padding-bottom: 40px; }
  .blatt { padding-top: 64px; padding-bottom: 64px; }
  .kueche { grid-template-columns: 1fr 1fr; }
  .kueche figure:first-child { grid-column: 1 / -1; }
  .karte-spalten { columns: 1; }
  .haus { grid-template-columns: 1fr; }
  .haus-bild { min-height: 300px; }
  .haus-text { padding-top: 48px; padding-bottom: 56px; }
  .raeume { grid-template-columns: 1fr; }
  .raeume li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(234,223,200,.3); }
  .besuch-spalten { grid-template-columns: 1fr; gap: 24px; }
  .zeile-kopf { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .kueche img { transition: none; } }
