/* eventservice.saarland | Feinkost Jacob
   Redaktionelles Magazin-Layout, hell zuerst gedacht */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f8f0e8;
  --paper: #fff8f2;
  --tint: #f0e4d8;
  --ink: #1e0e06;
  --muted: #5a3520;
  --accent: #68432D;
  --line: rgba(65, 36, 21, .2);
  --dark: #412415;
  --dark-text: #f8f0e8;
  --dark-muted: #E8C4A8;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --ease: cubic-bezier(.65, 0, .35, 1);
  --soft: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #100804;
  --paper: #1e1008;
  --tint: #2a1810;
  --ink: #f0e4d8;
  --muted: #c4a58a;
  --accent: #CB9473;
  --line: rgba(203, 148, 115, .24);
  --dark: #2a1810;
  --dark-text: #f0e4d8;
  --dark-muted: #CB9473;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.text-lg { font-size: 115%; }
html.reduce-motion { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.05rem/1.7 var(--sans); overflow-x: hidden; transition: background-color .5s, color .5s; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .6em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg); padding: .7rem 1rem; text-decoration: none; font-weight: 700; }
.skip:focus { top: 1rem; }

.kicker { display: flex; align-items: center; gap: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.kicker span { font-family: var(--serif); font-size: .95rem; letter-spacing: 0; text-transform: none; font-style: italic; font-weight: 400; padding-right: .9rem; border-right: 1px solid var(--line); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.6rem; font: 700 .92rem var(--sans); text-decoration: none; border: 1px solid var(--ink); transition: background-color .3s, color .3s, transform .3s var(--soft); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-light { background: var(--dark-text); color: #1e0e06; border-color: var(--dark-text); }
.btn-light:hover { transform: translateY(-2px); }
.btn-line { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; text-decoration: none; padding: .4rem 0; border-bottom: 1px solid currentColor; min-height: 44px; }
.btn-line::after { content: "→"; transition: transform .35s var(--soft); }
.btn-line:hover::after { transform: translateX(5px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }

/* Topline und Header */
.topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem var(--gutter); font-size: .82rem; background: var(--dark); color: var(--dark-text); }
.topline p { margin: 0; }
.topline a { color: var(--dark-text); font-weight: 700; }
.tools { display: flex; gap: .35rem; }
.tool { min-height: 32px; padding: .2rem .75rem; background: transparent; color: var(--dark-text); border: 1px solid rgba(248, 240, 232, .35); font: 600 .78rem var(--sans); cursor: pointer; border-radius: 999px; }
.tool:hover, .tool[aria-pressed="true"] { background: var(--dark-text); color: #1e0e06; }

.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 2rem; padding: .9rem var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); transition: background-color .5s; }
.brand { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; margin-right: auto; }
.brand span, .foot-brand span { font-style: italic; font-weight: 400; color: var(--accent); margin-left: .25rem; }
.nav ol { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; counter-reset: n; }
.nav li { counter-increment: n; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav a::before { content: "0" counter(n) " "; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.nav a:hover { color: var(--accent); }
.menu-btn { display: none; min-height: 44px; padding: .4rem 1rem; background: transparent; border: 1px solid var(--ink); color: var(--ink); font: 700 .85rem var(--sans); cursor: pointer; }
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .site-header > .btn { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.6rem; display: none; }
  .nav.open { display: block; }
  .nav ol { flex-direction: column; gap: .9rem; }
  .nav a { font-size: 1.1rem; }
}
@media (max-width: 640px) {
  .topline p { display: none; }
  .topline { justify-content: center; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 6.6rem); margin-top: 1.4rem; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.hero-stack { position: relative; aspect-ratio: 1 / 1.02; }
.hs { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 30px 60px rgba(30, 14, 6, .18); }
.hs img { width: 100%; height: 100%; object-fit: cover; }
.hs-1 { inset: 0 0 26% 14%; }
.hs-2 { left: 0; bottom: 4%; width: 46%; aspect-ratio: 4 / 3.4; border: 8px solid var(--bg); }
.hs-3 { right: 6%; bottom: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 8px solid var(--bg); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stack { max-width: 560px; width: 100%; justify-self: center; }
}

/* Laufband */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); padding: 0 1.6rem; white-space: nowrap; display: flex; align-items: center; gap: 3.2rem; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 1.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Abschnittsköpfe */
.sec-head { padding: 0 var(--gutter); max-width: 1100px; }
.sec-head h2 { margin-top: 1.2rem; }
.sec-lead { color: var(--muted); max-width: 60ch; font-size: 1.1rem; }

/* Leistungen als Zeilen */
.services { padding: clamp(5rem, 10vw, 8rem) 0; }
.rows { list-style: none; margin: 3rem 0 0; padding: 0 var(--gutter); border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 7rem minmax(0, .9fr) minmax(0, 1.4fr) 170px; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.row-num { font-family: var(--serif); font-size: 3.6rem; line-height: 1; font-weight: 400; font-style: italic; color: var(--accent); }
.row h3 { margin: 0; }
.row p { margin: 0; color: var(--muted); }
.row-img { width: 170px; aspect-ratio: 4 / 3; object-fit: cover; clip-path: inset(0 0 0 0 round 90px); filter: saturate(.75); transition: clip-path .7s var(--ease), filter .7s; }
.row:hover .row-img { clip-path: inset(0 0 0 0 round 4px); filter: saturate(1); }
.row:target { background: linear-gradient(90deg, var(--tint), transparent); }
@media (max-width: 960px) {
  .row { grid-template-columns: 4rem 1fr; gap: .6rem 1.2rem; }
  .row-num { grid-row: span 3; font-size: 2.6rem; align-self: start; }
  .row-img { width: 100%; max-width: 360px; grid-column: 2; margin-top: .6rem; clip-path: inset(0 0 0 0 round 10px); filter: none; }
}

/* Ablauf mit Linie */
.plan { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); border-block: 1px solid var(--line); }
.plan-body { position: relative; padding: 0 var(--gutter); margin-top: 3rem; }
.plan-path { width: 100%; height: 160px; color: var(--accent); display: block; }
.steps { list-style: none; margin: -1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--accent); font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--accent); background: var(--paper); margin-bottom: 1rem; }
.steps p { color: var(--muted); }
@media (max-width: 900px) {
  .plan-path { display: none; }
  .steps { grid-template-columns: 1fr 1fr; margin-top: 0; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Zielgruppen */
.audience { display: grid; }
.aud { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; scroll-margin-top: 80px; }
.aud > img { width: 100%; height: 100%; object-fit: cover; }
.aud-text { background: var(--dark); color: var(--dark-text); padding: clamp(2.5rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.aud-text .kicker { color: var(--dark-muted); }
.aud-text .kicker span { border-color: rgba(248, 240, 232, .3); }
.aud-text ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.aud-text li { padding: .7rem 0; border-bottom: 1px solid rgba(248, 240, 232, .18); }
.aud-wed > img { order: 2; }
.aud-wed .aud-text { background: var(--tint); color: var(--ink); }
.aud-wed .aud-text .kicker { color: var(--accent); }
.aud-wed .aud-text li { border-color: var(--line); }
.aud-wed .btn-light { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 900px) {
  .aud { grid-template-columns: 1fr; min-height: 0; }
  .aud > img { aspect-ratio: 16 / 10; height: auto; }
  .aud-wed > img { order: 0; }
}

/* Locations */
.venues { padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 12vw, 10rem); }
.venue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding: 0 var(--gutter); margin-top: 3.5rem; align-items: start; }
.venue { background: var(--paper); padding: 1rem 1rem 1.8rem; border: 1px solid var(--line); }
.v2 { margin-top: 5rem; }
.v4 { margin-top: 2rem; }
.v3 { margin-top: 6rem; }
.venue-img { overflow: hidden; margin-bottom: 1.4rem; }
.venue-img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transform: scale(1.12); }
.venue h3, .venue p, .venue .btn-line { margin-left: .6rem; margin-right: .6rem; }
.venue-meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--accent); }
.venue p:not(.venue-meta) { color: var(--muted); }
@media (max-width: 1199px) {
  .venue-grid { grid-template-columns: 1fr 1fr; }
  .v3 { margin-top: 0; }
  .v4 { margin-top: 5rem; }
}
@media (max-width: 900px) {
  .venue-grid { grid-template-columns: 1fr; max-width: 560px; }
  .v2, .v3, .v4 { margin-top: 0; }
  .venue-img img { aspect-ratio: 16 / 11; }
}

/* Zahlen */
.facts { background: var(--dark); color: var(--dark-text); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 0; }
.facts dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--dark-muted); order: 2; }
.facts div { display: flex; flex-direction: column; gap: .5rem; border-left: 1px solid rgba(248, 240, 232, .22); padding-left: 1.4rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; font-weight: 600; }
.facts .dd-text { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; font-style: italic; font-weight: 400; }
@media (max-width: 860px) { .facts dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts dl { grid-template-columns: 1fr; } }

/* FAQ */
.qa { padding: clamp(5rem, 10vw, 8rem) 0; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); padding: 0 var(--gutter); margin: 3rem 0 0; }
.qa-grid div { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.qa-grid dt { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.25; margin-bottom: .6rem; }
.qa-grid dd { margin: 0; color: var(--muted); }
.qa-grid a { color: var(--accent); font-weight: 600; }
@media (max-width: 800px) { .qa-grid { grid-template-columns: 1fr; } }

/* Abschluss */
.closing { padding: clamp(5rem, 11vw, 9rem) var(--gutter); text-align: center; border-top: 1px solid var(--ink); background: radial-gradient(70% 90% at 50% 100%, var(--tint), transparent 70%); }
.closing h2 { font-size: clamp(2.5rem, 7vw, 6rem); max-width: 14ch; margin-inline: auto; }
.closing p { color: var(--muted); max-width: 52ch; margin-inline: auto; font-size: 1.1rem; }
.closing .actions { justify-content: center; }

/* Footer */
.site-footer { background: #1e0e06; color: #f0e4d8; padding: 4rem var(--gutter) 1.5rem; font-size: .95rem; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.foot-brand span { color: #CB9473; }
.site-footer p, .site-footer address { color: #c4a58a; font-style: normal; margin: 0 0 .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #f0e4d8; text-underline-offset: 3px; text-decoration-color: rgba(203, 148, 115, .5); }
.site-footer a:hover { color: #CB9473; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(203, 148, 115, .25); font-size: .85rem; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } }

/* Rechtliches */
.legal { width: min(100% - 2rem, 820px); max-height: 86vh; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.legal::backdrop { background: rgba(30, 14, 6, .6); }
.legal[open] { display: flex; flex-direction: column; animation: pop .45s var(--soft); }
.legal-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.legal-title { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.legal-close { min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 .85rem var(--sans); cursor: pointer; }
.legal-body { overflow-y: auto; padding: 1.5rem; font-size: .95rem; line-height: 1.65; }
.legal-body h2 { font-size: 2rem; }
.legal-body h3 { font-size: 1.4rem; margin-top: 1.6em; }
.legal-body h4, .legal-body h5 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 1.4em 0 .4em; }
.legal-body a { color: var(--accent); word-break: break-word; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }

.plain { padding: 3rem var(--gutter) 5rem; max-width: 880px; }
.plain .legal-body { padding: 1.5rem 0 0; overflow: visible; }
.plain .legal-body h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.plain a.link { color: var(--accent); font-weight: 700; }

.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
.reduce-motion .venue-img img, html:not(.js) .venue-img img { transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
