/* ==========================================================================
   ATTENTION STRUGGLE HELP — Editorial Design System
   Brand: Attention Struggle Help
   Domain: attentionstrugglehelp.info
   Language: de-DE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Warm Editorial Paper & Ink */
  --bg-page: #FBF9F5;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F4F1EA;
  --bg-surface-warm: #EFEAE1;
  --bg-surface-sage: #EBF1ED;
  --bg-surface-terracotta: #FDF3F0;
  
  --text-main: #1E252B;
  --text-muted: #4B5563;
  --text-subtle: #6B7280;
  --text-inverse: #FFFFFF;
  
  --border-subtle: #EBE5DC;
  --border-strong: #D9D2C7;
  --border-dark: #1E252B;

  --accent-terracotta: #C05A3E;
  --accent-terracotta-dark: #A7482F;
  --accent-sage: #2E6F56;
  --accent-sage-dark: #235643;
  --accent-amber: #B45309;
  --accent-blue: #1E3A8A;
  --accent-sky: #0284C7;

  --status-success-bg: #ECFDF5;
  --status-success-text: #065F46;
  --status-success-border: #A7F3D0;

  --status-warning-bg: #FFFBEB;
  --status-warning-text: #92400E;
  --status-warning-border: #FDE68A;

  --status-danger-bg: #FEF2F2;
  --status-danger-text: #991B1B;
  --status-danger-border: #FECACA;

  /* Typography */
  --font-serif: 'Newsreader', Georgia, Cambria, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --container-reading: 780px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(30, 37, 43, 0.05);
  --shadow-md: 0 4px 12px rgba(30, 37, 43, 0.06);
  --shadow-lg: 0 12px 28px rgba(30, 37, 43, 0.08);
  --shadow-float: 0 20px 40px rgba(30, 37, 43, 0.12);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-terracotta-dark);
  text-decoration: underline;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--text-main);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 15px;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-reading {
  max-width: var(--container-reading);
}

/* Top Banner */
.top-notice-bar {
  background-color: var(--text-main);
  color: #F4F1EA;
  font-size: 0.8125rem;
  padding: 7px 0;
  text-align: center;
  letter-spacing: 0.01em;
}
.top-notice-bar p {
  margin: 0;
}
.top-notice-bar a {
  color: #F9A88F;
  text-decoration: underline;
  margin-left: 6px;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 249, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}
.brand-logo:hover {
  text-decoration: none;
}
.brand-logo svg {
  height: 42px;
  width: auto;
}
.brand-text-fallback {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  text-decoration: none;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-terracotta);
}

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

.btn-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.btn-search-trigger:hover {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-main);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--accent-terracotta);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color var(--transition-fast);
  text-decoration: none;
}
.btn-nav-cta:hover {
  background-color: var(--accent-terracotta-dark);
  text-decoration: none;
  color: #fff;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
}
.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 37, 43, 0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.mobile-menu-drawer.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: var(--bg-page);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-float);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}
.mobile-menu-drawer.is-open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}
.btn-close-drawer {
  font-size: 1.5rem;
  color: var(--text-main);
  padding: 4px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav-item a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-item a:hover {
  color: var(--accent-terracotta);
  text-decoration: none;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background-color: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  font-size: 0.8125rem;
}
.breadcrumbs-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
}
.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs-list li:not(:last-child)::after {
  content: '/';
  color: var(--text-subtle);
}
.breadcrumbs-list a {
  color: var(--text-muted);
}
.breadcrumbs-list a:hover {
  color: var(--text-main);
}
.breadcrumbs-list [aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

/* Hero Section */
.hero-editorial {
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-sage);
  color: var(--accent-sage-dark);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-terracotta);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-terracotta-dark);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--text-main);
  text-decoration: none;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.highlight-item {
  display: flex;
  flex-direction: column;
}
.highlight-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-sage);
}
.highlight-label {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  line-height: 1.4;
}

.hero-image-wrapper {
  position: relative;
}
.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.hero-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-image-caption {
  padding: 14px 18px;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

/* Core Pillars Section */
.section {
  padding: 64px 0;
}
.section-alt {
  background-color: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section-header {
  margin-bottom: 44px;
  max-width: 680px;
}
.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Grid Cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.editorial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 20px;
}
.editorial-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.editorial-card h3 a {
  color: var(--text-main);
}
.editorial-card h3 a:hover {
  color: var(--accent-terracotta);
  text-decoration: none;
}
.editorial-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-footer-link {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-terracotta);
}

/* Article Card with Image */
.article-media-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.article-media-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.article-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.article-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-card-body h3 a {
  color: var(--text-main);
}
.article-card-body h3 a:hover {
  color: var(--accent-terracotta);
  text-decoration: none;
}
.article-card-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
  flex-grow: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* Interactive Teaser Box */
.interactive-promo-box {
  background: var(--bg-surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.promo-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 14px;
}
.promo-list {
  list-style: none;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.promo-list li svg {
  color: var(--accent-sage);
  flex-shrink: 0;
}

/* Educational Notice Callout */
.disclaimer-callout {
  background: var(--bg-surface-warm);
  border-left: 4px solid var(--accent-amber);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.disclaimer-callout strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

/* Reading & Editorial Layout for Subpages */
.article-layout {
  padding: 48px 0 80px;
}
.article-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 28px;
}
.article-lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-top: 18px;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-main);
}
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.3;
  margin: 44px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.article-content h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--text-main);
}
.article-content p {
  margin-bottom: 20px;
  color: #2D3748;
}
.article-content ul, .article-content ol {
  margin: 16px 0 24px 28px;
  color: #2D3748;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 3px solid var(--accent-terracotta);
  padding: 12px 20px;
  margin: 28px 0;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--text-main);
  background: var(--bg-surface-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Callouts in Content */
.callout {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  margin: 32px 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.callout-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E3A8A;
}
.callout-tip {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}
.callout-warning {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}
.callout-title {
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Key Takeaways Box */
.key-takeaways {
  background: var(--bg-surface-sage);
  border: 1px solid #C7D9CF;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}
.key-takeaways h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-sage-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.key-takeaways ul {
  margin: 0 0 0 20px;
  color: var(--text-main);
}
.key-takeaways li {
  margin-bottom: 6px;
}

/* Figure & Diagrams */
figure.article-figure {
  margin: 36px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
}
figure.article-figure img,
figure.article-figure svg {
  width: 100%;
}
figcaption {
  padding: 12px 18px;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  background: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-subtle);
}

/* Table of Contents */
.toc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.toc-title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc-list a {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.toc-list a:hover {
  color: var(--accent-terracotta);
}

/* Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.data-table th {
  background: var(--bg-surface-subtle);
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tbody tr:hover {
  background: var(--bg-page);
}

/* INTERACTIVE TOOLS STYLES */

/* 1. Alltagsgedächtnis-Checkliste */
.checklist-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin: 32px 0;
}
.checklist-progress-card {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.progress-bar-bg {
  height: 10px;
  background: #E2DDD5;
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--accent-sage);
  width: 0%;
  transition: width 0.3s ease;
}
.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.checklist-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-page);
}
.checklist-item.is-checked {
  background: var(--status-success-bg);
  border-color: var(--status-success-border);
}
.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent-sage);
  cursor: pointer;
}
.checklist-label {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-main);
  flex-grow: 1;
}
.checklist-feedback-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}
.checklist-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* 2. Routine- und Erinnerungshilfe */
.assistant-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin: 32px 0;
}
.assistant-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-size: 0.9375rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}
.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: var(--accent-terracotta);
  outline: none;
}
.assistant-result-area {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
}
.assistant-step-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.assistant-step-card:last-child {
  margin-bottom: 0;
}
.assistant-step-title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--accent-sage-dark);
}

/* 3. Methodenvergleich Filter */
.comparison-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}
.filter-btn.active {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

/* Accordion (FAQ) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover {
  border-color: var(--border-strong);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  text-align: left;
  background: none;
}
.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-terracotta);
  transition: transform var(--transition-fast);
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.faq-item.is-open .faq-answer {
  display: block;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-field label {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--text-main);
}
.form-field .required-mark {
  color: var(--accent-terracotta);
}
.form-field small {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 4px;
}
.field-error-msg {
  color: var(--status-danger-text);
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}
.has-error .field-error-msg {
  display: block;
}
.has-error input, .has-error textarea {
  border-color: var(--status-danger-text);
  background: #FFF5F5;
}

/* Site Footer */
.site-footer {
  background: #171D22;
  color: #D1D5DB;
  padding: 64px 0 32px;
  margin-top: auto;
  border-top: 3px solid var(--accent-terracotta);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9CA3AF;
  margin-bottom: 16px;
}
.footer-disclaimer-snippet {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #6B7280;
  background: #111518;
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-amber);
}
.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: #9CA3AF;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid #2B333B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #6B7280;
}
.footer-legal-inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-inline a {
  color: #9CA3AF;
}

/* Modal Search Overlay */
.search-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 37, 43, 0.6);
  z-index: 3000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 20px;
}
.search-modal-backdrop.is-active {
  display: flex;
}
.search-modal-window {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  border: 1px solid var(--border-strong);
}
.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}
.search-input-field {
  width: 100%;
  border: none;
  font-size: 1.125rem;
  outline: none;
  background: transparent;
  color: var(--text-main);
}
.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  list-style: none;
  padding: 10px;
}
.search-result-item a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.search-result-item a:hover {
  background: var(--bg-surface-subtle);
}
.search-result-item h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.search-result-item p {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin: 0;
}

/* Cookie Banner & Preferences Modal */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 680px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-float);
  z-index: 4000;
  display: none;
}
.cookie-banner-wrapper.is-visible {
  display: block;
}
.cookie-banner-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.cookie-banner-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .card-grid-3, .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .card-grid-3, .card-grid-2, .card-grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .interactive-promo-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .assistant-form-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
