/* Leotio – minimal. Schriften selbst gehostet, keine externen Ressourcen (DSGVO). */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Fraunces"; src: url("fonts/fraunces-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2020,U+2113,U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Fraunces"; font-style: italic; src: url("fonts/fraunces-italic-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2020,U+2113,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f7f4ee;
  --ink: #1b1a18;
  --muted: #6e695f;
  --line: #e3ddd1;
  --accent: #c8912e;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131210; --ink: #efebe3; --muted: #9c968b; --line: #2a2824; --accent: #e2ac4f; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: var(--accent); }
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* Wortmarke */
.mark { font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.03em; text-decoration: none; }
.mark .dot { color: var(--accent); }

header { padding: 32px 0; }
header .mark { font-size: 28px; }

main { flex: 1; }

/* Startseite */
.home { display: flex; flex-direction: column; justify-content: center; min-height: 62vh; }
.home h1 { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(64px, 16vw, 132px); line-height: .95; letter-spacing: -0.045em; margin: 0 0 28px; }
/* Wörterbucheintrag */
.entry { margin: 0; max-width: 30em; font-family: var(--serif); font-variation-settings: "opsz" 24; }
.entry dt { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.entry dt .syl { font-weight: 500; letter-spacing: .01em; }
.entry dt .pos, .entry dt .ipa { font-style: italic; color: var(--muted); font-weight: 300; margin-left: 10px; }
.entry dd { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); font-weight: 300; }
.entry dd + dd { margin-top: 4px; }
.entry .ety { font-style: italic; }
.entry .ety b { font-weight: 500; font-style: normal; color: var(--ink); font-variant-ligatures: none; }
.entry .n { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--accent); display: inline-block; width: 16px; font-variant-numeric: tabular-nums; vertical-align: 2px; }

/* Textseiten */
.page { padding-top: 24px; padding-bottom: 72px; }
.page h1 { font-family: var(--serif); font-weight: 350; font-variation-settings: "opsz" 96;
  font-size: clamp(38px, 8vw, 52px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 32px; }
.page h2 { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 36px 0 8px; }
.page p { margin: 0 0 12px; }
.todo { background: color-mix(in srgb, var(--accent) 28%, transparent); padding: 0 4px; border-radius: 3px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 36px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .sep { width: 1px; background: var(--line); align-self: stretch; }

/* Coming soon */
.soon { margin-top: 40px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.soon a { color: var(--muted); font-weight: 500; margin-left: 14px; text-decoration: none; }
.soon a:hover { color: var(--ink); }
.home { min-height: 100vh; min-height: 100svh; padding-top: 48px; padding-bottom: 72px; }

/* Sprachumschalter oben rechts */
.lang { position: absolute; top: 28px; right: 24px; display: flex; gap: 4px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; z-index: 1; }
.lang a { padding: 6px 8px; color: var(--muted); text-decoration: none; border-radius: 6px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); pointer-events: none; }
.lang a + a::before { content: ""; }
