/* Base CSS — skelett-invariant. Spielt mit allen Aesthetic-Token. */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Defensive overflow-handling: lange Wörter (Komposita, Bindestrich-Namen,
   URLs) brechen weich an Wortgrenzen, im Notfall mitten im Wort.
   Verhindert "Text guckt aus dem Rand"-Bugs auf engen Phones — gilt auch für
   div-basierte Trust-/Facts-Tiles, nicht nur für h/p/li. */
* { overflow-wrap: anywhere; word-break: break-word; }
h1, h2, h3, h4, p, li { hyphens: auto; }
html, body { overflow-x: hidden; max-width: 100vw; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* Demo-Banner */
.demo-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem var(--pad-x);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.demo-banner a { color: var(--paper); text-decoration: underline; }

/* Masthead */
.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem var(--pad-x);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 9;
  background: var(--paper);
}
.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.masthead nav {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.masthead nav a:hover { color: var(--accent); }
.masthead .cta-mini {
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.masthead .cta-mini:hover { background: var(--ink); color: var(--paper); }

/* Section base */
section { padding: clamp(3rem, 8vw, 6rem) var(--pad-x); }
section + section { border-top: 1px solid var(--line); }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* Hero (gemeinsam) */
.hero { padding: clamp(4rem, 10vw, 7rem) var(--pad-x); }
.hero-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-d);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--accent-d); }
.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-s);
  max-width: 580px;
  line-height: 1.55;
}

/* Quick / Highlights Grid */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--container);
  margin: 0 auto;
}
.highlight-item {
  padding: 1.5rem;
  background: var(--paper-d);
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.highlight-item:hover { transform: translateY(-3px); }
.highlight-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.highlight-item p { font-size: 0.95rem; color: var(--ink-s); line-height: 1.6; }
.highlight-item .num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.highlight-item .mark {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Story / Prose */
.story { max-width: 720px; margin: 0 auto; text-align: center; }
.story p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-s);
  margin-bottom: 1rem;
}
.story-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Hours */
.hours-table {
  max-width: 480px;
  margin: 0 auto;
  font-family: var(--font-body);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.95rem;
}
.hours-row:last-child { border: 0; }
.hours-day { font-weight: 500; }
.hours-time { color: var(--ink-s); }

.hours-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 880px;
  margin: 0 auto;
}
.hours-2col h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

/* CTA */
.cta { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.cta p { color: var(--ink-s); margin-bottom: 2rem; }
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-fill {
  background: var(--accent);
  color: var(--paper);
  border: 1px solid var(--accent);
}
.btn-fill:hover { background: var(--accent-d); border-color: var(--accent-d); color: var(--paper); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Footer */
footer {
  padding: 1.75rem var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 1rem;
}
footer a:hover { color: var(--accent); }

/* Mobile — Standard-Breakpoints 780px + 480px.
   Designprinzipien: Brand + CTA bleiben in einer Zeile (Header kompakt),
   Inline-Nav verschwindet auf Phones (Section-Anchor übers Scrollen erreichbar),
   Hero-Headline kleiner, Section-Padding deutlich reduziert. */
@media (max-width: 780px) {
  body { font-size: 15px; }
  section { padding: clamp(2rem, 7vw, 3.5rem) var(--pad-x); }

  /* Masthead: Brand links, CTA rechts, Nav weg (Anchor bleiben via Scrollen erreichbar) */
  .masthead {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.9rem var(--pad-x);
  }
  .masthead nav { display: none; }
  .brand { font-size: 1.15rem; }
  .masthead .cta-mini { padding: 0.45rem 0.85rem; font-size: 0.75rem; }

  /* Hero kleiner */
  .hero { padding: clamp(2.5rem, 8vw, 4rem) var(--pad-x); }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); margin-bottom: 1.25rem; }
  .hero-eyebrow { margin-bottom: 1rem; font-size: 0.68rem; }
  .hero-lede { font-size: 1rem; }

  /* Grids zu 1col */
  .highlights { grid-template-columns: 1fr; gap: 1rem; }
  .highlight-item { padding: 1.25rem; }
  .hours-2col { grid-template-columns: 1fr; gap: 1.25rem; }

  /* CTA */
  .cta h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.88rem; }

  /* Footer */
  footer {
    flex-direction: column; align-items: center; text-align: center;
    padding: 1.5rem var(--pad-x); font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  /* Sehr enge Phones: alle Multi-Col komplett auf 1col, noch kompakteres Padding */
  section { padding: clamp(1.75rem, 6vw, 2.5rem) var(--pad-x); }
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .hero-lede { font-size: 0.95rem; }
  .highlights, .hours-2col { gap: 0.85rem; }
  .cta-buttons { gap: 0.6rem; }
  .btn { width: 100%; justify-content: center; padding: 0.85rem 1rem; }
}
