/* THEKI Adventsfreude 2026 */

/* Baskervville, die Serifenschrift von theki.eu. Liegt als Datei bei,
   damit die Seite nichts von fremden Servern nachlaedt. */
@font-face {
  font-family: 'Baskervville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('baskervville.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: 'Baskervville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('baskervville-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(cormorant-garamond.woff2) format('woff2');
}

:root {
  --bg: #f7f7f9;
  --card: #fff;
  --ink: #3a3f4d;
  --muted: #8a8d99;
  --accent: #7B637C;
  --accent2: #405A83;
  --gold: #9c7f33;
  --gold-hell: #c9a961;
  --line: #e7e8ee;
  --grad: linear-gradient(135deg, #7B637C 0%, #405A83 100%);
  /* Rauhnächte sind Nächte: dunkel, mit Gold als Akzent. */
  --grad-nacht: linear-gradient(135deg, #4b4459 0%, #2f3a52 100%);
  --titel: 'Baskervville', 'Cormorant Garamond', Georgia, serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --schatten: 0 2px 12px rgba(58, 63, 77, .07);

  /* Sternenmuster für die Türchen. Jedes Türchen bekommt über --i einen
     anderen Ausschnitt, damit keines wie kopiert aussieht. */
  --sterne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='140' viewBox='0 0 120 140'%3E%3Cg fill='%23c9a961'%3E%3Cpath opacity='.55' d='M22 14c.5 4 3.5 7 7.5 7.5-4 .5-7 3.5-7.5 7.5-.5-4-3.5-7-7.5-7.5 4-.5 7-3.5 7.5-7.5z'/%3E%3Cpath opacity='.4' d='M92 52c.3 2.6 2.4 4.7 5 5-2.6.3-4.7 2.4-5 5-.3-2.6-2.4-4.7-5-5 2.6-.3 4.7-2.4 5-5z'/%3E%3Ccircle opacity='.5' cx='60' cy='30' r='1.2'/%3E%3Ccircle opacity='.4' cx='104' cy='118' r='1'/%3E%3Ccircle opacity='.55' cx='14' cy='96' r='1.3'/%3E%3Cpath opacity='.5' d='M44 104c.4 3 2.8 5.4 5.8 5.8-3 .4-5.4 2.8-5.8 5.8-.4-3-2.8-5.4-5.8-5.8 3-.4 5.4-2.8 5.8-5.8z'/%3E%3Ccircle opacity='.35' cx='76' cy='84' r='.9'/%3E%3Cpath opacity='.3' d='M108 22c.3 2.2 2 3.9 4.2 4.2-2.2.3-3.9 2-4.2 4.2-.3-2.2-2-3.9-4.2-4.2 2.2-.3 3.9-2 4.2-4.2z'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: linear-gradient(180deg, #fdfdfe 0%, #f3f4f8 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Cormorant setzt von Haus aus Mediävalziffern, bei denen die 1 wie ein I
   aussieht. Überall dort, wo Zahlen gelesen werden müssen, Versalziffern. */
.tuer, .kzahl, .vorher .gross, .block.med .mtitel, .karte .kdatum {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.huelle { max-width: 940px; margin: 0 auto; padding: 0 18px 80px; }

/* Kopf */

.kopf { text-align: center; padding: 44px 0 30px; }

.kopf .logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  margin: 0 auto 22px;
}

@media (max-width: 560px) { .kopf .logo { max-width: 150px; margin-bottom: 18px; } }

.kopf .marke {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.kopf h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 7vw, 54px);
  font-weight: 600;
  margin: 0 0 8px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}

.kopf .unter { color: var(--muted); font-size: 15.5px; margin: 0; }

.kopf .zier {
  width: 54px; height: 1px; margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-hell), transparent);
}

/* Abschnitte */

.abschnitt-titel {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--accent);
  margin: 40px 0 4px;
  text-align: center;
}

.abschnitt-unter {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

/* Türchen-Raster. Weniger Spalten als vorher, damit die Türchen groß genug
   sind, um nach dem Öffnen ihr Thema zu tragen. */

.raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 780px) { .raster { grid-template-columns: repeat(3, 1fr); gap: 11px; } }
@media (max-width: 460px) { .raster { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.tuer {
  position: relative;
  aspect-ratio: 1;
  border: none;
  border-radius: 16px;
  background: var(--grad);
  background-image: var(--sterne), var(--grad);
  background-size: 120px 140px, auto;
  background-position: calc(var(--i, 0) * 17px) calc(var(--i, 0) * 23px), 0 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  box-shadow: var(--schatten);
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
  transform-style: preserve-3d;
}

.tuer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.2), transparent 62%);
  pointer-events: none;
}

.tuer:hover:not(.zu) { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(58,63,77,.15); }
.tuer:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.tuer .zahl {
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 600;
  line-height: 1;
  transition: font-size .25s ease;
}

.tuer .thema {
  display: none;
  font-family: var(--serif);
  font-size: clamp(14px, 2.6vw, 18px);
  line-height: 1.2;
  text-align: center;
  padding: 0 4px;
  opacity: .95;
  letter-spacing: .2px;
}

.tuer .rnr {
  position: absolute;
  bottom: 6px;
  left: 0; right: 0;
  font-size: 9px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .7;
  font-weight: 500;
}

/* Geschlossen */

.tuer.zu {
  background-image: none;
  background: #e9e7ee;
  color: #b4b0bd;
  cursor: not-allowed;
  box-shadow: none;
}

.tuer.zu::after { display: none; }

/* Rauhnächte */

.tuer.rauh {
  background-image: var(--sterne), var(--grad-nacht);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, .55), var(--schatten);
  color: var(--gold-hell);
}

.tuer.rauh .rnr { color: var(--gold-hell); opacity: .85; }

/* Heute */

.tuer.heute {
  box-shadow: 0 0 0 2px var(--gold), 0 6px 20px rgba(156,127,51,.3);
  animation: puls 2.8s ease-in-out infinite;
}

@keyframes puls {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 6px 20px rgba(156,127,51,.28); }
  50% { box-shadow: 0 0 0 3px var(--gold-hell), 0 8px 26px rgba(156,127,51,.42); }
}

/* Schon geöffnet: Zahl wird klein, das Thema erscheint, damit man weiß,
   was hinter dem Türchen lag. */

.tuer.geoeffnet { opacity: .9; }
.tuer.geoeffnet .zahl { font-size: clamp(17px, 3vw, 22px); }
.tuer.geoeffnet .thema { display: block; }
.tuer.geoeffnet .rnr { display: none; }

.tuer .haken {
  position: absolute;
  top: 7px; right: 7px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tuer.gehoert .haken { display: flex; }
.tuer.rauh.gehoert .haken { background: var(--gold-hell); color: #2f3a52; }

/* Das Aufklappen */

/* Das Türchen schwingt auf wie eine Tür, mit Scharnier links. */

.tuer.oeffnet {
  animation: aufklappen .64s cubic-bezier(.36, .06, .28, 1) forwards;
  transform-origin: left center;
  z-index: 8;
}

@keyframes aufklappen {
  0%   { transform: perspective(800px) rotateY(0) scale(1); }
  18%  { transform: perspective(800px) rotateY(6deg) scale(1.04); }
  45%  { transform: perspective(800px) rotateY(-42deg) scale(1.08); }
  100% { transform: perspective(800px) rotateY(-104deg) scale(1.02); opacity: .2; }
}

.schein {
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 244, 214, 1), rgba(201,169,97,.75) 38%, rgba(156,127,51,.25) 62%, transparent 78%);
  pointer-events: none;
  z-index: 6;
  animation: schein .7s ease-out forwards;
}

@keyframes schein {
  0% { opacity: 0; transform: scale(.4); }
  30% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.9); }
}

.funke {
  position: fixed;
  width: 7px; height: 7px;
  pointer-events: none;
  z-index: 60;
  color: var(--gold-hell);
}

.funke svg { display: block; width: 100%; height: 100%; fill: currentColor; }

/* Overlay und Karte */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 42, 58, .5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 14px;
  overflow-y: auto;
  z-index: 50;
  animation: einblenden .2s ease;
}

@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

.karte {
  background: var(--card);
  border-radius: 18px;
  max-width: 620px;
  width: 100%;
  padding: 34px 30px 30px;
  position: relative;
  box-shadow: 0 16px 50px rgba(46,42,58,.22);
  animation: hoch .3s cubic-bezier(.2, .8, .3, 1);
  margin: auto 0;
}

@keyframes hoch { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 560px) { .karte { padding: 28px 20px 24px; border-radius: 15px; } }

.zu-knopf {
  position: absolute;
  top: 13px; right: 13px;
  width: 32px; height: 32px;
  border: none;
  border-radius: 50%;
  background: #f2f1f5;
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.zu-knopf:hover { background: #e9e7ee; color: var(--ink); }

.karte .kzahl {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.karte.rauh .kzahl { background: linear-gradient(135deg, #6f5a76, #9c7f33); -webkit-background-clip: text; background-clip: text; }

.karte .kdatum { color: var(--muted); font-size: 13px; margin: 2px 0 0; }

.karte .kformat {
  display: inline-block;
  margin: 14px 0 0;
  padding: 4px 11px;
  border-radius: 20px;
  background: #f3f1f6;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.karte.rauh .kformat { background: #f7f2e6; color: var(--gold); }

.karte h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  margin: 12px 0 16px;
  line-height: 1.2;
}

.karte .impuls p { margin: 0 0 14px; font-size: 16px; }
.karte .impuls p:last-child { margin-bottom: 0; }

.karte .impuls h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--accent);
  margin: 26px 0 10px;
  line-height: 1.25;
}

.karte .impuls h3:first-child { margin-top: 0; }

/* Blöcke in der Karte */

.block {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #faf9fb;
  border: 1px solid var(--line);
}

.block .btitel {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.block.med { background: #f5f2f7; border-color: #e6e0ec; }
.block.med .mtitel { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--accent); margin: 0 0 3px; }
.block.med .mquelle { font-size: 13px; color: var(--muted); margin: 0; }

.spieler { width: 100%; margin-top: 13px; height: 38px; border-radius: 9px; }

.medlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}

.medlink:hover { background: #6b5569; }

.block.med .mhinweis {
  margin: 11px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.45;
}

/* Häkchen: schon gehört */

.gehoert-schalter {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e6e0ec;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.gehoert-schalter:hover { border-color: var(--accent); }

.gehoert-schalter input {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex: 0 0 auto;
}

.gehoert-schalter.an { background: #f3f8f4; border-color: #b9d6c1; }
.gehoert-schalter.an span { color: #4a7256; font-weight: 600; }

.block.anw { background: #f7f4ec; border-color: #ece3d0; }
.block.anw .btitel { color: var(--gold); }
.block.anw p { margin: 0; font-size: 15.5px; }

.intentionen { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: int; }

.intentionen li {
  counter-increment: int;
  position: relative;
  padding: 9px 12px 9px 38px;
  margin-bottom: 7px;
  background: #fff;
  border: 1px solid #ece3d0;
  border-radius: 9px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
}

.intentionen li::before {
  content: counter(int);
  position: absolute;
  left: 12px; top: 10px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intentionen li:last-child { margin-bottom: 0; }

.block.anw .iquelle {
  margin: 11px 0 0;
  font-size: 12.5px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.45;
}

/* Verlosung */

.block.gewinn { background: #f7f4ec; border-color: #e3d6b8; }
.block.gewinn .btitel { color: var(--gold); }

.block.gewinn .gtitel {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
}

.block.gewinn .gtext p { margin: 0 0 11px; font-size: 15.5px; }

.gpreise {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.gpreise li {
  padding: 11px 13px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #e3d6b8;
  border-radius: 9px;
  font-size: 15.5px;
  line-height: 1.4;
}

.gpreise li:first-child {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.gpreise .platz {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.gwie {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.gschritte {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: schritt;
}

.gschritte li {
  counter-increment: schritt;
  position: relative;
  padding: 10px 13px 10px 40px;
  margin-bottom: 7px;
  background: #fff;
  border: 1px solid #e3d6b8;
  border-radius: 9px;
  font-size: 15px;
  line-height: 1.4;
}

.gschritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 12px; top: 11px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gextra {
  margin: 12px 0 0;
  padding: 10px 13px;
  background: #fffaf0;
  border: 1px dashed var(--gold-hell);
  border-radius: 9px;
  font-size: 14.5px;
}

.glink {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border-radius: 9px;
  background: var(--gold);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
}

.glink:hover { background: #8a7030; }

.gschluss {
  margin: 11px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.gfehler { margin: 9px 0 0; font-size: 13.5px; color: #b23c3c; }

.gdanke {
  margin-top: 15px;
  padding: 14px;
  background: #f3f8f4;
  border: 1px solid #b9d6c1;
  border-radius: 9px;
  font-size: 15px;
  color: #3f6b4d;
  line-height: 1.5;
}

.block.hinweis { background: #eef2f8; border-color: #dde4ef; }
.block.hinweis .btitel { color: var(--accent2); }
.block.hinweis p { margin: 0; font-size: 15px; }

.beleg {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.punkt { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.punkt.ok { background: #6b9e78; }
.punkt.offen { background: #d3a34a; }

/* Vorher-Ansicht */

.vorher {
  text-align: center;
  padding: 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 26px;
  box-shadow: var(--schatten);
}

.vorher .gross { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--accent); line-height: 1; }
.vorher p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }

/* Testleiste */

.testleiste {
  background: #2f3340;
  color: #d8d5e0;
  padding: 9px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.testleiste strong { color: #fff; font-weight: 600; }
.testleiste input[type=date] {
  background: #3f4454; color: #fff; border: 1px solid #555b6d;
  border-radius: 7px; padding: 4px 8px; font-family: inherit; font-size: 13px;
}
.testleiste button {
  background: #4a5162; color: #fff; border: none;
  border-radius: 7px; padding: 5px 11px; font-family: inherit;
  font-size: 12.5px; cursor: pointer; font-weight: 500;
}
.testleiste button:hover { background: #5a6274; }
.testleiste button.an { background: var(--gold); }

.fuss { text-align: center; color: var(--muted); font-size: 13px; margin-top: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tuer.oeffnet { opacity: 1; transform: none; }
}

/* Der Rechtstext steht als Fußnote unter der Verlosung. Er muss
   vollständig da sein, soll aber nicht mit dem Gewinnspiel konkurrieren. */
.gagb {
  margin: 22px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.gagbtitel {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
}

.gagb h4 {
  margin: 10px 0 3px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.gagb p,
.gagb li {
  margin: 0 0 4px;
}

.gagb ul,
.gagb ol {
  margin: 0 0 4px;
  padding-left: 16px;
}

.gagbzeile {
  font-variant-numeric: tabular-nums;
}

/* Türchen, die aus dem Kalender hinausführen, etwa zu KIT. Der Knopf soll
   deutlich stärker wirken als ein Textlink, er ist der Zweck des Türchens. */
.aktion {
  display: block;
  margin: 18px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(64, 90, 131, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}

.aktion:hover,
.aktion:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(64, 90, 131, .3);
}

.aktiontext {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
}

.aktionunter {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 12.5px;
  opacity: .85;
}

@media (prefers-reduced-motion: reduce) {
  .aktion { transition: none; }
  .aktion:hover, .aktion:focus-visible { transform: none; }
}

/* Link im Merken-Kasten, und der Platzhalter, solange die Adresse fehlt. */
.hlink {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent2);
}

.hfolgt {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
}

/* Kurze Erklärung, was die Meditation macht. Steht zwischen Titel und
   Abspielknopf, damit klar ist, worauf man sich einlässt. */
.merklaerung {
  margin: 6px 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  opacity: .82;
}

/* THEKI Footer. Farben und Schriften von theki.eu übernommen:
   Fläche #3C4756, Überschriften in Serif und #D8CACF. */
.fussleiste {
  margin-top: 56px;
  padding: 48px 24px 28px;
  background: #3C4756;
  color: rgba(255, 255, 255, .88);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

.fusshuelle {
  max-width: 940px;
  margin: 0 auto;
}

.fussspalten {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px 28px;
  padding-bottom: 34px;
}

.fussspalte h2 {
  margin: 0 0 16px;
  font-family: var(--titel);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .3px;
  color: #D8CACF;
}

.fussspalte ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fussspalte li {
  margin-bottom: 9px;
}

.fussleiste a {
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
}

.fussleiste a:hover,
.fussleiste a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.fusszeile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
}

.fusszeile svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: #D8CACF;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fusscopy {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
}

.fusscopy sup {
  font-size: .6em;
  vertical-align: super;
}

@media (max-width: 720px) {
  .fussspalten {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .fussspalte h2 { font-size: 20px; }
}

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

/* ---------- Landingpage ---------- */

.landing .huelle {
  max-width: 720px;
}

.lblock {
  margin-top: 8px;
  text-align: center;
}

.lgross {
  margin: 0 0 16px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink);
}

.ldrei {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 38px 0 0;
}

.ldrei > div {
  padding: 22px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.lzahl {
  margin: 0 0 8px;
  font-family: var(--titel);
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
}

.ltext {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.lform {
  margin: 40px 0 0;
  padding: 32px 28px 28px;
  background: var(--card);
  border: 1px solid #e3d6b8;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(64, 90, 131, .08);
}

.lform h2 {
  margin: 0 0 10px;
  font-family: var(--titel);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.25;
  color: var(--ink);
}

.lform > p {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.lfeld {
  display: block;
  margin-bottom: 16px;
}

.lfeld span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.lfeld input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
}

.lfeld input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 99, 124, .15);
}

.lhaken {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.lhaken input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.lhaken a {
  color: var(--accent2);
}

#absenden {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(64, 90, 131, .22);
}

#absenden:hover:not(:disabled) {
  box-shadow: 0 9px 24px rgba(64, 90, 131, .3);
}

#absenden:disabled {
  opacity: .6;
  cursor: default;
}

.lmeldung {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-family: var(--sans);
  font-size: 14.5px;
  text-align: center;
  color: var(--muted);
}

.lmeldung.gut { color: #2f6f4f; }
.lmeldung.fehler { color: #9a3b3b; }
.lmeldung a { color: var(--accent2); }

.lklein {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 620px) {
  .ldrei { grid-template-columns: 1fr; gap: 14px; }
  .lform { padding: 26px 20px 22px; }
}
