/* === Hinweis-Boxen === */
.werbung-hinweis {
  background-color: #FFF4E6;
  border-left: 4px solid #E8765A;
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #5C4A3A;
}
.werbung-hinweis p {
  margin: 0;
  line-height: 1.5;
}

.medizin-hinweis {
  background-color: #F5F5F5;
  border: 1px solid #D9D9D9;
  padding: 16px 20px;
  margin: 32px 0;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #4A4A4A;
}
.medizin-hinweis p {
  margin: 0;
  line-height: 1.6;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #FAF7F2;
  color: #2C2C2C;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #E8765A; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; color: #2C2C2C; }
h1 { font-size: 1.85rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.5rem; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.75rem; color: #E8765A; font-weight: 500; }
h4 { font-size: 1rem; margin: 0 0 0.5rem; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === Header === */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #EEE8DD;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #2C2C2C;
  font-weight: 600;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  background: #E8765A;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.main-nav a { color: #2C2C2C; font-weight: 500; }

/* === Hero === */
.hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.subtitle {
  font-size: 1.05rem;
  color: #555;
  margin: 0.5rem 0;
}
.date-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 1rem;
}

/* === Intro === */
.intro {
  padding: 1rem 0 2rem;
  font-size: 1.05rem;
}
.intro p { margin: 0; }

/* === Comparison Table === */
.comparison { padding: 2rem 0; }
.table-wrapper { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #EEE8DD;
  font-size: 0.95rem;
}
.compare-table th {
  background: #EEE8DD;
  font-weight: 600;
  color: #2C2C2C;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table a {
  background: #E8765A;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  display: inline-block;
}
.compare-table a:hover { background: #d56549; text-decoration: none; }

/* === Products === */
.products { padding: 2rem 0; }
.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #EEE8DD;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body { flex: 1; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.pros, .cons {
  background: #FAF7F2;
  padding: 1rem;
  border-radius: 8px;
}
.pros h4 { color: #2a8a4a; }
.cons h4 { color: #b04a3a; }
.pros ul, .cons ul {
  margin: 0; padding-left: 1.2rem;
}
.pros li, .cons li { margin-bottom: 0.25rem; font-size: 0.95rem; }

.cta-button {
  display: inline-block;
  background: #E8765A;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(232,118,90,0.3);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover {
  background: #d56549;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,118,90,0.4);
}

/* === Verdict === */
.verdict {
  padding: 2rem 0;
  background: #fff;
  border-radius: 8px;
  margin: 2rem 1.25rem;
}
.verdict .container { padding: 0 1.25rem; }
.verdict-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.verdict-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #EEE8DD;
}
.verdict-list li:last-child { border-bottom: none; }

/* === FAQ === */
.faq { padding: 2rem 0 3rem; }
.faq details {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: #E8765A;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 0.75rem 0 0;
  color: #444;
}

/* === Footer === */
.site-footer {
  background: #2C2C2C;
  color: #d8d3cb;
  padding: 2rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.site-footer .container { text-align: center; }
.disclosure {
  font-size: 0.85rem;
  max-width: 700px;
  margin: 0 auto 1.25rem;
  color: #b8b3ab;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer-nav a { color: #E8765A; }
.copyright {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}

/* === Magazin === */
.magazin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1rem 0 3rem;
}
.magazin-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.magazin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.magazin-card .magazin-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #EEE8DD;
  overflow: hidden;
}
.magazin-card .magazin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.magazin-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.magazin-card-body h2 {
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}
.magazin-card-body p {
  margin: 0 0 1.25rem;
  color: #555;
  font-size: 0.95rem;
  flex: 1;
}
.magazin-card-body .cta-button {
  align-self: flex-start;
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
}

/* === Artikel === */
.artikel {
  padding: 1rem 0 2rem;
}
.artikel .artikel-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #EEE8DD;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 1.5rem;
}
.artikel .artikel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.artikel h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}
.artikel p {
  font-size: 1.02rem;
  color: #2C2C2C;
}

/* === Artikel Hero === */
.artikel-hero {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
}
@media (max-width: 768px) {
  .artikel-hero {
    max-height: 350px;
  }
}

/* === Produktempfehlung Box === */
.produkt-empfehlung {
  background: #fff;
  border-left: 4px solid #E8765A;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.produkt-empfehlung h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #E8765A;
}
.produkt-empfehlung p {
  margin: 0 0 1.1rem;
}

/* === Responsive: Desktop === */
@media (min-width: 720px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.85rem; }
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .hero { padding: 4rem 0 2rem; }
  .product-card {
    flex-direction: row;
    padding: 2rem;
    gap: 2rem;
  }
  .product-image {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: 16 / 10;
  }
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
  .magazin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === Responsive: Mobile Table → Cards === */
@media (max-width: 640px) {
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }
  .compare-table thead { display: none; }
  .compare-table tr {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }
  .compare-table td {
    border-bottom: 1px solid #EEE8DD;
    padding: 0.6rem 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    text-align: right;
  }
  .compare-table td:last-child { border-bottom: none; }
  .compare-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #888;
    text-align: left;
    flex-shrink: 0;
  }
}
