/* Kellerkompass – Website. Keine externen Quellen, keine Cookies. */
@font-face { font-family: "Cormorant"; src: url("schrift/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("schrift/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("schrift/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --keller: #15181D;
  --gewoelbe: #1E2228;
  --gold: #E3C18A;
  --kreide: #F2EBDF;
  --gedaempft: #A9A29A;
  --bordeaux: #482A39;
  --weinrot: #7A2E46;
  --serif: "Cormorant", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rand: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { background: var(--keller); color-scheme: dark; }
body { margin: 0; background: var(--keller); color: var(--kreide); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; }

/* ---------- Eröffnung: wie der Start der App ---------- */
.eroeffnung {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; padding: 48px var(--rand) 40px; overflow: hidden; isolation: isolate;
}
.eroeffnung::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("bild/keller-quer.webp") center 45% / cover no-repeat;
  animation: einblenden 1.1s ease-out 0.15s both;
}
.eroeffnung::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 38% 32% at 50% 44%, rgba(21,24,29,.55), transparent 70%),
    linear-gradient(to bottom, rgba(21,24,29,.35), rgba(21,24,29,.25) 45%, rgba(21,24,29,.92) 92%, var(--keller));
}
@media (max-aspect-ratio: 4/5) { .eroeffnung::before { background-image: url("bild/keller-hoch.webp"); background-position: center 40%; } }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

.marke { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 6vh, 56px); }
.marke .windrose { width: clamp(150px, 22vh, 220px); height: auto; }
.marke h1 { margin: 0; }
.marke h1 img { display: block; width: clamp(240px, 34vw, 380px); height: auto; }
.leitsatz { font: italic 500 clamp(22px, 2.6vw, 30px)/1.3 var(--serif); color: var(--kreide); max-width: 26ch; margin: 0; }
.verfuegbar { font-size: 15px; color: var(--gedaempft); margin: 10px 0 0; }

/* ---------- Inhalt ---------- */
.spalte { max-width: 1080px; margin: 0 auto; padding: 0 var(--rand); }

.einleitung { padding-block: clamp(72px, 12vh, 140px) clamp(56px, 9vh, 100px); }
.einleitung h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 20ch; color: var(--kreide); }
.einleitung p { max-width: 60ch; color: var(--gedaempft); margin: 28px 0 0; font-size: 18px; }

.richtungen { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); padding-bottom: clamp(72px, 12vh, 140px); }
.richtung { padding: 36px 0 40px; border-top: 1px solid rgba(227,193,138,.28); }
.richtung h3 { font-size: 34px; color: var(--gold); display: flex; align-items: baseline; gap: 14px; }
.richtung h3 svg { width: 16px; height: 16px; flex: none; transform: translateY(1px); }
.richtung p { margin: 14px 0 0; max-width: 46ch; }

.versprechen { background: var(--bordeaux); }
.versprechen .spalte { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(64px, 10vh, 120px); align-items: start; }
.versprechen h2 { font-size: clamp(36px, 4.8vw, 58px); color: var(--kreide); }
.versprechen .text { color: #E7D9DF; margin: 22px 0 0; max-width: 44ch; }
.versprechen ul { list-style: none; margin: 6px 0 0; padding: 0; }
.versprechen li { padding: 16px 0; border-bottom: 1px solid rgba(242,235,223,.18); font-size: 18px; }
.versprechen li:first-child { padding-top: 0; }

.bald { padding-block: clamp(72px, 12vh, 140px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bald img { width: clamp(96px, 12vw, 136px); height: auto; border-radius: 26%; }
.bald h2 { font-size: clamp(30px, 3.8vw, 44px); }
.bald p { margin: 12px 0 0; max-width: 56ch; color: var(--gedaempft); }

footer { border-top: 1px solid rgba(227,193,138,.18); }
footer .spalte { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--gedaempft); }
footer nav { display: flex; gap: 24px; }
footer a { color: var(--gedaempft); }
footer a:hover { color: var(--gold); }

/* ---------- Rechtstexte ---------- */
.kopf { padding: 28px var(--rand); }
.kopf a { display: inline-flex; align-items: center; gap: 12px; color: var(--kreide); text-decoration: none; font: 500 24px var(--serif); }
.kopf img { width: 34px; height: 34px; }
.recht { max-width: 720px; margin: 0 auto; padding: 24px var(--rand) 96px; }
.recht h1 { font-size: clamp(36px, 5vw, 50px); }
.recht h2 { font-size: 27px; color: var(--gold); margin-top: 44px; }
.recht p, .recht li { color: #DDD5CA; }
.recht .stand { color: var(--gedaempft); margin-top: 8px; }
.recht .kurz { background: var(--gewoelbe); border-left: 3px solid var(--gold); padding: 16px 20px; margin: 32px 0 0; }
.recht address { font-style: normal; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
.knopf { display: inline-block; padding: 13px 24px; border-radius: 999px; background: var(--gold); color: var(--keller); font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1px solid var(--gold); }
.knopf:hover { background: #EDD3A6; }
.knopf.zweit { background: transparent; color: var(--gold); }
.knopf.zweit:hover { background: rgba(227,193,138,.12); }
.recht .hinweis { color: var(--gedaempft); font-size: 15px; margin-top: 14px; }
.platzhalter { background: #6B4A12; color: #FFE7B3; padding: 0 4px; border-radius: 3px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .richtungen, .versprechen .spalte, .bald { grid-template-columns: 1fr; }
  .bald img { width: 88px; }
}
@media (prefers-reduced-motion: reduce) { .eroeffnung::before { animation: none; } }

/* ---------- Anleitung ---------- */
.anleitung { max-width: 860px; margin: 0 auto; padding: 16px var(--rand) 96px; }
.anleitung .kicker { color: var(--gold); font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.anleitung h1 { font-size: clamp(38px, 5.6vw, 60px); }
.anleitung .stand { color: var(--gedaempft); margin-top: 14px; max-width: 58ch; font-size: 18px; }
.anleitung .inhalt { background: var(--gewoelbe); border-radius: 14px; padding: 22px 28px; margin: 40px 0 8px; }
.anleitung .inhalt h2 { font-size: 26px; color: var(--gold); margin: 0 0 10px; }
.anleitung .inhalt ol { columns: 2; column-gap: 40px; margin: 0; padding-left: 22px; }
.anleitung .inhalt li { padding: 3px 0; break-inside: avoid; }
.anleitung .inhalt a { color: var(--kreide); text-decoration: none; }
.anleitung .inhalt a:hover { color: var(--gold); text-decoration: underline; }
.anleitung section { padding-top: 56px; display: flow-root; }
.anleitung section > h2 { font-size: clamp(30px, 3.6vw, 40px); color: var(--kreide); border-bottom: 1px solid rgba(227,193,138,.28); padding-bottom: 12px; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; }
.anleitung .nr { font: 600 15px var(--sans); color: var(--keller); background: var(--gold); border-radius: 999px; min-width: 30px; height: 30px; display: inline-grid; place-items: center; transform: translateY(-4px); }
.anleitung h3 { font: 600 19px/1.3 var(--sans); color: var(--gold); margin: 28px 0 6px; }
.anleitung p, .anleitung li, .anleitung dd { color: #DDD5CA; }
.anleitung strong { color: var(--kreide); }
.anleitung ol, .anleitung ul { padding-left: 24px; }
.anleitung li { margin: 6px 0; }
.anleitung section ol { list-style: none; counter-reset: schritt; padding-left: 0; }
.anleitung section ol > li { counter-increment: schritt; position: relative; padding-left: 40px; margin: 10px 0; }
.anleitung section ol > li::before { content: counter(schritt); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font: 600 13px/23px var(--sans); text-align: center; }
.anleitung section ul { padding-left: 22px; }
.anleitung section ul > li::marker { color: var(--gold); }
.anleitung p { max-width: 68ch; }
.anleitung .liste { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0; }
.anleitung .liste dt { color: var(--kreide); font-weight: 600; }
.anleitung .liste dd { margin: 0; }
.anleitung .bild { float: right; clear: right; width: 188px; margin: 4px 0 24px 36px; }
/* Bildschirmfoto im Handy-Rahmen */
.anleitung .handy { display: block; position: relative; padding: 9px; border-radius: 32px; background: linear-gradient(145deg, #3B4049, #1A1D22 45%, #2A2E35); box-shadow: 0 0 0 1px rgba(227,193,138,.35), 0 18px 42px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06); }
.anleitung .handy::before { content: ""; position: absolute; top: 15px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #0A0B0D; box-shadow: 0 0 0 1.5px #2a2e35; z-index: 1; }
.anleitung .handy::after { content: ""; position: absolute; right: -3px; top: 92px; width: 3px; height: 46px; border-radius: 0 2px 2px 0; background: #2f333a; }
.anleitung .handy img { width: 100%; height: auto; display: block; border-radius: 24px; background: #15181D; }
.anleitung figcaption { color: var(--gedaempft); font-size: 13.5px; text-align: center; margin-top: 12px; line-height: 1.35; font-style: italic; }
.anleitung h3, .anleitung .tabelle, .anleitung .tipp { clear: none; }
.anleitung .tipp { background: var(--gewoelbe); border-left: 3px solid var(--gold); padding: 14px 18px; margin: 22px 0; color: #DDD5CA; overflow: hidden; }
.anleitung .tabelle { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15.5px; }
.anleitung .tabelle th { text-align: left; color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(227,193,138,.4); padding: 8px 10px 8px 0; }
.anleitung .tabelle td { border-bottom: 1px solid rgba(242,235,223,.1); padding: 8px 10px 8px 0; color: #DDD5CA; vertical-align: top; }
.anleitung .klein { font-size: 15px; color: var(--gedaempft); }
.anleitung details { border-bottom: 1px solid rgba(242,235,223,.12); padding: 12px 0; }
.anleitung summary { cursor: pointer; color: var(--kreide); font-weight: 600; }
.anleitung details p { margin: 10px 0 2px; }
.anleitung .hinweis, .anleitung .fuss-hinweis { color: var(--gedaempft); font-size: 15px; margin-top: 24px; }
.anleitung .fuss-hinweis { clear: both; padding-top: 32px; }
@media screen and (max-width: 760px) {
  .anleitung .inhalt ol { columns: 1; }
  .anleitung .bild { float: right; width: min(150px, 40vw); margin: 4px 0 14px 16px; }
  .anleitung .handy { padding: 6px; border-radius: 22px; }
  .anleitung .handy img { border-radius: 17px; }
  .anleitung .handy::before { top: 10px; width: 6px; height: 6px; margin-left: -3px; }
  .anleitung .handy::after { top: 60px; height: 30px; }
  .anleitung figcaption { font-size: 12px; margin-top: 8px; }
  .anleitung section ol > li { padding-left: 34px; }
  .anleitung .tabelle { font-size: 14px; }
  .anleitung .liste { grid-template-columns: 1fr; gap: 0; }
  .anleitung .liste dd { margin-bottom: 8px; }
}

/* ---------- Druck / PDF ---------- */
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  html, body { background: #fff !important; color: #1d1a17; color-scheme: light; }
  body { font-size: 10.5pt; line-height: 1.5; }
  .kopf, footer, .nur-bildschirm { display: none; }
  .anleitung { max-width: none; padding: 0; }
  .anleitung .kicker { color: #8a6a3a; }
  .anleitung h1 { color: #1d1a17; font-size: 34pt; }
  .anleitung .stand, .anleitung .klein, .anleitung figcaption, .anleitung .hinweis, .anleitung .fuss-hinweis { color: #6b625a; }
  .anleitung .inhalt { background: #f6f1e9; break-after: page; }
  .anleitung .inhalt h2 { color: #7a2e46; }
  .anleitung .inhalt a { color: #1d1a17; }
  .anleitung section { padding-top: 22pt; }
  .anleitung section > h2 { color: #1d1a17; border-color: #d9c7a6; font-size: 22pt; break-after: avoid; }
  .anleitung .nr { background: #7a2e46; color: #fff; }
  .anleitung h3 { color: #7a2e46; font-size: 12pt; break-after: avoid; }
  .anleitung p, .anleitung li, .anleitung dd, .anleitung .tabelle td, .anleitung .tipp { color: #2a2622; }
  .anleitung strong, .anleitung .liste dt, .anleitung summary { color: #1d1a17; }
  .anleitung a { color: #7a2e46; text-decoration: none; }
  .anleitung .tipp { background: #f6f1e9; border-color: #b08a4f; break-inside: avoid; }
  .anleitung .tabelle th { color: #7a2e46; border-color: #d9c7a6; }
  .anleitung .tabelle td { border-color: #e8e0d4; }
  .anleitung .tabelle tr, .anleitung dt, .anleitung dd, .anleitung li { break-inside: avoid; }
  .anleitung .bild { width: 36mm; margin: 1mm 0 4mm 7mm; break-inside: avoid; }
  .anleitung .bild figcaption { font-size: 8pt; margin-top: 4px; }
  .anleitung section { clear: both; }
  .anleitung .handy { padding: 5px; border-radius: 18px; box-shadow: 0 0 0 0.6pt #b9b2a8; background: #2a2e35; }
  .anleitung .handy img { border-radius: 13px; }
  .anleitung .handy::before { top: 8px; width: 5px; height: 5px; margin-left: -2.5px; }
  .anleitung .handy::after { display: none; }
  .anleitung section ol > li::before { border-color: #7a2e46; color: #7a2e46; }
  .anleitung section ul > li::marker { color: #7a2e46; }
  .anleitung details { border-color: #e8e0d4; break-inside: avoid; }
  .anleitung details > summary { list-style: none; }
  .anleitung details > summary::-webkit-details-marker { display: none; }
}
