/* Freedom Builder – Entwurf A „Petrol“ */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin-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;
}

:root {
  --bg: #fff;
  --ink: #16211f;
  --muted: #5d6b68;
  --brand: #00a692;
  --brand-d: #007d6e;
  --brand-dd: #0b3b36;
  --soft: #eef8f6;
  --line: #e4ecea;
  --arch-bg: #f5f2ea;
  --arch-ink: #7a6a45;
  --radius: 18px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: .02em; font-size: 20px; line-height: 1; }
.logo b { background: var(--brand); color: #fff; padding: 5px 8px; border-radius: 6px; }
.logo span { color: var(--brand); font-weight: 500; }
.main-nav { display: flex; gap: 28px; font-weight: 500; font-size: 15px; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--brand-d); }
.main-nav a[aria-current] { font-weight: 700; }
.menu-btn { display: none; cursor: pointer; font-weight: 600; font-size: 15px; align-items: center; gap: 8px; }
.menu-btn::before { content: ""; width: 18px; height: 12px; border-block: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }

/* Buttons, Chips */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .15s; }
.btn.p { background: var(--brand); color: #fff; }
.btn.p:hover { background: var(--brand-d); }
.btn.s { border: 1.5px solid var(--line); }
.btn.s:hover { border-color: var(--brand); }
.eyebrow { display: inline-block; color: var(--brand-d); background: var(--soft); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.chip { background: var(--soft); color: var(--brand-d); font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.chip.arch { background: var(--arch-bg); color: var(--arch-ink); }
.meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }

/* Startseite */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 20px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 30px; max-width: 560px; }
.hero-img { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.3; position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.quote { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255,255,255,.94); border-radius: 16px; padding: 18px 20px; font-size: 15px; line-height: 1.5; }
.quote small { display: block; color: var(--muted); margin-top: 6px; }
.press { border-block: 1px solid var(--line); padding: 22px 0; }
.press img { margin: 0 auto; height: 40px; width: auto; filter: grayscale(1); opacity: .7; }

section.s { padding: 80px 0; }
section.pt0 { padding-top: 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.head a { color: var(--brand-d); font-weight: 600; font-size: 15px; }

/* Kacheln */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 80, 70, .1); }
.card img, .card-ph { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-ph { background: linear-gradient(135deg, var(--soft), #d6efea); }
.card .b { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.topics { background: var(--soft); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic { background: #fff; border-radius: 16px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; border: 1px solid transparent; transition: border-color .15s; }
.topic:hover { border-color: var(--brand); }
.topic small { color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }

.book { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; background: linear-gradient(135deg, var(--brand-dd), #00705f); color: #fff; border-radius: 28px; padding: 56px; }
.book img { border-radius: 16px; margin: auto; max-height: 380px; width: auto; }
.book h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; color: #fff; }
.book p { color: #cfe9e4; margin: 0; }
.book ul { padding: 0; margin: 20px 0 28px; list-style: none; display: grid; gap: 10px; }
.book li::before { content: "✓"; color: #5fe0cd; font-weight: 700; margin-right: 10px; }
.book .btn.p { background: #fff; color: var(--brand-dd); }
.book .btn.p:hover { background: var(--soft); }

.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.teaser { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s; }
.teaser:hover { transform: translateY(-4px); }
.teaser .img { aspect-ratio: 16 / 8; overflow: hidden; }
.teaser .img img { width: 100%; height: 100%; object-fit: cover; }
.teaser .b { padding: 20px 22px 24px; }
.teaser h3 { margin: 0 0 6px; font-size: 19px; }
.teaser p { margin: 0; color: var(--muted); font-size: 15px; }

/* Übersichten */
.page-head { padding: 64px 0 40px; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 12px; letter-spacing: -.025em; }
.page-head .lead { margin-bottom: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.filters a:hover { border-color: var(--brand); color: var(--brand-d); }
.filters a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }

/* Artikel */
.article { padding-bottom: 72px; }
.article-head { padding-top: 56px; padding-bottom: 28px; }
.article-head h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; letter-spacing: -.025em; margin: 16px 0 0; }
.article-head .chip:hover { background: #dff3ef; }
.article-img { margin: 0 auto 40px; max-width: 1020px; }
.article-img img { border-radius: 22px; width: 100%; max-height: 560px; object-fit: cover; }
.notice { background: var(--arch-bg); color: #5a4d30; border-radius: 14px; padding: 16px 20px; margin: 0 0 32px; font-size: 15px; line-height: 1.5; }
.notice strong { display: block; color: var(--arch-ink); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }

.prose { font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 28px; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.9em 0 .5em; }
.prose h4 { font-size: 19px; margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-d); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand); }
.prose img { border-radius: 14px; margin: 1.6em auto; border: 1px solid var(--line); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand); color: var(--muted); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose strong { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }

.author { display: flex; gap: 16px; align-items: center; margin-top: 56px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.author strong { display: block; }
.author span { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--muted); font-size: 15px; }
.site-footer > .wrap:first-child { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.site-footer nav a:hover { color: var(--brand-d); }
.foot-brand p { margin: 12px 0 0; }
.foot-brand .logo { font-size: 17px; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* Mobil */
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 16px 30px rgba(0,0,0,.06); }
  .main-nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle:checked ~ .main-nav { display: flex; }
  .hero .wrap, .book { grid-template-columns: 1fr; }
  .grid, .tgrid, .teasers { grid-template-columns: 1fr 1fr; }
  .book { padding: 36px 28px; gap: 32px; }
  .site-footer > .wrap:first-child { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid, .tgrid, .teasers { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  section.s { padding: 56px 0; }
  .page-head { padding: 44px 0 28px; }
  .article-head { padding-top: 36px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 20px; }
  .press img { height: auto; }
  .site-footer > .wrap:first-child { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Buchtipps */
.prose .books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.6em 0; }
.prose .book-item { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.prose .book-item:hover { border-color: var(--brand); color: var(--ink); }
.prose .book-item img { width: 64px; height: 64px; object-fit: cover; margin: 0; border-radius: 10px; flex: none; }
.prose .book-item strong { display: block; font-size: 16px; line-height: 1.35; }
.prose .book-item small { color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .prose .books { grid-template-columns: 1fr; } }

/* Porträt auf „Über mich“ */
.prose img.portrait { float: right; width: 260px; margin: .3em 0 1.2em 2em; }
@media (max-width: 600px) { .prose img.portrait { float: none; width: 70%; margin: 0 auto 1.6em; } }

/* Hinweis „Dieser Artikel wurde überarbeitet“ auf alten Artikeln */
.update-box { display: grid; gap: 4px; margin: 0 0 28px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-dd), #00705f); color: #fff; transition: transform .2s; }
.update-box:hover { transform: translateY(-2px); }
.update-box strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #5fe0cd; }
.update-box span { font-size: 17px; font-weight: 600; line-height: 1.4; }
.update-box em { font-style: normal; font-weight: 600; color: #cfe9e4; font-size: 15px; }

/* Kachel ohne Beitragsbild */
.card-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-dd), var(--brand)); }
.card-ph span { color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.01em; opacity: .9; padding: 0 20px; text-align: center; }
