/* =========================================================
   MEHRSINGEN.DE — Design tokens
   Idee: einzelne Stimmen (dünne, unruhige Linien) laufen
   zusammen zu einer Stimme (eine kräftige, ruhige Linie).
   Das Signature-Element (Wellen-Konvergenz) taucht im Hero,
   in Dividern und im Logo-Zeichen wieder auf.
   ========================================================= */

:root {
  /* Farben */
  --ink: #16241f;          /* dunkles Tannen-Grün — Probenraum am Abend */
  --ink-soft: #223832;
  --paper: #f1ecdd;         /* warmes Bone-Papier — Liedblatt */
  --paper-warm: #e8dfc6;    /* zweiter, dichterer Papierton für Wechsel */
  --gold: #c69a2e;          /* Messing / Blaskraft der Stimme */
  --gold-deep: #9c7a20;
  --coral: #d9614c;         /* Energie-Akzent, CTA */
  --coral-deep: #b84a37;
  --sage: #63845f;          /* zweite Naturfarbe, Berlin im Sommer */
  --line-on-paper: rgba(22, 36, 31, 0.16);
  --line-on-ink: rgba(241, 236, 221, 0.22);
  --text-on-paper: #1c2b25;
  --text-muted-paper: #4d5a52;
  --text-on-ink: #f1ecdd;
  --text-muted-ink: #b9c4bc;

  /* Typografie */
  --font-display: "Jost", "Century Gothic", "Futura", sans-serif;
  --font-body: "Jost", "Century Gothic", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  --radius: 3px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-on-paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.on-ink .eyebrow { color: var(--gold); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 108px 0; }

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 22px; }
  body { font-size: 16px; }
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--text-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-on-ink);
}
.brand svg { height: 22px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted-ink);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-on-ink); }
.nav-links a.icon-instagram,
.footer-links a.icon-instagram {
  display: inline-flex;
  align-items: center;
}
.icon-instagram svg { width: 24px; height: 24px; transition: color 0.15s ease; }
.footer-links a.icon-instagram:hover { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-on-ink);
  color: var(--text-on-ink);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line-on-ink);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 22px; display: block; border-top: 1px solid var(--line-on-ink); }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--gold); }
  .nav-toggle { display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--coral);
  color: #fdf9f0;
}
.btn-primary:hover { background: var(--coral-deep); }

.btn-ghost-ink {
  background: transparent;
  border-color: var(--line-on-ink);
  color: var(--text-on-ink);
}
.btn-ghost-ink:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost-paper {
  background: transparent;
  border-color: var(--line-on-paper);
  color: var(--text-on-paper);
}
.btn-ghost-paper:hover { border-color: var(--coral); color: var(--coral-deep); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--text-on-ink);
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(46px, 6.2vw, 76px);
  color: var(--text-on-ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero .lede {
  font-size: 19px;
  color: var(--text-muted-ink);
  max-width: 46ch;
  margin-bottom: 2em;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.wave-mark { width: 100%; height: auto; }
.wave-line {
  fill: none;
  stroke-linecap: round;
}
.wave-thin {
  stroke: var(--text-muted-ink);
  stroke-width: 1.4;
  opacity: 0.55;
}
.wave-bold {
  stroke: var(--gold);
  stroke-width: 3.5;
}

@keyframes drift1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drift2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes drift3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.wv1 { animation: drift1 6s ease-in-out infinite; }
.wv2 { animation: drift2 7.5s ease-in-out infinite; }
.wv3 { animation: drift3 5.2s ease-in-out infinite; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto 12px; }
}

/* ---------- Section divider (signature motif, small) ---------- */
.wave-divider { display: block; width: 100%; height: 28px; margin: 0 auto; }

/* ---------- Section headers ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head .lede { color: var(--text-muted-paper); font-size: 17.5px; }
.on-ink .section-head .lede { color: var(--text-muted-ink); }

.bg-paper-warm { background: var(--paper-warm); }
.bg-ink { background: var(--ink); color: var(--text-on-ink); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--sage), var(--ink));
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--text-on-ink);
  font-family: var(--font-mono);
  font-size: 12px;
}
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--text-on-paper);
  border-left: 3px solid var(--coral);
  padding-left: 22px;
  margin: 28px 0;
}
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 260px; }
}

/* ---------- Offer cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.offer-card {
  background: var(--paper);
  border: 1px solid var(--line-on-paper);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.bg-paper-warm .offer-card { background: var(--paper-warm); border-color: rgba(22,36,31,0.12); }
.offer-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}
.offer-card h3 { font-size: 20px; margin: 10px 0 8px; }
.offer-card p { color: var(--text-muted-paper); font-size: 15px; margin-bottom: 0; }

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- Choir detail block ---------- */
.detail-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.fact-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line-on-paper);
}
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-on-paper);
  font-size: 15.5px;
}
.fact-list .k {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-paper);
  padding-top: 2px;
}
.fact-list .v { text-align: right; font-weight: 600; max-width: 60%; }

@media (max-width: 780px) {
  .detail-panel { grid-template-columns: 1fr; }
}

/* ---------- Choir grid (Berlin & Nürnberg) ---------- */
.choir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.choir-block h3 { font-size: 22px; margin-bottom: 10px; }
.choir-block .fact-list { margin: 20px 0 24px; }
@media (max-width: 780px) {
  .choir-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- Blog teaser / list ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line-on-paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { border-color: var(--coral); transform: translateY(-3px); }
.blog-card .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
  padding: 22px 22px 0;
}
.blog-card h3 {
  font-size: 19px;
  padding: 10px 22px 0;
  margin-bottom: 6px;
}
.blog-card p {
  padding: 0 22px;
  color: var(--text-muted-paper);
  font-size: 14.5px;
  flex: 1;
}
.blog-card .meta {
  padding: 16px 22px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted-paper);
  border-top: 1px solid var(--line-on-paper);
  margin-top: 14px;
}
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.contact-info h3 { font-size: 18px; color: var(--gold); }
.contact-info p { color: var(--text-muted-ink); font-size: 15px; }
.contact-info .addr {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-ink);
  font-size: 14.5px;
  color: var(--text-muted-ink);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-ink);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--ink-soft);
  border: 1px solid var(--line-on-ink);
  color: var(--text-on-ink);
  padding: 13px 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15.5px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }

.topic-choice {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.topic-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic-choice label {
  flex: 1;
  min-width: 180px;
  cursor: pointer;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius);
  padding: 16px 16px;
  text-transform: none;
  font-family: var(--font-body);
  letter-spacing: normal;
  color: var(--text-on-ink);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.topic-choice label .t { display: block; font-weight: 600; margin-bottom: 3px; }
.topic-choice label .d { display: block; font-size: 12.5px; color: var(--text-muted-ink); }
.topic-choice input:checked + label {
  border-color: var(--gold);
  background: rgba(198, 154, 46, 0.12);
}
.topic-choice input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted-ink);
  margin-top: 14px;
}
.form-status {
  margin-top: 16px;
  font-size: 14.5px;
  display: none;
}
.form-status.visible { display: block; }
.form-status.ok { color: var(--sage); }

@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-muted-ink);
  border-top: 1px solid var(--line-on-ink);
  padding: 48px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
}
.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.footer-links a { text-decoration: none; color: var(--text-muted-ink); }
.footer-links a:hover { color: var(--text-on-ink); }
.footer-social { display: flex; align-items: center; }
.footer-social a {
  color: var(--text-muted-ink);
  display: inline-flex;
  transition: color 0.15s ease;
}
.footer-social a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line-on-ink);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- Blog article page ---------- */
.article-hero {
  background: var(--ink);
  color: var(--text-on-ink);
  padding: 70px 0 56px;
}
.article-hero h1 { font-size: clamp(32px, 5vw, 48px); max-width: 20ch; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted-ink);
  letter-spacing: 0.04em;
}
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 32px 100px;
  font-size: 18px;
}
.article-body h2 {
  font-size: 27px;
  margin-top: 1.6em;
}
.article-body p { margin-bottom: 1.3em; color: var(--text-on-paper); }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: 0.6em; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  color: var(--gold);
  margin-bottom: 28px;
}
.article-cta {
  margin-top: 48px;
  padding: 28px;
  background: var(--paper-warm);
  border-radius: var(--radius);
  border: 1px solid var(--line-on-paper);
}
.article-cta p { margin-bottom: 14px; }
