/* ============================================
   petechien.de — Medical Health Information
   Design System: Light, Trustworthy, Medical
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #1a6b8a;
  --color-primary-dark: #145a74;
  --color-primary-light: #e6f2f7;
  --color-secondary: #2d9cdb;
  --color-secondary-light: #e8f4fc;
  --color-accent: #27ae60;
  --color-accent-light: #e8f8ef;
  --color-warning: #e74c3c;
  --color-warning-light: #fdecea;
  --color-warning-dark: #c0392b;
  --color-bg: #f8fafb;
  --color-surface: #ffffff;
  --color-text: #1a202c;
  --color-text-secondary: #374151;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --max-width: 1200px;
  --content-width: 800px;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  padding-left: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 700;
}

h1 { font-size: var(--font-size-4xl); margin-bottom: 1rem; }
h2 { font-size: var(--font-size-3xl); margin-bottom: 0.75rem; margin-top: 2.5rem; }
h3 { font-size: var(--font-size-2xl); margin-bottom: 0.5rem; margin-top: 2rem; }
h4 { font-size: var(--font-size-xl); margin-bottom: 0.5rem; margin-top: 1.5rem; }

p {
  margin-bottom: 1rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}

.header__logo:hover {
  color: var(--color-primary-dark);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Mobile Nav Toggle */
.nav-toggle,
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text);
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1),
.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2),
.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3),
.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #ffffff;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 540px;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero__svg-container {
  width: 100%;
  max-width: 420px;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  opacity: 0.95;
}

.trust-bar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 1rem 0;
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  gap: 0.25rem;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumbs__separator {
  color: var(--color-border-dark);
  margin: 0 0.15rem;
}

.breadcrumbs__link {
  color: var(--color-muted);
  font-weight: 500;
}

.breadcrumbs__link:hover {
  color: var(--color-primary);
}

.breadcrumbs__current {
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
  padding: 2.5rem 0 4rem;
}

.main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

/* ============================================
   CONTENT BLOCK
   ============================================ */
.content-block {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.content-block--no-border {
  border-left: none;
}

.content-block h2:first-child,
.content-block h3:first-child {
  margin-top: 0;
}

.content-block ul,
.content-block ol {
  margin-bottom: 1rem;
}

.content-block li {
  margin-bottom: 0.4rem;
}

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
  background: var(--color-secondary-light);
  border: 1px solid #bee3f8;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   WARNING BOX
   ============================================ */
.warning-box {
  background: var(--color-warning-light);
  border: 1px solid #f5c6cb;
  border-left: 4px solid var(--color-warning);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.warning-box__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-warning-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.warning-box p:last-child {
  margin-bottom: 0;
}

.warning-box ul {
  margin-bottom: 0.5rem;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.toc__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.toc__list {
  list-style: none;
  padding: 0;
  counter-reset: toc-counter;
}

.toc__list li {
  counter-increment: toc-counter;
  margin-bottom: 0.4rem;
}

.toc__list li::before {
  content: counter(toc-counter) ".";
  font-weight: 600;
  color: var(--color-primary);
  margin-right: 0.5rem;
  font-size: var(--font-size-sm);
}

.toc__list a {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.toc__list a:hover {
  color: var(--color-primary);
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

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

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.product-card__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #fafbfc;
  border-bottom: 1px solid var(--color-border);
}

.product-card__image img {
  max-height: 100%;
  object-fit: contain;
}

.product-card__body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  line-height: 1.4;
}

.product-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: #fafbfc;
}

.product-card__price {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-text);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.btn--secondary {
  background: var(--color-secondary);
  color: #ffffff;
}

.btn--secondary:hover {
  background: #2488c4;
  color: #ffffff;
}

.btn--success {
  background: var(--color-accent);
  color: #ffffff;
}

.btn--success:hover {
  background: #219a52;
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #ffffff;
}

.btn--warning {
  background: var(--color-warning);
  color: #ffffff;
}

.btn--warning:hover {
  background: var(--color-warning-dark);
  color: #ffffff;
}

.btn--lg {
  padding: 0.75rem 1.75rem;
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: 0.4rem 0.9rem;
  font-size: var(--font-size-xs);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: var(--font-size-sm);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table thead {
  background: var(--color-primary);
  color: #ffffff;
}

.comparison-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.comparison-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.comparison-table tbody tr:hover {
  background: var(--color-primary-light);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  line-height: 1.5;
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-muted);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

/* ============================================
   PROS & CONS
   ============================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pros-box,
.cons-box {
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.pros-box {
  background: var(--color-accent-light);
  border: 1px solid #a7e3be;
}

.cons-box {
  background: var(--color-warning-light);
  border: 1px solid #f5c6cb;
}

.pros-box__title,
.cons-box__title {
  font-weight: 700;
  font-size: var(--font-size-sm);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pros-box__title { color: #1a7a3e; }
.cons-box__title { color: var(--color-warning-dark); }

.pros-box ul,
.cons-box ul {
  list-style: none;
  padding: 0;
  font-size: var(--font-size-sm);
}

.pros-box li,
.cons-box li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.pros-box li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.cons-box li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: var(--color-warning);
  font-weight: 700;
}

/* ============================================
   AD SLOT
   ============================================ */
.ad-slot {
  text-align: center;
  margin: 2rem 0;
  min-height: 0;
  background: #fafbfc;
}

.ad-slot p {
  display: none;
  margin: 0;
}

/* ============================================
   AUTHOR BOX
   ============================================ */
.author-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.author-box__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.author-box__info {
  flex: 1;
}

.author-box__name {
  font-weight: 700;
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.author-box__role {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.author-box__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================
   CTA BOX
   ============================================ */
.cta-box {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
  border: 1px solid #bee3f8;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-box__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.cta-box__text {
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
  font-size: var(--font-size-sm);
}

/* ============================================
   RATGEBER GRID (Content Cards)
   ============================================ */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.ratgeber-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.ratgeber-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.ratgeber-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.ratgeber-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.ratgeber-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.ratgeber-card__link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ratgeber-card__link:hover {
  gap: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-text);
  color: #cbd5e1;
  padding: 3rem 0 0;
  margin-top: 3rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #334155;
}

.footer__heading {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.4rem;
}

.footer__links a {
  color: #94a3b8;
  font-size: var(--font-size-sm);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: var(--font-size-xs);
  color: #64748b;
}

.footer__disclaimer {
  font-size: var(--font-size-xs);
  color: #64748b;
  max-width: 600px;
  line-height: 1.6;
}

.footer__affiliate-note {
  font-size: var(--font-size-xs);
  color: #64748b;
  padding: 1rem 0;
  border-top: 1px solid #334155;
  text-align: center;
}

/* ============================================
   SCROLL FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO SVG ANIMATIONS
   ============================================ */
@keyframes pulse-cell {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes float-cell {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-8px) translateX(4px); }
  50% { transform: translateY(-4px) translateX(-3px); }
  75% { transform: translateY(-10px) translateX(2px); }
}

@keyframes petechiae-appear {
  0% { opacity: 0; r: 0; }
  50% { opacity: 1; r: 2.5; }
  100% { opacity: 0.7; r: 2; }
}

.blood-cell {
  animation: float-cell 6s ease-in-out infinite;
}

.blood-cell:nth-child(2) { animation-delay: 1s; animation-duration: 7s; }
.blood-cell:nth-child(3) { animation-delay: 2s; animation-duration: 5s; }
.blood-cell:nth-child(4) { animation-delay: 0.5s; animation-duration: 8s; }
.blood-cell:nth-child(5) { animation-delay: 1.5s; animation-duration: 6.5s; }

.blood-cell circle {
  animation: pulse-cell 3s ease-in-out infinite;
}

.blood-cell:nth-child(2) circle { animation-delay: 0.5s; }
.blood-cell:nth-child(3) circle { animation-delay: 1s; }
.blood-cell:nth-child(4) circle { animation-delay: 1.5s; }
.blood-cell:nth-child(5) circle { animation-delay: 2s; }

.hero__svg-container:hover .petechiae-dot {
  animation: petechiae-appear 0.8s ease forwards;
}

.petechiae-dot {
  opacity: 0;
  fill: #e74c3c;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .trust-bar {
    justify-content: center;
  }

  .hero__visual {
    max-width: 340px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small tablet: 800px */
@media (max-width: 800px) {
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }

  .content-block {
    padding: 1.5rem;
  }

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

  .pros-cons {
    grid-template-columns: 1fr;
  }
}

/* Mobile: 640px */
@media (max-width: 640px) {
  .nav-toggle,
  .nav__toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav__link {
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero__title {
    font-size: var(--font-size-2xl);
  }

  .trust-bar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .content-block {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .ratgeber-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.625rem 0.75rem;
    font-size: var(--font-size-xs);
  }

  .container {
    padding: 0 1rem;
  }
}

/* --- Print Styles --- */
@media print {
  .header,
  .nav-toggle,
  .ad-slot,
  .hero__visual {
    display: none !important;
  }

  .hero {
    background: none;
    color: var(--color-text);
    padding: 1rem 0;
  }

  .hero__title {
    color: var(--color-text);
  }

  .content-block {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  body {
    font-size: 12pt;
    background: #fff;
  }
}

/* ============================================
   DISCLAIMER (Medical)
   ============================================ */
.disclaimer {
  background: #f8fafb;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-size: var(--font-size-xs);
  color: var(--color-muted);
  line-height: 1.7;
}
.disclaimer strong {
  color: var(--color-text-secondary);
}

/* ============================================
   PRODUCT BOX (CTA with image)
   ============================================ */
.product-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.product-box__img {
  width: 120px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fafbfc;
  padding: 0.5rem;
}
.product-box__content { flex: 1; }
.product-box__title {
  font-weight: 700;
  font-size: var(--font-size-base);
  margin-bottom: 0.35rem;
  color: var(--color-text);
}
.product-box__desc {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}
@media (max-width: 500px) {
  .product-box { flex-direction: column; text-align: center; }
  .product-box__img { width: 100px; margin: 0 auto; }
}

/* ============================================
   SUCCESS BOX
   ============================================ */
.success-box {
  background: var(--color-accent-light);
  border: 1px solid #a7e3be;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.success-box__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #1a7a3e;
  margin-bottom: 0.5rem;
}
.success-box p:last-child { margin-bottom: 0; }

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.checklist li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-warning);
  border-radius: 4px;
}

/* ============================================
   NUMBERED STEPS
   ============================================ */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.steps li {
  counter-increment: step;
  padding: 0.75rem 0 0.75rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-sm);
}

/* ============================================
   EMERGENCY BOX (Notruf)
   ============================================ */
.emergency-box {
  background: #fdecea;
  border: 2px solid var(--color-warning);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  text-align: center;
}
.emergency-box__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-warning);
  margin-bottom: 0.5rem;
}
.emergency-box__number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-warning);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
.emergency-box p {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}
