/* ============================================
   Theater im Park — Aeon Editorial Design
   ============================================ */

:root {
  --color-bg: #FAF7F2;
  --color-text: #2C2825;
  --color-text-secondary: rgba(44, 40, 37, 0.75);
  --color-text-muted: rgba(44, 40, 37, 0.55);
  --color-accent: #8B4A2B;
  --color-accent-dark: #6E3316;
  --color-border: rgba(44, 40, 37, 0.1);
  --color-surface: #EDEAE5;
  --color-nav-bg: rgba(250, 247, 242, 0.8);
  --color-nav-text: #2C2825;

  --font-headline: 'Newsreader', serif;
  --font-body: 'Source Sans 3', sans-serif;

  --max-content: 720px;
  --max-page: 1440px;
}

/* --- Reset & Base --- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- Navigation --- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--color-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: var(--max-page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.site-name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-nav-text);
  text-decoration: none;
}

.site-name:hover {
  text-decoration: none;
  opacity: 0.85;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-headline);
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-text);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 0.25rem;
}

.hamburger {
  display: block;
  background: none;
  border: none;
  color: var(--color-nav-text);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Mobile Nav Overlay */
body.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  z-index: 999;
  padding: 4rem 2rem 2rem;
  overflow-y: auto;
}

body.nav-open .hamburger {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 1000;
}

body.nav-open .site-name {
  position: relative;
  z-index: 1000;
}

body.nav-open .nav-links a {
  font-size: 1.3rem;
  color: var(--color-text);
  padding: 0.5rem 0;
}

body.nav-open .nav-links a.active {
  color: var(--color-accent);
}

body.nav-open .nav-dropdown-toggle {
  font-size: 1.3rem;
  color: var(--color-text);
  padding: 0.5rem 0;
}

/* ============================================
   Article Pages
   ============================================ */

.article-page {
  padding-top: 5rem;
}

/* --- Article Header --- */

.article-header {
  text-align: center;
  padding: 4rem 1.5rem 0;
  max-width: 52rem;
  margin: 0 auto 4rem;
}

.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-secondary);
  display: block;
  margin-bottom: 2rem;
}

.article-title {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 2rem;
  text-wrap: balance;
}

.article-lead {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-wrap: balance;
}

.header-separator {
  width: 3rem;
  height: 1px;
  background: var(--color-border);
  margin: 0 auto;
}

/* --- Article Hero --- */

.article-hero {
  max-width: var(--max-page);
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.article-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.article-hero figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: right;
  padding: 0 0.5rem;
}

/* --- Content Grid --- */

.content-grid {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

/* --- Left Sidebar (TOC) --- */

.sidebar-left {
  display: none;
}

.sidebar-sticky {
  position: sticky;
  top: 8rem;
}

.sidebar-left .sidebar-sticky {
  background: var(--color-surface);
  padding: 2rem;
}

.sidebar-title {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toc a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* --- Article Body --- */

.article-body {
  max-width: var(--max-content);
  margin: 0 auto;
}

.article-body section {
  margin-bottom: 3rem;
}

.article-body h2 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 1.875rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.article-body p {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body section > p:last-child {
  margin-bottom: 0;
}

.article-body a {
  color: var(--color-accent);
  text-decoration: none;
}

.article-body a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body strong {
  color: var(--color-text);
}

/* --- Drop Cap --- */

.drop-cap::first-letter {
  float: left;
  font-size: 5.5rem;
  line-height: 0.8;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  font-family: var(--font-headline);
  color: var(--color-accent);
}

/* --- Blockquote --- */

.article-body blockquote {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.875rem;
  line-height: 1.3;
  text-align: center;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 2rem;
  margin: 4rem 0;
}

/* --- Right Sidebar --- */

.sidebar-right {
  display: none;
}

.sidebar-right .sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.related-article {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.related-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-kicker {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.related-title {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-title:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ============================================
   Homepage
   ============================================ */

.homepage {
  padding-top: 0;
}

/* --- Hero --- */

.hero-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.2) 50%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  padding: 0 1.5rem 4rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 247, 242, 0.7);
  display: block;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 300;
  color: #FAF7F2;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero-sub {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.125rem;
  color: rgba(250, 247, 242, 0.85);
  line-height: 1.5;
}

/* --- Quote Section --- */

.quote-section {
  padding: 6rem 1.5rem;
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 42rem;
  margin: 0 auto;
}

.quote-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.quote-separator .line {
  width: 3rem;
  height: 1px;
  background: var(--color-border);
}

.quote-separator .label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

/* --- Formats Section --- */

.formats-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

.formats-header {
  margin-bottom: 3rem;
}

.formats-header .kicker {
  text-align: left;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.formats-header h2 {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.format-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.format-card:hover {
  text-decoration: none;
}

.format-card-image {
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.format-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: none;
  transition: transform 0.7s ease;
}

.format-card:hover .format-card-image img {
  transform: scale(1.03);
}

.format-card .card-kicker {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.format-card h3 {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.format-card:hover h3 {
  color: var(--color-accent);
}

.format-card .card-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Large format card */
.format-card-large .format-card-image img {
  aspect-ratio: 4 / 5;
}

/* --- Vertiefungen Section --- */

.vertiefungen-section {
  background: var(--color-surface);
  padding: 6rem 1.5rem;
}

.vertiefungen-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.vertiefungen-header {
  text-align: center;
  margin-bottom: 4rem;
}

.vertiefungen-header h2 {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.vertiefungen-header p {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-text-secondary);
}

.vertiefungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.vertiefungen-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-decoration: none;
}

.vertiefungen-card:hover {
  text-decoration: none;
}

.vertiefungen-card .card-kicker {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.vertiefungen-card h4 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.vertiefungen-card:hover h4 {
  color: var(--color-accent);
}

.vertiefungen-card .card-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Info Section --- */

.info-section {
  padding: 6rem 1.5rem;
}

.info-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  text-align: center;
}

.info-inner h2 {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 1.875rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.info-inner p {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  text-align: left;
}

.info-inner p:last-child {
  margin-bottom: 0;
}

.info-inner a {
  color: var(--color-accent);
}

.info-inner a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================
   Legal Pages (Impressum, Datenschutz)
   ============================================ */

.legal-page {
  padding-top: 5rem;
}

.legal-header {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 4rem 1.5rem 0;
}

.legal-header h1 {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.legal-header .header-separator {
  width: 3rem;
  height: 1px;
  background: var(--color-border);
}

.legal-body {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

.legal-body section {
  margin-bottom: 2.5rem;
}

.legal-body h2 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.legal-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.legal-body a {
  color: var(--color-accent);
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-body strong {
  color: var(--color-text);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--color-surface);
}

.footer-inner {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-brand .footer-name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--color-accent-dark);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 20rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-links a {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent-dark);
  text-decoration: none;
}

.footer-copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-copyright p {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

/* ============================================
   Responsive — Tablet (≥ 768px)
   ============================================ */

@media (min-width: 768px) {

  .nav-inner {
    padding: 1rem 2rem;
  }

  .hamburger {
    display: block;
  }

  .article-header {
    padding: 6rem 3rem 0;
  }

  .article-title {
    font-size: 3.5rem;
  }

  .article-lead {
    font-size: 1.25rem;
  }

  .article-hero {
    padding: 0 3rem;
    margin-bottom: 6rem;
  }

  .content-grid {
    padding: 0 3rem 8rem;
  }

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

  .hero-section {
    min-height: 60vh;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
  }

  .hero-sub {
    font-size: 1.25rem;
  }

  .hero-content {
    padding-bottom: 6rem;
  }

  .formats-header h2 {
    font-size: 3.5rem;
  }

  .format-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .vertiefungen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .vertiefungen-header h2 {
    font-size: 3.5rem;
  }

  .legal-header h1 {
    font-size: 3.5rem;
  }

  .quote-section blockquote {
    font-size: 2rem;
  }
}

/* ============================================
   Responsive — Desktop (≥ 1024px)
   ============================================ */

@media (min-width: 1024px) {

  .nav-links {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: none;
  }

  .article-header {
    padding: 6rem 6rem 0;
  }

  .article-title {
    font-size: 4.5rem;
  }

  .article-lead {
    font-size: 1.375rem;
  }

  .article-hero {
    padding: 0 6rem;
  }

  .content-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    padding: 0 3rem 8rem;
  }

  .sidebar-left {
    display: block;
    grid-column: 1 / 4;
  }

  .article-body {
    grid-column: 4 / 10;
    max-width: none;
  }

  .sidebar-right {
    display: block;
    grid-column: 10 / 13;
  }

  .hero-section {
    min-height: 70vh;
  }

  .hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
  }

  .hero-sub {
    font-size: 1.375rem;
  }

  .formats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
  }

  .format-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }

  .format-grid .format-card-large .format-card-image img {
    aspect-ratio: 4 / 5;
  }

  .format-card-stack {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 12rem;
  }

  .format-card-stack .format-card-image img {
    aspect-ratio: 1 / 1;
  }

  .format-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 1rem;
  }

  .format-row .format-card-image img {
    aspect-ratio: 3 / 4;
  }

  .vertiefungen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  .quote-section {
    padding: 8rem 1.5rem;
  }

  .quote-section blockquote {
    font-size: 2.25rem;
  }
}

/* --- FAQ Section --- */

.faq-item {
  margin-bottom: 2.5rem;
}

.faq-item h3 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.faq-item p {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ===== Fact Box (GEO Optimization) ===== */
.fact-box {
  background: rgba(139, 74, 43, 0.04);
  border-left: 3px solid var(--color-accent);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.fact-box h3 {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.8rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fact-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
}

.fact-box dt {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.fact-box dd {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
}

@media (max-width: 767px) {
  .fact-box dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .fact-box dt {
    margin-top: 0.5rem;
  }

  .fact-box dt:first-child {
    margin-top: 0;
  }
}

/* ===== Comparison Tables (GEO Optimization) ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.comparison-table thead {
  background: rgba(139, 74, 43, 0.08);
}

.comparison-table th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--color-accent);
}

.comparison-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(44, 40, 37, 0.1);
  vertical-align: top;
}

.comparison-table tbody tr:hover {
  background: rgba(139, 74, 43, 0.03);
}

.comparison-table a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 74, 43, 0.3);
}

.comparison-table a:hover {
  border-bottom-color: var(--color-accent);
}

@media (max-width: 767px) {
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table th,
  .comparison-table td {
    white-space: nowrap;
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
  }
}

/* ===== Dropdown Navigation v2 ===== */

@media (min-width: 1024px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-toggle {
    background: none;
    border: none;
    font-family: var(--font-headline);
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
  }

  .nav-dropdown-toggle:hover {
    color: var(--color-text);
  }

  .nav-dropdown-toggle.active {
    color: var(--color-accent);
    font-weight: 600;
  }

  .nav-dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.7em;
    opacity: 0.6;
  }

  .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -0.75rem;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(44, 40, 37, 0.1);
    padding: 0.75rem 0 0.5rem;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .nav-dropdown:hover > .nav-dropdown-menu,
  .nav-dropdown:focus-within > .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    display: block;
    padding: 0.4rem 1.2rem;
    font-family: var(--font-headline);
    font-size: 0.85rem;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
  }

  .nav-dropdown-menu a:hover {
    color: var(--color-accent);
    background: rgba(139, 74, 43, 0.05);
    text-decoration: none;
  }

  .nav-dropdown-menu a.active {
    color: var(--color-accent);
    font-weight: 600;
  }
}

@media (max-width: 1023px) {
  .nav-dropdown-toggle {
    background: none;
    border: none;
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 0;
    display: block;
    text-align: center;
  }

  .nav-dropdown-toggle.active {
    color: var(--color-accent);
  }

  .nav-dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.7em;
    opacity: 0.6;
  }

  .nav-dropdown-toggle.open::after {
    content: ' ▴';
  }

  .nav-dropdown-menu {
    display: none;
    padding: 0.5rem 0;
  }

  .nav-dropdown-menu.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-dropdown-menu a {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
  }

  .nav-dropdown-menu a.active {
    color: var(--color-accent);
    font-weight: 600;
  }

  body.nav-open .nav-dropdown-toggle {
    font-size: 1.5rem;
    color: var(--color-text);
  }
}

/* ===== Breadcrumbs ===== */
.breadcrumb {
  padding: 0.8rem 1.5rem 0;
  max-width: 1440px;
  margin: 0 auto;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(44, 40, 37, 0.5);
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:first-child)::before {
  content: '›';
  margin: 0 0.5rem;
  color: rgba(44, 40, 37, 0.3);
}

.breadcrumb a {
  color: rgba(44, 40, 37, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumb li:last-child {
  color: var(--color-text);
  font-weight: 500;
}

/* ===== Author Box ===== */
.author-box {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 40, 37, 0.1);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(44, 40, 37, 0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.author-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 600;
}

.author-name {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.author-name:hover {
  text-decoration: underline;
}

.author-sep {
  opacity: 0.3;
}

.author-box time {
  font-size: 0.8rem;
}

/* ===== Cookie Consent ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(44, 40, 37, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  min-width: 280px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.85);
  line-height: 1.5;
}

.cookie-inner a {
  color: rgba(250, 247, 242, 0.95);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  border-radius: 3px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: #FAF7F2;
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(250, 247, 242, 0.7);
  border: 1px solid rgba(250, 247, 242, 0.3);
}

@media (max-width: 600px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ===== MOBILE NAV — FINAL ===== */
@media (max-width: 1023px) {
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #FAF7F2 !important;
    z-index: 998 !important;
    padding: 5rem 2rem 2rem !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  body.nav-open .nav-links {
    display: flex !important;
  }

  body.nav-open {
    overflow: hidden !important;
  }

  .hamburger {
    display: block !important;
    position: relative;
    z-index: 1001 !important;
  }

  .site-nav .site-name {
    position: relative;
    z-index: 1001 !important;
  }

  .nav-links > a,
  .nav-links > .nav-dropdown > .nav-dropdown-toggle {
    font-size: 1.2rem !important;
    padding: 0.8rem 0 !important;
    border-bottom: 1px solid rgba(44, 40, 37, 0.08);
    color: #2C2825 !important;
    display: block;
    width: 100%;
    text-align: center;
  }

  .nav-links > a.active {
    color: #8B4A2B !important;
  }

  .nav-dropdown-toggle.active {
    color: #8B4A2B !important;
  }

  .nav-dropdown-menu a {
    font-size: 1rem !important;
    color: #2C2825 !important;
    padding: 0.4rem 0 !important;
    text-align: center;
  }
}
