/* Café Caspar – Stylesheet
   Schriften liegen lokal (assets/fonts), es werden keine Google-Server geladen. */

@font-face { font-family: "Cormorant Infant"; src: url("../fonts/cormorant-infant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Infant"; src: url("../fonts/cormorant-infant-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Farben laut Caspar-CI 2026 */
:root {
  --ink: #3E2611;          /* Caspar Dark Brown – Text, Footer */
  --ink-soft: #603523;     /* Caspar Teddy Brown */
  --cream: #FEF8E6;        /* Caspar Off White – Hintergrund */
  --paper: #F6EDD3;        /* zwischen Off White und Caspar Beige */
  --line: #E3D8B9;         /* Caspar Beige */
  --green: #831811;        /* Caspar Wine Red – Buttons & Links (Variablenname historisch) */
  --green-dark: #63110c;
  --brass: #603523;        /* Überzeilen */
  --olive: #5A5826;        /* Caspar Green */
  --mustard: #CEA146;      /* Caspar Senfgelb */
  --orange: #E7712B;       /* Caspar Orange */
  --blue: #6B93CC;         /* Caspar Blue */
  --radius: 14px;
  --max: 1120px;
  --serif: "Cormorant Infant", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark a { color: var(--mustard); }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brass); margin-bottom: .6em; display: block; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 46rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(254, 248, 230, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 34px; width: auto; filter: brightness(0) saturate(100%) invert(14%) sepia(29%) saturate(1700%) hue-rotate(1deg) brightness(92%); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav .social { display: flex; gap: 14px; }
.nav .social a { font-weight: 400; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.1rem; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .social { padding-top: 12px; }
  .nav .social a { border: 0; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(60vh, 520px);
  display: flex; align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(62,38,17,.10) 0%, rgba(62,38,17,.80) 100%),
    url("../img/hero.webp") center 35% / cover no-repeat,
    radial-gradient(ellipse at 30% 20%, #8a5a34 0%, #3c2a24 45%, #120c1c 100%);
}
.hero .wrap { padding-top: 40px; padding-bottom: 44px; }
.hero__mark { height: clamp(90px, 12vw, 130px); width: auto; margin-bottom: 16px; }
.hero h1 { color: #fff; max-width: 14em; font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: .3em; }
.hero p { font-size: 1.15rem; max-width: 36rem; opacity: .92; margin-bottom: 1em; }
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { margin-bottom: .2em; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; border: 2px solid var(--green); transition: background .2s, color .2s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: inherit; border-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Info-Leiste */
.infobar { background: var(--paper); border-bottom: 1px solid var(--line); }
.infobar .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.infobar strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
@media (max-width: 720px) { .infobar .wrap { grid-template-columns: 1fr; gap: 16px; } }

/* Raster */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; } }

/* Foto-Platzhalter: wird später durch echte Fotos ersetzt */
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--ink-soft); font-size: .9rem; background: repeating-linear-gradient(135deg, #f1e7cc 0 14px, #ebdfc0 14px 28px); border: 1px dashed #cdbf98; }

/* Kacheln */
.tile { display: block; position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 3 / 4; background: var(--ink); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62,38,17,0) 40%, rgba(62,38,17,.85) 100%); }

.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; font-family: var(--serif); font-size: 2.2rem; line-height: 1.05; }
.tile small { display: block; font-family: var(--sans); font-size: .95rem; opacity: .85; margin-top: 6px; }
.tile:hover { color: #fff; }

/* Events */
.events { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.event__date { text-align: center; font-family: var(--serif); line-height: 1; }
.event__date b { display: block; font-size: 2.6rem; }
.event__date span { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.event h3 { margin: 0 0 4px; font-size: 1.5rem; }
.event p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.event .btn { padding: 9px 18px; font-size: .9rem; }
@media (max-width: 640px) { .event { grid-template-columns: 72px 1fr; } .event .btn { grid-column: 1 / -1; text-align: center; } }

/* Listen */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* Speisekarte */
.menu { max-width: 780px; margin: 0 auto; }
.menu h2 { text-align: center; margin-top: 1em; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 18px 0; border-bottom: 1px dashed #cdbf98; }
.dish h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin: 0; }
.dish .price { font-weight: 700; white-space: nowrap; }
.dish p { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: .97rem; }
.dish .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); border: 1px solid var(--olive); border-radius: 999px; padding: 1px 8px; margin-left: 8px; vertical-align: 2px; }
.dish--small { padding: 12px 0; }
.dish--mini { padding: 8px 0; font-size: .92rem; }
.dish--mini h3 { font-size: .95rem; }
.menu-tabs { justify-content: center; }
.menu-tabs .btn small { font-weight: 400; opacity: .85; margin-left: 4px; }
.dish .allergens { font-weight: 400; font-size: .78rem; color: var(--ink-soft); margin-left: 6px; letter-spacing: .02em; }
.menu__sub { font-size: 1.9rem; margin: 1.6em 0 .2em; color: var(--olive); }
.menu .note.center { text-align: center; margin-top: -.4em; }
.note { font-size: .92rem; color: var(--ink-soft); }

/* Öffnungszeiten-Tabelle */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours td:last-child { text-align: right; font-weight: 700; }
.section--dark .hours td { border-color: rgba(255,255,255,.15); }

/* Formular */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cdbf98; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--ink-soft); }
.form .hidden { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Lageplan */
.map { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.9rem; margin-top: 1.4em; }
.legal h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin-top: 1.4em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 6px 20px; margin: 0 0 1.5em; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(254,248,230,.85); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--mustard); }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .85rem; }
.site-footer .bottom a { margin-right: 16px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Fotos */
.photo--tall { aspect-ratio: 3 / 4; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.photo-strip .photo { aspect-ratio: 3 / 2; }
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr; } }
.footer-logo { height: 96px; width: auto; margin-bottom: 14px; }
