/* ── RESET & TOKENS ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:       #F5F5F5;
  --surface:  #FFFFFF;
  --ink:      #1A1A1A;
  --mid:      #555555;
  --muted:    #999999;
  --border:   #D0D0D0;
  --ff-display: 'Fredoka One', cursive;
  --ff-body:    'Instrument Sans', system-ui, sans-serif;
  --pad-x: clamp(1.5rem, 6vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
}

/* ── HERO IMAGE ── */
.hero-image {
  width: 100%;
  height: clamp(280px, 55vh, 600px);
  overflow: hidden;
  background: var(--ink);        /* Fallback wenn kein Bild */
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
}

/* Platzhalter-Text wenn kein Bild */
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

/* ── CONTENT ── */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) var(--pad-x) clamp(2rem, 6vw, 4rem);
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* ── TITLE ── */
.site-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.site-subtitle {
  margin-top: 0.6rem;
  font-family: var(--ff-body);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 400;
  color: var(--mid);
  letter-spacing: 0.04em;
}

/* ── LOGO ── */
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem var(--pad-x) 1rem;
  background: var(--bg);
}

.logo-wrap .logo {
  max-height: 64px;
  width: auto;
  display: block;
  filter: grayscale(100%);
}

/* Platzhalter wenn noch kein Logo vorhanden */
.logo-placeholder {
  height: 64px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── NOTENLINIEN-TRENNSTRICH (Signature) ── */
.divider {
  margin: 2.5rem auto;
  width: 100%;
  max-width: 320px;
  position: relative;
  height: 16px;          /* Platz für 3 Linien */
  flex-shrink: 0;
}

.divider::before,
.divider::after,
.divider span {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}

.divider::before { top: 0; }
.divider span    { top: 50%; transform: translateY(-50%); }
.divider::after  { bottom: 0; }

/* ── BESCHREIBUNG ── */
.description {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.8;
  color: var(--mid);
  max-width: 55ch;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 1.5rem var(--pad-x);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .hero-image {
    height: clamp(200px, 45vw, 300px);
  }
}
