/*
Theme Name: MioModus
Theme URI: https://www.miomodus.de
Author: MioModus
Author URI: https://www.miomodus.de
Description: Das offizielle MioModus WordPress Theme – Echtes Geld. Echte Entscheidungen.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: miomodus
*/

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

:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #9A7B2F;
  --gold-glow:   rgba(201,168,76,0.15);
  --bg:          #0D0D0D;
  --surface:     #141414;
  --surface-2:   #1C1C1C;
  --border:      rgba(201,168,76,0.25);
  --text:        #F0F0F0;
  --text-muted:  #888888;
  --white:       #FFFFFF;
  --radius:      8px;
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}

p { margin-bottom: 1rem; color: var(--text); }

ul { list-style: none; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--sm { padding: 60px 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

.gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  margin: 16px auto 32px;
  border-radius: 2px;
}

.gold-line--left { margin-left: 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: #0D0D0D;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
  color: #0D0D0D;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

#site-header.scrolled {
  background: rgba(10,10,10,0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.logo-mio { color: var(--white); }
.logo-modus { color: var(--gold); }

/* Main Nav */
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#main-nav ul li { position: relative; }

#main-nav ul li a {
  display: block;
  padding: 8px 16px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #cccccc;
  border-radius: 6px;
  transition: all var(--transition);
}

#main-nav ul li a:hover,
#main-nav ul li.current-menu-item > a,
#main-nav ul li.current-menu-parent > a {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Dropdown */
#main-nav ul li ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

#main-nav ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#main-nav ul li ul li a {
  font-size: 13px;
  padding: 10px 14px;
  color: #aaa;
}

#main-nav ul li ul li a:hover {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn { padding: 10px 24px; font-size: 13px; }

.search-toggle {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all var(--transition);
}

.search-toggle:hover { color: var(--gold); background: var(--gold-glow); }

/* Mobile Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hintergrund.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.2) 40%,
    rgba(10,10,10,0.55) 80%,
    rgba(10,10,10,1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 28px;
  background: var(--gold-glow);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.hero-sub {
  font-size: 18px;
  color: #c0c0c0;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg { color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   STATS BAND
   ============================================= */
.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 52px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =============================================
   SECTION: MEIN WEG
   ============================================= */
.mein-weg {
  background: var(--bg);
}

.mein-weg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.mein-weg-text { font-size: 16px; color: #b0b0b0; line-height: 1.9; }

.portfolio-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.portfolio-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.portfolio-card--link:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

.portfolio-year {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portfolio-value {
  font-family: 'Raleway', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.portfolio-value.up { color: #4ade80; }

.portfolio-desc { font-size: 12px; color: var(--text-muted); }

.portfolio-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-arrow svg { color: var(--gold); width: 32px; height: 32px; }

/* =============================================
   SECTION: WAS DICH ERWARTET
   ============================================= */
.was-erwartet {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 44px 36px;
  transition: all var(--transition);
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-last-child(-n+3) { border-bottom: none; }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover { background: var(--surface); }
.feature-card:hover::before { opacity: 1; }
a.feature-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.feature-card h3 { color: var(--white); }
a.feature-card p { color: var(--text-muted); }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
}

.feature-icon svg { width: 36px; height: 36px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--white);
  letter-spacing: 0.3px;
}

.feature-card p { font-size: 14px; color: #777; line-height: 1.9; margin-bottom: 0; }

/* =============================================
   SECTION: QUOTE
   ============================================= */
.quote-section {
  position: relative;
  overflow: hidden;
  background-image: url('assets/images/banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.quote-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

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


.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.4;
  position: relative;
}

.quote-text em {
  font-style: normal;
  color: var(--gold);
}

.quote-author {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =============================================
   SECTION: CTA FINAL
   ============================================= */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-section h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }
.cta-section p { color: #999; max-width: 540px; margin: 0 auto 40px; }

/* =============================================
   DISCLAIMER BAR
   ============================================= */
.disclaimer-bar {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}

.disclaimer-bar p {
  font-size: 12px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

/* =============================================
   SINGLE POST
   ============================================= */
.single-hero {
  padding: 140px 0 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.single-hero--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
  padding: 140px 0 24px;
}
.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 60%, rgba(13,13,13,1) 100%);
  z-index: 1;
}
.single-back {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.single-back:hover { color: var(--gold); }
.single-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.single-date { font-size: 13px; color: var(--text-muted); }
.single-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: 20px;
}
.single-excerpt {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.single-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.single-avatar {
  width: 40px; height: 40px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.single-author-name { display: block; font-size: 14px; font-weight: 600; color: var(--white); }
.single-read-time { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.single-featured-image { padding: 16px 0 0; }
.single-featured-image img { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--border); }
.single-content-wrap { padding: 24px 0 80px; }
.single-avatar img.single-avatar-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.single-content { max-width: 760px; }
.single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.single-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
}
.single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.single-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.single-nav-item:hover { border-color: var(--gold); }
.single-nav-next { text-align: right; }
.single-nav-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.single-nav-title { font-family: var(--font-heading); font-size: 16px; color: var(--white); line-height: 1.3; }

/* =============================================
   ARCHIVE GRID
   ============================================= */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 28px;
  margin-bottom: 60px;
}
.archive-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
  height: 100%;
}
.archive-card:hover { border-color: var(--gold); }
.archive-card-thumb { display: block; overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0; }
.archive-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.archive-card:hover .archive-card-thumb img { transform: scale(1.04); }
.archive-card-thumb--placeholder {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.archive-card-thumb--placeholder svg { width: 40px; height: 40px; color: #333; }
.archive-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.archive-card-meta { display: flex; align-items: center; gap: 12px; }
.archive-card-title { font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 1.3; margin: 0; height: 52px; overflow: hidden; }
.archive-card-title a { color: var(--white); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.archive-card-title a:hover { color: var(--gold); }
.archive-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  height: 120px;
  overflow: hidden;
}
.archive-card-excerpt p { margin: 0; }
.archive-read-more { font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: none; letter-spacing: 0.04em; margin-top: auto; padding-top: 12px; }
.archive-read-more:hover { color: var(--white); }
.archive-pagination { display: flex; gap: 8px; justify-content: center; }
.archive-pagination .page-num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  border-radius: 2px;
  transition: all 0.2s;
}
.archive-pagination .page-num:hover,
.archive-pagination .page-num.current { border-color: var(--gold); color: var(--gold); }
.archive-empty {
  text-align: center;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.archive-empty svg { width: 48px; height: 48px; color: #333; }
.archive-empty p { color: var(--text-muted); font-size: 16px; }

/* Lock badge on archive cards */
.archive-card-thumb { position: relative; }
.card-lock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.75);
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.card-lock-badge svg { width: 16px; height: 16px; color: var(--gold); }
.card-free-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}

/* Paywall */
.paywall-teaser {
  position: relative;
  max-height: 180px;
  overflow: hidden;
}
.paywall-teaser::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.paywall-box {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 0;
}
.paywall-lock {
  width: 64px;
  height: 64px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.paywall-lock svg { width: 28px; height: 28px; color: var(--gold); }
.paywall-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.paywall-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
}
.paywall-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) { .archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .archive-grid { grid-template-columns: 1fr; } .single-nav { grid-template-columns: 1fr; } }

/* =============================================
   INNER PAGES: WATCHLIST / ANALYSEN / etc.
   ============================================= */
.page-hero {
  padding: 140px 0 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 60%, rgba(13,13,13,1) 100%);
  z-index: 1;
}
.page-hero.text-center .section-label,
.page-hero.text-center h1,
.page-hero.text-center .gold-line,
.page-hero.text-center p { text-align: center; margin-left: auto; margin-right: auto; }

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: #999; max-width: 600px; }

.page-content { padding: 80px 0; background: var(--bg); }

/* Post Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 0;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: var(--gold); }

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
}

.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-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 4px 10px;
  border-radius: 4px;
}

.post-date { font-size: 12px; color: var(--text-muted); }

.post-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.post-card h3 a { color: var(--white); }
.post-card h3 a:hover { color: var(--gold); }

.post-card p { font-size: 14px; color: #888; flex: 1; margin-bottom: 20px; }

.post-card .btn { align-self: flex-start; padding: 10px 20px; font-size: 12px; }

/* Depot / Members Area */
.members-only {
  text-align: center;
  padding: 80px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  max-width: 560px;
  margin: 0 auto;
}

.members-only .lock-icon { font-size: 56px; margin-bottom: 24px; }
.members-only h2 { font-size: 28px; margin-bottom: 12px; }
.members-only p { color: #888; margin-bottom: 32px; }

/* Campus */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.campus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all var(--transition);
}

.campus-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.campus-card-icon { font-size: 36px; margin-bottom: 20px; }
.campus-card h3 { font-size: 18px; margin-bottom: 10px; }
.campus-card p { font-size: 14px; color: #888; margin-bottom: 0; }

/* Single Post */
.single-post-wrap { max-width: 800px; margin: 0 auto; }

.single-post-meta {
  display: flex; gap: 20px; align-items: center;
  margin-bottom: 40px; flex-wrap: wrap;
}

.entry-content { font-size: 17px; line-height: 1.9; color: #c0c0c0; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { font-family: var(--font-heading); font-size: 22px; color: var(--white); margin: 36px 0 10px; font-weight: 600; }
.entry-content p { margin: 0; line-height: 1.6; }
.entry-content .para-sep { height: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content ul li, .entry-content ol li { margin-bottom: 6px; }
.entry-content li > p { margin: 0; display: inline; }
.entry-content strong { color: var(--white); }
.entry-content blockquote { margin: 1.4em 0 0; padding: 0; border: none; }
.entry-content a { word-break: break-all; }
.entry-content p.data-block-header { margin-top: 1.4em; }
.entry-content p.data-block-header + p.data-block-header,
.entry-content .para-sep + p.data-block-header,
.entry-content h1 + p.data-block-header,
.entry-content h2 + p.data-block-header,
.entry-content h3 + p.data-block-header,
.entry-content h4 + p.data-block-header { margin-top: 0; }

/* =============================================
   PRICING
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--gold);
  background: #141208;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-period {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
}
.pricing-amount {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.pricing-currency {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 10px;
}
.pricing-interval {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 13px;
}
.pricing-highlight {
  color: var(--gold) !important;
  font-weight: 600;
}
.pricing-btn { width: 100%; text-align: center; }
.pricing-legal {
  text-align: center;
  font-size: 12px;
  color: #444;
  max-width: 520px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

/* =============================================
   MEMBER DASHBOARD
   ============================================= */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.dashboard-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.dashboard-card:hover { border-color: var(--gold); background: #141208; }
.dashboard-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 4px; }
.dashboard-icon svg { width: 100%; height: 100%; }
.dashboard-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--white); }
.dashboard-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.dashboard-link { font-size: 13px; color: var(--gold); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.05em; }
.dashboard-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.dashboard-account-info { display: flex; align-items: center; gap: 16px; }
.dashboard-avatar {
  width: 48px; height: 48px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dashboard-name { font-size: 16px; font-weight: 600; color: var(--white); }
.dashboard-email { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dashboard-grid { grid-template-columns: 1fr; } .dashboard-account { flex-direction: column; gap: 20px; } }

/* =============================================
   KONTO PAGE
   ============================================= */
.konto-container { max-width: 1100px; }
.konto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.konto-section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.konto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 24px;
}
.konto-card--danger { border-color: rgba(200,50,50,0.3); }
.konto-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.konto-form { display: flex; flex-direction: column; gap: 16px; }
.konto-row { display: flex; gap: 12px; }
.konto-row .form-group { flex: 1; }
.konto-btn { margin-top: 8px; }
.konto-current { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.konto-current strong { color: var(--white); }
.abo-status { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.abo-badge {
  background: rgba(50,180,100,0.15);
  color: #70c090;
  border: 1px solid rgba(50,180,100,0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.abo-plan { font-size: 16px; font-weight: 600; color: var(--white); font-family: var(--font-heading); }
.abo-details { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.abo-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.abo-row span { color: var(--text-muted); }
.abo-row strong { color: var(--white); }
.payment-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 4px;
  margin-bottom: 16px;
  text-align: center;
}
.payment-placeholder svg { width: 36px; height: 36px; color: #444; }
.payment-placeholder p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.konto-cancel-text { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.konto-cancel-confirm { font-size: 13px; color: #e07070; margin-bottom: 16px; }
.newsletter-toggle { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.toggle-wrap { position: relative; width: 48px; height: 26px; flex-shrink: 0; }
.toggle-wrap input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute; inset: 0;
  background: #2a2a2a;
  border: 1px solid var(--border);
  border-radius: 26px;
  transition: 0.2s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #555;
  border-radius: 50%;
  transition: 0.2s;
}
.toggle-wrap input:checked + .toggle-slider { background: rgba(201,168,76,0.2); border-color: var(--gold); }
.toggle-wrap input:checked + .toggle-slider::before { transform: translateX(22px); background: var(--gold); }
.toggle-label { font-size: 14px; color: var(--text-muted); }

.invoice-list { display: flex; flex-direction: column; gap: 0; }
.invoice-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 32px;
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}
.invoice-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 32px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  color: var(--text-muted);
}
.invoice-row:last-child { border-bottom: none; }
.invoice-status { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.invoice-status--paid { background: rgba(50,180,100,0.12); color: #70c090; border: 1px solid rgba(50,180,100,0.25); }
.invoice-status--open { background: rgba(200,160,50,0.12); color: var(--gold); border: 1px solid rgba(200,160,50,0.25); }
.invoice-status--failed { background: rgba(200,50,50,0.12); color: #e07070; border: 1px solid rgba(200,50,50,0.25); }
.invoice-download { color: #555; transition: color 0.2s; display: flex; align-items: center; }
.invoice-download:hover { color: var(--gold); }
.invoice-download svg { width: 16px; height: 16px; }
.btn-danger {
  background: transparent;
  border: 1px solid rgba(200,50,50,0.5);
  color: #e07070;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-danger:hover { background: rgba(200,50,50,0.1); border-color: #e07070; }
@media (max-width: 860px) { .konto-grid { grid-template-columns: 1fr; } }

/* =============================================
   AUTH PAGES (Login / Register)
   ============================================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px 44px;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 36px;
  justify-content: center;
}
.auth-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}
.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-remember a { color: var(--gold); text-decoration: none; }
.auth-remember label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.auth-remember input[type="checkbox"] { accent-color: var(--gold); }
.auth-submit { width: 100%; margin-top: 8px; }
.password-wrap { position: relative; }
.password-wrap input { width: 100%; padding-right: 48px; }
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.password-toggle:hover { color: var(--gold); }
.password-toggle svg { width: 18px; height: 18px; }
.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.auth-checkbox input[type="checkbox"] {
  accent-color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.auth-checkbox a { color: var(--gold); text-decoration: none; }
.auth-checkbox a:hover { text-decoration: underline; }
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}
.auth-switch a { color: var(--gold); text-decoration: none; }
.auth-error {
  background: rgba(220,50,50,0.1);
  border: 1px solid rgba(220,50,50,0.3);
  color: #e07070;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.auth-success {
  background: rgba(50,180,100,0.1);
  border: 1px solid rgba(50,180,100,0.3);
  color: #70c090;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.legal-content a { color: var(--gold); }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #444; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .site-logo { margin-bottom: 20px; }

.footer-brand p {
  font-size: 14px;
  color: #666;
  max-width: 280px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 40px;
  height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
}

.social-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #666; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 13px; color: #444; margin: 0; }

.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 13px; color: #444; transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* =============================================
   SEARCH OVERLAY
   ============================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.search-overlay.active { opacity: 1; visibility: visible; }

.search-overlay form {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
  position: relative;
}

.search-overlay input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gold);
  padding: 16px 48px 16px 0;
  font-family: 'Cormorant Garamond', sans-serif;
  font-size: 28px;
  color: var(--white);
  outline: none;
}

.search-overlay input::placeholder { color: #444; }

.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #666;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.search-close:hover { color: var(--gold); }

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 999;
  overflow-y: auto;
  padding: 32px 24px;
  flex-direction: column;
}

.mobile-menu.active { display: flex; }

.mobile-menu ul { flex-direction: column; }

.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-family: 'Cormorant Garamond', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu ul li a:hover { color: var(--gold); }

.mobile-menu ul li ul {
  padding-left: 20px;
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: none;
  border: none;
  box-shadow: none;
}

.mobile-menu .btn { margin-top: 32px; width: 100%; text-align: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .mein-weg-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  #main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .hero h1 { font-size: 38px; }
  .portfolio-comparison { grid-template-columns: 1fr; }
  .portfolio-arrow { transform: rotate(90deg); }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   PAID MEMBERSHIPS PRO – CHECKOUT & CONFIRMATION STYLING
   ============================================================ */

.checkout-wrapper {
  max-width: 680px;
  margin: 0 auto 80px;
}

/* Main form table */
#pmpro_form table,
#pmpro_form .pmpro_checkout-fields {
  width: 100%;
  border-collapse: collapse;
}

#pmpro_form h3.pmpro_checkout-section-title,
#pmpro_form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 12px;
  margin: 32px 0 20px;
}

#pmpro_form td,
#pmpro_form th {
  padding: 8px 0;
  vertical-align: top;
  color: var(--text);
  background: transparent;
  border: none;
}

#pmpro_form label {
  color: #999;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  display: block;
  margin-bottom: 6px;
}

#pmpro_form input[type="text"],
#pmpro_form input[type="email"],
#pmpro_form input[type="password"],
#pmpro_form input[type="tel"],
#pmpro_form select {
  width: 100%;
  background: #0D0D0D;
  border: 1px solid #2a2a2a;
  border-radius: 2px;
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  box-sizing: border-box;
  margin-bottom: 4px;
}

#pmpro_form input[type="text"]:focus,
#pmpro_form input[type="email"]:focus,
#pmpro_form input[type="password"]:focus,
#pmpro_form select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Order summary / level box */
#pmpro_level_cost,
.pmpro_checkout-order-summary,
#pmpro_review_submit_table {
  background: var(--surface);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}

#pmpro_level_cost p,
.pmpro_checkout-order-summary p {
  color: var(--text);
  font-size: 15px;
  margin: 0;
}

/* Submit button */
#pmpro_submit_span input[type="submit"],
#pmpro_form input[type="submit"],
.pmpro_btn-submit-checkout {
  background: var(--gold) !important;
  border: none !important;
  border-radius: 2px !important;
  color: #0D0D0D !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 8px !important;
}

#pmpro_form input[type="submit"]:hover {
  background: #b8923e !important;
}

/* Stripe card element container */
#pmpro_stripe_cardnumber_container,
#pmpro_stripe_cardexpiry_container,
#pmpro_stripe_cardcvc_container,
.pmpro-stripe-intents-element {
  background: #0D0D0D;
  border: 1px solid #2a2a2a;
  border-radius: 2px;
  padding: 12px 16px;
  margin-bottom: 4px;
}

/* Checkout notices */
.pmpro_message {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 2px;
  color: var(--text);
  margin-bottom: 24px;
}

.pmpro_error,
.pmpro-alert-error {
  background: rgba(180, 30, 30, 0.15);
  border-left: 3px solid #c0392b;
  padding: 16px 20px;
  border-radius: 2px;
  color: #e57373;
  margin-bottom: 24px;
}

/* Terms checkbox */
#pmpro_form .pmpro_checkout-fields-terms {
  color: #999;
  font-size: 13px;
}

#pmpro_form input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

/* Confirmation page */
.pmpro_confirmation_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}

.pmpro_confirmation_table td,
.pmpro_confirmation_table th {
  padding: 14px 20px;
  border-bottom: 1px solid #2a2a2a;
  color: var(--text);
  text-align: left;
}

.pmpro_confirmation_table th {
  color: #999;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  background: #111;
}

.pmpro_checkout-level-confirm h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 8px;
}

/* Back/cancel links */
#pmpro_form a,
.pmpro_checkout a {
  color: var(--gold);
  text-decoration: none;
}

/* Hide PMPro's default header styles that clash */
#pmpro_form h1 { display: none; }

/* Override PMPro's white background wrappers */
#pmpro_form,
.pmpro_checkout,
#pmpro_checkout_form_wrapper,
.pmpro-checkout-box,
.pmpro_checkout-fields-table,
div#pmpro_form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--text) !important;
}

/* Section boxes inside checkout */
#pmpro_form .pmpro_checkout-section,
#pmpro_form .pmpro_checkout-fields {
  background: var(--surface) !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 4px !important;
  padding: 28px !important;
  margin-bottom: 20px !important;
}

/* All text inside PMPro form */
#pmpro_form *,
#pmpro_form p,
#pmpro_form span,
#pmpro_form div {
  color: var(--text);
  background-color: transparent;
}

/* Level cost box */
#pmpro_level_cost {
  background: var(--surface) !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 4px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
  color: var(--text) !important;
}

/* ── Google Login Divider ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-muted, #666);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* ── Nextend Social Login Button (Google) ── */
.nsl-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.nsl-container-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nsl-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 12px 20px !important;
  background: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 8px !important;
  color: var(--white, #fff) !important;
  font-family: var(--font-body, 'Raleway', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: border-color 0.2s, background 0.2s !important;
  box-sizing: border-box !important;
}
.nsl-button:hover {
  background: #222 !important;
  border-color: rgba(255,255,255,0.25) !important;
}
.nsl-button-icon {
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
}
.nsl-button-label-text {
  color: var(--white, #fff) !important;
}

/* "Als Admin angemeldet" notice */
#pmpro_form .pmpro_message,
#pmpro_form .pmpro-alert {
  background: var(--surface) !important;
  border-left: 3px solid var(--gold) !important;
  color: var(--text) !important;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cookie-banner__text {
  flex: 1;
}
.cookie-banner__text strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}
.cookie-banner__text p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--gold-light);
  text-decoration: underline;
  word-break: normal;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =============================================
   404 PAGE
   ============================================= */
.not-found-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.not-found-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.not-found-code {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
  margin-bottom: -20px;
}
.not-found-title {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 16px;
}
.not-found-text {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.not-found-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.not-found-links p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.not-found-links ul {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.not-found-links ul li a {
  color: var(--gold);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.not-found-links ul li a:hover {
  border-color: var(--gold);
}

/* =============================================
   MOBILE RESPONSIVE FIXES
   ============================================= */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links { display: none; }
  .nav-actions .btn { padding: 8px 14px; font-size: 13px; }

  /* Hero */
  .hero-title { font-size: clamp(32px, 8vw, 52px); }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  /* Portfolio cards */
  .portfolio-cards { flex-direction: column; gap: 12px; }
  .portfolio-card { padding: 20px; }

  /* Section headings */
  .section-title { font-size: clamp(26px, 6vw, 38px); }

  /* Single post hero */
  .single-hero { padding: 60px 0 40px; }
  .single-title { font-size: clamp(26px, 6vw, 40px); }

  /* Post navigation */
  .single-nav { flex-direction: column; gap: 12px; }
  .single-nav-next { text-align: left; }

  /* Paywall box */
  .paywall-actions { flex-direction: column; }
  .paywall-actions .btn { text-align: center; }

  /* Quote section — fix parallax & zoom out */
  .quote-section {
    background-attachment: scroll;
    background-size: 160%;
    background-position: center 30%;
  }

  /* Feature cards */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-card:nth-child(3n) { border-right: none; }
  .feature-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .feature-card:last-child { border-bottom: none; }

  /* Archive grid → horizontal slider on mobile */
  .posts-grid,
  .analysen-grid,
  .archive-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    /* hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .posts-grid::-webkit-scrollbar,
  .analysen-grid::-webkit-scrollbar { display: none; }

  .posts-grid .post-card,
  .analysen-grid .post-card,
  .analysen-grid .analyse-card,
  .archive-grid .post-card,
  .archive-grid article {
    flex: 0 0 80vw;
    max-width: 320px;
    scroll-snap-align: start;
  }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }

  /* Tables in content */
  .entry-content table { display: block; overflow-x: auto; }

  /* 404 */
  .not-found-actions { flex-direction: column; align-items: center; }
  .not-found-links ul { gap: 16px; }
}

figcaption { display: none; }

/* =============================================
   REGISTRATION GATE
   ============================================= */

/* 50-word teaser */
.gate-teaser {
  margin-bottom: 0;
}

/* Blurred continuation text */
.gate-blur-wrap {
  position: relative;
  height: 120px;
  overflow: hidden;
  margin-bottom: 0;
  pointer-events: none;
}
.gate-blur-content {
  filter: blur(6px);
  opacity: 0.45;
  user-select: none;
  padding: 16px 0;
  color: var(--text);
  line-height: 1.8;
}
.gate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 80%);
}

/* Popup */
.gate-popup {
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.gate-popup-icon {
  margin-bottom: 20px;
}
.gate-popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.gate-popup-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.gate-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.gate-btn-full {
  width: 100%;
  justify-content: center;
}
.gate-popup-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
}
.gate-popup-divider::before,
.gate-popup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.gate-popup-nl-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.gate-popup-nl-text strong {
  color: var(--gold);
}
.gate-nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gate-nl-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.gate-nl-input:focus {
  border-color: var(--gold);
}
.gate-nl-submit {
  width: 100%;
  justify-content: center;
}
.gate-nl-note {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}
.gate-nl-success {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 15px;
  padding: 16px 0;
}

@media (max-width: 600px) {
  .gate-popup { padding: 32px 20px; }
  .gate-popup-title { font-size: 22px; }
}
