/* Schriften liegen auf docenda.app selbst (keine Verbindung zu Google) – Lizenz: SIL Open Font License */
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url(fonts/CormorantGaramond_600SemiBold.ttf) format("truetype"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url(fonts/CormorantGaramond_700Bold.ttf) format("truetype"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-style: italic; font-display: swap; src: url(fonts/CormorantGaramond_700Bold_Italic.ttf) format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/Inter_400Regular.ttf) format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/Inter_600SemiBold.ttf) format("truetype"); }

:root {
  --bg: #0b0b0d;
  --panel: #141418;
  --line: #2a2a30;
  --ink: #f4efe4;
  --body: #cfc8b8;
  --grey: #8e887b;
  --gold1: #d4ac5a;
  --gold2: #f3dfa6;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--gold1); }
a:hover { color: var(--gold2); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.logo {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600;
  font-size: 22px; letter-spacing: .3em; text-decoration: none;
  background: linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.langs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 20px; }
.langs button {
  font: 600 12px "Inter", sans-serif; color: var(--grey); background: none; border: 0;
  padding: 6px 10px; border-radius: 16px; cursor: pointer; min-height: 32px;
}
.langs button[aria-pressed="true"] { background: var(--gold1); color: var(--bg); }

main { padding: 36px 0 24px; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--ink); font-weight: 700; }
h1 { font-size: 40px; line-height: 1.1; margin: 0 0 6px; }
h2 { font-size: 26px; line-height: 1.2; margin: 36px 0 8px; }
h3 { font-size: 16px; color: var(--ink); margin: 22px 0 4px; }
.stand { color: var(--grey); font-size: 14px; margin: 0 0 24px; }
p, li { margin: 0 0 12px; }
ul { padding-left: 20px; }
.box {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin: 16px 0;
}
.box p:last-child { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--ink); font-weight: 600; }
.tablewrap { overflow-x: auto; }

footer {
  border-top: 1px solid var(--line); padding: 22px 0 40px; margin-top: 30px;
  font-size: 14px; color: var(--grey); display: flex; flex-wrap: wrap; gap: 8px 18px;
}
footer a { color: var(--grey); }

/* Sprachen: ohne JavaScript sieht man alle; mit JavaScript nur die gewählte */
html.js [lang-section] { display: none; }
html.js[data-lang="de"] [lang-section="de"],
html.js[data-lang="en"] [lang-section="en"],
html.js[data-lang="it"] [lang-section="it"] { display: block; }

/* Startseite */
.hero { text-align: center; padding: 72px 0 40px; }
.hero .logo { font-size: 44px; display: inline-block; padding-left: .3em; }
.hero .tag { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 24px; color: var(--ink); margin: 18px auto 8px; }
.hero p { max-width: 520px; margin: 0 auto 12px; }
.soon {
  display: inline-block; margin-top: 18px; padding: 12px 22px; border-radius: 14px;
  background: linear-gradient(90deg, var(--gold1), var(--gold2)); color: #1c150a; font-weight: 600;
}

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  .hero .logo { font-size: 34px; }
}
