/* Hallmark · extension of the endlich-pornofrei.com system (index.html) · shape: Long Document · genre: editorial · theme: custom (site tokens) · job: read, then join the free training or the programme · vibe: "ruhig, warm, direkt, würdevoll" · signature: the «Kurz gesagt» answer set large above the article · v2.0.0 */
/* Hallmark · critique: P4 H4 E4 S4 R4 V3 · weakest: V, article heroes reuse the site's mood photographs */
/* waive 58, 77, 44c, 79: Long Document (Ratgeber-Artikel), the reader came to read; word count and landing-page hero rules do not apply */
/* waive 49a (toc, related titles): article titles in the table of contents wrap by nature, they are list items not controls */

:root{
  --ink:#1C2B26; --ink-soft:#53655E;
  --bg:#F4F8F5; --bg-alt:#E9F1EC; --bg-blue:#DCEFE6; --card:#FCFEFD;
  --terra:#0F7A55; --terra-btn:#0D7150; --terra-ink:#0B6345; --terra-soft:#C4E3D3;
  --navy:#13241D; --white:#FFFFFF; --line:#CFE2D8;
  --on-dark-soft:color-mix(in srgb, var(--white) 82%, transparent);
  --glass:color-mix(in srgb, var(--white) 16%, transparent);
  --shadow-c:color-mix(in srgb, var(--navy) 14%, transparent);
  --font:'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-card:22px; --r-sm:14px; --r-pill:999px;
  --gut:clamp(20px,4vw,72px);
  --wrapw:1200px; --measure:68ch;
  --ease:cubic-bezier(.22,.8,.24,1);
  --shadow:0 14px 40px -18px var(--shadow-c);
  --focus:var(--terra-ink);
}
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:clip;-webkit-text-size-adjust:100%;scroll-padding-top:16px}
body{margin:0;overflow-x:clip;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:18px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:var(--terra-ink);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--terra)}
a:active{color:var(--navy)}
.post:active h3,.feature:active h2{color:var(--navy)}
.prose summary:active{background:var(--bg-alt)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
.navy :focus-visible{outline-color:var(--terra-soft)}
h1,h2,h3,p,ul,ol,figure{margin:0}
h1,h2,h3{text-wrap:balance;overflow-wrap:break-word;min-width:0}
.wrap{width:min(var(--wrapw),100% - 2*var(--gut));margin-inline:auto}
.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{width:auto;height:auto;clip-path:none;left:16px;top:16px;z-index:10;background:var(--card);padding:10px 16px;border-radius:var(--r-sm)}

/* header */
.top{padding-block:18px;border-bottom:1px solid var(--line);background:var(--bg)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{white-space:nowrap;display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:18px;color:var(--navy);text-decoration:none}
.nav-links{display:flex;align-items:center;gap:8px}
.nav-links>a:not(.btn){display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--ink);text-decoration:none;font-weight:600;font-size:16px}
.nav-links>a[aria-current="page"]{color:var(--terra-ink)}
.btn{display:inline-flex;align-items:center;gap:14px;min-height:54px;padding:8px 10px 8px 28px;border-radius:var(--r-pill);background:var(--terra-btn);color:var(--white);font-weight:600;font-size:17px;text-decoration:none;white-space:nowrap;transition:background-color .3s var(--ease),transform .3s var(--ease)}
.btn:hover{background:var(--terra-ink);color:var(--white)}
.btn:active{transform:scale(.98)}
.btn .arr{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--glass);transition:transform .3s var(--ease)}
.btn:hover .arr{transform:translateX(3px)}
.btn.sm{min-height:44px;padding:5px 6px 5px 18px;font-size:16px}
.btn.sm .arr{width:34px;height:34px}
.btn.ghost{background:transparent;color:var(--white);box-shadow:inset 0 0 0 1.5px var(--terra-soft)}
.btn.ghost:hover{background:var(--glass)}
.ico{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* breadcrumb */
.crumbs{padding-top:28px;font-size:15px;color:var(--ink-soft)}
.crumbs ol{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:4px 10px}
.crumbs li{display:flex;gap:10px}
.crumbs li+li::before{content:"/";color:var(--line)}
.crumbs a{color:var(--ink-soft);display:inline-flex;align-items:center;min-height:44px}
.crumbs span{display:inline-flex;align-items:center;min-height:44px}
.crumbs{padding-top:16px}

/* article head */
.a-head{padding-block:28px 40px;display:grid;gap:22px;max-width:900px}
.a-head h1{font-weight:300;font-size:clamp(36px,5.2vw,68px);line-height:1.05;letter-spacing:-.02em}
.lead{font-size:clamp(19px,1.6vw,22px);color:var(--ink-soft);max-width:var(--measure)}
.byline{display:flex;align-items:center;gap:14px;font-size:15px;color:var(--ink-soft)}
.byline img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.byline strong{color:var(--ink);font-weight:600}
.byline a{color:var(--ink)}
.byline p{line-height:1.4}
.a-hero{border-radius:var(--r-card);overflow:hidden;aspect-ratio:16/9;max-height:620px;width:100%;background:var(--bg-alt)}
.a-hero img{width:100%;height:100%;object-fit:cover;object-position:50% 28%}

/* layout */
.a-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:48px;padding-block:48px 24px}
@media(min-width:1040px){.a-grid{grid-template-columns:minmax(0,1fr) 280px;gap:72px}}
.toc{align-self:start;font-size:15px}
@media(min-width:1040px){.toc{position:sticky;top:24px;order:2}}
.toc h2{font-size:15px;font-weight:600;margin-bottom:10px;color:var(--ink)}
.toc ol{list-style:none;padding:0;display:grid;gap:2px;border-left:2px solid var(--line)}
.toc a{display:flex;align-items:center;min-height:44px;padding:6px 0 6px 14px;color:var(--ink-soft);text-decoration:none;line-height:1.35}
.toc a:hover{color:var(--terra-ink)}

/* answer box: signature */
.answer{background:var(--bg-blue);border-radius:var(--r-card);padding:clamp(24px,3vw,40px);margin-bottom:40px;max-width:var(--measure)}
.answer h2{font-size:16px;font-weight:600;color:var(--terra-ink);margin-bottom:10px}
.answer p{font-size:clamp(20px,1.8vw,24px);line-height:1.45;color:var(--navy);font-weight:400}

/* prose */
.prose{max-width:var(--measure)}
.prose>*+*{margin-top:1.1em}
.prose h2{font-weight:300;font-size:clamp(28px,3vw,40px);line-height:1.12;letter-spacing:-.015em;margin-top:1.8em;scroll-margin-top:24px}
.prose h3{font-weight:600;font-size:clamp(19px,1.6vw,22px);line-height:1.3;margin-top:1.6em}
.prose ul,.prose ol{padding-left:1.3em}
.prose li+li{margin-top:.4em}
.prose li::marker{color:var(--terra)}
.prose blockquote{margin:1.6em 0;padding:4px 0 4px 22px;border-left:3px solid var(--terra);font-size:1.1em;color:var(--navy)}
.prose strong{font-weight:600;color:var(--navy)}
.prose table{width:100%;border-collapse:collapse;font-size:16px;display:block;overflow-x:auto}
.prose th,.prose td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--line)}
.prose th{font-weight:600;background:var(--bg-alt)}
.prose hr{border:0;border-top:1px solid var(--line);margin:2.4em 0}
.prose .sources+ul,.prose h2#quellen+ul{font-size:15px;color:var(--ink-soft)}
.prose a{overflow-wrap:anywhere}

/* faq inside article */
.prose details{background:var(--card);border-radius:var(--r-sm);box-shadow:var(--shadow);margin-top:12px}
.prose summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;padding:12px 22px;cursor:pointer;font-weight:600;list-style:none}
.prose summary::-webkit-details-marker{display:none}
.prose summary .ico{font-size:22px;color:var(--terra-ink);transition:transform .3s var(--ease)}
.prose details[open] summary .ico{transform:rotate(180deg)}
.prose details .ans{padding:0 22px 20px;color:var(--ink-soft)}
.prose details .ans>*+*{margin-top:.8em}

/* self-test */
.selbsttest{background:var(--card);border-radius:var(--r-card);box-shadow:var(--shadow);padding:clamp(22px,3vw,36px)}
.selbsttest fieldset{border:0;padding:0;margin:0;display:grid;gap:6px}
.selbsttest legend{font-weight:600;font-size:19px;margin-bottom:12px;padding:0}
.selbsttest label{display:flex;gap:14px;align-items:flex-start;padding:12px 14px;border-radius:var(--r-sm);cursor:pointer;line-height:1.45;transition:background-color .2s var(--ease)}
.selbsttest label:hover{background:var(--bg-alt)}
.selbsttest input{width:22px;height:22px;margin:2px 0 0;flex:none;accent-color:var(--terra)}
.st-count{margin-top:20px;font-weight:600;color:var(--terra-ink)}
.st-result{margin-top:18px;padding:18px 20px;border-radius:var(--r-sm);background:var(--bg-blue)}
.st-result h3{margin:0 0 6px;font-size:19px}
.selbsttest.js-on .st-result[data-hide]{display:none}

/* cta band */
.cta{max-width:var(--measure);background:var(--navy);color:var(--white);border-radius:var(--r-card);padding:clamp(28px,4vw,56px);margin-block:56px;display:grid;gap:22px}
.cta h2{font-weight:300;font-size:clamp(28px,3.4vw,46px);line-height:1.08;letter-spacing:-.015em;max-width:18ch}
.cta p{color:var(--on-dark-soft);max-width:56ch}
.cta .acts{display:flex;flex-wrap:wrap;gap:12px}

/* author box */
.author{display:grid;grid-template-columns:88px minmax(0,1fr);gap:22px;align-items:start;padding-block:32px;border-top:1px solid var(--line);max-width:var(--measure)}
.author img{width:88px;height:88px;border-radius:50%;object-fit:cover}
.author h2{font-size:19px;font-weight:600;margin-bottom:6px}
.author p{color:var(--ink-soft);font-size:16px}
.author p>a:only-child{display:inline-flex;align-items:center;min-height:44px}
.author p+p{margin-top:8px}

/* lists of articles */
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:clamp(20px,2.4vw,32px)}
.post{display:grid;gap:14px;align-content:start;text-decoration:none;color:var(--ink)}
.post .ph{border-radius:var(--r-card);overflow:hidden;aspect-ratio:3/2;background:var(--bg-alt)}
.post .ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.post:hover .ph img{transform:scale(1.03)}
.post h3{font-weight:600;font-size:21px;line-height:1.25}
.post:hover h3{color:var(--terra-ink)}
.post p{color:var(--ink-soft);font-size:16px;line-height:1.5}
.related{padding-block:56px 88px}
.related h2,.list-sec h2{font-weight:300;font-size:clamp(28px,3vw,40px);line-height:1.1;margin-bottom:32px}

/* index page */
.i-head{padding-block:56px 48px;display:grid;gap:18px;max-width:900px}
.i-head h1{font-weight:300;font-size:clamp(40px,6vw,84px);line-height:1.02;letter-spacing:-.025em}
.feature{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center;text-decoration:none;color:var(--ink);padding-bottom:64px}
@media(min-width:900px){.feature{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:56px}}
.feature .ph{border-radius:var(--r-card);overflow:hidden;aspect-ratio:4/3}
.feature .ph img{width:100%;height:100%;object-fit:cover}
.feature h2{font-weight:300;font-size:clamp(30px,3.6vw,52px);line-height:1.06;letter-spacing:-.02em;margin-bottom:14px}
.feature p{color:var(--ink-soft)}
.feature:hover h2{color:var(--terra-ink)}
.list-sec{padding-bottom:96px}

/* about page */
.about{display:grid;grid-template-columns:minmax(0,1fr);gap:48px;padding-block:56px 96px;align-items:start}
@media(min-width:900px){.about{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:72px}}
.about .portrait{border-radius:var(--r-card);overflow:hidden}
.about h1{font-weight:300;font-size:clamp(40px,5.6vw,76px);line-height:1.02;letter-spacing:-.025em;margin-bottom:24px}

/* footer */
.foot{background:var(--navy);color:var(--on-dark-soft);padding-block:48px 56px}
.foot .row2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px}
.foot .brand{color:var(--white)}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 24px}
.foot nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--white);text-decoration:none;font-size:16px}
.foot nav a:hover{color:var(--terra-soft)}
.foot .small{font-size:15px;color:var(--on-dark-soft)}
.foot .disc{margin-top:20px;max-width:70ch}

@media(max-width:640px){
  body{font-size:17px}
  .nav-links>a.hide-sm{display:none}
  .a-hero{aspect-ratio:4/3}
  .author{grid-template-columns:64px minmax(0,1fr)}
  .author img{width:64px;height:64px}
}
@media(max-width:420px){
  .nav-links>a:not(.btn){display:none}
}
@media(max-width:360px){
  .brand{font-size:16px}
  .nav .btn.sm{font-size:15px;padding:5px 14px}
  .nav .btn.sm .arr{display:none}
  .cta{padding:24px 20px}
  .cta .btn{font-size:16px;padding-left:18px}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
  .post:hover .ph img{transform:none}
}
