/*
Theme Name: Marvin – Politisches Profil
Theme URI: https://marvinstraubing.de
Author: Marvin
Description: Persönliches politisches Theme – Stadtrat Straubing, SPD, JRK Bayern, Bundestag.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marvin-theme
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --red:        #E3000F;
  --red-dark:   #B5000C;
  --red-light:  #ff3d47;
  --dark:       #2d2926;
  --mid:        #4a4540;
  --text:       #1c1a17;
  --muted:      #625d57;
  --border:     #ddd8ce;
  --bg:         #f5f1ea;
  --bg-card:    #ffffff;
  --bg-light:   #ede9e0;
  --white:      #ffffff;

  --font-display: 'Nunito Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:     4px;
  --radius-lg:  10px;
  --transition: 0.22s ease;

  --container:  1100px;
  --gap:        clamp(1.5rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--dark);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; letter-spacing: -.01em; }

p + p { margin-top: 1rem; }

blockquote {
  border-left: 4px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
  background: var(--bg-light);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.red-bar {
  display: block;
  width: 56px;
  height: 5px;
  background: var(--red);
  margin-bottom: 1.25rem;
  border-radius: 3px;
}

.tag {
  display: inline-block;
  padding: 0.2em 0.7em;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
}

.tag--outline {
  background: transparent;
  border: 1.5px solid var(--red);
  color: var(--red);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8em 1.8em;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 24px rgba(45,41,38,0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.site-logo span {
  color: var(--red);
}
.site-logo:hover { color: var(--dark); }

/* Primary nav */
#primary-nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
}

#primary-nav ul li a {
  display: block;
  padding: 0.45em 0.9em;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  border-radius: var(--radius);
  transition: all var(--transition);
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
  color: var(--text);
  background: var(--bg-light);
}
#primary-nav ul li.current-menu-item > a {
  border-bottom: 2px solid var(--red);
  color: var(--red);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION – Red hero, cream photo panel
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  padding-top: 66px;
}

.hero__left {
  background: var(--red);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

/* Subtle texture on red */
.hero__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 40px,
    rgba(0,0,0,0.025) 40px,
    rgba(0,0,0,0.025) 41px
  );
  pointer-events: none;
}

.hero__right {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-left: 4px solid rgba(227,0,15,0.12);
}

/* Big decorative letter on cream panel */
.hero__right::before {
  content: 'M';
  position: absolute;
  right: -5%;
  bottom: -10%;
  font-family: var(--font-display);
  font-size: clamp(16rem, 28vw, 32rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(45,41,38,0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}

.hero__photo-frame {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 3/4;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 1;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
}
.hero__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-light);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__pretitle {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__pretitle::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.6);
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero__role-pill {
  display: inline-block;
  padding: 0.35em 1em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  transition: all var(--transition);
}
.hero__role-pill:hover {
  background: rgba(255,255,255,0.22);
  color: var(--white);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Buttons on red hero */
.hero .btn--primary {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.hero .btn--primary:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--red-dark);
  transform: translateY(-2px);
}
.hero .btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero .btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

/* Stats strip */
.stats-strip {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-strip__item {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--border);
}
.stats-strip__item:last-child { border-right: none; }

.stats-strip__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.stats-strip__value--dark { color: var(--dark); }

.stats-strip__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__left {
    padding: 3rem 1.5rem;
    min-height: 90vh;
  }
  .hero__right { display: none; }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip__item:nth-child(2) { border-right: none; }
}
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  padding-top: 66px;
  position: relative;
}

.hero__left {
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero__right {
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Big decorative letter on red panel */
.hero__right::before {
  content: 'M';
  position: absolute;
  right: -8%;
  bottom: -8%;
  font-family: var(--font-display);
  font-size: clamp(18rem, 32vw, 36rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(0,0,0,0.1);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}

.hero__photo-frame {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 3/4;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 1;
}
.hero__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-align: center;
  padding: 1.5rem;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__pretitle {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__pretitle::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 0;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero__name span {
  color: var(--red);
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero__role-pill {
  display: inline-block;
  padding: 0.35em 1em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 30px;
  transition: all var(--transition);
}
.hero__role-pill:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(227,0,15,0.1);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Stats strip */
.stats-strip {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-strip__item {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--border);
}
.stats-strip__item:last-child { border-right: none; }

.stats-strip__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.stats-strip__value--dark { color: var(--dark); }

.stats-strip__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__left {
    padding: 3rem 1.5rem;
    min-height: 90vh;
  }
  .hero__right { display: none; }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip__item:nth-child(2) { border-right: none; }
}

/* ============================================================
   SECTION FRAMEWORK
   ============================================================ */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark .muted { color: rgba(255,255,255,0.6); }

.section--light { background: var(--bg-light); }
.section--white { background: var(--white); }

.section__header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.6rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
}

.section__title--white { color: var(--white); }

/* ============================================================
   ABOUT / PROFIL SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  background: var(--bg-light);
}

.about-photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Red corner accent */
.about-photo::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 60px; height: 60px;
  border-top: 5px solid var(--red);
  border-left: 5px solid var(--red);
  border-radius: 4px 0 0 0;
  z-index: 1;
}
.about-photo::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60px; height: 60px;
  border-bottom: 5px solid var(--red);
  border-right: 5px solid var(--red);
  border-radius: 0 0 4px 0;
  z-index: 1;
}

.about-content .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-content .btn { margin-top: 1.5rem; }

/* ============================================================
   ENGAGEMENT CARDS
   ============================================================ */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.engagement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 2rem 1.75rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45,41,38,0.1);
}

.engagement-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.engagement-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.engagement-card__org {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.engagement-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   BLOG / NEWS SECTION
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.post-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-light);
}
.post-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.05); }

.post-card__no-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark), var(--mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.05em;
}

.post-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.post-card__meta .cat-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  text-decoration: none;
}
.post-card__meta .cat-link:hover { text-decoration: underline; }

.post-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.post-card__title a { color: var(--dark); }
.post-card__title a:hover { color: var(--red); }

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.post-card__read-more {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.post-card__read-more:hover { gap: 0.7rem; color: var(--red-dark); }
.post-card__read-more::after { content: '→'; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-hero {
  background: var(--dark);
  padding-top: 66px;
  padding-block: 4rem 3rem;
}

.single-hero .container { max-width: 780px; }

.single-hero__cats {
  display: flex; gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.single-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.single-hero__meta {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.single-featured {
  aspect-ratio: 21/9;
  overflow: hidden;
  max-height: 480px;
}
.single-featured img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.single-content-wrap {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.single-content-wrap .container {
  max-width: 780px;
}

.entry-content {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}
.entry-content li { margin-bottom: 0.4rem; }

.entry-content a {
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 1px;
}
.entry-content a:hover { background: rgba(227,0,15,0.07); }

/* Post nav */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.post-nav__item {
  padding: 1.5rem;
  background: var(--bg-light);
  transition: background var(--transition);
}
.post-nav__item:hover { background: var(--border); }

.post-nav__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.post-nav__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--dark);
  text-decoration: none;
}
.post-nav__title:hover { color: var(--red); }

.post-nav__item--next { text-align: right; }

/* ============================================================
   ARCHIVE / BLOG LIST
   ============================================================ */
.archive-hero {
  background: var(--dark);
  padding-top: 66px;
  padding-block: 4rem 3rem;
  border-bottom: 3px solid var(--red);
}

.archive-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.archive-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}

.archive-grid {
  padding-block: 4rem;
}

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-hero {
  background: var(--dark);
  padding-top: 66px;
  padding-block: 4rem 3rem;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.page-content-wrap {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 820px;
  margin-inline: auto;
}

.page-content {
  font-size: 1.0625rem;
  line-height: 1.78;
}

.page-content p { margin-bottom: 1.25rem; }
.page-content h2, .page-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.page-content ul, .page-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

/* ============================================================
   KONTAKT CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--red);
  padding-block: clamp(3rem, 7vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(0,0,0,0.04) 30px,
    rgba(0,0,0,0.04) 31px
  );
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-section .btn--cta {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-size: 1rem;
  padding: 0.9em 2.2em;
}
.cta-section .btn--cta:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--black);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding-block: 2.5rem;
  border-top: 3px solid var(--red);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer__brand span { color: var(--red); }

.footer__copy {
  font-size: 0.82rem;
}

#footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
#footer-nav ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
#footer-nav ul li a:hover { color: var(--red); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  transition: all var(--transition);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  #primary-nav { display: none; }
  #primary-nav.is-open {
    display: block;
    position: fixed;
    top: 66px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    overflow-y: auto;
    z-index: 999;
    padding: 2rem;
    border-top: 1px solid var(--border);
  }
  #primary-nav.is-open ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  #primary-nav.is-open ul li a {
    font-size: 1.2rem;
    padding: 0.75em 1em;
    color: var(--text);
  }

  .nav-toggle { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-width: 280px;
    margin-inline: auto;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__name {
    font-size: clamp(3.5rem, 18vw, 7rem);
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    text-align: center;
    justify-content: center;
  }
  .engagement-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.social-links li a:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

/* Header variant – kompakter */
.social-links--header li a {
  width: 32px; height: 32px;
}

/* Footer variant – bleibt hell auf dunkel */
.social-links--footer li a {
  width: 38px; height: 38px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-links--footer li a:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

/* ============================================================
   ENGAGEMENT CARD – Blog-Variante
   ============================================================ */
.engagement-card--blog {
  border-top-color: var(--white);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
.engagement-card--blog .engagement-card__title,
.engagement-card--blog p {
  color: rgba(255,255,255,0.85);
}
.engagement-card--blog .engagement-card__org {
  color: rgba(255,255,255,0.5);
}

.engagement-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1.5px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: all var(--transition);
}
.engagement-card__link:hover {
  color: var(--red-light);
  border-color: var(--red-light);
}

/* ============================================================
   FOOTER – GRID LAYOUT
   ============================================================ */
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-top: 0.4rem;
}

.footer__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__menu li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__menu li a:hover {
  color: var(--red-light);
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.25rem;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer__copy--small {
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__col--brand {
    grid-column: 1 / -1;
  }
  .social-links--header {
    display: none; /* Im Hamburger-Menü sichtbar */
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   IMPRESSUM-SEITE
   ============================================================ */
.impressum-content {
  max-width: 720px;
  margin-inline: auto;
}

.impressum-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.impressum-section:last-child {
  border-bottom: none;
}

.impressum-section h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.impressum-section p,
.impressum-section address {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: normal;
}

.impressum-section a {
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.impressum-section a:hover {
  border-color: var(--red);
}

.impressum-disclaimer {
  background: var(--bg-light);
  border-left: 4px solid var(--red);
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 0.75rem;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeUp 0.7s ease forwards;
}
.animate-up:nth-child(1) { animation-delay: 0.1s; }
.animate-up:nth-child(2) { animation-delay: 0.22s; }
.animate-up:nth-child(3) { animation-delay: 0.34s; }
.animate-up:nth-child(4) { animation-delay: 0.46s; }

/* Intersection observer fade */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   INSTAGRAM / SOCIAL FEED
   ============================================================ */
.social-feed-section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--bg);
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.insta-placeholder {
  aspect-ratio: 1;
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.insta-placeholder:hover { border-color: var(--red); transform: scale(1.02); }
.insta-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.insta-placeholder__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.social-feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.social-handle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.social-handle:hover { color: var(--red); }
.social-handle__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-handle__icon--insta { background: var(--red); }
.social-handle__icon--li { background: #0A66C2; }
.social-handle__icon svg { fill: white; }
.linkedin-teaser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid #0A66C2;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  transition: all var(--transition);
}
.linkedin-teaser:hover { box-shadow: 0 6px 20px rgba(45,41,38,0.08); transform: translateY(-2px); }
.linkedin-teaser__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0A66C2;
  margin-bottom: 0.3rem;
}
.linkedin-teaser__text { font-size: 0.9rem; line-height: 1.55; color: var(--text); }
.social-grid-2col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid-2col { grid-template-columns: 1fr; }
}

/* ============================================================
   ÜBER MICH – TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  max-width: 820px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: var(--border);
  border-radius: 3px;
}

.timeline__item {
  position: relative;
  padding-bottom: 2.75rem;
  padding-left: 1.5rem;
}
.timeline__item:last-child { padding-bottom: 0; }

/* Roter Punkt auf der Linie */
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.55rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.6rem;
  text-transform: none;
}

.timeline__content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ============================================================
   ÜBER MICH – ENGAGEMENT DETAIL CARDS
   ============================================================ */
@media (max-width: 640px) {
  .engagement-detail-grid { grid-template-columns: 1fr !important; }
}

.engagement-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.engagement-detail-card:hover {
  box-shadow: 0 8px 28px rgba(45,41,38,0.09);
  transform: translateY(-3px);
}

.engagement-detail-card__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.engagement-detail-card__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.engagement-detail-card__org {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.2rem;
}

.engagement-detail-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  text-transform: none;
}

.engagement-detail-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 1rem;
}

.engagement-detail-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.engagement-detail-card__list li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}
.engagement-detail-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ============================================================
   ÜBER MICH – VALUE CARDS
   ============================================================ */
.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: background var(--transition);
}
.value-card:hover {
  background: rgba(255,255,255,0.08);
}

.value-card__icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  display: block;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ============================================================
   BARRIEREFREIHEIT
   ============================================================ */

/* Screen-Reader-only Text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-Content Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* Fokus-Styles für alle interaktiven Elemente */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* Fokus auf dunklem Hintergrund */
.hero a:focus-visible,
.section--dark a:focus-visible,
#site-footer a:focus-visible,
.cta-section a:focus-visible {
  outline-color: var(--white);
}

/* Erhöhter Kontrast für Pflichttext */
.post-card__excerpt,
.engagement-card p,
.about-content p,
.timeline__content p,
.footer__tagline {
  color: var(--mid);
}

/* Sichtbare Fokusringe für Social Icons */
.social-links li a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ============================================================
   SPRACHUMSCHALTER
   ============================================================ */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-switcher__current {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3em 0.7em;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-switcher__current:hover,
.lang-switcher__current:focus-visible {
  color: var(--red);
  border-color: var(--red);
  outline: none;
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(45,41,38,.12);
  min-width: 160px;
  z-index: 200;
  overflow: hidden;
}
.lang-switcher:hover .lang-switcher__dropdown,
.lang-switcher__current:focus + .lang-switcher__dropdown,
.lang-switcher__current[aria-expanded="true"] + .lang-switcher__dropdown {
  display: block;
}

.lang-switcher__dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition);
}
.lang-switcher__dropdown a:hover { background: var(--bg-light); }
.lang-switcher__dropdown a.lang-active {
  color: var(--red);
  background: rgba(227,0,15,.05);
}
.lang-flag { font-size: 1rem; }

@media (max-width: 768px) {
  .lang-switcher { display: none; }
}
