:root {
  --green: #006600;
  --green-bright: #07820a;
  --green-soft: #eaf5ea;
  --ink: #121514;
  --muted: #69716d;
  --line: rgba(15, 35, 20, 0.11);
  --surface: #ffffff;
  --canvas: #f3f6f3;
  --shadow: 0 18px 44px rgba(15, 35, 20, 0.11);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }

.app-shell { width: min(100%, 780px); min-height: 100vh; margin: 0 auto; padding: 0 18px calc(104px + var(--safe-bottom)); background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.app-header { position: sticky; z-index: 30; top: 0; display: flex; min-height: 76px; align-items: center; justify-content: space-between; margin: 0 -18px; padding: max(12px, env(safe-area-inset-top)) 18px 10px; border-bottom: 1px solid rgba(0,0,0,.05); background: rgba(255,255,255,.82); backdrop-filter: saturate(165%) blur(20px); -webkit-backdrop-filter: saturate(165%) blur(20px); }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: 143px; height: auto; }
.header-actions { display: flex; gap: 8px; }
.icon-button, .refresh-button, .article-toolbar button, .bookmark-button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(238,243,239,.82); box-shadow: 0 5px 18px rgba(0,0,0,.06); cursor: pointer; }
.icon-button svg, .refresh-button svg { width: 20px; }
.search-form { position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: none; height: 48px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 14px 38px rgba(0,0,0,.14); }
.search-form.is-open { display: flex; }
.search-form svg { width: 19px; color: var(--muted); }
.search-form input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-form a { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #edf1ee; font-size: 21px; line-height: 1; }

.section-tabs { display: flex; gap: 8px; margin: 14px -18px 0; padding: 0 18px 11px; overflow-x: auto; scrollbar-width: none; }
.section-tabs::-webkit-scrollbar, .subnavigation::-webkit-scrollbar { display: none; }
.section-tabs a { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); color: #4d5651; font-size: 13px; font-weight: 750; }
.section-tabs a.selected { border-color: var(--green); background: var(--green); color: white; box-shadow: 0 7px 16px rgba(0,102,0,.2); }
.subnavigation { display: flex; gap: 8px; margin: 0 -18px 4px; padding: 0 18px 10px; overflow-x: auto; scrollbar-width: none; }
.subnavigation a { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; }

.feed-heading { display: flex; align-items: flex-end; justify-content: space-between; padding: 21px 1px 15px; }
.feed-heading p { margin: 0 0 4px; color: var(--muted); font-size: 13px; text-transform: capitalize; }
.feed-heading h1 { margin: 0; font-size: clamp(27px, 6vw, 36px); letter-spacing: -.035em; line-height: 1; }
.refresh-button { width: 39px; height: 39px; color: var(--green); }

.feed-stack { display: grid; gap: 15px; }
.hero-card, .feature-card, .list-card { position: relative; overflow: hidden; border: 1px solid rgba(17,40,20,.06); background: var(--surface); box-shadow: 0 9px 28px rgba(18,39,22,.07); }
.hero-card { min-height: 430px; border-radius: 25px; color: white; }
.hero-card > a { position: absolute; inset: 0; display: block; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.03) 24%, rgba(0,0,0,.22) 48%, rgba(0,0,0,.88) 100%); }
.hero-copy { position: absolute; right: 20px; bottom: 22px; left: 20px; z-index: 2; }
.category-chip { display: inline-flex; margin-bottom: 10px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(0,102,0,.83); backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; }
.hero-copy h2 { margin: 0; font-size: clamp(27px, 6.9vw, 42px); letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.hero-copy p { display: -webkit-box; margin: 11px 0 0; overflow: hidden; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bookmark-button { z-index: 4; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); background: rgba(20,25,21,.36); color: white; backdrop-filter: blur(10px); }
.hero-card > .bookmark-button, .feature-card > .bookmark-button { position: absolute; top: 14px; right: 14px; }
.bookmark-button svg { width: 19px; height: 19px; }
.bookmark-button.saved { background: var(--green); color: white; }
.bookmark-button.saved svg { fill: currentColor; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.feature-card { min-height: 286px; border-radius: 21px; }
.feature-card > a { display: flex; height: 100%; flex-direction: column; }
.feature-card img { width: 100%; height: 155px; object-fit: cover; }
.feature-card div { padding: 14px 14px 17px; }
.feature-card span, .list-card span { color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.feature-card h2 { margin: 6px 0 0; font-size: 18px; letter-spacing: -.02em; line-height: 1.16; }

.article-list { display: grid; gap: 11px; }
.list-card { min-height: 129px; border-radius: 18px; }
.list-card-link { display: grid; min-height: 129px; grid-template-columns: 137px minmax(0,1fr); }
.list-card img { width: 137px; height: 100%; min-height: 129px; object-fit: cover; }
.list-card-link > div { align-self: center; padding: 14px 48px 14px 15px; }
.list-card h2 { display: -webkit-box; margin: 5px 0 0; overflow: hidden; font-size: 18px; letter-spacing: -.019em; line-height: 1.18; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.list-card p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.list-card > .bookmark-button { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-color: rgba(0,0,0,.05); background: rgba(245,248,246,.9); color: #647069; }

.ad-slot { display: grid; width: 100%; min-height: 36px; place-items: center; overflow: hidden; border-radius: 18px; background: #f6f7f6; }
.ad-slot > span { display: block; padding: 7px 0 3px; color: #98a09b; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.ad-slot iframe { display: block; max-width: 100%; margin: 0 auto; }
.ad-slot.is-empty { display: none; }
.ad-top { margin: 6px 0 0; }
.ad-middle { margin: 4px 0; padding-bottom: 5px; }
.side-ad { position: fixed; top: 120px; left: calc(50% + 430px); display: none; width: 300px; min-height: 250px; }

.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 24px 0 0; padding: 15px 0; border-top: 1px solid var(--line); }
.pagination a { color: var(--green); font-size: 14px; font-weight: 750; }
.pagination .next { text-align: right; }
.pagination strong { color: var(--muted); font-size: 12px; }
.status-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 13px; background: #fff4d8; color: #69521a; font-size: 13px; line-height: 1.4; }
.empty-state { margin: 60px auto; padding: 30px; text-align: center; }
.empty-state h1, .empty-state h2 { margin: 0 0 10px; font-size: 25px; }
.empty-state p { color: var(--muted); line-height: 1.5; }
.empty-state a { display: inline-flex; margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: var(--green); color: white; font-weight: 750; }

.bottom-nav { position: fixed; z-index: 50; right: 12px; bottom: calc(10px + var(--safe-bottom)); left: 12px; display: grid; width: min(calc(100% - 24px), 590px); height: 67px; grid-template-columns: repeat(5,1fr); margin: auto; padding: 7px 5px; border: 1px solid rgba(255,255,255,.72); border-radius: 23px; background: rgba(245,248,246,.82); box-shadow: 0 13px 35px rgba(0,0,0,.19); backdrop-filter: saturate(160%) blur(23px); -webkit-backdrop-filter: saturate(160%) blur(23px); }
.bottom-nav a, .bottom-nav button { display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 3px; border: 0; border-radius: 17px; background: transparent; color: #737c76; cursor: pointer; }
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav span { font-size: 10px; font-weight: 720; }
.bottom-nav .active { background: rgba(0,102,0,.1); color: var(--green); }

.menu-sheet { position: fixed; z-index: 80; inset: 0; }
.sheet-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.26); backdrop-filter: blur(4px); }
.sheet-panel { position: absolute; right: 0; bottom: 0; left: 0; max-width: 680px; margin: auto; padding: 8px 22px calc(25px + var(--safe-bottom)); border-radius: 28px 28px 0 0; background: rgba(255,255,255,.98); box-shadow: 0 -20px 60px rgba(0,0,0,.18); }
.sheet-handle { width: 44px; height: 5px; margin: 2px auto 16px; border-radius: 999px; background: #d6ddd8; }
.sheet-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.sheet-title h2 { margin: 0; font-size: 23px; }
.sheet-title button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eef2ef; font-size: 24px; }
.sheet-panel > a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid var(--line); font-weight: 700; }
.sheet-panel > a span { color: var(--green); font-size: 24px; font-weight: 400; }

/* Vollständige Artikelansicht */
.article-body { min-height: 100vh; padding-bottom: calc(35px + var(--safe-bottom)); background: white; }
.article-toolbar { position: sticky; z-index: 50; top: 0; display: grid; height: calc(62px + env(safe-area-inset-top, 0px)); grid-template-columns: 1fr auto 1fr; align-items: end; padding: max(10px, env(safe-area-inset-top)) 14px 10px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(20px); }
.article-toolbar > button { justify-self: start; }
.article-toolbar > div { display: flex; justify-self: end; gap: 7px; }
.article-toolbar button { width: 38px; height: 38px; border: 0; background: #f0f4f1; box-shadow: none; }
.article-toolbar button.saved { background: var(--green); color: white; }
.article-toolbar button.saved svg { fill: currentColor; }
.article-logo { align-self: center; }
.article-logo img { width: 116px; }
.reading-shell { width: min(100%, 780px); margin: auto; padding: 0 18px; }
.reading-view { width: min(100%, 690px); margin: auto; }
.article-heading { padding: 28px 0 21px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 12px; }
.article-meta span { padding: 5px 9px; border-radius: 999px; background: var(--green); color: white; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.article-meta time, .article-meta small { color: var(--muted); font-size: 12px; }
.article-heading h1 { margin: 0; font-size: clamp(33px, 8.2vw, 55px); letter-spacing: -.045em; line-height: 1.01; text-wrap: balance; }
.article-lead { margin: 18px 0 0; color: #38403c; font-size: clamp(19px, 4.5vw, 24px); font-weight: 520; line-height: 1.38; }
.article-figure { margin: 0 -18px 25px; }
.article-figure img { width: 100%; max-height: 540px; object-fit: cover; }
.article-figure figcaption { padding: 8px 18px 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.article-content { overflow: clip; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.68; }
.source-content-block { margin: 0; }
.article-content .article-content { width: 100%; }
.article-content p { margin: 0 0 1.25em; }
.article-content h2 { margin: 1.65em 0 .55em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 27px; letter-spacing: -.025em; line-height: 1.15; }
.article-content h3 { margin: 1.5em 0 .5em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 22px; }
.article-content ul, .article-content ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.article-content li { margin: .35em 0; }
.article-content a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-content img, .article-content video { width: auto; max-width: 100%; height: auto; margin: 14px auto; border-radius: 14px; }
.article-content iframe { display: block; width: 100%; max-width: 100%; margin: 18px auto; border: 0; }
.article-content .box { margin: 9px 0 25px; padding: 18px 19px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: var(--green-soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.52; }
.article-content .box h2 { margin-top: 0; font-size: 21px; }
.article-content .box > :last-child { margin-bottom: 0; }
.article-content blockquote { margin: 1.5em 0; padding: 3px 0 3px 18px; border-left: 3px solid var(--green); color: #37423b; font-size: 21px; font-style: italic; }
.article-author { margin: 28px 0; color: var(--muted); font-size: 13px; }
.original-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 29px 0; padding: 13px 17px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 800; }

@media (min-width: 1100px) {
  .side-ad { display: block; }
  .app-shell { border-radius: 0 0 24px 24px; }
}

@media (max-width: 540px) {
  .app-shell { padding-right: 12px; padding-left: 12px; }
  .app-header { margin-right: -12px; margin-left: -12px; padding-right: 13px; padding-left: 13px; }
  .section-tabs, .subnavigation { margin-right: -12px; margin-left: -12px; padding-right: 12px; padding-left: 12px; }
  .brand img { width: 130px; }
  .hero-card { min-height: 390px; }
  .hero-copy { right: 17px; bottom: 18px; left: 17px; }
  .feature-grid { gap: 9px; }
  .feature-card { min-height: 255px; }
  .feature-card img { height: 130px; }
  .feature-card div { padding: 12px; }
  .feature-card h2 { font-size: 16px; }
  .list-card-link { grid-template-columns: 116px minmax(0,1fr); }
  .list-card img { width: 116px; }
  .list-card h2 { font-size: 16px; }
  .list-card p { display: none; }
  .reading-shell { padding: 0 16px; }
  .article-figure { margin-right: -16px; margin-left: -16px; }
  .article-content { font-size: 17px; line-height: 1.65; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
