:root {
  --paper: #f3ecd9;
  --paper-edge: #e9dfc4;
  --ink: #201c14;
  --ink-soft: #4a4436;
  --rule: #201c14;
  --accent: #7a1414;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper-edge);
  color: var(--ink);
  font-family: "Libre Baskerville", "Old Standard TT", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

.paper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 40px 10px;
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 1px rgba(32,28,20,0.06), 0 30px 70px -30px rgba(32,28,20,0.5);
  min-height: 100vh;
}

/* Utility bar */
.utility-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}
.utility-bar .divider { opacity: 0.5; }

/* Masthead */
.masthead {
  position: relative;
  text-align: center;
  padding: 22px 0 16px;
}

#geheimer-stempel {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(22px, 6vw, 40px);
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(243, 236, 217, 0.55);
  border: 4px double var(--accent);
  border-radius: 6px;
  padding: 6px 16px;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(0.5px);
  transform: translate(-50%, -50%) rotate(-11deg) scale(3);
  opacity: 0;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(0.34, 1.9, 0.4, 1), opacity 0.2s ease;
}
#geheimer-stempel.show {
  transform: translate(-50%, -50%) rotate(-11deg) scale(1);
  opacity: 0.95;
}
#geheimer-stempel.show:hover {
  transform: translate(-50%, -50%) rotate(-11deg) scale(1.06);
}
#geheimer-stempel.fade {
  opacity: 0;
  transition: opacity 1s ease;
}
.eyebrow-top {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: "Libre Baskerville", serif;
  font-style: italic;
}
.title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(48px, 10vw, 96px);
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-block;
  animation: title-nudge 13s ease-in-out infinite;
}
@keyframes title-nudge {
  0%, 88%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(-1.5deg); }
  91.5% { transform: rotate(1.5deg); }
  93% { transform: rotate(-1deg); }
  94.5% { transform: rotate(1deg); }
  96% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .title {
    animation: none;
  }
}
.subtitle {
  margin: 12px 0 0;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  transition: opacity 0.25s ease;
}

/* Rules */
.rule-thick-thin {
  height: 8px;
  border-top: 4px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 0 0 24px;
}
.rule-thick-thin.flipped {
  border-top: 1px solid var(--rule);
  border-bottom: 4px solid var(--rule);
  margin: 0 0 18px;
}
.rule-thin {
  border: none;
  border-top: 1px solid var(--ink);
  margin: 36px 0;
}

/* Layout grid */
.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0 32px;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.headline {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 6px;
  line-height: 1.1;
}
.byline {
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(32,28,20,0.25);
}

.lead-columns p {
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
  margin: 0 0 16px;
}

.drop-cap::first-letter {
  float: left;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 74px;
  line-height: 0.78;
  padding: 4px 8px 0 0;
  color: var(--ink);
}

.pull-quote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
  margin: 24px 10px;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

/* Sidebar */
.sidebar {
  border-left: 1px solid rgba(32,28,20,0.3);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.box-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.factbox dl {
  margin: 0;
  font-size: 13.5px;
}
.factbox dt {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10.5px;
  color: var(--ink-soft);
  margin-top: 10px;
}
.factbox dt:first-child { margin-top: 0; }
.factbox dd {
  margin: 2px 0 0;
  font-size: 15px;
}

.classifieds .ad-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.classifieds .ad-list li {
  border-bottom: 1px dotted rgba(32,28,20,0.4);
  padding: 9px 0;
}
.classifieds .ad-list li:last-child { border-bottom: none; }
.classifieds .ad-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.classifieds .ad-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.classifieds .ad-list svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.stamp-box {
  border: 2px solid var(--ink);
  padding: 14px;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft);
  transform: rotate(-1deg);
}

/* Feature article full width */
.feature-columns {
  columns: 2;
  column-gap: 36px;
  font-size: 15.5px;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}
.feature-columns p {
  margin: 0 0 16px;
  break-inside: avoid-column;
}

/* Footer */
.footer {
  text-align: center;
  padding-bottom: 30px;
}
.footer-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 4px;
}
.footer-fine {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 0;
}
.footer-hint {
  font-size: 9.5px;
  font-style: italic;
  color: var(--accent);
  opacity: 0.8;
  margin: 0 0 8px;
}

.impressum {
  display: inline-block;
  margin-top: 14px;
  font-family: "Libre Baskerville", "Old Standard TT", Georgia, serif;
}
.impressum:not([open]) .impressum-content {
  display: none;
}
.impressum[open] .impressum-content {
  display: block;
}
.impressum summary {
  cursor: pointer;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  list-style: none;
  border-bottom: 1px dotted rgba(32,28,20,0.5);
  padding-bottom: 1px;
}
.impressum summary::-webkit-details-marker { display: none; }
.impressum summary::after {
  content: " ▾";
}
.impressum[open] summary::after {
  content: " ▴";
}
.impressum summary:hover {
  color: var(--accent);
}
.impressum-content {
  margin: 12px auto 0;
  max-width: 260px;
  text-align: left;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  border: 1px solid rgba(32,28,20,0.3);
  padding: 12px 16px;
}
.impressum-content p {
  margin: 0 0 8px;
}
.impressum-content p:last-child { margin-bottom: 0; }
.impressum-heading {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  color: var(--ink);
  font-weight: 700;
}
.impressum-content a {
  color: var(--ink-soft);
}
.impressum-content a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .paper { padding: 20px 20px 10px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    border-left: none;
    border-top: 1px solid rgba(32,28,20,0.3);
    padding-left: 0;
    padding-top: 20px;
    margin-top: 20px;
  }
  .feature-columns { columns: 1; }
  .utility-bar { flex-wrap: wrap; text-align: center; }
}
