/* The Art Passage — shared styles
   Colours, fonts and spacing live in :root, so a change here applies everywhere. */

@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --cream: #f6efe4;        /* page background */
  --paper: #fffaf2;        /* cards */
  --ink: #2b211b;          /* main text, deep brown-black */
  --muted: #6e5d50;        /* secondary text */
  --line: #e2d5c3;         /* thin borders */
  --accent: #a4532a;       /* buttons: burnt pumpkin */
  --accent-dark: #833f1d;  /* button hover */
  --night: #241a14;        /* dark band, matches the posters */
  --gold: #d9b88a;         /* text on the dark band */

  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --gutter: 16px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand {
  font: 600 22px/1 var(--serif);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.lang { font-size: 14px; letter-spacing: .08em; color: var(--muted); }
.lang a { color: var(--muted); text-decoration: none; padding: 6px 4px; }
.lang [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 48px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 12px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(48px, 11vw, 84px); letter-spacing: .01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 18px 0 28px; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(43,33,27,.55); }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  font: 500 16px/1 var(--sans); letter-spacing: .04em;
  padding: 16px 26px; border-radius: 999px; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ---------- Sections ---------- */
section { padding: 48px 0; }
h2 { font-size: clamp(34px, 7vw, 48px); margin-bottom: 8px; }
.section-intro { color: var(--muted); margin: 0 0 28px; }

/* ---------- Dates ---------- */
.dates { background: var(--night); color: var(--gold); }
.dates h2 { color: #f3e6d3; }
.dates .section-intro { color: var(--gold); }
.slots { display: grid; gap: 16px; }
.slot {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); padding: 24px;
  display: grid; gap: 4px;
}
.slot-day { font: 600 30px/1.1 var(--serif); }
.slot-meta { color: var(--muted); margin-bottom: 14px; }
.slot-price { font-weight: 500; }
.slot .btn { justify-self: start; margin-top: 8px; }

/* Sold out: add the class "soldout" to the <article class="slot"> */
.slot .sold-label { display: none; }
.slot.soldout .btn { display: none; }
.slot.soldout .sold-label {
  display: inline-block; justify-self: start; margin-top: 8px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-weight: 500;
}
.dates-note { font-size: 15px; margin: 20px 0 0; color: var(--gold); }

/* ---------- About the workshop ---------- */
.about .wrap { display: grid; gap: 32px; align-items: center; }
.about p { margin: 0 0 16px; }
.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.features li { padding-left: 28px; position: relative; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.about-img { border-radius: var(--radius); overflow: hidden; }

/* ---------- Info & location ---------- */
.info-grid { display: grid; gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 28px; margin-bottom: 12px; }
.card p { margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.card dl { margin: 0; display: grid; gap: 10px; }
.card dt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card dd { margin: 0 0 6px; }
.address { font-style: normal; font-size: 19px; line-height: 1.5; margin-bottom: 12px; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Text pages (Impressum, Datenschutz) ---------- */
.prose { max-width: 720px; padding: 40px 0 56px; }
.prose h1 { font-size: clamp(40px, 9vw, 60px); margin-bottom: 24px; }
.prose h2 { font-size: 28px; margin: 32px 0 8px; }
.prose p, .prose ul { margin: 0 0 14px; }
.todo { background: #fde7c7; padding: 0 4px; border-radius: 3px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }

/* ---------- Gentle fade-in (skipped for people who prefer less motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade-up .7s ease both; }
  .fade-2 { animation-delay: .12s; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------- Larger screens ---------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .hero { padding: 64px 0 72px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  section { padding: 72px 0; }
  .slots { grid-template-columns: 1fr 1fr; }
  .about .wrap { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
