/**
 * ============================================================================
 * DIE TYPOGRAFIE-DEBATTE
 * Barebone CSS – v4.0 Strukturiert & Editierbar
 * ============================================================================
 * 
 * STRUKTUR:
 * 0. Font Faces ............ Typewalk Mono (lokal)
 * 1. CSS Variables ......... Zentrale Anpassung (Farben, Fonts, Spacing)
 * 2. Reset ................. Basis-Reset
 * 3. Base Typography ....... Grundlegende Text-Styles
 * 4. Layout System ......... Header, Main, Footer, Container
 * 5. Content Components .... Timeline, Entry, Article, Badge
 * 6. Prose/Reading ......... Fließtext-Optimierung (Desktop größer!)
 * 7. Forms & Buttons ....... Admin-Formulare
 * 8. Utilities ............. Helper-Klassen
 * 9. Responsive ............ Mobile Anpassungen
 * 
 * ANPASSUNG:
 * - Farben? → Sektion 1 (Variables)
 * - Schriftgrößen? → Sektion 1 + 3
 * - Abstände? → Sektion 1
 * - Layout-Breiten? → Sektion 1
 * 
 * ============================================================================
 */


/* ============================================================================
   0. FONT FACES – Typewalk Mono 1955 Edge (lokal)
   ============================================================================ */

@font-face {
  font-family: 'Typewalk Mono';
  src: url('../fonts/TypewalkMono1955Edge-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Typewalk Mono';
  src: url('../fonts/TypewalkMono1955Edge-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'Zetkin';
  src: url('../fonts/Zetkin-NormalBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zetkin';
  src: url('../fonts/Zetkin-NarrowHeavy.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zetkin';
  src: url('../fonts/Zetkin-ExtendedBlack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Messer';
  src: url('../fonts/Messer-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Messer';
  src: url('../fonts/Messer-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================================
   1. CSS VARIABLES – Hier alles zentral anpassen!
   ============================================================================ */
:root {
  /* === FARBEN === */
  --black: #111;
  --white: #fff;
  --red: #E30613;

  --gray: #666;
  --gray-light: #f5f5f5;
  --border: #ddd;
  
  /* === FONTS === */
  --font-sans: "Zetkin", system-ui, sans-serif;
  --font-mono: "Typewalk Mono", "JetBrains Mono", monospace;
  --font-serif: "Messer", serif;
  
  /* === SPACING === */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 2rem;     /* 32px */
  --space-lg: 4rem;     /* 64px */
  --space-xl: 6rem;     /* 96px */
  
  /* === CONTAINER WIDTHS === */
  --width-max: 1200px;
  --width-narrow: 720px;
  --width-wide: 900px;
  
  /* === TYPOGRAPHY SIZES (Base) === */
  --text-xs: 0.65rem;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-lg: 1.1rem;
  --text-xl: 1.5rem;
  
  /* === PROSE (Fließtext auf Desktop größer!) === */
  --prose-size-mobile: 1rem;
  --prose-size-desktop: 1.2rem;
  --prose-line-mobile: 1.5;
  --prose-line-desktop: 1.5;
}


/* ============================================================================
   2. RESET
   ============================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--red);
  color: var(--white);
}

::-moz-selection {
  background: var(--red);
  color: var(--white);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}


/* ============================================================================
   3. BASE TYPOGRAPHY
   ============================================================================ */

/* === Überschriften === */
h1 {
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  -webkit-hyphens: auto; /* Für Safari */
  -ms-hyphens: auto;     /* Für IE/Edge */
  hyphens: auto;         /* Standard */
}

h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-top: var(--space-md);
}

h3 {
  font-size: var(--text-lg);
  font-weight: 700;
}

/* === Absätze === */
p {
  margin-bottom: var(--space-sm);
}

/* === Monospace (Labels, Meta) === */
small,
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;


}

/* === Gedämpfter Text === */
.muted {
  color: var(--gray);
 
}

/* Share Link */
a.share-link {
  color: var(--black);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--gray);
  cursor: pointer;
}

a.share-link:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

/* === Große Jahreszahlen === */
time[data-year] {
  display: block;
  font-size: clamp(4rem, 15vw, 7.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

time[data-position="contra"] {
  color: var(--red);
}

time[data-position="neutral"] {
  color: var(--gray);
}


/* ============================================================================
   4. LAYOUT SYSTEM
   ============================================================================ */

/* === HEADER === */
header {

  padding: var(--space-sm) var(--space-md);
  border-bottom: 2px solid var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

header > a:first-child {
	
  font-weight: 900;
  font-size: 2rem;
  text-transform: none;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-align: left;
 
}

header > a:first-child:hover {
  	color:var(--red);
}

/* === NAVIGATION === */
nav {
  display: flex;
  gap: var(--space-sm);
}

nav a {
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: none;
  color: var(--gray);
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* Language Switcher */
nav a.lang-switch {
  margin-left: var(--space-sm);
  padding: 0.25rem 0.4rem;
  background: var(--black);
  color: var(--white);
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

nav a.lang-switch:hover {
  color: var(--white);
  opacity: 0.8;
}

/* === HAMBURGER MENU === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
  width: 40px;
  height: 40px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === MAIN === */
main {
  min-height: 60vh;
}

/* === FOOTER === */
footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-md) var(--space-sm);
  background: var(--gray-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  max-width: var(--width-max);
  margin: 0 auto;
}

.footer-brand strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: var(--space-xs);
}

.footer-brand p {
  font-family: var(--font-mono);
  font-size: var(--text-s);
  color: var(--gray);
  margin: 0;
  line-height: 1.1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  
  color: var(--black);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-family: var(--font-mono);	
  font-size: 0.95rem;
  color: var(--black);
  text-decoration: none;
}

.footer-col a:hover {
  color:var(--red);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--width-max);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray);
}


/* ============================================================================
   5. CONTENT COMPONENTS
   ============================================================================ */

/* === HERO === */
#hero {
  padding: var(--space-xl) var(--space-md);
  background: var(--white);
  color: var(--black);
  text-align: left;
  max-width: var(--width-narrow);
  margin: 0 auto;
  margin-bottom:12vh;
  margin-top:10vh;
 }

#hero h1 {
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

#hero p {
  font-family: var(--font-serif);

  font-size: clamp(1rem, 4vw, 1.5rem);
  line-height: 1.3;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* === TIMELINE === */
#timeline {
  max-width: var(--width-narrow);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

#timeline time[data-year] {
  margin: var(--space-lg) 0 var(--space-md);
}

#timeline time[data-year]:first-child {
  margin-top: 0;
}

/* === ENTRY (Timeline-Card) === */
.entry {
  display: block;
  padding: var(--space-sm) 1.25rem;
  margin-bottom: var(--space-sm);
  border: 2px solid var(--black);
  border-left-width: 5px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.entry:hover {
  transform: translateX(4px);
  box-shadow: 4px 4px 0 var(--black);
  text-decoration: none;
}


.entry[data-position="pro"] {
  border-left-color: var(--black);
}

.entry[data-position="contra"] {
  border-left-color: var(--red);
}

.entry[data-position="neutral"] {
  border-left-color: var(--gray);
}

.entry small {
  display: block;
  color: var(--gray);
}

.entry[data-position="pro"] small {
  color: var(--black);
}

.entry[data-position="contra"] small {
  color: var(--red);
}

.entry strong {
  display: block;
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0.25rem 0;
  line-height: 1.2;
}
.entry strong:hover{
color:var(--red);	
}

.entry span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray);
}

/* === ARTICLE === */
article {
  max-width: var(--width-narrow);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

article > p {
 
  letter-spacing: 0.08em;

}

/* === BADGE === */
.badge {
  padding: 0.2rem 0.5rem;
  margin: var(--space-xs) 0;
  font-size: 0.55rem;
  border: 1px solid currentColor;
  background: transparent;
}

.badge.pro {
  background: transparent;
  color: var(--black);
}

.badge.contra {
  background: transparent;
  color: var(--red);
}

.badge.neutral {
  background: var(--gray-light);
  color: var(--gray);
  border: 1px solid var(--gray);
}

/* === BLOCKQUOTE (These) === */
blockquote {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.7;
  padding: 1.5rem;
  margin: var(--space-sd) 0;
  border: 4px solid var(--red);
}

blockquote strong {
  display: block;
  margin-bottom: 0.5rem;
}

/* === RELATIONS (Sidebar) === */
.relations {
  padding: var(--space-sm);
  margin: var(--space-md) 0;
  background: var(--gray-light);
  border-left: 3px solid var(--black);
}

.relations strong {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.relations ul {
  margin-top: var(--space-xs);
}

.relations li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

/* === SCANS === */
.scans {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.scans a {
  flex: 0 0 160px;
  border: 2px solid var(--black);
}

.scans img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}


/* ============================================================================
   6. PROSE / FLIESSTEXT (Desktop größer & besser lesbar!)
   ============================================================================ */
.prose {
  font-family: var(--font-serif);
  font-size: var(--prose-size-mobile);
  line-height: var(--prose-line-mobile);
  max-width: var(--width-narrow);
  margin: var(--space-md) auto;
}

.prose p {
  margin-bottom: 1.5rem;
}

/* Desktop: Größere Schrift + mehr Platz */
@media (min-width: 768px) {
  .prose {
    font-size: var(--prose-size-desktop);
    line-height: var(--prose-line-desktop);
    max-width: var(--width-wide);
  }
}

/* Optional: Noch größer auf großen Screens */
@media (min-width: 1200px) {
  .prose {
    font-size: 1.3rem;
    line-height: 1.9;
  }
}


/* ============================================================================
   7. FORMS & BUTTONS
   ============================================================================ */

/* === BUTTON === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.btn.outline {
  background: var(--white);
  color: var(--black);
}

.btn.outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn.danger {
  background: var(--red);
  border-color: var(--red);
}

/* === FORMS === */
label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--black);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--red);
}

textarea {
  min-height: 150px;
  font-family: var(--font-mono);
  line-height: 1.6;
}

/* === ALERT === */
.alert {
  padding: var(--space-sm);
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.alert.success {
  background: var(--black);
  color: var(--white);
}

.alert.error {
  background: var(--red);
  color: var(--white);
}

/* === TABLE === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

th,
td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 3px solid var(--black);
}


/* ============================================================================
   8. UTILITIES
   ============================================================================ */

/* === Container === */
.narrow {
  max-width: var(--width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.wide {
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* === Spacing === */
.mt {
  margin-top: var(--space-md);
}

.mb {
  margin-bottom: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

/* === Text Alignment === */
.center {
  text-align: center;
}

/* === HR === */
hr {
  border: none;
  border-top: 2px solid var(--black);
  margin: var(--space-md) 0;
}

/* === Flex Row (für Admin-Forms) === */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.row > * {
  flex: 1 1 200px;
}


/* ============================================================================
   9. RESPONSIVE
   ============================================================================ */

/* Mobile Navigation */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }
  
  header {
    position: relative;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  
  /* Logo größer auf Mobile - mindestens wie Hamburger */
  header > a:first-child {
    font-size: 1.2rem;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  

  
  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    padding: var(--space-md);
    gap: var(--space-md);
    display: none;
  }
  
  header nav.active {
    display: flex;
  }
  
  /* Mobile Menu Links - expressiver */
  header nav a:not(.lang-switch) {
    display: none;
    font-size: 1.2rem;
    padding: 0.5rem 0;

  }
  
  header nav.active a:not(.lang-switch) {
    display: block;
  }
  
  header nav.active a:not(.lang-switch):last-child {
    border-bottom: none;
  }
  
  /* Language Switch bleibt immer sichtbar */
  header nav a.lang-switch {
    position: absolute;
    top: -50px;
    right: 56px;
    display: block !important;
    margin: 0;
  }
  
  #hero p{
	   font-size: clamp(1.15rem, 2vw, 1.3rem);
  }
}

@media (max-width: 600px) {
  :root {
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
  }
  
  /* Logo bleibt gut lesbar auf sehr kleinen Screens */
  header > a:first-child {
    font-size: 1.2rem;
  }
  
  header {
    gap: 0.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* ============================================================================
   9b. CMS Content Styles
   ============================================================================ */

.cms-content {
  font-family: var(--font-serif);
  font-size: var(--prose-size-mobile);
  line-height: var(--prose-line-mobile);
}

@media (min-width: 768px) {
  .cms-content {
    font-size: var(--prose-size-desktop);
    line-height: var(--prose-line-desktop);
  }
}

.cms-content p {
  margin-bottom: 1.5rem;
}

.cms-content h2 {
  margin: 2rem 0 1rem 0;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-sans);
}

.cms-content h3 {
  margin: 1.5rem 0 0.75rem 0;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: var(--font-sans);
}

.cms-content ul, 
.cms-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.cms-content li {
  margin: 0.5rem 0;
}

.cms-content strong {
  font-weight: bold;
}

.cms-content em {
  font-style: italic;
}

.cms-content a {
  color: var(--red);
  text-decoration: underline;
}

.cms-content a:hover {
  opacity: 0.8;
}

.cms-content code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}


/* ============================================================================
   10. V7 ADDITIONS
   ============================================================================ */

/* === Person Header (Foto + Info) === */
.person-header {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.person-header p {
  line-height: 1.2;
}

.person-header > div:not(.person-photo) {
  flex: 1;
}


.person-photo {
  flex: 0 0 240px;
  order: 2;
}

.person-photo img {
  width: 240px;
  height: auto;
  border: 2px solid var(--black);
  display: block;
}


.person-photo small {
  display: block;
  font-size: 0.55rem;
  margin-top: 0.25rem;
  color: var(--gray);
}

.sources {
  font-size: var(--text-sm);
  color: var(--gray);
}

/* === Persons Grid === */
.persons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.person-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) 1.25rem;
  border: 2px solid var(--black);
  border-left-width: 5px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.person-card small.muted:not(.mono) {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
 
.person-card strong{
	font-size: var(--text-xl);
	font-weight:800;
	
} 
.person-card strong:hover{
	color:var(--red);
 }
 
 
.person-card:hover {
  transform: translateX(4px);
  box-shadow: 4px 4px 0 var(--black);
  text-decoration: none;
}

.person-card[data-position="pro"] {
  border-left-color: var(--black);
}

.person-card[data-position="contra"] {
  border-left-color: var(--red);
}

.person-card[data-position="neutral"] {
  border-left-color: var(--gray);
}

/* === Blog Entry === */
.blog-entry {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.blog-entry h2 a {
  text-decoration: none;
}

.blog-entry h2 a:hover {
  text-decoration: underline;
}

/* === Publication Card === */
.publication-card {
  padding: var(--space-md);
  border: 2px solid var(--black);
  margin-bottom: var(--space-md);
}

.publication-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.publication-price {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
}

/* === Slideshow === */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  background: var(--gray-light);
}

.slideshow-track {
  position: relative;
  width: 100%;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.slide-prev:hover,
.slide-next:hover {
  background: var(--black);
}

.slide-prev {
  left: 0;
}

.slide-next {
  right: 0;
}

.slide-dots {
  text-align: center;
  padding: var(--space-xs);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: var(--black);
}

@media (max-width: 600px) {
  .person-header {
    flex-direction: column;
  }
  
  .person-photo {
    flex: none;
    width: 100%;
  }
  
  .person-photo img {
    width: 100%;
  }
  .slide-prev,
  .slide-next {
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
  }
}



/* ============================================================================
   PERSONS 
      ============================================================================ */

/* === Position Group Headers (Akteursübersicht) === */
.position-group-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-sm);
}

/* === Role Tags (Personenseite) === */
.role-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--gray);
}

.role-tag--primary {
  border-color: var(--black);
  color: var(--black);
  font-weight: 700;
}

/* === Factsheet Grid (Personenseite) === */
.factsheet-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  margin: 0;
  padding: 0;
}

.factsheet-grid dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-light);
  margin: 0;
}

.factsheet-grid dd {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-light);
  margin: 0;
}

/* === Mixed Position (Cards + Badge) === */
.person-card[data-position="mixed"] {
  border-left-color: var(--gray);
}

.badge.mixed {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray);
}

@media (max-width: 600px) {
  .factsheet-grid {
    grid-template-columns: 1fr;
  }
  .factsheet-grid dt {
    border-bottom: none;
    padding-bottom: 0;
  }
  .factsheet-grid dd {
    padding-top: 0.25rem;
  }
}

/* ============================================================================
   ARTICLE UPDATE — ans Ende von style.css anhängen
   ============================================================================ */

/* === Article Byline (Autoren-Zeile) === */
.article-byline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: var(--space-sm) 0 0.5rem 0;
}

.article-byline a {
  color: var(--black);
  text-decoration: none;
}

.article-byline a:hover {
  color: var(--red);
}

/* === Article Source (Quellenzeile) === */
.article-source {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: var(--gray);
  margin: 0.4rem 0 var(--space-sm) 0;
  line-height: 1.7;
}

/* === Section Label (wie Personenseite) === */
.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin: 0;
}

/* === Author Card (Mini-Profil) === */
.author-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--gray-light);
  margin-top: var(--space-xs);
  text-decoration: none;
  color: var(--black);
  border-left: 3px solid transparent;
  transition: border-color 0.15s;
}

.author-card:first-of-type {
  margin-top: var(--space-sm);
}

.author-card:hover {
  border-left-color: var(--red);
}

.author-card-photo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray);
  object-fit: cover;
}

img.author-card-photo {
  background: none;
}

.author-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.author-card-name {
  font-weight: 800;
  font-size: var(--text-sm);
}

.author-card-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray);
  letter-spacing: 0.05em;
}

.author-card-role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray);
  margin-top: 0.1rem;
}

/* === PD Status (wie Personenseite) === */
.pd-status {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
}

.pd-status.active { color: #2a9d2a; }
.pd-status.pending { color: var(--gray); }

/* === Prev/Next Navigation === */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.article-nav a {
  display: block;
  text-decoration: none;
  color: var(--black);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  transition: border-color 0.15s;
  font-size: var(--text-sm);
}

.article-nav a:hover {
  border-color: var(--red);
}

.article-nav a.next {
  text-align: right;
}

.article-nav-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  display: block;
  margin-bottom: 0.25rem;
}

.article-nav-title {
  font-weight: 700;
  display: block;
  line-height: 1.3;
}

/* === Responsive === */
@media (max-width: 600px) {
  .article-nav {
    grid-template-columns: 1fr;
  }
  .author-card {
    padding: 0.6rem 0.75rem;
  }
}