/* ==========================================================================
   Opti-Dent Zahnlexikon – gemeinsames Stylesheet
   Design-System: Teal-Palette, Inter, Artikel-Layout mit Sidebar.
   Von allen Glossar-Beiträgen und Struktur-Seiten geteilt.
   ========================================================================== */

:root {
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;
  --ink:      #1e293b;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --bg:       #f8fafc;
  --amber-50: #fffbeb;
  --amber-200:#fde68a;
  --amber-800:#92400e;
  --radius:   16px;
  --shadow:   0 4px 24px rgba(13, 148, 136, .10);
  --shadow-lg:0 12px 40px rgba(19, 78, 74, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; color: var(--teal-900); letter-spacing: -.02em;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  display: grid; place-items: center; color: #fff;
}
.logo span em { font-style: normal; color: var(--teal-600); }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--teal-700); text-decoration: none; }
.nav-cta {
  background: var(--teal-600); color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 600; transition: background .2s;
}
.nav-cta:hover { background: var(--teal-700); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0; font-size: .88rem; color: var(--ink-mute); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #cbd5e1; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb [aria-current] { color: var(--teal-900); font-weight: 600; }

/* ---------- Artikel-Layout ---------- */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px;
  padding-bottom: 80px; align-items: start;
}

.article-head { margin-bottom: 28px; }
.term-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-50); border: 1px solid var(--teal-100);
  color: var(--teal-700); font-size: .82rem; font-weight: 600;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15; color: var(--teal-900);
  margin-bottom: 14px;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: .85rem; color: var(--ink-mute);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Kurzdefinition (Snippet-Box) */
.definition-box {
  background: linear-gradient(135deg, var(--teal-50), #fff);
  border: 1px solid var(--teal-100);
  border-left: 5px solid var(--teal-600);
  border-radius: var(--radius);
  padding: 26px 30px; margin: 28px 0 40px;
  box-shadow: var(--shadow);
}
.definition-box h2 {
  font-size: .85rem; font-weight: 700; color: var(--teal-600);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.definition-box p { font-size: 1.08rem; color: var(--ink); margin: 0; }

/* Fliesstext */
article section { margin-bottom: 44px; }
article h2 {
  font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--teal-900); margin-bottom: 16px;
  scroll-margin-top: 96px;
}
article h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
  margin: 24px 0 10px;
}
article p { color: var(--ink-soft); margin-bottom: 16px; }
article ul, article ol { color: var(--ink-soft); padding-left: 24px; margin-bottom: 16px; }
article li { margin-bottom: 8px; }
article strong { color: var(--ink); }

/* Das Wichtigste auf einen Blick */
.essentials {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 22px 26px; margin: 0 0 24px; box-shadow: var(--shadow);
}
.essentials h3 {
  margin: 0 0 12px; font-size: .85rem; font-weight: 700;
  color: var(--teal-600); text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: center; gap: 8px;
}
.essentials ul { list-style: none; padding: 0; margin: 0; }
.essentials li {
  padding-left: 28px; position: relative; margin-bottom: 10px;
  font-size: .94rem; color: var(--ink-soft);
}
.essentials li:last-child { margin-bottom: 0; }
.essentials li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--teal-600); font-weight: 700;
}

/* Tabellen */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 13px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid #eef2f6;
}
.compare-table thead th {
  background: var(--teal-900); color: #fff; font-weight: 700; font-size: .85rem;
}
.compare-table tbody th {
  font-weight: 700; color: var(--ink); background: var(--teal-50); white-space: nowrap;
}
.compare-table td { color: var(--ink-soft); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }

/* Ablauf-Schritte */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  position: relative; padding: 0 0 22px 56px; counter-increment: step;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal-600); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 18px; top: 40px; bottom: 0;
  width: 2px; background: var(--teal-100);
}

/* Infografik */
.infographic {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 16px; margin: 24px 0; box-shadow: var(--shadow);
}
.infographic svg { width: 100%; height: auto; display: block; }
.infographic figcaption {
  font-size: .82rem; color: var(--ink-mute); text-align: center; margin-top: 10px;
}

/* Hinweis-Box */
.notice-box {
  background: var(--amber-50); border: 1px solid var(--amber-200);
  border-radius: var(--radius); padding: 20px 24px; margin: 20px 0;
  font-size: .94rem; color: var(--amber-800);
  display: flex; gap: 14px; align-items: flex-start;
}
.notice-box .icon { line-height: 1.3; flex-shrink: 0; }
.notice-box strong { display: block; margin-bottom: 4px; color: var(--amber-800); }

/* Selbstcheck / interaktive Checkliste */
.check-card {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin: 24px 0;
}
.check-head {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #fff; padding: 18px 24px;
}
.check-head h3 { margin: 0; font-size: 1.05rem; color: #fff; }
.check-head p { margin: 4px 0 0; font-size: .85rem; color: rgba(255,255,255,.85); }
.check-body { padding: 20px 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.check-list label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 12px;
  padding: 12px 16px; transition: all .18s; font-size: .9rem; color: var(--ink-soft); line-height: 1.5;
}
.check-list label:hover { border-color: var(--teal-500); background: var(--teal-50); }
.check-list input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; min-width: 20px;
  border: 2px solid #cbd5e1; border-radius: 6px; margin-top: 1px;
  cursor: pointer; position: relative; background: #fff; transition: all .18s;
}
.check-list input[type="checkbox"]:checked { background: var(--teal-600); border-color: var(--teal-600); }
.check-list input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5px; top: 2px;
  width: 5px; height: 10px; border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.check-list input[type="checkbox"]:checked + span { color: var(--ink-mute); text-decoration: line-through; opacity: .75; }
.check-result { padding: 16px 20px; border-radius: 12px; font-size: .9rem; line-height: 1.6; }
.check-result strong { display: block; margin-bottom: 4px; font-size: .98rem; }
.cr-none { font-size: .88rem; color: var(--ink-mute); font-style: italic; }
.cr-low  { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.cr-mid  { background: var(--amber-50); border: 1px solid #fcd34d; color: #92400e; }
.cr-high { background: #fff1f2; border: 1px solid #fca5a5; color: #991b1b; }
.check-foot { font-size: .78rem; color: var(--ink-mute); margin-top: 16px; padding-top: 12px; border-top: 1px solid #eef2f6; }

/* Bedenken-Akkordeon / FAQ */
.faq-list details {
  background: #fff; border: 1px solid #e8edf3;
  border-radius: var(--radius); margin-bottom: 14px;
  padding: 0 24px;
}
.faq-list details[open] { border-color: var(--teal-100); background: var(--teal-50); }
.faq-list summary {
  cursor: pointer; font-weight: 700; padding: 18px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--ink); gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--teal-600);
  flex-shrink: 0; transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 20px; }

/* Autor / Review */
.review-box {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 22px 26px; display: flex; gap: 18px; align-items: center;
  box-shadow: var(--shadow); font-size: .9rem; color: var(--ink-mute);
}
.review-box .avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  display: grid; place-items: center; color: #fff;
}
.review-box strong { color: var(--ink); display: block; }

/* ---------- Sidebar ---------- */
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.side-card {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.side-card h2 {
  font-size: .85rem; font-weight: 700; color: var(--teal-600);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}
.toc ol { list-style: none; }
.toc li { margin-bottom: 4px; }
.toc a {
  display: block; padding: 7px 12px; border-radius: 10px;
  color: var(--ink-soft); font-size: .92rem;
}
.toc a:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }

.related-terms { display: flex; flex-direction: column; gap: 4px; }
.related-terms a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 10px;
  color: var(--ink-soft); font-size: .92rem; font-weight: 500;
}
.related-terms a:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }
.related-terms .letter {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: var(--teal-50); color: var(--teal-700);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}

.side-cta {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: #fff; text-align: center; border: none;
}
.side-cta h2 { color: var(--teal-100); }
.side-cta p { font-size: .92rem; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.side-cta a {
  display: inline-block; background: #fff; color: var(--teal-900);
  padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.side-cta a:hover { text-decoration: none; opacity: .92; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900); color: #99b8b4;
  padding: 48px 0 28px; font-size: .92rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem;
}
.footer-bottom svg { vertical-align: -3px; }
.site-footer a { color: #99b8b4; }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 22px; }
.disclaimer { font-size: .8rem; color: #7da7a2; margin-bottom: 22px; max-width: 640px; }

/* ---------- A–Z-Index (Buchstaben-Seiten & Übersicht) ---------- */
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.az-nav a, .az-nav span {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.az-nav a { background: #fff; color: var(--teal-700); border: 1px solid #e8edf3; }
.az-nav a:hover { background: var(--teal-600); color: #fff; text-decoration: none; }
.az-nav span { background: var(--teal-900); color: #fff; }
.az-nav .is-empty { color: #cbd5e1; background: #f1f5f9; border-color: #eef2f6; pointer-events: none; }

.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.term-card {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s;
  display: block; color: inherit;
}
.term-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.term-card h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--teal-900); }
.term-card p { margin: 0; font-size: .9rem; color: var(--ink-mute); }
.term-card.is-soon { opacity: .65; }
.term-card.is-soon::after {
  content: "In Vorbereitung"; display: inline-block; margin-top: 10px;
  font-size: .72rem; font-weight: 700; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- Buchstaben-Seiten (A–Z) ---------- */
.page-head { padding: 16px 0 36px; }
.page-head .letter-badge {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; display: grid; place-items: center;
  font-size: 2.2rem; font-weight: 800;
  box-shadow: var(--shadow-lg); margin-bottom: 20px;
}
.page-head h1 { margin-bottom: 10px; }
.page-head p { color: var(--ink-soft); max-width: 640px; }

.az-strip { background: #fff; border-block: 1px solid #e2e8f0; padding: 20px 0; margin-bottom: 48px; }
.az-strip .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.az-label {
  font-weight: 700; font-size: .85rem; color: var(--teal-900);
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.az-letters { display: flex; flex-wrap: wrap; gap: 6px; }
.az-letters a, .az-letters span {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); background: var(--bg); transition: all .15s;
}
.az-letters a:hover { background: var(--teal-600); color: #fff; text-decoration: none; transform: translateY(-2px); }
.az-letters .active { background: var(--teal-600); color: #fff; font-weight: 800; box-shadow: var(--shadow); }
.az-letters .is-empty { color: #cbd5e1; background: #f1f5f9; pointer-events: none; }

.term-list { max-width: 800px; padding-bottom: 80px; }
.term-count { font-size: .9rem; color: var(--ink-mute); margin-bottom: 24px; }
.term-row {
  display: block; background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 16px; transition: all .2s;
}
.term-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--teal-100); text-decoration: none; }
.term-row h2 {
  font-size: 1.2rem; font-weight: 700; color: var(--teal-900);
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
  flex-wrap: wrap; overflow-wrap: anywhere;
}
.term-row h2 svg { color: var(--teal-600); flex-shrink: 0; }
.term-row p { font-size: .94rem; color: var(--ink-mute); margin-bottom: 10px; }
.term-row .read-more { font-size: .88rem; font-weight: 600; color: var(--teal-600); }
.term-row.coming-soon { opacity: .75; }
.term-row.coming-soon:hover { transform: none; box-shadow: none; border-color: #e8edf3; }
.soon-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--bg); color: var(--ink-mute);
  border: 1px solid #e2e8f0; border-radius: 999px;
  padding: 2px 10px; margin-left: 4px; vertical-align: 2px;
}
.suggest-box {
  background: linear-gradient(135deg, var(--teal-50), #fff);
  border: 1px solid var(--teal-100); border-radius: var(--radius);
  padding: 28px; margin-top: 40px; text-align: center;
}
.suggest-box h2 { font-size: 1.15rem; font-weight: 800; color: var(--teal-900); margin-bottom: 8px; }
.suggest-box p { font-size: .94rem; color: var(--ink-soft); margin-bottom: 18px; }
.suggest-box a {
  display: inline-block; background: var(--teal-600); color: #fff;
  padding: 11px 26px; border-radius: 999px; font-weight: 600; font-size: .92rem;
}
.suggest-box a:hover { background: var(--teal-700); text-decoration: none; }

/* ---------- Themenwelten-Übersicht ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.theme-card {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); color: inherit; display: block;
  transition: transform .16s, box-shadow .16s;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.theme-card .theme-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; display: grid; place-items: center;
}
.theme-card h3 { font-size: 1.2rem; color: var(--teal-900); margin: 0 0 8px; }
.theme-card p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 14px; }
.theme-count {
  font-size: .8rem; font-weight: 700; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: 4px 12px; border-radius: 999px; display: inline-block;
}
.page-head .letter-badge svg { width: 34px; height: 34px; }

/* ---------- Inhalts-Seiten (Prose, Formulare, Kontakt) ---------- */
.prose { max-width: 820px; padding-bottom: 80px; }
.prose h2 {
  font-size: 1.4rem; font-weight: 800; color: var(--teal-900);
  letter-spacing: -.02em; margin: 36px 0 12px;
}
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--teal-700); }
.prose strong { color: var(--ink); }

.placeholder {
  background: var(--amber-50); border: 1px dashed var(--amber-200);
  color: var(--amber-800); border-radius: 6px; padding: 1px 8px;
  font-size: .9em; font-weight: 600; white-space: nowrap;
}
.info-card {
  background: #fff; border: 1px solid #e8edf3; border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow); margin: 18px 0;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); margin: 0; }
.contact-list svg { color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { color: var(--ink); display: block; }

.form-grid { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 11px 14px;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-50);
}
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.btn-primary {
  align-self: flex-start; background: var(--teal-600); color: #fff; border: none;
  padding: 12px 28px; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: background .2s;
}
.btn-primary:hover { background: var(--teal-700); }

.search-field { display: flex; gap: 10px; max-width: 560px; margin-bottom: 10px; }
.search-field input {
  flex: 1; font: inherit; border: 1.5px solid #e2e8f0; border-radius: 999px; padding: 12px 20px;
}
.search-field input:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-50); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .main-nav { display: none; }
}
/* Mobile: Tabellen als gestapelte Karten (kein Querscrollen) */
@media (max-width: 600px) {
  .table-wrap { overflow-x: visible; box-shadow: none; }
  .compare-table { display: block; min-width: 0; box-shadow: none; border-radius: 0; }
  .compare-table thead {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tr {
    margin-bottom: 14px; border: 1px solid #e8edf3; border-radius: 12px;
    overflow: hidden; box-shadow: var(--shadow); background: #fff;
  }
  .compare-table tbody th {
    background: var(--teal-600); color: #fff; white-space: normal;
    font-size: .95rem; border-bottom: none; padding: 12px 16px;
  }
  .compare-table td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    text-align: right; border-bottom: 1px solid #eef2f6; padding: 11px 16px;
  }
  .compare-table td::before {
    content: attr(data-label); font-weight: 700; color: var(--teal-900);
    text-align: left; flex: 0 0 38%;
  }
  .compare-table td:last-child { border-bottom: none; }
}
