/* ==========================================================================
   Audio Wellness Nutrients — Design System & Stylesheet
   Topic: Safer Headphone Use (Lautstärke, Hörpausen & Digitale Hörgewohnheiten)
   Palette: Pale Pink, Soft Rose, Restrained Plum, Deep Charcoal
   ========================================================================== */

:root {
  /* Color Palette — Pale Pink & Muted Plum */
  --bg-canvas: #FCFAF9;
  --bg-surface: #FFFFFF;
  --bg-lavender-hero: #FCEBF0;      /* Calm, uniform pale pink for homepage hero */
  --bg-pink-hero: #FCEBF0;
  --bg-lavender-subtle: #FDF2F5;    /* Pale pink subtle */
  --bg-lilac-soft: #F8DDE5;         /* Soft rose */
  --bg-lilac-border: #F0CCD7;       /* Delicate pale rose border */
  
  --accent-plum: #62344D;           /* Restrained plum/berry primary accent */
  --accent-plum-hover: #4F243B;
  --accent-violet-muted: #7E4362;
  --accent-violet-light: #A86588;
  --accent-lavender-tag: #FDE8EF;   /* Pale rose badge background */
  
  --text-charcoal-deep: #1E1A24;    /* Readable deep-charcoal typography */
  --text-charcoal-body: #342E3D;
  --text-charcoal-muted: #5D5568;
  --text-charcoal-light: #7E748B;
  
  --border-subtle: #F2E4E8;
  --border-strong: #E5CBD2;
  
  --state-success: #2E6B4F;
  --state-success-bg: #EAF4EE;
  --state-warning: #855716;
  --state-warning-bg: #FDF4E7;
  --state-info: #355375;
  --state-info-bg: #EAF1F8;
  --state-danger: #822727;
  --state-danger-bg: #F9EAEA;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  
  /* Layout & Elevations */
  --site-max-width: 1220px;
  --content-max-width: 840px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 2px 8px rgba(35, 25, 50, 0.04);
  --shadow-card: 0 4px 16px rgba(35, 25, 50, 0.06);
  --shadow-elevated: 0 10px 30px rgba(35, 25, 50, 0.08);
  
  --transition-smooth: all 0.24s ease-in-out;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-charcoal-body);
  background-color: var(--bg-canvas);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--accent-plum);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent-plum-hover);
  text-decoration-thickness: 2px;
}

p {
  margin-bottom: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-charcoal-deep);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 3.8vw, 2.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 2rem; margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 1.5rem; margin-bottom: 0.65rem; }
h4 { font-size: 1.15rem; margin-top: 1.2rem; margin-bottom: 0.5rem; }

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--accent-plum);
  color: #FFFFFF;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Accessibility Focus State */
:focus-visible {
  outline: 3px solid var(--accent-plum);
  outline-offset: 2px;
}

/* Layout Container */
.editorial-shell {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-prose-shell {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-anchor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-anchor:hover {
  text-decoration: none;
}

.brand-logo-img {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-charcoal-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-plum);
  background-color: var(--bg-lavender-subtle);
  text-decoration: none;
}

.nav-link.is-active {
  color: var(--accent-plum);
  font-weight: 700;
  background-color: var(--bg-lavender-subtle);
}

.nav-btn-highlight {
  background-color: var(--accent-plum);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-btn-highlight:hover {
  background-color: var(--accent-plum-hover);
  box-shadow: 0 2px 8px rgba(88, 61, 115, 0.25);
  text-decoration: none;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-charcoal-deep);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HOMEPAGE HERO: Solid Pale Pink Cover Area
   A distinctive homepage hero with a simple, solid-color cover area rather
   than a thematic photo. Full width, pale pink, ~1/3 screen height,
   no side image, clear typography, high contrast.
   ========================================================================== */
.cover-hero {
  width: 100%;
  background-color: var(--bg-lavender-hero);
  border-bottom: 1px solid var(--bg-lilac-border);
  padding: 3.5rem 1.5rem 3.25rem 1.5rem;
  text-align: center;
}

.cover-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  background-color: #FFFFFF;
  border: 1px solid var(--bg-lilac-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-plum);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cover-hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  color: var(--text-charcoal-deep);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
}

.cover-hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-charcoal-body);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 1.75rem auto;
}

.cover-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-plum);
  color: #FFFFFF;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-plum-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(88, 61, 115, 0.25);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: var(--text-charcoal-deep);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--bg-lilac-border);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: var(--bg-canvas);
  border-color: var(--accent-plum);
  color: var(--accent-plum);
  text-decoration: none;
}

/* Editorial Disclaimers & Trust Strip */
.trust-strip {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.trust-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--bg-lavender-subtle);
  color: var(--accent-plum);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-charcoal-deep);
  margin-bottom: 0.15rem;
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--text-charcoal-muted);
  line-height: 1.4;
  margin: 0;
}

/* Breadcrumb Navigation */
.breadcrumb-bar {
  padding: 1rem 0;
  font-size: 0.88rem;
  color: var(--text-charcoal-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--text-charcoal-muted);
  text-decoration: none;
}

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

.breadcrumb-separator {
  color: var(--border-strong);
}

/* Page Intro Header (Interior Content Pages) */
.interior-hero {
  padding: 2.5rem 0 2rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.interior-meta-tag {
  display: inline-block;
  background-color: var(--accent-lavender-tag);
  color: var(--accent-plum);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.interior-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-charcoal-deep);
  margin-bottom: 1rem;
}

.interior-lead {
  font-size: 1.15rem;
  color: var(--text-charcoal-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.interior-byline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-charcoal-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* Content Main Shell with Optional Sidebar */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
}

.content-layout.has-sidebar {
  grid-template-columns: 1fr 310px;
}

/* Table of Contents (In-Page TOC) */
.toc-box {
  background: var(--bg-lavender-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.toc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-plum);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
}

.toc-list a {
  color: var(--text-charcoal-body);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* Article Figures & Images */
.content-figure {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.content-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-figure figcaption {
  font-size: 0.88rem;
  color: var(--text-charcoal-muted);
  padding: 0.8rem 1.25rem;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  font-style: italic;
}

/* Callouts / Info-Boxes */
.info-callout {
  border-left: 4px solid var(--accent-plum);
  background-color: var(--bg-lavender-subtle);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}

.info-callout.warning {
  border-left-color: var(--state-warning);
  background-color: var(--state-warning-bg);
}

.info-callout.success {
  border-left-color: var(--state-success);
  background-color: var(--state-success-bg);
}

.info-callout-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-charcoal-deep);
  margin-bottom: 0.4rem;
}

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

/* Section Cards & Topic Grids */
.editorial-section {
  padding: 3.5rem 0;
}

.editorial-section.alt-bg {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

.section-tag {
  color: var(--accent-plum);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-charcoal-muted);
  line-height: 1.6;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.topic-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-violet-muted);
  box-shadow: var(--shadow-card);
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-lavender-subtle);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.topic-card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-plum);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.card-title a {
  color: var(--text-charcoal-deep);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent-plum);
}

.card-snippet {
  font-size: 0.95rem;
  color: var(--text-charcoal-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-charcoal-light);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

.card-readmore {
  color: var(--accent-plum);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-readmore:hover {
  text-decoration: underline;
}

/* Data / Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: #FFFFFF;
}

.editorial-table th {
  background: var(--bg-lavender-subtle);
  color: var(--accent-plum);
  font-weight: 700;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-strong);
}

.editorial-table td {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-charcoal-body);
}

.editorial-table tr:last-child td {
  border-bottom: none;
}

.editorial-table tr:hover td {
  background-color: var(--bg-canvas);
}

/* ==========================================================================
   INTERACTIVE TOOLS: Checklist, Weekly Planner & Situational Advisor
   ========================================================================== */
.interactive-module {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  margin: 2.5rem 0;
}

.tool-header-area {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.tool-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-charcoal-deep);
  margin-bottom: 0.5rem;
}

.tool-desc {
  color: var(--text-charcoal-muted);
  font-size: 1.02rem;
}

/* Progress Tracker */
.progress-container {
  margin-bottom: 2rem;
}

.progress-label-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-charcoal-body);
  margin-bottom: 0.5rem;
}

.progress-track {
  width: 100%;
  height: 12px;
  background-color: var(--bg-lavender-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-violet-muted), var(--accent-plum));
  width: 0%;
  transition: width 0.35s ease;
}

/* Checklist Filter Tabs */
.tool-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-charcoal-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--accent-plum);
  color: #FFFFFF;
  border-color: var(--accent-plum);
}

/* Checklist Items */
.checklist-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.checklist-item:hover {
  background: #FFFFFF;
  border-color: var(--border-strong);
}

.checklist-item.is-completed {
  background: var(--state-success-bg);
  border-color: #B8DFCA;
}

.checklist-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 0.15rem;
  cursor: pointer;
  accent-color: var(--accent-plum);
}

.item-content {
  flex-grow: 1;
}

.item-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-charcoal-deep);
  margin-bottom: 0.25rem;
}

.checklist-item.is-completed .item-title {
  text-decoration: line-through;
  color: var(--text-charcoal-muted);
}

.item-desc {
  font-size: 0.92rem;
  color: var(--text-charcoal-muted);
  line-height: 1.45;
  margin: 0;
}

.checklist-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Weekly Planner Controls */
.planner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.planner-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.planner-label {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-charcoal-deep);
  margin-bottom: 0.4rem;
  display: block;
}

.planner-select,
.planner-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-charcoal-deep);
  font-family: inherit;
  font-size: 0.95rem;
}

.planner-results {
  background: var(--bg-lavender-subtle);
  border: 1px solid var(--bg-lilac-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.planner-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.planner-schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.schedule-block {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.schedule-activity {
  font-weight: 600;
  color: var(--text-charcoal-deep);
}

.schedule-tip {
  font-size: 0.88rem;
  color: var(--accent-plum);
  font-weight: 500;
}

/* FAQ Accordion */
.faq-deck {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-charcoal-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--accent-plum);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-panel {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-charcoal-body);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* Forms (Contact Page) */
.form-shell {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-charcoal-deep);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-charcoal-deep);
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-plum);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(88, 61, 115, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-error-msg {
  color: var(--state-danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.form-control.has-error {
  border-color: var(--state-danger);
  background-color: var(--state-danger-bg);
}

.form-control.has-error + .form-error-msg {
  display: block;
}

.form-status-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status-alert.is-success {
  display: block;
  background-color: var(--state-success-bg);
  border: 1px solid #B8DFCA;
  color: var(--state-success);
}

.form-status-alert.is-error {
  display: block;
  background-color: var(--state-danger-bg);
  border: 1px solid #E5BFBF;
  color: var(--state-danger);
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL (German DSGVO / TDDDG Compliant)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 2px solid var(--bg-lilac-border);
  box-shadow: 0 -4px 20px rgba(35, 25, 50, 0.12);
  padding: 1.5rem 0;
  z-index: 9998;
  display: none;
}

.cookie-banner.is-active {
  display: block;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 500px;
  font-size: 0.92rem;
  color: var(--text-charcoal-body);
  line-height: 1.5;
  margin: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: var(--accent-plum);
  color: #FFFFFF;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-manage {
  background: var(--bg-lavender-subtle);
  color: var(--text-charcoal-deep);
  border: 1px solid var(--border-strong);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 15, 30, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal-backdrop.is-open {
  display: flex;
}

.cookie-modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.cookie-category-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.category-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.category-name {
  font-weight: 700;
  color: var(--text-charcoal-deep);
}

.category-desc {
  font-size: 0.88rem;
  color: var(--text-charcoal-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   FOOTER: Comprehensive, Trustworthy & Accessible
   ========================================================================== */
.site-footer {
  background-color: #211B2A;
  color: #DDD4EB;
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid #362E44;
}

.site-footer a {
  color: #D2C8E3;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-col p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #B5A8C9;
  margin-top: 1rem;
  max-width: 380px;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}

.footer-disclaimer-card {
  background-color: #2D253B;
  border-left: 3px solid var(--accent-violet-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2.5rem;
  font-size: 0.88rem;
  color: #C0B4D4;
  line-height: 1.55;
}

.footer-disclaimer-card strong {
  color: #FFFFFF;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #362E44;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: #9A8CAE;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .content-layout.has-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  .nav-desktop {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cover-hero {
    padding: 2.5rem 1rem;
  }
  .cover-hero-title {
    font-size: 1.95rem;
  }
  .interactive-module,
  .form-shell {
    padding: 1.5rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .skip-link,
  .tool-filter-tabs,
  .checklist-actions {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .interactive-module {
    box-shadow: none !important;
    border: 1px solid #000000 !important;
  }
}
