/*
  Design-Finder: nutzt die geteilten Design-Tokens und Komponenten aus
  ../style.css (Farben, Radius, .btn, ...). Diese Datei enthaelt nur, was
  auf der Hauptseite kein Gegenstueck hat - gleicher Aufbau wie bei
  ueberzeugung/claudetastik.
*/

:root {
  --grau-mid: #999090;
  --grau-lt: rgba(0, 0, 0, 0.08);
}

img { max-width: 100%; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.container--sm { max-width: 640px; }
.text-center { text-align: center; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 0;
  text-align: center;
}
.site-header__name {
  font-family: 'Lora', serif;
  color: var(--accent-a);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}
.site-header__sub {
  font-family: 'Mulish', sans-serif;
  font-variant: small-caps;
  color: var(--grau-mid);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

h1 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── HERO ── */
.hero {
  background: var(--white);
  padding: 70px 0 60px;
  max-width: none;
  margin: 0;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 760px;
  margin: 0 auto 20px;
}
.hero__eyebrow {
  display: inline-block;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 100px;
  color: var(--accent-a);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  margin-bottom: 26px;
}
.hero__sub {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── SEKTIONEN ── */
.section { padding: 20px 0 90px; }
.section--weiss { background: var(--white); }

/* ── FORMULAR ── */
.df-label {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
  margin-bottom: 8px;
}
.df-input {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 14px 18px;
  border: 1.5px solid var(--grau-lt);
  border-radius: 12px;
  margin-bottom: 26px;
  background: var(--white);
  color: var(--black);
}
.df-input:focus {
  outline: none;
  border-color: var(--accent-a);
}

#df-submit { width: 100%; text-align: center; border: none; cursor: pointer; font: inherit; margin-bottom: 0; }

#df-form .dates { text-align: center; margin-top: 18px; }
#df-submit:disabled { opacity: 0.6; cursor: default; }

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn--ghost:hover { box-shadow: none; background: var(--soft); }

/* ── STATUS / FEHLER ── */
.df-status {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--black);
  font-size: 0.95rem;
}
.df-status.df-status--error {
  background: #fdecea;
  color: #7a1c1c;
}

/* ── ERGEBNIS ── */
.df-result { margin-top: 32px; }
.df-output {
  width: 100%;
  min-height: 420px;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 18px;
  border: 1.5px solid var(--grau-lt);
  border-radius: 12px;
  background: #fafafa;
  color: var(--black);
  resize: vertical;
}
.df-result-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.df-result-actions .btn { flex: 1; text-align: center; min-width: 200px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--soft);
  padding: 32px 0;
  text-align: center;
}
.site-footer__links a {
  color: var(--gray);
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.85rem;
}
.site-footer__links a:hover { color: var(--accent-a); }
.site-footer__copy {
  color: var(--grau-mid);
  font-size: 0.8rem;
  margin-top: 12px;
}
