/* =========================================================
   EKŌ-Symposium 2026 — Stylesheet
   Palette: Sumi (Tinte), Washi (Papier), Moos, Indigo, Siegelrot
   ========================================================= */

:root {
  --sumi:      #211f1c;   /* Tinte – Fließtext, Header-Hintergrund */
  --washi:     #f1ede2;   /* Reispapier – Seitenhintergrund */
  --washi-dim: #e7e1d1;   /* etwas dunkleres Papier für Karten */
  --moos:      #4b5d45;   /* Moosgrün – sekundäre Akzente, Links */
  --indigo:    #2e3a46;   /* Aizome-Indigo – Kopf-/Fußzeile */
  --siegel:    #9c2b2b;   /* Hanko-Siegelrot – einzelner starker Akzent */
  --stein:     #837c6d;   /* Steingrau – Meta-Text */
  --linie:     #d8d0bb;   /* Trennlinien */
  --weiss:     #fffdf8;

  --serif: 'Shippori Mincho', 'Iowan Old Style', Georgia, 'Noto Serif', serif;
  --sans:  'Zen Kaku Gothic New', 'Hiragino Sans', 'Segoe UI', system-ui, sans-serif;

  --maxw: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--indigo);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: 1.5rem; margin-top: 2.2em; }
h3 { font-size: 1.15rem; }

p { max-width: 68ch; }

a { color: var(--moos); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--siegel); }

/* ---------- Kopfzeile ---------- */
.site-header {
  background: var(--indigo);
  color: var(--weiss);
  border-bottom: 3px solid var(--siegel);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--weiss);
  text-decoration: none;
  font-family: var(--serif);
}
.brand:hover { color: var(--weiss); }
.brand__mark {
  font-size: 1.6rem;
  color: var(--siegel);
  line-height: 1;
}
.brand__text { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--weiss);
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-active { opacity: 1; border-bottom-color: var(--siegel); }
.nav a.nav__cta {
  opacity: 1;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: 2px;
}
.nav a.nav__cta:hover { background: var(--siegel); border-color: var(--siegel); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--weiss);
  background: var(--sumi);
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: min(58vh, 460px);
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
  opacity: 0.92;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,31,28,0.15) 0%, rgba(33,31,28,0.55) 65%, rgba(33,31,28,0.92) 100%);
}
.hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 24px 30px;
}
.hero__content .wrap { padding: 0; }
.hero__eyebrow {
  font-family: var(--serif);
  color: var(--washi);
  font-size: 1rem;
  margin: 0 0 6px;
}
.hero h1 { color: var(--weiss); margin-bottom: 10px; }
.hero__dates {
  font-size: 1.05rem;
  color: var(--washi);
}
.hero__dates strong { color: var(--weiss); }

/* ---------- Sektionen / Karten ---------- */
.section { padding: 44px 0; border-bottom: 1px solid var(--linie); }
.section:last-of-type { border-bottom: none; }

.linkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.linkcard {
  display: block;
  padding: 22px 20px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 3px;
  text-decoration: none;
  color: var(--sumi);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.linkcard:hover { border-color: var(--moos); transform: translateY(-2px); color: var(--sumi); }
.linkcard h3 { margin-bottom: 6px; color: var(--indigo); }
.linkcard p { margin: 0; color: var(--stein); font-size: 0.95rem; }
.linkcard--accent { border-left: 4px solid var(--siegel); }

.infobox {
  background: var(--washi-dim);
  border-left: 4px solid var(--moos);
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 0.98rem;
}
.infobox p { margin: 0.3em 0; }

/* ---------- Formulare ---------- */
form.card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 3px;
  padding: 28px 26px;
  max-width: 560px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.9rem;
  color: var(--indigo);
  margin-bottom: 6px;
  font-weight: 500;
}
.field .hint { color: var(--stein); font-size: 0.82rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--linie);
  border-radius: 2px;
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--sans);
  font-size: 0.98rem;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--moos);
  outline-offset: 1px;
  background: var(--weiss);
}
textarea { min-height: 96px; resize: vertical; }
input[readonly] { background: var(--washi-dim); color: var(--stein); }

.checkfield { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.checkfield input { width: auto; margin-top: 4px; }
.checkfield label { font-size: 0.92rem; color: var(--sumi); font-weight: 400; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.btn {
  display: inline-block;
  border: none;
  background: var(--indigo);
  color: var(--weiss);
  padding: 11px 22px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--sumi); color: var(--weiss); }
.btn--accent { background: var(--siegel); }
.btn--accent:hover { background: #7e2222; }
.btn--ghost { background: transparent; color: var(--indigo); border: 1px solid var(--linie); }
.btn--ghost:hover { border-color: var(--moos); color: var(--moos); background: transparent; }

.msg {
  padding: 14px 16px;
  border-radius: 3px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.msg--error   { background: #fbeaea; border: 1px solid #e0b3b3; color: #7e2222; }
.msg--success { background: #eef2ea; border: 1px solid #c3d2ba; color: #3a4a35; }

/* ---------- Programmtabelle ---------- */
table.programm {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: 0.94rem;
}
table.programm caption {
  text-align: left;
  font-family: var(--serif);
  color: var(--indigo);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
table.programm th, table.programm td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
table.programm th { color: var(--stein); font-weight: 500; font-size: 0.82rem; text-transform: none; }
table.programm td.zeit { white-space: nowrap; color: var(--stein); width: 6.5em; }
table.programm td.titel { color: var(--stein); font-size: 0.9rem; }

/* ---------- Fußzeile ---------- */
.site-footer {
  background: var(--sumi);
  color: var(--washi-dim);
  font-size: 0.88rem;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 24px;
}
.site-footer a { color: var(--washi); }
.site-footer a:hover { color: var(--siegel); }

/* ---------- Utility ---------- */
.stack { display: flex; flex-direction: column; gap: 10px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.muted { color: var(--stein); }

@media (prefers-reduced-motion: reduce) {
  .linkcard { transition: none; }
}
