/* ============================================================
   polen-forum.com — Das Onlinemagazin über Polen
   Design: polnisches Rot/Weiß, diskret & premium reinterpretiert
   Statische Seite, keine externen Ressourcen.
   ============================================================ */

:root {
  --paper:      #FBF8F3;
  --paper-dim:  #F4EEE4;
  --blush:      #F8ECE9;
  --ink:        #23201C;
  --ink-soft:   #4A443C;
  --muted:      #7A7166;
  --hairline:   #E6DCCD;
  --rot:        #B02136;   /* tiefes Polen-Rot, entsättigt */
  --rot-deep:   #7E1022;
  --rot-bright: #D4374E;
  --gold:       #C39A5B;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px -18px rgba(35, 32, 28, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Flaggenband: Weiß über Rot, dezent, ganz oben */
.flagband { display: block; height: 7px; background: #fff; border-bottom: 5px solid var(--rot); }

a { color: var(--rot); text-decoration: none; }
a:hover { color: var(--rot-deep); text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--rot); color: #fff; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ---------- Kopfzeile ---------- */
.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: blur(8px);
}
.navbar { display: flex; align-items: center; gap: 30px; padding: 16px 0; }
.brand {
  font-family: var(--serif);
  font-size: 25px; font-weight: 700; letter-spacing: .2px;
  color: var(--ink); white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--rot-deep); }
.brand .tld { color: var(--rot); font-size: .72em; font-weight: 600; }
.brand .flag {
  display: inline-block; width: 17px; height: 12px; border-radius: 2px;
  background: linear-gradient(to bottom, #fff 46%, var(--rot) 46%);
  border: 1px solid rgba(35,32,28,.22);
  vertical-align: baseline; margin-right: 9px;
}
.nav-main { margin-left: auto; display: flex; gap: 26px; overflow-x: auto; }
.nav-main a {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; white-space: nowrap; padding: 4px 0;
}
.nav-main a:hover { color: var(--rot); text-decoration: none; border-bottom: 2px solid var(--rot); }

/* ---------- Hero (reines CSS, keine Fotos) ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(110% 130% at 88% -8%, rgba(212, 55, 78, .55) 0%, rgba(126, 16, 34, 0) 52%),
    radial-gradient(90% 120% at 8% 112%, rgba(195, 154, 91, .20) 0%, rgba(126, 16, 34, 0) 46%),
    linear-gradient(133deg, #8C1428 0%, #5C0A1B 46%, #2E050E 100%);
}
.hero::before {           /* feine diagonale Pinstreifen, Papier-Charakter */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 11px);
  pointer-events: none;
}
.hero::after {            /* sanfte Aufhellung unten für Textübergang */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 92px;
  background: linear-gradient(to top, rgba(251,248,243,.16), transparent);
  pointer-events: none;
}
.hero-mark {
  position: absolute; right: -1.5%; bottom: -9%;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(190px, 30vw, 420px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .12);
  letter-spacing: -.02em; user-select: none; pointer-events: none;
}
.hero-inner { position: relative; padding: clamp(64px, 9vw, 118px) 0 clamp(56px, 7vw, 96px); max-width: 780px; }
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #FFD9DF;
  border: 1px solid rgba(255, 217, 223, .45);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.06; letter-spacing: -.01em;
  margin: 26px 0 18px; font-weight: 700;
}
.hero h1 em { font-style: italic; color: #FFC7CF; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: rgba(255,255,255,.88); max-width: 620px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
}
.btn-primary { background: #fff; color: var(--rot-deep); }
.btn-primary:hover { background: var(--blush); color: var(--rot-deep); text-decoration: none; }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(44px, 6vw, 76px) 0; }
.section.dim { background: var(--paper-dim); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 36px);
  margin: 0; letter-spacing: -.01em;
}
.section-head .rule { flex: 1; height: 1px; background: var(--hairline); min-width: 40px; }
.section-head .more { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Kartenraster ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.card {
  position: relative; background: #fff;
  border: 1px solid var(--hairline); border-radius: 12px;
  padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 3px;
  background: var(--rot); border-radius: 0 0 3px 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D9CBB6; text-decoration: none; }
.card:hover::before { transform: scaleX(1); }
.card .k {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rot);
}
.card h3 { font-family: var(--serif); font-size: 21.5px; line-height: 1.28; margin: 0; }
.card:hover h3 { color: var(--rot-deep); }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.card .meta { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.card.lede { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.card.lede h3 { font-size: clamp(26px, 3vw, 34px); }
.lead-quote {
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.55;
  color: var(--rot-deep); border-left: 3px solid var(--rot); padding-left: 18px; margin: 0;
}

/* ---------- Artikelseite ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--rot); }
.article-head { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 68px) 0 8px; }
.article-head .k { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rot); }
.article-head h1 {
  font-family: var(--serif); font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12; letter-spacing: -.01em; margin: 14px 0 16px;
}
.article-head .stand { font-size: 14px; color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 14px; }
.article-body { max-width: 820px; margin: 0 auto; padding: 18px 0 20px; }
.article-body h2 {
  font-family: var(--serif); font-size: clamp(23px, 2.6vw, 28px);
  margin: 46px 0 14px; letter-spacing: -.005em; scroll-margin-top: 90px;
}
.article-body h2 .no {
  font-size: .62em; color: var(--rot); font-family: var(--sans);
  font-weight: 700; letter-spacing: .12em; vertical-align: .35em; margin-right: 12px;
}
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 26px; }
.article-body li { margin-bottom: 9px; }
.article-body strong { color: var(--ink); }
.article-body > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 700; color: var(--rot-deep);
  float: left; font-size: 3.35em; line-height: .82;
  padding: 6px 10px 0 0;
}
.pull {
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.5;
  color: var(--rot-deep); border-left: 3px solid var(--rot);
  margin: 34px 0; padding: 4px 0 4px 22px;
}
.notebox {
  background: var(--blush); border: 1px solid #EFD6D2; border-radius: 10px;
  padding: 20px 22px; margin: 30px 0;
}
.notebox .t { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rot); display: block; margin-bottom: 8px; }
.notebox p { margin: 0; font-size: 15.5px; }
.slowko {
  background: #fff; border: 1px dashed #D8C6B0; border-radius: 10px;
  padding: 18px 22px; margin: 30px 0;
  font-family: var(--serif);
}
.slowko .w { font-size: 24px; font-weight: 700; color: var(--rot-deep); }
.slowko .d { color: var(--ink-soft); font-style: italic; }
table.vgl { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15.5px; }
table.vgl th, table.vgl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.vgl th { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rot); border-bottom: 2px solid var(--rot); }
table.vgl tr:hover td { background: rgba(176, 33, 54, .045); }
.sources { margin-top: 44px; border-top: 1px solid var(--hairline); padding-top: 16px; font-size: 13.5px; color: var(--muted); }
.related { background: var(--paper-dim); border-top: 1px solid var(--hairline); }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- Hub-Seiten ---------- */
.hub-hero { border-bottom: 1px solid var(--hairline); background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hub-hero .inner { max-width: 860px; margin: 0 auto; padding: clamp(38px, 5.5vw, 62px) 0 clamp(30px, 4vw, 44px); }
.hub-hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 44px); margin: 12px 0 14px; line-height: 1.1; }
.hub-hero p { color: var(--ink-soft); font-size: 18px; }
.hub-group { margin: 46px 0; }
.hub-group > h2 { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; }
.hub-group > .sub { color: var(--muted); font-size: 15px; margin: 0 0 20px; max-width: 700px; }

/* ---------- Fußzeile ---------- */
.site-foot { background: #1F1B18; color: #D8D2C8; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 0 40px; }
.site-foot h4 { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-family: var(--sans); }
.site-foot a { color: #D8D2C8; }
.site-foot a:hover { color: #FFC7CF; }
.site-foot .brandline { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 12px; display: block; }
.site-foot p { font-size: 14.5px; line-height: 1.7; color: #B7AFA2; margin: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.site-foot li { margin-bottom: 9px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 22px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: #8F877B; }
.foot-flag { height: 5px; background: #fff; border-bottom: 5px solid var(--rot); display: block; }

/* ---------- Kleinigkeiten ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 99; border-radius: 8px; box-shadow: var(--shadow); }
.topline { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.topline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rot); }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .card.lede { grid-template-columns: 1fr; }
  .navbar { gap: 14px; }
  .brand { font-size: 21px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-main { gap: 18px; }
  .article-body > p:first-of-type::first-letter { font-size: 3em; }
  .hero-mark { right: -12%; }
}
