/* jerabek.fi – 20.11.2026. Schriften lokal (keine Google Fonts), Farben wie Alpenedelweiß/Natur-Engine-Präsentation. */
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-aa5d61.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; font-style: italic; src: url("fonts/cormorant-garamond-italic-latin-dccf20.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-e7ad69.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
:root { --ink: #eef1f2; --soft: #c3cbcf; --muted: #8f9a9f; --bg: #0d1114; --panel: #151b1f; --line: rgba(255,255,255,.1); --accent: #5fb4c8; --accent-d: #2e7d92; --warm: #d9b77a; --ember: #e07a52; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Jost", system-ui, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .big { font-family: "Cormorant", Georgia, serif; font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 em, h1 em { font-style: italic; color: var(--accent); }
h3 { font-size: 1.55rem; margin-bottom: .35rem; }
p { margin: .75rem 0; }
.kick { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 .7rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.sec { padding: clamp(3.5rem, 9vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.lead { font-size: 1.18rem; color: var(--soft); max-width: 46rem; }
.muted { color: var(--muted); font-size: .9rem; }

/* Startseite: Diashow-Hero */
.hero { position: relative; height: 100vh; height: 100svh; display: flex; align-items: flex-end; justify-content: center; text-align: center; overflow: hidden; }
.hero .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity .8s ease-in-out; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(13,17,20,.92)); pointer-events: none; }
.hero .hc { position: relative; z-index: 3; padding: 0 1rem 9vh; text-shadow: 0 0 18px rgba(0,0,0,.7); }
.hero h1 { font-family: "Jost", sans-serif; font-weight: 600; font-size: clamp(3rem, 9vw, 7rem); letter-spacing: .04em; }
.hero .names { font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 300; margin: .3rem 0 0; }
.hero .names a { color: #fff; text-decoration: none; }
.hero .tag { font-family: "Cormorant", serif; font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.8rem); color: #e8eef0; margin: .6rem 0 0; }
.hero .scroll { display: inline-block; margin-top: 1.6rem; color: #fff; text-decoration: none; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.hero .scroll::after { content: "↓"; display: block; font-size: 1.3rem; margin-top: .2rem; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; font-size: 2.6rem; color: rgba(255,255,255,.45); cursor: pointer; user-select: none; padding: 1rem; background: none; border: 0; }
.arrow:hover { color: #fff; }
#arrow-left { left: 6px; } #arrow-right { right: 6px; }
.social { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; }
.social svg { width: 24px; height: 24px; fill: #fff; opacity: .85; }

/* Karten */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 2rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(95,180,200,.45); }
.card .ci { aspect-ratio: 16/10; background: #222 center/cover no-repeat; }
.card .cb { padding: 1.2rem 1.3rem 1.4rem; }
.card .cb p { color: var(--soft); margin: .3rem 0 0; font-size: .97rem; }
.card .go { display: inline-block; margin-top: .8rem; color: var(--accent); font-weight: 500; }

/* Artikel */
.art-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; background: #111 center/cover no-repeat; }
.art-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,17,20,.25), rgba(13,17,20,.92)); }
.art-hero .wrap { position: relative; padding-bottom: clamp(2.5rem, 7vw, 5rem); }
.art-hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(18px, 4vw, 40px); }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .06em; }
.topbar nav a { font-weight: 400; margin-left: 1.2rem; font-size: .92rem; opacity: .9; }
.stats { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 2rem; }
.stat { border-top: 1px solid var(--line); padding-top: .9rem; }
.stat .big { font-size: clamp(2.3rem, 5vw, 3.4rem); color: var(--accent); }
.stat span { display: block; color: var(--soft); font-size: .93rem; }
.split { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.photo { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); border: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; counter-increment: s; }
.steps li::before { content: counter(s); font-family: "Cormorant", serif; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.steps b { display: block; font-weight: 600; margin-bottom: .2rem; }
.steps span { color: var(--soft); font-size: .97rem; }
.groups { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.6rem; }
.group { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; }
.group .ico { font-size: 1.6rem; }
.group p { color: var(--soft); margin: .3rem 0 0; font-size: .96rem; }
.btn { display: inline-block; padding: .85rem 1.4rem; border-radius: 999px; background: var(--accent-d); color: #fff; text-decoration: none; font-weight: 500; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.5); }
.btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.quote { font-family: "Cormorant", serif; font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #e8eef0; border-left: 3px solid var(--warm); padding-left: 1.2rem; margin: 2rem 0; }
code { background: #0a0e11; border: 1px solid var(--line); padding: .15rem .4rem; border-radius: 6px; font-size: .85em; }
pre { background: #0a0e11; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; overflow-x: auto; font-size: .82rem; color: #cfe7ee; }
footer { border-top: 1px solid var(--line); padding: 3rem 0 4rem; color: var(--muted); font-size: .92rem; }
footer a { color: var(--soft); }
footer .fl { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: .6rem; }
