/* ===================================================
   outdoor-messer-guide.de — Design System
   Light Theme: Warm Editorial
   =================================================== */

:root {
  --bg:          #f2ede0;
  --bg-card:     #ebe5d5;
  --bg-card2:    #e2dbca;
  --border:      #c4bcad;
  --accent:      #be4c18;
  --accent-hover:#96380e;
  --accent-light:#d96830;
  --text:        #1a2218;
  --text-muted:  #6a6050;
  --text-subtle: #a09890;
  --green:       #2e5939;
  --red:         #c62828;
  --radius:      3px;
  --shadow:      0 2px 16px rgba(26,24,20,.08);
  --shadow-md:   0 4px 28px rgba(26,24,20,.12);
  --transition:  .2s ease;
  --max-w:       1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.section { padding: 48px 0; }
.section--sm { padding: 28px 0; }
.section--lg { padding: 72px 0; }

/* Direkt nach Hero: weniger Abstand oben */
.hero + .section,
.hero + div + .section { padding-top: 20px; }
.section-alt { background: var(--bg-card2); }

/* ---- Header ---- */
.site-header {
  background: var(--bg);
  border-top: 4px solid var(--text);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-logo .logo-icon { flex-shrink: 0; }
.site-logo span { color: var(--accent); }

.site-nav { display: flex; gap: 2px; align-items: center; }

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 10px;
  position: relative;
  transition: color var(--transition);
}

.site-nav a:hover { color: var(--accent); }
.site-nav a.active { color: var(--text); }
.site-nav a.active::before {
  content: '';
  position: absolute;
  left: -2px; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 12px 20px 16px;
}
.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ---- Hero ---- */
.hero {
  padding: 40px 0 24px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 50%, rgba(190,76,24,.07), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(190,76,24,.1);
  border: 1px solid rgba(190,76,24,.2);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  border-radius: var(--radius);
  opacity: .9;
  box-shadow: var(--shadow-md);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: 2px solid var(--text);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}
.btn-secondary:hover { background: var(--text); color: var(--bg); }

.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.card-icon {
  margin-bottom: 14px;
  display: block;
  color: var(--accent);
}

/* ---- Nav Cards ---- */
.nav-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.nav-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.nav-card-icon {
  color: var(--accent);
  margin-bottom: 12px;
}
.nav-card .nav-card-title {
  font-weight: 700;
  font-size: .975rem;
  margin-bottom: 5px;
  color: var(--text);
}
.nav-card .nav-card-desc {
  font-size: .855rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.5;
}
.nav-card .nav-card-arrow {
  color: var(--accent);
  margin-top: 14px;
  font-size: .855rem;
  font-weight: 600;
}

/* ---- Content / Prose ---- */
.prose {
  max-width: 800px;
}

.prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 48px 0 14px;
  color: var(--text);
  padding-top: 8px;
  border-top: 2px solid var(--border);
}

.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.prose li { margin-bottom: 6px; }

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

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--accent-hover); }

.prose img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ---- Content Layout (Artikel + Sidebar) ---- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.sidebar { position: sticky; top: 88px; }

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.toc-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.toc ol, .toc ul,
.sidebar-links { padding-left: 0; margin: 0; list-style: none; }

.sidebar-links li { margin-bottom: 6px; }
.sidebar-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .875rem;
  transition: color var(--transition);
  display: block;
}
.sidebar-links a:hover { color: var(--accent); }
.toc li { margin-bottom: 5px; }
.toc a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .855rem;
  transition: color var(--transition);
  display: block;
}
.toc a:hover { color: var(--accent); }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); box-shadow: var(--shadow); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  background: var(--bg-card);
}

th {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}

td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(190,76,24,.03); }

.td-name { font-weight: 600; color: var(--text); }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
}
.badge-green { background: rgba(46,125,50,.12); color: var(--green); }
.badge-amber { background: rgba(190,76,24,.12);  color: var(--accent); }
.badge-red   { background: rgba(198,40,40,.1);   color: var(--red); }
.badge-blue  { background: rgba(63,81,181,.1);   color: #3949ab; }

/* ---- Info Boxes ---- */
.infobox {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
  display: block;
}

.infobox:has(> .infobox-icon) {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.infobox-icon { flex-shrink: 0; margin-top: 2px; color: inherit; }

.infobox--tip  {
  background: rgba(46,125,50,.07);
  border-left: 4px solid var(--green);
  color: #1b5e20;
}
.infobox--warn {
  background: rgba(198,40,40,.06);
  border-left: 4px solid var(--red);
  color: #7f0000;
}
.infobox--info {
  background: rgba(190,76,24,.07);
  border-left: 4px solid var(--accent);
  color: var(--accent-hover);
}

.infobox-title { font-weight: 700; margin-bottom: 4px; }
.infobox p { margin: 0; font-size: .9rem; line-height: 1.6; opacity: .85; }

/* ---- FAQ ---- */
.faq-list { margin-top: 20px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--bg-card);
  overflow: hidden;
}

/* Div-basierte FAQ-Items (immer sichtbar, kein Toggle) */
div.faq-item {
  padding: 16px 18px;
}
div.faq-item h3 {
  font-size: .925rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
div.faq-item p {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* Remove native marker */
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; }

.faq-item summary,
.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  font-size: .925rem;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
  list-style: none;
  font-family: inherit;
}
.faq-item summary:hover,
.faq-question:hover { background: rgba(190,76,24,.04); }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(190,76,24,.1);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform var(--transition), background var(--transition);
}

.faq-item[open] summary::after {
  content: '×';
  background: rgba(190,76,24,.15);
}

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(190,76,24,.1);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1rem;
  transition: transform var(--transition);
}

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

.faq-answer {
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item:not(details) .faq-answer { max-height: 0; }
.faq-item:not(details).open .faq-answer { max-height: 600px; }

.faq-answer-inner {
  padding: 2px 16px 14px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item summary + * { padding: 2px 16px 14px; }
.faq-item summary + p,
.faq-item .faq-answer p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ---- Checklist ---- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist .check { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.checklist .cross  { color: var(--red);   flex-shrink: 0; margin-top: 2px; }

/* ---- Rating Stars ---- */
.stars { color: #c8960c; letter-spacing: 2px; }

/* ---- Section Headings ---- */
.section-head { text-align: center; max-width: 600px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); font-size: .975rem; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-subtle);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-subtle); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-subtle); }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-card);
  border-top: 4px solid var(--text);
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-subtle);
  font-size: .855rem;
  margin-top: 10px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: .775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-subtle);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .855rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--text-subtle); font-size: .8rem; }
.footer-bottom a { color: var(--text-subtle); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Affiliate Hinweis ---- */
.affiliate-notice {
  background: rgba(190,76,24,.06);
  border: 1px solid rgba(190,76,24,.15);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .85rem;
  color: var(--text-muted);
  margin: 28px 0;
  line-height: 1.6;
}
.affiliate-notice strong { color: var(--accent); }

/* ---- Stat Grid ---- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.stat-item {
  text-align: center;
  padding: 22px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: .775rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---- About Box ---- */
.about-box {
  max-width: 720px;
}
.about-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.about-box p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ---- Global link color ---- */
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* ---- Criteria / long-form content sections ---- */
.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.criteria-item {
  max-width: 760px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.criteria-item:last-of-type { border-bottom: none; }

.criteria-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.criteria-item p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.75;
}

/* Limit content width in standard sections for readability */
.section > .container > h2:not(.section-head h2) {
  max-width: 760px;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

/* ---- Forest Banner ---- */
.forest-banner {
  margin: 56px 0;
}
.forest-banner img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center;
}

/* ---- Hero Watermark ---- */
.hero-watermark {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(5rem, 12vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}

/* ---- Section Header with Label ---- */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text);
}
.section-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.section-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-left: auto;
}

/* ---- Numbered Topics List ---- */
.topics-list { margin: 0; }
.topic-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.topic-item:first-child { border-top: 1px solid var(--border); }
.topic-item:last-child { border-bottom: none; }
.topic-item:hover .topic-num { color: var(--accent); }
.topic-item:hover .topic-title { color: var(--accent); }
.topic-item:hover .topic-arrow { transform: translateX(4px); color: var(--accent); }
.topic-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  transition: color var(--transition);
}
.topic-content { flex: 1; }
.topic-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
  transition: color var(--transition);
  color: var(--text);
}
.topic-desc {
  font-size: .855rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.topic-arrow {
  color: var(--text-subtle);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .card-grid, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
