/* =====================================================================
   DESIGNS.CSS  |  Vereins-Website-Vorlage v1.1  |  HanselCraft
   ---------------------------------------------------------------------
   Fünf Designs für dieselbe Website. Welches gilt, steht in inhalte.js
   (Abschnitt 0 "design") – bequem wählbar im Editor bearbeiten.html.

     klassik    Anthrazit & Gold, sachlich-seriös (Voreinstellung)
     sport      kraftvoll, schmale Großbuchstaben, Navy & Limette
     tradition  Serifenschrift, Creme & Bordeaux, festlich-heimatlich
     familie    rund, freundlich, große Schrift, Koralle & Mint
     modern     minimalistisch, viel Weißraum, große Typografie

   >>> HIER MUSS NIEMAND ETWAS ÄNDERN. <<<
   Alle Schriften liegen lokal im Ordner assets/schriften (SIL Open Font
   License 1.1) – es wird NICHTS von Google oder anderen Diensten
   geladen (DSGVO-freundlich, cookiefrei).
   ===================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/schriften/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/schriften/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700 900; font-style: normal; font-display: swap; src: url("assets/schriften/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/schriften/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700 900; font-style: normal; font-display: swap; src: url("assets/schriften/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/schriften/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600 900; font-style: normal; font-display: swap; src: url("assets/schriften/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-style: normal; font-display: swap; src: url("assets/schriften/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/schriften/lora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 600 900; font-style: normal; font-display: swap; src: url("assets/schriften/lora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400 500; font-style: normal; font-display: swap; src: url("assets/schriften/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600 700; font-style: normal; font-display: swap; src: url("assets/schriften/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800 900; font-style: normal; font-display: swap; src: url("assets/schriften/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400 500; font-style: normal; font-display: swap; src: url("assets/schriften/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600 700; font-style: normal; font-display: swap; src: url("assets/schriften/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800 900; font-style: normal; font-display: swap; src: url("assets/schriften/manrope-latin-800-normal.woff2") format("woff2"); }

/* ---------- Gemeinsame Ergänzungen ----------
   --on-accent: Schriftfarbe AUF der Akzentfarbe (Buttons, aktiver
   Menüpunkt). Wird bei eigenen Vereinsfarben automatisch aus dem
   Kontrast berechnet (seite.js). */
:root { --on-accent: var(--ink); --font-head: var(--font); }
h1, h2, h3, h4, .brand .name { font-family: var(--font-head); }
.btn, nav.menu a.active { color: var(--on-accent); }
.btn.ghost:hover { color: var(--on-accent); }
section.block .btn.ghost:hover { color: var(--on-accent); }

/* =====================================================================
   1) KLASSIK — die bewährte Optik, mit sauberer Schrift
   ===================================================================== */
html[data-design="klassik"] {
  --font: "Source Sans 3", "Segoe UI", system-ui, Arial, sans-serif;
  --gold: #E8A33D; --gold-dark: #8a5a0f; --ink: #1B2230; --ink-soft: #2a3242;
}
html[data-design="klassik"] body { font-size: 17px; }
html[data-design="klassik"] .hero h1 { font-weight: 700; }

/* =====================================================================
   2) SPORT — kraftvoll, kantig, in Bewegung
   ===================================================================== */
html[data-design="sport"] {
  --font: "Barlow", "Segoe UI", system-ui, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --gold: #C6F432; --gold-dark: #1F4FBF; --ink: #0B1F3A; --ink-soft: #12305a;
  --on-accent: #0B1F3A;
  --paper-2: #EEF2F8; --line: #dbe2ec; --muted: #4c5a70; --text: #1a2333;
  --radius: 4px;
  --shadow: 0 2px 0 rgba(11,31,58,.06), 0 8px 22px rgba(11,31,58,.07);
}
html[data-design="sport"] body { font-size: 17px; }
html[data-design="sport"] h1, html[data-design="sport"] h2, html[data-design="sport"] h3,
html[data-design="sport"] h4, html[data-design="sport"] .brand .name {
  text-transform: uppercase; letter-spacing: .02em; font-weight: 800;
}
html[data-design="sport"] header.site { border-bottom: 5px solid var(--gold); box-shadow: none; }
html[data-design="sport"] .brand .logo { border-radius: 6px; transform: skewX(-8deg); box-shadow: none; }
html[data-design="sport"] .brand .name { font-size: 1.45rem; letter-spacing: .03em; }
html[data-design="sport"] .brand .name small { font-family: var(--font); text-transform: none; letter-spacing: .04em; }
html[data-design="sport"] { --maxw: 1180px; }
html[data-design="sport"] nav.menu ul { gap: 2px; }
html[data-design="sport"] nav.menu a {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em;
  font-size: 1rem; border-radius: 2px; padding: 8px 11px;
}
html[data-design="sport"] nav.menu a.active { box-shadow: none; }
html[data-design="sport"] .hero {
  background:
    repeating-linear-gradient(-60deg, rgba(255,255,255,.035) 0 18px, transparent 18px 44px),
    linear-gradient(115deg, var(--ink) 0%, var(--ink) 55%, var(--ink-soft) 55%, var(--ink-soft) 100%);
  text-align: left; padding: 96px 0 120px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%);
  margin-bottom: -46px; position: relative; z-index: 1;
}
html[data-design="sport"] .hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: .98; max-width: 16ch; }
html[data-design="sport"] .hero h1 .accent { display: block; color: var(--gold); }
html[data-design="sport"] .hero p { margin-left: 0; color: #c9d4e6; font-size: 1.2rem; }
html[data-design="sport"] .hero + section.block { padding-top: 104px; }
html[data-design="sport"] .btn {
  border-radius: 2px; text-transform: uppercase; letter-spacing: .06em;
  font-family: var(--font-head); font-size: 1.12rem; padding: 12px 30px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: none;
}
html[data-design="sport"] .btn.ghost { clip-path: none; }
html[data-design="sport"] .hero .btn.ghost { color: #fff; border-color: #fff; }
html[data-design="sport"] .hero .btn.ghost:hover { background: #fff; color: var(--ink); }
html[data-design="sport"] .section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); padding-left: 18px; border-left: 8px solid var(--gold); line-height: 1.05; }
html[data-design="sport"] .section-title::after { display: none; }
html[data-design="sport"] .section-title .accent { color: var(--gold-dark); }
html[data-design="sport"] .card { border: 0; border-top: 5px solid var(--ink); }
html[data-design="sport"] .card:hover { border-top-color: var(--gold); }
html[data-design="sport"] #zahlen .card { background: var(--ink); color: #fff; border-top-color: var(--gold); }
html[data-design="sport"] #zahlen .card .icon { color: var(--gold); font-family: var(--font-head); font-size: 3rem; }
html[data-design="sport"] #zahlen .card h3 { color: #fff; }
html[data-design="sport"] #zahlen .card p { color: #c9d4e6; }
html[data-design="sport"] .item { border-left-width: 8px; }
html[data-design="sport"] .item .meta { font-family: var(--font-head); font-size: .98rem; }
html[data-design="sport"] table.termine thead th { font-family: var(--font-head); font-size: 1rem; background: var(--ink); border-bottom: 4px solid var(--gold); }
html[data-design="sport"] footer.site { border-top: 6px solid var(--gold); }
html[data-design="sport"] footer.site h4 { font-size: 1.2rem; }
@media (max-width: 760px) {
  html[data-design="sport"] .hero { padding: 64px 0 92px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); margin-bottom: -26px; }
  html[data-design="sport"] .hero + section.block { padding-top: 74px; }
}

/* =====================================================================
   3) TRADITION — Serifen, Creme & Bordeaux, festlich
   ===================================================================== */
html[data-design="tradition"] {
  --font: "Lora", Georgia, "Times New Roman", serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --gold: #8E1F2C; --gold-dark: #8E1F2C; --ink: #2E1D17; --ink-soft: #4a2f25;
  --on-accent: #ffffff;
  --paper: #FFFCF6; --paper-2: #F5EEE0; --text: #2f2621; --muted: #64554a;
  --line: #e4d9c6; --line-strong: #8a7a69;
  --radius: 2px; --shadow: none; --shadow-hover: 0 10px 26px rgba(46,29,23,.10);
  --tradition-gold: #B08A3E;
}
html[data-design="tradition"] body { font-size: 18px; background: var(--paper); }
html[data-design="tradition"] header.site {
  background: var(--paper); color: var(--ink); position: sticky;
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 4px 0 var(--paper), 0 5px 0 var(--line);
}
html[data-design="tradition"] .nav { flex-direction: column; gap: 8px; padding: 18px 0 10px; }
html[data-design="tradition"] .brand { flex-direction: column; text-align: center; gap: 8px; }
html[data-design="tradition"] .brand .logo { border-color: var(--tradition-gold); color: var(--gold); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--tradition-gold); width: 54px; height: 54px; font-family: var(--font-head); }
html[data-design="tradition"] .brand .name { color: var(--ink); font-size: 1.7rem; font-weight: 700; }
html[data-design="tradition"] .brand .name small { color: var(--muted); font-family: var(--font); font-style: italic; font-size: .9rem; margin-top: 4px; }
html[data-design="tradition"] nav.menu ul { justify-content: center; gap: 0; }
html[data-design="tradition"] nav.menu a { color: var(--ink); font-weight: 600; font-size: .95rem; letter-spacing: .04em; border-radius: 0; padding: 8px 14px; }
html[data-design="tradition"] nav.menu a:hover, html[data-design="tradition"] nav.menu a:focus { background: var(--paper-2); }
html[data-design="tradition"] nav.menu a.active { background: transparent; color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
html[data-design="tradition"] .nav-toggle-btn { color: var(--ink); border-color: var(--line-strong); }
html[data-design="tradition"] .nav-toggle-btn:hover { background: var(--paper-2); }
html[data-design="tradition"] header.site :focus-visible, html[data-design="tradition"] .hero :focus-visible { outline-color: var(--gold-dark); }
html[data-design="tradition"] .hero {
  background:
    radial-gradient(700px 300px at 50% 0, rgba(176,138,62,.14), transparent 70%),
    var(--paper-2);
  color: var(--ink); padding: 90px 0 96px; border-bottom: 1px solid var(--line);
}
html[data-design="tradition"] .hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: 0; }
html[data-design="tradition"] .hero h1 .accent { color: var(--gold); display: block; font-style: italic; }
html[data-design="tradition"] .hero h1::after {
  content: "❦"; display: block; color: var(--tradition-gold); font-size: 1.6rem; margin-top: 14px;
  font-family: Georgia, serif;
}
html[data-design="tradition"] .hero p { color: var(--muted); font-size: 1.15rem; font-style: italic; }
html[data-design="tradition"] .btn { border-radius: 0; font-family: var(--font); letter-spacing: .05em; padding: 13px 30px; box-shadow: none; }
html[data-design="tradition"] .btn.ghost, html[data-design="tradition"] section.block .btn.ghost { color: var(--gold); border: 1px solid var(--gold); }
html[data-design="tradition"] .btn.ghost:hover { background: var(--gold); color: #fff; }
html[data-design="tradition"] section.block { text-align: center; }
html[data-design="tradition"] section.block .lead { margin-left: auto; margin-right: auto; }
html[data-design="tradition"] .section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
html[data-design="tradition"] .section-title::after { width: 120px; height: 7px; margin: 14px auto 0; background: linear-gradient(var(--tradition-gold), var(--tradition-gold)) top/100% 1px no-repeat, linear-gradient(var(--tradition-gold), var(--tradition-gold)) bottom/100% 1px no-repeat; border-radius: 0; }
html[data-design="tradition"] .section-title .accent { color: var(--gold); font-style: italic; }
html[data-design="tradition"] .card { border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -7px; padding: 30px 26px; background: var(--paper); }
html[data-design="tradition"] .card:hover { border-color: var(--tradition-gold); }
html[data-design="tradition"] .card .icon { color: var(--gold); font-family: var(--font-head); }
html[data-design="tradition"] #zahlen .card .icon { font-size: 2.6rem; }
html[data-design="tradition"] .item, html[data-design="tradition"] form.vform, html[data-design="tradition"] .legal, html[data-design="tradition"] table.termine, html[data-design="tradition"] .two-col { text-align: left; }
html[data-design="tradition"] .item { border-left: 3px double var(--gold); border-left-width: 6px; }
html[data-design="tradition"] .item .meta { color: var(--gold); font-family: var(--font); font-style: italic; text-transform: none; letter-spacing: 0; font-size: .95rem; }
html[data-design="tradition"] table.termine thead th { background: var(--gold); color: #fff; font-family: var(--font-head); text-transform: none; letter-spacing: .02em; font-size: .98rem; }
html[data-design="tradition"] table.termine tbody tr:hover { background: #f1e6d3; }
html[data-design="tradition"] .note { background: #fbf3e4; border-color: var(--tradition-gold); color: #4a3a1c; }
html[data-design="tradition"] footer.site { background: var(--ink); border-top: 4px double var(--tradition-gold); color: #dccfc0; }
html[data-design="tradition"] footer.site a { color: #dccfc0; }
html[data-design="tradition"] footer.site a:hover { color: #e7c98a; }
html[data-design="tradition"] footer.site .copy { border-top-color: #5a4339; color: #b8a796; }
html[data-design="tradition"] footer.site .copy a { color: #d2c2b0; }
html[data-design="tradition"] footer.site :focus-visible { outline-color: #e7c98a; }
@media (max-width: 760px) {
  html[data-design="tradition"] .nav { flex-direction: row; justify-content: space-between; padding: 10px 0; }
  html[data-design="tradition"] .brand { flex-direction: row; text-align: left; }
  html[data-design="tradition"] .brand .name { font-size: 1.2rem; }
  html[data-design="tradition"] .brand .logo { width: 42px; height: 42px; }
  html[data-design="tradition"] nav.menu ul { align-items: stretch; }
}

/* =====================================================================
   4) FAMILIE — rund, warm, gut lesbar
   ===================================================================== */
html[data-design="familie"] {
  --font: "Nunito", "Segoe UI", system-ui, Arial, sans-serif;
  --gold: #FF8A5B; --gold-dark: #B0431B; --ink: #2B2D42; --ink-soft: #3c3f5a;
  --on-accent: #2B2D42;
  --paper: #FFFDF9; --paper-2: #FFF3EA; --text: #2f3146; --muted: #5d6077;
  --line: #f0e3d8; --line-strong: #8d8496;
  --radius: 26px;
  --shadow: 0 10px 30px rgba(255,138,91,.12); --shadow-hover: 0 18px 40px rgba(255,138,91,.22);
  --familie-mint: #2EC4B6; --familie-gelb: #FFD166;
}
html[data-design="familie"] body { font-size: 18px; background: var(--paper); }
html[data-design="familie"] h1, html[data-design="familie"] h2, html[data-design="familie"] h3 { font-weight: 800; }
html[data-design="familie"] header.site { background: #fff; color: var(--ink); border-bottom: 0; box-shadow: 0 6px 24px rgba(43,45,66,.08); }
html[data-design="familie"] .brand .logo { background: var(--gold); color: var(--on-accent); border: 0; box-shadow: 4px 4px 0 var(--familie-mint); width: 50px; height: 50px; font-size: 1.15rem; }
html[data-design="familie"] .brand .name { color: var(--ink); font-weight: 800; font-size: 1.25rem; }
html[data-design="familie"] .brand .name small { color: var(--muted); }
html[data-design="familie"] { --maxw: 1180px; }
html[data-design="familie"] nav.menu ul { gap: 2px; }
html[data-design="familie"] nav.menu a { color: var(--ink); border-radius: 999px; font-weight: 700; font-size: .9rem; padding: 8px 12px; }
html[data-design="familie"] nav.menu a:hover, html[data-design="familie"] nav.menu a:focus { background: var(--paper-2); }
html[data-design="familie"] nav.menu a.active { box-shadow: none; }
html[data-design="familie"] .nav-toggle-btn { color: var(--ink); border-color: var(--line-strong); border-radius: 999px; }
html[data-design="familie"] .nav-toggle-btn:hover { background: var(--paper-2); }
html[data-design="familie"] header.site :focus-visible, html[data-design="familie"] .hero :focus-visible { outline-color: var(--gold-dark); }
html[data-design="familie"] .hero {
  background:
    radial-gradient(260px 260px at 8% 22%, color-mix(in srgb, var(--familie-gelb) 55%, transparent), transparent 70%),
    radial-gradient(320px 320px at 92% 80%, color-mix(in srgb, var(--familie-mint) 32%, transparent), transparent 70%),
    radial-gradient(900px 420px at 50% 0, color-mix(in srgb, var(--gold) 26%, transparent), transparent 75%),
    var(--paper-2);
  color: var(--ink); padding: 92px 0 100px; border-radius: 0 0 48px 48px;
}
html[data-design="familie"] .hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
html[data-design="familie"] .hero h1 .accent { color: var(--gold-dark); }
html[data-design="familie"] .hero p { color: var(--muted); font-size: 1.2rem; }
html[data-design="familie"] .btn { border-radius: 999px; padding: 15px 32px; font-size: 1.05rem; font-weight: 800; box-shadow: 0 8px 20px color-mix(in srgb, var(--gold) 40%, transparent); }
html[data-design="familie"] .btn.ghost, html[data-design="familie"] .hero .btn.ghost { color: var(--ink); border: 2px solid var(--ink); background: #fff; box-shadow: none; }
html[data-design="familie"] .btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-design="familie"] section.block { border-bottom: 0; }
html[data-design="familie"] section.block.alt { background: var(--paper-2); border-radius: 48px; margin: 0 12px; }
html[data-design="familie"] .section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
html[data-design="familie"] .section-title::after { width: 70px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) 0 50%, var(--familie-mint) 50% 100%); }
html[data-design="familie"] .section-title .accent { color: var(--gold-dark); }
html[data-design="familie"] .card { border: 0; padding: 28px; }
html[data-design="familie"] .card .icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); color: var(--gold-dark); font-size: 1.7rem; margin-bottom: 14px;
}
html[data-design="familie"] .grid .card:nth-child(3n+2) .icon { background: color-mix(in srgb, var(--familie-mint) 20%, #fff); color: #0f6f66; }
html[data-design="familie"] .grid .card:nth-child(3n) .icon { background: color-mix(in srgb, var(--familie-gelb) 35%, #fff); color: #7a5300; }
html[data-design="familie"] #zahlen .card .icon { width: auto; height: auto; background: none; border-radius: 0; font-size: 2.6rem; display: block; }
html[data-design="familie"] #zahlen .grid .card .icon { background: none; color: var(--gold-dark); }
html[data-design="familie"] .item { border: 0; border-left: 0; padding: 24px 26px; position: relative; }
html[data-design="familie"] .item .meta { display: inline-block; background: var(--paper-2); color: var(--gold-dark); padding: 3px 12px; border-radius: 999px; letter-spacing: .03em; }
html[data-design="familie"] table.termine { border-radius: 22px; }
html[data-design="familie"] table.termine thead th { background: var(--ink); text-transform: none; letter-spacing: 0; font-size: .98rem; }
html[data-design="familie"] .field input, html[data-design="familie"] .field select, html[data-design="familie"] .field textarea { border-radius: 14px; }
html[data-design="familie"] fieldset { border-radius: 22px; }
html[data-design="familie"] .note { border-radius: 22px; border-left-width: 1px; background: #fff6ee; }
html[data-design="familie"] footer.site { border-top: 0; border-radius: 48px 48px 0 0; margin-top: 40px; }
@media (max-width: 760px) {
  html[data-design="familie"] .hero { border-radius: 0 0 30px 30px; padding: 64px 0 70px; }
  html[data-design="familie"] section.block.alt { border-radius: 28px; margin: 0 6px; }
  html[data-design="familie"] footer.site { border-radius: 30px 30px 0 0; }
}

/* =====================================================================
   5) MODERN — minimalistisch, viel Weißraum, große Typografie
   ===================================================================== */
html[data-design="modern"] {
  --font: "Manrope", "Segoe UI", system-ui, Arial, sans-serif;
  --gold: #4F46E5; --gold-dark: #4338CA; --ink: #101218; --ink-soft: #1d2030;
  --on-accent: #ffffff;
  --paper: #ffffff; --paper-2: #F5F6F8; --text: #1f2330; --muted: #5a6072;
  --line: #e6e8ee; --line-strong: #7b8193;
  --radius: 12px; --shadow: none; --shadow-hover: 0 12px 32px rgba(16,18,24,.08);
  --maxw: 1160px;
}
html[data-design="modern"] body { font-size: 17px; letter-spacing: -.003em; }
html[data-design="modern"] h1, html[data-design="modern"] h2 { letter-spacing: -.03em; font-weight: 800; }
html[data-design="modern"] header.site { background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; }
html[data-design="modern"] .nav { padding: 16px 0; }
html[data-design="modern"] .brand .logo { border: 0; background: var(--ink); color: #fff; border-radius: 10px; box-shadow: none; width: 40px; height: 40px; font-size: .95rem; }
html[data-design="modern"] .brand .name { color: var(--ink); font-weight: 800; font-size: 1.05rem; }
html[data-design="modern"] .brand .name small { color: var(--muted); }
html[data-design="modern"] nav.menu a { color: var(--muted); font-weight: 600; font-size: .94rem; border-radius: 8px; }
html[data-design="modern"] nav.menu a:hover, html[data-design="modern"] nav.menu a:focus { background: var(--paper-2); color: var(--ink); }
html[data-design="modern"] nav.menu a.active { background: var(--ink); color: #fff; box-shadow: none; }
html[data-design="modern"] .nav-toggle-btn { color: var(--ink); border-color: var(--line-strong); }
html[data-design="modern"] .nav-toggle-btn:hover { background: var(--paper-2); }
html[data-design="modern"] header.site :focus-visible, html[data-design="modern"] .hero :focus-visible { outline-color: var(--gold-dark); }
html[data-design="modern"] .hero {
  background:
    radial-gradient(520px 340px at 88% 30%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
    radial-gradient(380px 260px at 70% 85%, color-mix(in srgb, #22D3EE 18%, transparent), transparent 70%),
    #fff;
  color: var(--ink); text-align: left; padding: 120px 0 110px; border-bottom: 1px solid var(--line);
}
html[data-design="modern"] .hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; max-width: 15ch; font-weight: 800; }
html[data-design="modern"] .hero h1 .accent { color: var(--gold); }
html[data-design="modern"] .hero p { margin-left: 0; color: var(--muted); font-size: 1.25rem; max-width: 560px; }
html[data-design="modern"] .btn { border-radius: 10px; box-shadow: none; padding: 14px 26px; }
html[data-design="modern"] .btn:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--gold) 30%, transparent); }
html[data-design="modern"] .btn.ghost, html[data-design="modern"] section.block .btn.ghost { color: var(--ink); border: 1px solid var(--line-strong); background: transparent; }
html[data-design="modern"] .btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
html[data-design="modern"] section.block { padding: 88px 0; }
html[data-design="modern"] .section-title { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; margin-bottom: 18px; }
html[data-design="modern"] .section-title::after { display: none; }
html[data-design="modern"] .section-title .accent { color: var(--gold); }
html[data-design="modern"] .lead { font-size: 1.15rem; }
html[data-design="modern"] .card { border: 1px solid var(--line); padding: 28px; }
html[data-design="modern"] .card:hover { border-color: var(--ink); }
html[data-design="modern"] .card .icon { color: var(--gold); }
html[data-design="modern"] #zahlen .grid { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
html[data-design="modern"] #zahlen .card { border: 0; border-radius: 0; background: transparent; border-right: 1px solid var(--line); padding: 32px 26px; }
html[data-design="modern"] #zahlen .card:last-child { border-right: 0; }
html[data-design="modern"] #zahlen .card:hover { transform: none; box-shadow: none; }
html[data-design="modern"] #zahlen .card .icon { font-size: 3.2rem; letter-spacing: -.04em; color: var(--ink); }
html[data-design="modern"] .item { border-left: 1px solid var(--line); }
html[data-design="modern"] .item:hover { border-color: var(--ink); }
html[data-design="modern"] .item .meta { color: var(--gold-dark); letter-spacing: .08em; }
html[data-design="modern"] table.termine { border: 1px solid var(--line); }
html[data-design="modern"] table.termine thead th { background: var(--paper-2); color: var(--ink); font-weight: 700; }
html[data-design="modern"] table.termine tbody tr:hover { background: #f0f1ff; }
html[data-design="modern"] .note { background: #f4f4ff; border-color: #c7c4f5; border-left-color: var(--gold); color: #262a4a; }
html[data-design="modern"] .note strong { color: var(--gold-dark); }
html[data-design="modern"] footer.site { background: var(--ink); border-top: 0; }
html[data-design="modern"] footer.site a:hover { color: #fff; }
html[data-design="modern"] footer.site :focus-visible { outline-color: #a5b4fc; }
@media (max-width: 760px) {
  html[data-design="modern"] .hero { padding: 72px 0 70px; }
  html[data-design="modern"] section.block { padding: 60px 0; }
  html[data-design="modern"] #zahlen .card { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Demo: Design-Umschalter (nur auf der Demo-Website) ---------- */
.dw-leiste {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  background: #11141A; color: #EDF1F7; border: 1px solid rgba(232,163,61,.45);
  border-radius: 16px; padding: 10px 12px; box-shadow: 0 14px 40px rgba(0,0,0,.35);
  font: 600 14px/1.3 "Segoe UI", system-ui, Arial, sans-serif; max-width: calc(100vw - 32px);
}
.dw-leiste b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #E8A33D; margin: 0 2px 8px; }
.dw-leiste .dw-knoepfe { display: flex; gap: 6px; flex-wrap: wrap; }
.dw-leiste button {
  font: inherit; cursor: pointer; border: 1px solid #2c3442; background: #1a1f28; color: #EDF1F7;
  padding: 7px 11px; border-radius: 10px; display: flex; align-items: center; gap: 7px;
}
.dw-leiste button i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dw-leiste button[aria-pressed="true"] { background: #E8A33D; color: #11141A; border-color: #E8A33D; }
.dw-leiste .dw-zu { position: absolute; top: 4px; right: 8px; border: 0; background: none; padding: 2px 6px; color: #96A1B3; }
.dw-leiste.klein .dw-knoepfe, .dw-leiste.klein b span { display: none; }
@media (max-width: 560px) { .dw-leiste { left: 16px; right: 16px; bottom: 10px; } .dw-leiste button { padding: 6px 9px; } }
@media print { .dw-leiste { display: none; } }

/* v1.1: seitlicher Abstand im Kopfbereich auch auf dem Handy
   (.nav hatte den Innenabstand von .wrap überschrieben) */
header.site .wrap.nav { padding-left: 20px; padding-right: 20px; }
html[data-design="tradition"] form.vform { margin-left: auto; margin-right: auto; }
html[data-design="tradition"] .note { max-width: 760px; margin-left: auto; margin-right: auto; }

/* v1.1: Termin-Tabellen passen aufs Handy (vorher seitlicher Überlauf) */
@media (max-width: 600px) {
  table.termine th, table.termine td { padding: 9px 7px; font-size: .86rem; word-break: break-word; hyphens: auto; }
  table.termine thead th { font-size: .74rem; letter-spacing: .02em; }
  html[data-design="sport"] table.termine thead th { font-size: .86rem; }
}

/* =====================================================================
   v1.1: Kalender – "in den eigenen Kalender" & Jahreskalender
   (passt sich über die Variablen automatisch jedem Design an)
   ===================================================================== */
.kal-werkzeuge { margin: 4px 0 22px; }
.kal-werkzeuge .btn { margin: 0 8px 8px 0; font-family: inherit; }
.kal-hilfe { color: var(--muted); font-size: .9rem; margin-top: 4px; max-width: 760px; }
.kal-plus {
  font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  color: var(--gold-dark); background: transparent; border: 1px solid currentColor;
  border-radius: 999px; padding: 1px 9px; margin-left: 4px; vertical-align: 1px;
}
.kal-plus:hover { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.jk-reiter { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; }
html[data-design="tradition"] .jk-reiter { justify-content: center; }
.jk-reiter button {
  font: inherit; font-weight: 700; cursor: pointer; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--text);
}
.jk-reiter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.jk-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; text-align: left; }
.jk-monat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px 12px; box-shadow: var(--shadow);
}
.jk-monat.jetzt { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 45%, transparent); }
.jk-monat h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.jk-monat ul { list-style: none; }
.jk-monat li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: .92rem; line-height: 1.35; }
.jk-monat li + li { border-top: 1px dashed var(--line); }
.jk-monat li.vorbei { opacity: .55; }
.jk-monat li.jk-leer { color: var(--muted); }
.jk-tag {
  flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--gold-dark); font-weight: 800; font-size: .95rem;
}
.jk-was { color: var(--text); font-weight: 600; }
.jk-was small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
html[data-design="sport"] .jk-monat h3 { font-size: 1.25rem; }
html[data-design="sport"] .jk-tag { background: var(--ink); color: var(--gold); border-radius: 2px; font-family: var(--font-head); font-size: 1.1rem; }
html[data-design="tradition"] .jk-monat { outline: 1px solid var(--line); outline-offset: -5px; }
html[data-design="tradition"] .jk-monat h3 { border-bottom: 1px solid var(--tradition-gold); font-style: italic; text-align: center; }
html[data-design="familie"] .jk-tag { border-radius: 50%; background: var(--paper-2); }
html[data-design="familie"] .jk-monat { border: 0; }
html[data-design="modern"] .jk-monat h3 { border-bottom: 1px solid var(--line); }
html[data-design="modern"] .jk-tag { background: transparent; border: 1px solid var(--line); color: var(--ink); }
@media print { .kal-werkzeuge, .kal-plus, .jk-reiter { display: none; } .jk-monat { break-inside: avoid; box-shadow: none; } }

/* v1.1: Termin-Tabellen auf dem Handy als Karten (statt gequetschter Spalten) */
@media (max-width: 600px) {
  table.termine, table.termine tbody { display: block; background: transparent; box-shadow: none; }
  table.termine caption { display: block; }
  table.termine thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.termine tbody tr {
    display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline;
    background: var(--paper) !important; border: 1px solid var(--line); border-left: 4px solid var(--gold);
    border-radius: var(--radius); padding: 10px 14px; margin-bottom: 10px; box-shadow: var(--shadow);
  }
  table.termine td { border: 0; padding: 1px 0 !important; font-size: .95rem; word-break: normal; }
  table.termine td:nth-child(1) { font-weight: 800; color: var(--gold-dark); }
  table.termine td:nth-child(2) { color: var(--muted); font-size: .88rem; }
  table.termine td:nth-child(2):empty::before { content: "ganztägig"; }
  table.termine td:nth-child(3) { grid-column: 1 / -1; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
  table.termine td:nth-child(4) { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
  table.termine td:nth-child(4):not(:empty)::before { content: "📍 "; }
  table.termine td[colspan] { grid-column: 1 / -1; }
  .jk-monat.ohne { display: none; }
  html[data-design] table.termine { border: 0; }
}
