/* Petit Café – Stil angelehnt an das Original (Rosa-Theme): Anthrazit, Gold, Script + Versalien */
:root {
  --dark: #252525;
  --darker: #121212;
  --gold: #c59d5f;
  --gold-dark: #a8823f;
  --text: #515151;
  --light: #f7f5f1;
  --line: #e4e0d8;
  --white: #fff;
  --head: 'Cabin', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Source Sans 3', Georgia, serif;
  --script: 'Herr Von Muellerhoff', 'Snell Roundhand', cursive;
  --max: 1180px;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 1.125rem/1.75 var(--body); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: var(--gold-dark); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--head); color: var(--dark); font-weight: 500; line-height: 1.2; }
h1, h2, h3, p, li, address, label { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
a[href^="mailto:"], a[href^="http"] { overflow-wrap: anywhere; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--white); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: #8a8a8a; }
.small { font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); background: rgba(18,18,18,.0); transition: background .3s, box-shadow .3s; }
.site-header.is-solid, .has-notice .site-header, .page-impressum .site-header, .page-datenschutz .site-header { background: rgba(18,18,18,.96); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header__inner { width: min(100% - 2.5rem, var(--max)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: baseline; gap: .5rem; color: var(--white); line-height: 1; }
.logo:hover { color: var(--white); text-decoration: none; }
.logo__name { font: 500 1.35rem var(--head); text-transform: uppercase; letter-spacing: .25em; }
.logo__since { font: 2.1rem var(--script); color: var(--gold); transform: translateY(.2rem); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.4rem; }
.nav a { font: 500 .85rem var(--head); color: var(--white); text-transform: uppercase; letter-spacing: .2em; padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); text-decoration: none; border-bottom-color: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .js .nav-toggle { display: block; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--white); content: ''; transition: transform .25s, background .25s; }
  .nav-toggle__bar { top: 21px; }
  .nav-toggle__bar::before { left: 0; top: -7px; }
  .nav-toggle__bar::after { left: 0; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
  .js .nav { position: fixed; inset: var(--header) 0 auto; background: rgba(18,18,18,.98); padding: 1.5rem 0 2rem; display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: center; gap: 1.2rem; }
  .site-header { background: rgba(18,18,18,.96); }
  .logo__name { font-size: 1.05rem; letter-spacing: .2em; }
}

.notice { position: relative; z-index: 40; margin-top: var(--header); background: var(--gold); color: var(--white); text-align: center; padding: .7rem 1.25rem; font: 500 .95rem var(--head); letter-spacing: .05em; }
.has-notice .hero { padding-top: 4rem; }
.has-notice .hero--full { min-height: calc(100svh - var(--header) - 2.6rem); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: clamp(380px, 62vh, 680px); padding: calc(var(--header) + 3rem) 1.25rem 4rem; overflow: hidden; background: var(--darker); color: var(--white); text-align: center; isolation: isolate; }
.hero--full { min-height: 100vh; min-height: 100svh; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,.35) 45%, rgba(18,18,18,.7) 100%); }
.hero--plain { background: radial-gradient(ellipse at 50% 30%, #3a332a 0%, #1b1916 55%, #0e0d0c 100%); }
.hero--plain::after { background: repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px); }
.page-impressum .hero, .page-datenschutz .hero { min-height: 38vh; }
.hero__content { max-width: 820px; }
.hero__text { font-size: 1.25rem; color: rgba(255,255,255,.88); }
.hero__text p:last-child { margin-bottom: 0; }
.hero .btn { margin-top: 2rem; }
.hero__down { position: absolute; bottom: 2rem; left: 50%; width: 22px; height: 22px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translateX(-50%) rotate(45deg); opacity: .7; animation: bob 2.2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px) rotate(45deg); } }

/* ---------- Überschriften im Original-Stil ---------- */
.headline { margin: 0; display: flex; flex-direction: column; align-items: center; }
.headline__script { font: 400 clamp(4rem, 9vw, 7.5rem)/.7 var(--script); color: var(--gold); text-transform: none; letter-spacing: 0; position: relative; z-index: 1; }
.headline__title { font: 500 clamp(2rem, 5vw, 3.6rem)/1.1 var(--head); text-transform: uppercase; letter-spacing: .18em; margin-top: -.15em; padding-left: .18em; }
.headline--light .headline__title { color: var(--white); }
.hero--full .headline__script { font-size: clamp(5rem, 12vw, 10rem); }
.hero--full .headline__title { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.subhead { font: 500 1.05rem var(--head); text-transform: uppercase; letter-spacing: .2em; color: var(--dark); margin: 2.2rem 0 .8rem; }
.subhead:first-child { margin-top: 0; }
.star { color: var(--gold); font-size: 1.6rem; line-height: 1; margin: 1.6rem auto; text-align: center; }
.star--small { font-size: 1.1rem; margin: .6rem auto 1.2rem; }
.lead { font-size: 1.25rem; }

/* ---------- Sektionen ---------- */
.section { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; isolation: isolate; }
.section--tight { padding-top: 0; }
.section--dark { background: var(--dark); color: rgba(255,255,255,.85); }
.section--dark a:not(.btn) { color: var(--gold); }
.section--image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(18,18,18,.68); }
.section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band img { width: 100%; height: clamp(260px, 45vw, 560px); object-fit: cover; }
.band { margin: 0; }

.prose p { margin-bottom: 1.4em; }
.prose > p:first-child::first-letter { font: 400 4.2rem/.8 var(--script); color: var(--gold); float: left; margin: .35rem .5rem 0 0; }
.legal > p:first-child::first-letter { font: inherit; float: none; margin: 0; color: inherit; }
.legal h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .12em; margin: 2.4rem 0 .7rem; }
@media (max-width: 480px) { .legal h2 { font-size: 1rem; letter-spacing: .06em; } .headline__title { letter-spacing: .12em; } .menu__title { letter-spacing: .14em; } }

/* ---------- Buttons ---------- */
.btn { display: inline-block; margin-top: 1rem; padding: .95rem 2.2rem; border: 1px solid var(--gold); background: transparent; color: var(--gold); font: 500 .85rem var(--head); text-transform: uppercase; letter-spacing: .22em; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover, .btn:focus-visible { background: var(--gold); color: var(--white); text-decoration: none; }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover, .btn--light:focus-visible { background: var(--white); color: var(--dark); }
.btn--small { padding: .6rem 1.3rem; margin: .3rem .4rem 0 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 50%), 1fr)); gap: 4px; }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 1; background: var(--light); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery__item:hover img { transform: scale(1.06); opacity: .9; }
.container.wide { width: min(100% - 2.5rem, 1400px); }
.masonry { columns: 3 300px; column-gap: 12px; }
.masonry__item { display: block; margin: 0 0 12px; break-inside: avoid; overflow: hidden; background: var(--light); }
.masonry__item img { width: 100%; height: auto; transition: transform .6s, opacity .3s; }
.masonry__item:hover img { transform: scale(1.04); opacity: .92; }
@media (max-width: 480px) { .masonry { columns: 2; column-gap: 6px; } .masonry__item { margin-bottom: 6px; } }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(10,10,10,.94); padding: 3rem 1rem; }
.lightbox img { max-height: 88vh; width: auto; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font: 2.4rem/1 var(--head); cursor: pointer; padding: .8rem 1.1rem; }
.lightbox__close { top: .5rem; right: .5rem; }
.lightbox__prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .5rem; top: 50%; transform: translateY(-50%); }

/* ---------- Speisekarte ---------- */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 3rem 5rem; margin-top: 3.5rem; }
.menu__title { font: 500 1.6rem var(--head); text-transform: uppercase; letter-spacing: .2em; text-align: center; margin: 0; }
.menu__note { text-align: center; font-style: italic; color: #777; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__item { padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.menu__item:last-child { border-bottom: 0; }
.menu__row { display: flex; align-items: baseline; gap: .6rem; }
.menu__name { font: 500 1.05rem var(--head); color: var(--dark); text-transform: uppercase; letter-spacing: .08em; }
.menu__dots { flex: 1; border-bottom: 1px dotted #bbb; transform: translateY(-.3em); }
.menu__price { font: 500 1.05rem var(--head); color: var(--gold); white-space: nowrap; }
.menu__desc { margin: .15rem 0 0; font-style: italic; color: #7a7a7a; font-size: 1rem; }
.footnote { margin-top: 3.5rem; font-size: .95rem; color: #8a8a8a; border-top: 1px solid var(--line); padding-top: 1.5rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field-row--3 { grid-template-columns: 1.3fr 1fr .8fr; }
@media (max-width: 560px) { .field-row, .field-row--3 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: .4rem 0 0; }
legend { font: 500 .8rem var(--head); text-transform: uppercase; letter-spacing: .15em; color: var(--dark); margin-bottom: .6rem; padding: 0; }
label { font: 500 .8rem var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--dark); margin-bottom: .35rem; }
input, textarea { width: 100%; font: 400 1.05rem var(--body); color: var(--dark); background: var(--light); border: 1px solid var(--line); border-radius: 0; padding: .75rem .9rem; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
[aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .9rem; margin-top: .3rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; border-left: 3px solid; }
.alert--ok { background: #f2f7ef; border-color: #4f7a3a; color: #2f4a22; }
.alert--error { background: #fbefee; border-color: #b3261e; color: #7a1a14; }

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); color: rgba(255,255,255,.7); font-size: 1rem; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; padding-bottom: 3rem; }
.footer-title { font: 500 .85rem var(--head); color: var(--white); text-transform: uppercase; letter-spacing: .2em; margin: 0 0 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; font-size: .85rem; letter-spacing: .05em; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--gold); }

@media print { .site-header, .site-footer, .hero__down, .nav-toggle { display: none; } .hero { min-height: 0; padding: 1rem; background: none; color: #000; } }
