/* ============================================
   Winkelried & Töchter — Styles
   2026-05-08
   ============================================ */

/* ============================================
   Schriften — lokal gehostet (keine externen Aufrufe)
   ============================================ */

/* Instrument Serif */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-regular-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono — Variable Font, deckt 400 und 500 ab */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrainsmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrainsmono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================
   Tokens
   ============================================ */

:root {
  /* Hell-kühles Grau-Blau / Marineblau-Schwarz / Bordeaux */
  --bg:        #EFF2F5;
  --paper:     #FFFFFF;
  --ink:       #0F172A;
  --ink-dim:   #4A5462;
  --line:      #D6DBE0;
  --line-soft: #E5E9ED;
  --accent:    #8B2D1E;
  --accent-soft: rgba(139, 45, 30, 0.35);

  /* Schriften — Pixel/Dot-Matrix nur im Logo (PNG), Text in Serif + Mono */
  --serif: 'Instrument Serif', Georgia, serif;
  --mono:  'JetBrains Mono', 'SF Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadein 0.5s ease both;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

main {
  flex: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 10vh 32px 6vh;
  width: 100%;
}

/* === HERO ============================================ */

.hero {
  text-align: center;
  margin-bottom: 96px;
}

.logo-img {
  display: block;
  width: 240px;
  max-width: 60%;
  height: auto;
  margin: 0 auto 28px;
  user-select: none;
}

.hero-lead {
  font-family: var(--serif);
  font-size: clamp(25px, 3.4vw, 32px);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}

.ort {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* === ABSCHNITT-TITEL ================================== */

.abschnitt {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

/* === FELDER ========================================== */

.feld {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}
.feld:last-of-type { border-bottom: none; }
.feld-nr {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 8px;
}
.feld-titel {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.feld p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
}
.feld p.klein {
  font-size: 17px;
  color: var(--ink-dim);
  font-style: italic;
}

/* === ABSAGE ========================================== */

.absage-titel {
  margin-top: 80px !important;
}
.absage-block p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 14px;
}
.absage-block .auch-nicht {
  font-style: italic;
  color: var(--ink-dim);
  font-size: 17px;
  padding-top: 8px;
}

/* === PRAXIS ========================================== */

.praxis {
  margin-top: 96px;
}
.praxis p {
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.praxis .quellen {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0;
  color: var(--ink-dim);
  line-height: 1.8;
  margin-top: 22px;
}
.praxis .quellen a {
  color: var(--ink-dim);
  text-decoration-color: rgba(74, 84, 98, 0.4);
  white-space: nowrap;
}
.praxis .quellen a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.praxis .quellen .sep { color: var(--line); margin: 0 3px; }

/* === PERSON ========================================== */

.person {
  margin-top: 96px;
}
.person p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 680px;
}
.person .auszeichnung {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  line-height: 1.9;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line);
  margin-top: 14px;
}
.person .auszeichnung a {
  color: var(--ink-dim);
  text-decoration-color: rgba(74, 84, 98, 0.4);
}
.person .auszeichnung a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* === BRIEFKOPF (Kontakt) ============================= */

.briefkopf {
  margin-top: 96px;
  padding: 0;
}
.briefkopf a {
  display: block;
  text-decoration: none;
}
.briefkopf img {
  display: block;
  width: 50%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  transition: opacity 0.2s;
}
.briefkopf a:hover img { opacity: 0.7; }

/* === SUB-PAGE (Impressum / Datenschutz) ============== */

.subpage-head {
  text-align: center;
  margin-bottom: 80px;
}
.subpage-head .logo-img-small {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 28px;
  user-select: none;
}
.subpage-head h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.subpage-head .zurueck {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.subpage section {
  margin-bottom: 56px;
}
.subpage section h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.subpage section p {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 680px;
}
.subpage section p.klein {
  font-size: 15px;
  color: var(--ink-dim);
}

.subpage dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.subpage dl dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 4px;
}
.subpage dl dd {
  font-size: 18px;
  line-height: 1.5;
}

.subpage .stand {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

/* === LINKS =========================================== */

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s;
}
a:hover { text-decoration-color: var(--accent); }

/* === FOOTER ========================================== */

footer {
  max-width: 840px;
  margin: 0 auto;
  padding: 32px 32px 56px;
  width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer a { color: var(--ink-dim); text-decoration-color: rgba(0,0,0,0.15); }

/* === MOBILE ========================================== */

@media (max-width: 640px) {
  main { padding: 6vh 24px 4vh; }
  .hero { margin-bottom: 64px; }
  .logo-img { width: 200px; }
  .hero-lead { font-size: 22px; }
  .ort { font-size: 12px; }
  .feld { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .feld-nr { padding-top: 0; }
  .feld-titel { font-size: 24px; }
  .feld p { font-size: 17px; }
  .feld p.klein { font-size: 16px; }
  .absage-block p, .praxis p, .person p { font-size: 17px; }
  .praxis, .person { margin-top: 64px; }
  .briefkopf { margin-top: 64px; }
  .person .auszeichnung { font-size: 12px; }
  .subpage-head { margin-bottom: 56px; }
  .subpage-head h1 { font-size: 32px; }
  .subpage dl { grid-template-columns: 1fr; gap: 4px; }
  .subpage dl dt { padding-top: 12px; }
  .subpage section p { font-size: 17px; }
  .subpage dl dd { font-size: 17px; }
}
