﻿/* ===== CAMPING-RECHNER.DE - Global Styles ===== */

:root {
  --green-dark:   #1f4d2e;
  --green-mid:    #2f7d4f;
  --green-light:  #5faf77;
  --orange:       #c2410c;
  --orange-light: #e2703a;
  --cream:        #f6f6f2;
  --white:        #ffffff;
  --gray-100:     #f4f4f4;
  --gray-200:     #e8e8e8;
  --gray-500:     #888888;
  --gray-700:     #444444;
  --text:         #222222;
  --shadow:       0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg:    0 6px 32px rgba(0,0,0,0.13);
  --radius:       12px;
  --radius-sm:    8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

.logo span { color: var(--orange-light); }

nav { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }

nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

nav a:hover, nav a.active {
  background: rgba(255,255,255,0.18);
  color: white;
}

/* ===== NAV DROPDOWN ("Mehr") ===== */
.nav-more {
  position: relative;
}

.nav-more-btn {
  color: rgba(255,255,255,0.85);
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-more-btn:hover,
.nav-more-btn.active {
  background: rgba(255,255,255,0.18);
  color: white;
}

.nav-more-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #143620;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  min-width: 190px;
  padding: 10px 6px 6px;
  z-index: 200;
  border: 1px solid rgba(255,255,255,0.1);
  /* hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
}

.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-more-menu a {
  display: block;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.87rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-more-menu a:hover,
.nav-more-menu a.active {
  background: rgba(255,255,255,0.14);
  color: white;
}

/* ===== SITE SEARCH ===== */
.site-search {
  position: relative;
  flex: 0 1 220px;
  min-width: 180px;
  max-width: 260px;
}

.site-search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.site-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.site-search-input {
  width: 100%;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: white;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  padding: 0 34px 0 31px;
  transition: background 0.16s, border-color 0.16s, box-shadow 0.16s;
}

.site-search-input::placeholder {
  color: rgba(255,255,255,0.74);
}

.site-search-input:focus {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.48);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
}

.site-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.site-search-clear:hover {
  background: rgba(255,255,255,0.28);
}

.site-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  overflow-y: auto;
  background: white;
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
  padding: 7px;
  z-index: 260;
}

.site-search-result {
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 7px;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.site-search-result:hover,
.site-search-result:focus {
  background: #e8f2ec;
}

.site-search-result-type {
  color: var(--green-mid);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-search-result strong {
  color: var(--green-dark);
  font-size: 0.91rem;
  line-height: 1.3;
}

.site-search-result small {
  color: #666;
  font-size: 0.78rem;
  line-height: 1.4;
}

.site-search-empty {
  color: #666;
  font-size: 0.88rem;
  padding: 14px 12px;
}

@media (max-width: 1040px) {
  .header-inner { flex-wrap: wrap; }
  .site-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
  }
  .site-search-results {
    left: 0;
    right: auto;
    width: 100%;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: white;
  padding: 60px 20px 70px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: 0;
}
.hero > *:not(.hero-bg) {
  position: relative;
  z-index: 1;
}

/* ===== ARTICLE HERO IMAGE ===== */
.article-hero-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== MAIN LAYOUT ===== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.section-sub {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* ===== CARD GRID (index) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.card-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

.card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  flex: 1;
}

.card-badge {
  display: inline-block;
  background: var(--green-light);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.card-badge.orange { background: var(--orange); }

/* ===== CALCULATOR LAYOUT ===== */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}
.calc-layout .sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
}
@media (max-width: 800px) {
  .calc-layout .sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* Blog article: content + sidebar layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 800px) {
  .calc-layout { grid-template-columns: 1fr; }
  .article-layout { display: block !important; }
  .article-layout .sidebar { margin-top: 24px; }
}

/* ===== CALCULATOR CARD ===== */
.calc-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.calc-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.calc-card .subtitle {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group label .hint {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.82rem;
  margin-left: 4px;
}

.form-group input[type="number"],
.form-group input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  background: white;
  transition: border-color 0.2s;
}

.form-group select {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 2px solid var(--green-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232f7d4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-weight: 500;
}

.form-group select:hover {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(95,175,119,0.12);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(95,175,119,0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.section-divider {
  border: none;
  border-top: 2px solid var(--gray-100);
  margin: 24px 0 20px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green-mid);
  margin-bottom: 14px;
  margin-top: 4px;
}

.form-note {
  color: var(--gray-500);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: -4px 0 16px;
}

/* ===== RANGE SLIDER ===== */
.range-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.range-wrapper input[type="range"] {
  flex: 1;
  height: 6px;
  border: none;
  accent-color: var(--green-light);
  cursor: pointer;
  padding: 0;
}

.range-val {
  font-weight: 700;
  color: var(--green-dark);
  min-width: 52px;
  text-align: right;
  font-size: 0.95rem;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.1s;
  letter-spacing: 0.2px;
}

.btn:hover { opacity: 0.92; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
}

/* ===== RESULT BOX ===== */
.result-box {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
  display: none;
}

.result-box.show { display: block; }

.result-box h3 {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-main {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.1;
}

.result-main span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.75;
}

.result-rows { margin-top: 16px; }

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
}

.result-row:last-child { border-bottom: none; }

.result-row .label { opacity: 0.78; }
.result-row .value { font-weight: 700; }
.result-row .value.highlight { color: var(--orange-light); font-size: 1.05rem; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.tip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-list li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
}

.tip-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 700;
}

/* ===== AFFILIATE BOX ===== */
.affiliate-disclosure {
  margin: -8px 0 22px;
  padding: 12px 14px;
  border: 1px solid #eec6a8;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  background: #fdf4ec;
  color: var(--gray-700);
  font-size: 0.84rem;
  line-height: 1.45;
}

.affiliate-disclosure strong { color: var(--gray-700); }

.affiliate-box {
  background: linear-gradient(135deg, #fdf3ec, #fbe9dc);
  border: 2px solid var(--orange-light);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.affiliate-box .aff-icon { font-size: 2rem; margin-bottom: 8px; }
.affiliate-box .aff-img {
  display: block;
  margin: -10px auto 14px;
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.affiliate-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.affiliate-box p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.btn-aff {
  display: block;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-aff:hover { opacity: 0.88; }

.btn-aff-sm {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}
.btn-aff-sm:hover { opacity: 0.88; }

.product-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 16px 0; }
.product-card { display: flex; flex-direction: column; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card img { width: 100%; height: 160px; object-fit: contain; padding: 12px; background: var(--gray-100); }
.product-card-icon { width: 100%; height: 100px; display: flex; align-items: center; justify-content: center; background: var(--gray-100); font-size: 3rem; }
.product-card-body { padding: 12px; display: flex; flex-direction: column; flex: 1; }
.product-card-name { font-weight: 700; font-size: 0.95rem; color: var(--green-dark); margin-bottom: 8px; }
.product-card-props { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.product-card-props span { background: #dcefe1; color: var(--green-dark); font-size: 0.75rem; padding: 2px 7px; border-radius: 20px; font-weight: 600; }
.product-card-note { font-size: 0.8rem; color: var(--gray-700); line-height: 1.4; flex: 1; }

.product-review-list {
  display: grid;
  gap: 18px;
  margin: 18px 0 30px;
}

.product-review-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-review-card.has-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  align-items: center;
}

.product-review-copy {
  min-width: 0;
}

.product-review-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.product-review-rank {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
}

.product-review-head h3 {
  margin: 0 0 3px;
}

.product-review-head p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.product-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.product-review-tags span {
  background: #e3f1e8;
  color: var(--green-dark);
  border: 1px solid #cbe4d3;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-review-card .btn-aff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 8px;
  padding: 10px 18px;
}

.product-review-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f7f5ef;
  border: 1px solid var(--gray-200);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65);
}

.product-review-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-review-image:hover {
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .product-review-card.has-image {
    grid-template-columns: 1fr;
  }

  .product-review-image {
    max-width: 260px;
    margin: 4px auto 0;
  }
}

.aff-disclaimer {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ===== OTHER CALCULATORS STRIP ===== */
.more-calcs {
  margin-top: 40px;
}

.more-calcs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.more-calc-link {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.more-calc-link:hover {
  border-color: var(--green-light);
  color: var(--green-dark);
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
footer a:hover { color: white; }
footer .footer-links { display: flex; gap: 20px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--green-mid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== PRESET BUTTONS ===== */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}

.preset-btn {
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.18s;
  line-height: 1.3;
  text-align: center;
}

.preset-btn span {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gray-500);
}

.preset-btn:hover {
  border-color: var(--green-light);
  background: #e7f2ea;
  color: var(--green-dark);
}

.preset-btn.active {
  border-color: var(--green-mid);
  background: #d3e7d8;
  color: var(--green-dark);
}

@media (max-width: 480px) {
  .preset-grid { grid-template-columns: 1fr; }
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger { display: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; }

@media (max-width: 640px) {
  .hamburger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 6px 8px; border-radius: 8px; margin-left: auto; }
}
@media (max-width: 640px) { .hamburger { display: flex !important; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    margin-left: auto;
    transition: background 0.2s;
  }
  .hamburger:hover { background: rgba(255,255,255,0.18); }
  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
  }
  .header-inner { flex-wrap: wrap; align-items: center; }
  .logo { order: 1; }
  .hamburger { order: 2; }
  .site-search { order: 3; }
  nav {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-bottom: 8px;
  }
  nav.nav-open { display: flex; }
  nav a { padding: 10px 14px; border-radius: 8px; font-size: 0.92rem; }
  .nav-more { width: 100%; }
  .nav-more-btn {
    width: 100%;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 0.92rem;
    border-radius: 8px;
  }
  .nav-more-menu {
    position: static;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 4px;
    min-width: unset;
    display: none;
    transition: none;
  }
  .nav-more-menu.menu-open { display: block; }
  .nav-more:hover .nav-more-menu { opacity: 1; }
}

@media (max-width: 600px) {
  .hero { padding: 40px 16px 50px; }
  .calc-card { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .result-main { font-size: 1.8rem; }
}

/* ===== FAQ ===== */
.page-title {
  font-size: 1.6rem;
  color: var(--green-dark);
  margin: 20px 0 28px;
  font-weight: 700;
  line-height: 1.3;
}
.info-section {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 28px 32px;
  margin-top: 32px;
}
.info-section h2 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 16px;
  font-weight: 700;
}
.info-section p, .info-section li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.75;
}
.info-section ul, .info-section ol {
  padding-left: 20px;
  margin: 8px 0;
}
.info-section li { margin-bottom: 6px; }
.faq-section {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.faq-section h2 {
  font-size: 1.25rem;
  color: var(--green-dark);
  margin-bottom: 24px;
}
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 {
  font-size: 0.97rem;
  color: var(--green-dark);
  margin-bottom: 6px;
  font-weight: 700;
}
.faq-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.blog-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}
.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-mid);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  flex: 1;
}
.blog-card-meta {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 14px;
}
.blog-card-arrow {
  font-size: 0.85rem;
  color: var(--green-mid);
  font-weight: 700;
  margin-top: 12px;
}

.blog-card-img {
  display: block;
  width: calc(100% + 48px);
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -24px -24px 16px;
}

.blog-card-placeholder {
  width: calc(100% + 48px);
  height: 120px;
  margin: -24px -24px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
}

.image-slot {
  width: 100%;
  min-height: 220px;
  border: 2px dashed rgba(47, 125, 79, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef5ec, #f8f4ec);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.image-slot::before {
  content: 'Bild kommt später';
  display: block;
  color: var(--orange);
  margin-right: 8px;
}

.hero-cta-btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(194,65,12,0.4);
}
.hero-cta-btn:hover { background: #9a340a; transform: translateY(-2px); }

/* Article */
.article-hero {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 36px 40px;
  margin-bottom: 24px;
}
.article-hero h1 {
  font-size: 1.7rem;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}
.article-tag {
  display: inline-block;
  background: var(--green-light);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-meta {
  font-size: 0.82rem;
  color: #aaa;
  margin-bottom: 16px;
}
.article-meta span { margin-right: 16px; }
.article-intro {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  border-left: 4px solid var(--green-mid);
  padding-left: 16px;
  margin: 0;
}
.article-body {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 36px 40px;
  margin-bottom: 24px;
}
.article-body h2 {
  font-size: 1.25rem;
  color: var(--green-dark);
  margin: 32px 0 12px;
  padding-top: 8px;
  border-top: 2px solid #f0f0f0;
}
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 {
  font-size: 1.02rem;
  color: #333;
  margin: 20px 0 8px;
  font-weight: 700;
}
.article-body p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}
.article-body ul, .article-body ol {
  color: #555;
  line-height: 1.8;
  padding-left: 22px;
  margin-bottom: 14px;
}
.article-body li { margin-bottom: 6px; }
.article-body strong { color: #333; }
.product-feature-image {
  margin: 16px 0 20px;
}
.product-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.product-feature-image figcaption {
  color: var(--gray-700);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 8px;
}
.article-cta {
  background: var(--green-dark);
  color: white;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.tldr-box {
  background: linear-gradient(135deg, #e7f2ea, #d3e7d8);
  border-left: 5px solid var(--green-mid);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0 0 28px;
}
.tldr-box .tldr-label {
  display: inline-block;
  background: var(--green-dark);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.tldr-box p {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #1f4d2e;
  line-height: 1.6;
}
.tldr-box ol,
.tldr-box ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.92rem;
  color: #3a3a3a;
  line-height: 1.65;
}
.tldr-box li {
  margin-bottom: 4px;
}
.tldr-box li strong { color: var(--green-dark); }

.decision-box {
  margin: 18px 0 24px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e3e8dc;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(45, 80, 22, 0.08);
}
.decision-box h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--green-dark);
}
.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.decision-card {
  padding: 12px;
  border-radius: 8px;
  background: #f8faf5;
  border: 1px solid #e4ebda;
}
.decision-card strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.decision-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4f5d47;
}
.decision-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #64705c;
}

.article-cta-icon { font-size: 2.2rem; flex-shrink: 0; }
.article-cta h3,
.article-cta h4 { font-size: 1rem; margin-bottom: 4px; color: white; flex: 0 0 auto; min-width: 220px; }
.article-cta p { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin: 0 0 12px; }
.article-cta a,
.article-cta .btn-aff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--green-dark) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  min-width: 180px;
  white-space: nowrap;
}
.article-cta a:hover,
.article-cta .btn-aff:hover { opacity: 0.9; }
.info-box {
  background: #e7f2ea;
  border-left: 4px solid var(--green-mid);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}
.info-box strong { color: var(--green-dark); }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.9rem;
}
.cost-table th {
  background: var(--green-dark);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.cost-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #eee;
  color: #555;
}
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: #f8f8f8; }
.cost-table td:last-child { font-weight: 600; color: var(--green-dark); }

/* ===== Affiliate Top-List (Amazon-Vergleich) ===== */
.aff-toplist {
  margin: 18px 0 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}
.aff-toplist-head {
  background: var(--green-dark);
  color: white;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aff-toplist-row {
  display: grid;
  grid-template-columns: 46px 1fr 160px;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid #eee;
  position: relative;
}
.aff-toplist-row:last-child { border-bottom: none; }
.aff-toplist-row.featured {
  background: linear-gradient(135deg, #fdf3e8, #fffbf6);
  border-left: 4px solid var(--orange);
}
.aff-rank {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gray-300);
  text-align: center;
  line-height: 1;
}
.aff-toplist-row.featured .aff-rank { color: var(--orange); }
.aff-info { min-width: 0; }
.aff-info .aff-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 5px;
}
.aff-badge.best { background: var(--orange); color: white; }
.aff-badge.premium { background: var(--green-dark); color: white; }
.aff-badge.value { background: #2f7d4f; color: white; }
.aff-badge.spezial { background: #5a4ba8; color: white; }
.aff-info h4 {
  font-size: 0.98rem;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.25;
}
.aff-specs {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.45;
}
.aff-specs .aff-for { color: var(--green-dark); font-weight: 600; }
.aff-buy { text-align: center; }
.aff-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-dark);
  display: block;
  margin-bottom: 6px;
}
.aff-buy .btn-aff {
  padding: 9px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.aff-toplist-foot {
  padding: 9px 18px;
  font-size: 0.74rem;
  color: #888;
  background: #fafafa;
  border-top: 1px solid #eee;
}

@media (max-width: 600px) {
  .aff-toplist-row {
    grid-template-columns: 36px 1fr;
    grid-template-areas: "rank info" "buy buy";
    gap: 8px 12px;
    padding: 14px;
  }
  .aff-rank { grid-area: rank; font-size: 1.3rem; }
  .aff-info { grid-area: info; }
  .aff-buy { grid-area: buy; text-align: left; display: flex; align-items: center; gap: 14px; margin-top: 4px; }
  .aff-price { margin-bottom: 0; }
  .aff-buy .btn-aff { flex: 1; }
}

@media (max-width: 600px) {
  main { padding: 20px 14px 40px; }
  .article-hero, .article-body { padding: 18px 16px; }
  .article-hero h1 { font-size: 1.3rem; }
  .article-body h2 { font-size: 1.15rem; margin: 20px 0 10px; }
  .article-body h3 { margin: 14px 0 6px; }
  .article-cta { flex-direction: column; gap: 12px; padding: 18px 16px; }
  .decision-grid { grid-template-columns: 1fr; }
  .info-section { padding: 16px; }
  .faq-section { padding: 18px 16px; }
  .faq-item { padding: 12px 0; }
  .page-title { font-size: 1.3rem; }
  .section-title { font-size: 1.25rem; }
  .sidebar { gap: 16px; }
  .sidebar-card { padding: 16px; }

  /* Responsive tables: horizontal scroll on small screens */
  .cost-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .cost-table th, .cost-table td {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
  /* Last column: allow wrapping, set min-width */
  .cost-table td:last-child,
  .cost-table th:last-child {
    white-space: normal;
    min-width: 100px;
  }
}

:root { --gray-300: #cfcfcf; --gray-600: #666666; }

/* Produktbilder aus der Amazon Creators API.
   Bilder bleiben auf Amazons CDN – Lizenz: nicht selbst hosten, nicht zuschneiden. */
.aff-toplist-row.has-thumb {
  grid-template-columns: 46px 84px 1fr 160px;
}

.aff-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
}

@media (max-width: 600px) {
  .aff-toplist-row.has-thumb {
    grid-template-columns: 36px 64px 1fr;
    grid-template-areas: "rank thumb info" "buy buy buy";
  }
  .aff-toplist-row.has-thumb .aff-thumb { grid-area: thumb; }
}
