/* Café zum Eck – Stylesheet */
:root {
  --brand: #a8482a;        /* Terrakotta */
  --brand-dark: #8a3a21;
  --accent: #e9b949;       /* Senf / Honig */
  --accent-soft: #fbefd0;
  --cream: #fbf6ee;
  --tint: #f4e9db;
  --ink: #2b211c;          /* Espresso */
  --ink-soft: #5c4d44;
  --dark: #241b17;
  --dark-2: #1a1310;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(43, 33, 28, .10), 0 2px 6px rgba(43, 33, 28, .06);
  --shadow-lg: 0 22px 50px rgba(43, 33, 28, .18);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --section: clamp(64px, 10vw, 120px);
  --ease: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 65ch; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(251, 246, 238, .82);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid rgba(43, 33, 28, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: var(--white);
  transform: rotate(-8deg);
}
.logo-mark svg { width: 22px; height: 22px; }
.header-call { padding: 10px 18px; font-size: .95rem; }
.header-call .label-long { display: none; }
@media (min-width: 560px) { .header-call .label-long { display: inline; } }

/* ---------- Knöpfe & Pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent;
  transition: transform var(--ease), background-color var(--ease), color var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 8px 20px rgba(168, 72, 42, .35); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #f3c962; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--brand-dark);
}
.pill-light { background: rgba(255, 255, 255, .16); color: var(--white); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.eyebrow { margin-bottom: 18px; }

/* ---------- Startbereich ---------- */
.hero {
  position: relative; min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
  padding: 140px 0 clamp(56px, 9vw, 110px);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 19, 16, .15) 0%, rgba(26, 19, 16, .45) 45%, rgba(26, 19, 16, .88) 100%),
    linear-gradient(90deg, rgba(26, 19, 16, .55) 0%, rgba(26, 19, 16, 0) 70%);
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 46ch; color: rgba(255, 255, 255, .92); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 40px 0 0; padding: 0; list-style: none;
  font-size: .95rem; color: rgba(255, 255, 255, .9);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Abschnitte ---------- */
.section { padding: var(--section) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #f3ebe2; }
.section-head { display: grid; gap: 8px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; }
}
.section-head p { color: var(--ink-soft); max-width: 52ch; margin: 0; }
.section-head h2 { margin: 0; }

/* Angebot: Karten */
.offer-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .offer-grid { grid-template-columns: repeat(12, 1fr); }
  .offer-grid .card:nth-child(1) { grid-column: span 7; }
  .offer-grid .card:nth-child(2) { grid-column: span 5; }
  .offer-grid .card:nth-child(3) { grid-column: span 5; }
  .offer-grid .card:nth-child(4) { grid-column: span 7; }
}
.card {
  position: relative; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body p { color: var(--ink-soft); margin: 0; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.card h3 { margin: 0; }
.price {
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; white-space: nowrap;
  color: var(--brand); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px;
}
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--brand); margin-bottom: 12px;
  transform: rotate(-4deg);
}
.icon-badge svg { width: 30px; height: 30px; }
.card-plain .card-body { padding-top: 32px; }
.card-brand { background: linear-gradient(140deg, var(--brand) 0%, #c0643c 100%); color: var(--white); }
.card-brand .card-body p { color: rgba(255, 255, 255, .9); }
.card-brand .icon-badge { background: rgba(255, 255, 255, .16); color: var(--white); }
.card-brand .price { background: var(--white); color: var(--brand-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.tags li { font-size: .82rem; font-weight: 650; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.card-brand .tags li { background: rgba(255, 255, 255, .18); color: var(--white); }

/* Über uns: Bild + Text überlappend */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.media-stack { position: relative; padding-bottom: 40px; }
.media-stack .main-img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.media-stack .sticker {
  position: absolute; right: -6px; bottom: 0;
  background: var(--accent); color: var(--ink);
  border-radius: 50%; width: 132px; height: 132px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-weight: 700; line-height: 1.1; font-size: .98rem;
  transform: rotate(8deg); box-shadow: var(--shadow);
}
.media-stack .sticker strong { display: block; font-size: 2.2rem; }
@media (min-width: 900px) { .media-stack .sticker { right: -28px; width: 150px; height: 150px; } }
.facts { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: 3px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--brand); margin-top: 24px; }

/* Anlässe */
.events { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .events { grid-template-columns: 1fr 1.1fr; gap: 72px; } .events .events-media { order: 2; } }
.events-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .events-media { transform: rotate(1.5deg); } }
.event-list { display: grid; gap: 12px; margin: 24px 0 32px; padding: 0; list-style: none; }
@media (min-width: 560px) { .event-list { grid-template-columns: 1fr 1fr; } }
.event-list li {
  display: flex; gap: 12px; align-items: center;
  background: var(--white); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow);
  font-weight: 600;
}
.event-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kontakt (dunkel) */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.section-dark h2 { color: var(--white); }
.section-dark h2 em { color: var(--accent); font-style: italic; }
.section-dark .lead { color: #d9cdc2; max-width: 48ch; }
.contact-lines { display: grid; gap: 14px; margin: 32px 0; padding: 0; list-style: none; }
.contact-lines li { display: flex; gap: 14px; align-items: center; }
.contact-lines .ci {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: rgba(233, 185, 73, .14); color: var(--accent);
}
.contact-lines svg { width: 22px; height: 22px; }
.contact-lines a { color: var(--white); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.contact-lines a:hover { color: var(--accent); }
.contact-lines span.small { display: block; font-size: .85rem; color: #b9aca1; }
.hours {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); padding: 30px 28px;
}
.hours h3 { color: var(--white); display: flex; align-items: center; gap: 12px; }
.hours h3 svg { width: 26px; height: 26px; color: var(--accent); }
.hours table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); text-align: left; }
.hours th { font-weight: 500; color: #d9cdc2; }
.hours td { text-align: right; font-weight: 650; color: var(--white); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .closed td { color: #b9aca1; font-weight: 500; }
.hours-note { margin: 18px 0 0; font-size: .92rem; color: #b9aca1; }

/* ---------- Rechtstexte ---------- */
.page-head { padding: 150px 0 40px; background: var(--tint); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0; }
.legal { padding: 56px 0 var(--section); }
.legal h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2em; }

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--dark-2); color: #c9bcb1; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.site-footer .logo { color: var(--white); margin-bottom: 14px; }
.site-footer p { margin: 0 0 .4em; }
.site-footer a { color: #f3ebe2; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #9d9087;
}

/* ---------- Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
