/* selbst.care – selbstcare.at · Schriften lokal (DSGVO), keine externen Ressourcen */
@font-face { font-family: "Fraunces Soft"; src: url("../fonts/Fraunces-Soft-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces Soft"; src: url("../fonts/Fraunces-Soft-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --creme: #f3ede2;
  --creme-tief: #ebe3d4;
  --papier: #faf7f1;
  --text: #343831;
  --text-leise: #5d625a;
  --salbei: #5c7056;
  --salbei-hell: #b0bea8;
  --lavendel: #c4bade;
  --linie: #ddd4c3;
  --abend: #282d29;
  --radius: 22px;
  --breite: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font: 400 1.0625rem/1.65 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--salbei); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--salbei); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: "Fraunces Soft", Georgia, serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--breite)); margin-inline: auto; }
.schmal { width: min(100% - 32px, 760px); margin-inline: auto; }

/* Kopf */
.kopf { padding: 22px 0; position: relative; z-index: 2; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: "Fraunces Soft", Georgia, serif; font-weight: 600; font-size: 1.35rem; }
.marke img { width: 54px; }
.kopf nav { display: flex; gap: 22px; font-size: .95rem; }
.kopf nav a { color: var(--text-leise); text-decoration: none; }
.kopf nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow-x: clip; padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 9vw, 112px); }
html, body { max-width: 100%; overflow-x: clip; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; }
.hero::before { width: 520px; height: 420px; left: -200px; top: -260px; background: color-mix(in srgb, var(--lavendel) 55%, transparent); }
.hero::after { width: 560px; height: 460px; right: -220px; bottom: -120px; background: color-mix(in srgb, var(--salbei-hell) 60%, transparent); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .eyebrow { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--salbei); font-weight: 500; margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: var(--text-leise); max-width: 34ch; }
.hero .bild img { width: 100%; max-width: 460px; margin-left: auto; }

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knopf { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: var(--salbei); color: var(--papier); text-decoration: none; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.knopf:hover { background: var(--text); color: var(--papier); transform: translateY(-1px); }
.knopf.hell { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--linie); }
.knopf.hell:hover { background: var(--papier); color: var(--text); }
.knopf svg { width: 18px; height: 18px; flex: none; }

/* Abschnitte */
.abschnitt { position: relative; z-index: 1; padding: clamp(56px, 8vw, 96px) 0; }
.abschnitt.papier { background: var(--papier); }
.abschnitt .kopfzeile { max-width: 640px; margin-bottom: 40px; }
.abschnitt .kopfzeile p { color: var(--text-leise); }

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.karte { background: var(--creme); border-radius: var(--radius); padding: 30px 28px; }
.abschnitt:not(.papier) .karte { background: var(--papier); }
.karte .zahl { font-family: "Fraunces Soft", Georgia, serif; color: var(--salbei); font-size: 1.05rem; margin-bottom: 14px; display: block; }
.karte p { color: var(--text-leise); margin: 0; }

.ritual { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.ritual ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ritual li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.ritual li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--salbei-hell); color: var(--text); font-family: "Fraunces Soft", Georgia, serif; }
.ritual li strong { display: block; font-weight: 500; }
.ritual li span { color: var(--text-leise); }

.brief { background: var(--abend); color: var(--creme); border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.brief h2 { color: var(--creme); }
.brief p { color: #d6d0c4; }
.brief .knopf { background: var(--creme); color: var(--abend); }
.brief .knopf:hover { background: var(--salbei-hell); }

.ehrlich { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ehrlich div { border-top: 1.5px solid var(--linie); padding-top: 18px; }
.ehrlich p { color: var(--text-leise); margin: 0; }

/* Fuß */
.fuss { padding: 40px 0 48px; border-top: 1px solid var(--linie); font-size: .92rem; color: var(--text-leise); }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 20px; }
.fuss a { color: var(--text-leise); text-decoration: none; }
.fuss a:hover { color: var(--text); text-decoration: underline; }

/* Rechtstexte */
.recht { padding: 32px 0 80px; }
.recht h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .3em; }
.recht .stand { color: var(--text-leise); margin-bottom: 40px; }
.recht h2 { font-size: 1.4rem; margin-top: 2.2em; }
.recht h3 { margin-top: 1.4em; }
.recht ul { padding-left: 1.2em; }
.recht li { margin-bottom: .4em; }
.recht dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1em; }
.recht dt { color: var(--text-leise); }
.recht dd { margin: 0; }
.platzhalter { background: #f6e3a8; border-radius: 4px; padding: 0 4px; }
.hinweis { background: var(--papier); border-left: 3px solid var(--salbei); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 1.2em 0; }
.en { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--linie); }

/* Link-Seite */
.links-seite { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 48px 16px 32px; text-align: center; }
.links-seite .bild { width: 150px; margin-bottom: 10px; }
.links-seite h1 { font-size: 1.9rem; margin-bottom: .2em; }
.links-seite p.bio { color: var(--text-leise); max-width: 32ch; margin: 0 auto 28px; }
.linkliste { width: min(100%, 440px); display: grid; gap: 12px; }
.linkliste a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 20px; border-radius: 16px; background: var(--papier); color: var(--text); text-decoration: none; font-weight: 500; box-shadow: 0 1px 0 var(--linie); transition: transform .15s ease, background .15s ease; }
.linkliste a:hover { background: #fff; transform: translateY(-1px); }
.linkliste a.haupt { background: var(--salbei); color: var(--papier); }
.linkliste a.haupt:hover { background: var(--text); }
.linkliste svg { width: 20px; height: 20px; flex: none; }
.links-seite .klein { margin-top: auto; padding-top: 40px; font-size: .85rem; }
.links-seite .klein a { color: var(--text-leise); margin: 0 8px; }

@media (max-width: 860px) {
  .hero .wrap, .ritual, .brief { grid-template-columns: 1fr; }
  .hero .bild { order: -1; }
  .hero .bild img { max-width: 300px; margin: 0 auto; }
  .karten, .ehrlich { grid-template-columns: 1fr; }
  .kopf nav { display: none; }
  .recht dl { grid-template-columns: 1fr; gap: 0; }
  .recht dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
