/* =========================================================
   Grundlayout – helle, freundliche, bunte Optik
   ========================================================= */

:root {
  --bg: #f5f7fb;
  --bg-alt: #e9f0ff;
  --card: #ffffff;
  --accent1: #ff8aa5;   /* rosa */
  --accent2: #ffd66b;   /* warmes Gelb */
  --accent3: #4fd1c5;   /* Türkis */
  --accent4: #5a8cff;   /* Blau */
  --accent-soft: #fdf3ff;
  --text: #1f2933;
  --muted: #6b7280;
  --line: #d1d5db;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.16);
  --shadow-light: 0 8px 18px rgba(148, 163, 184, 0.4);
  --max-width: 1100px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #ffeaf1 0, transparent 52%),
    radial-gradient(circle at top right, #e3f2ff 0, transparent 55%),
    linear-gradient(to bottom, #f5f7fb 0, #eff4ff 40%, #fdfdfd 100%);
  min-height: 100vh;
}

/* Seite */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  padding: 20px 16px 60px;
}


/* =========================================================
   HERO-Bereich
   ========================================================= */

.hero {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 70%),
    linear-gradient(135deg, #ffe6ef, #e3f2ff);
  border-radius: 32px;
  padding: 26px 22px 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 184, 96, 0.55), transparent 60%);
  right: -120px;
  bottom: -140px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

/* Titel & Text */

.hero-title {
  font-size: clamp(1.9rem, 3.1vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  color: #111827;
}

.hero-sub {
  margin: 0 0 14px;
  font-size: 0.98rem;
  max-width: 34rem;
  color: #ffffff;                         /* soll bewusst weiß bleiben */
  background: rgba(17, 24, 39, 0.65);     /* dunkler „Bubble“-Hintergrund für Kontrast */
  padding: 8px 11px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.45);
}

/* Badges */

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.badge-dot.pink { background: var(--accent1); }
.badge-dot.yellow { background: var(--accent2); }
.badge-dot.teal { background: var(--accent3); }
.badge-dot.blue { background: var(--accent4); }

/* Highlight-Badge */

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.8);
  margin-bottom: 6px;
  color: #374151;
}

.hero-highlight span:first-child {
  font-size: 1.1rem;
}

/* Rechte Seite: Info-Blob */

.hero-right {
  justify-self: end;
}

.hero-blob {
  position: relative;
  border-radius: 26px;
  background: radial-gradient(circle at top, #ffd66b, #ff8aa5);
  padding: 10px;
  box-shadow: var(--shadow-light);
  isolation: isolate;
}

.hero-blob-inner {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  padding: 14px 12px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  color: #111827;
  position: relative;
  overflow: hidden;
}

.hero-blob-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #111827;
}

.hero-blob-title span.icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent4));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #ffffff;
}

.hero-blob-text {
  font-size: 0.78rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.hero-blob-list {
  font-size: 0.75rem;
  display: grid;
  gap: 4px;
}

.hero-blob-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.hero-blob-pill strong {
  font-size: 0.77rem;
  color: #111827;
}

.hero-blob-pill span {
  font-size: 0.7rem;
  color: #4b5563;
}

.hero-blob::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52), transparent 60%);
  right: -16px;
  bottom: -22px;
  opacity: 0.8;
}


/* =========================================================
   Navigation
   ========================================================= */

.nav-strip {
  margin: 18px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-chip {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.95);
  color: #1f2933;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background 0.18s ease,
    transform 0.08s ease,
    box-shadow 0.15s ease,
    border-color 0.18s ease;
}

.nav-chip:hover {
  background: #e0ecff;
  border-color: var(--accent4);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.4);
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent3);
}


/* =========================================================
   Sections & Standardkarten
   ========================================================= */

section {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px rgba(148, 163, 184, 0.28);
  padding: 18px 16px 18px;
  margin-bottom: 18px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.section-title {
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
}

.section-title-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #111827;
  box-shadow: 0 2px 6px rgba(148, 163, 184, 0.6);
}

.section-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Drei-Kacheln-Grid (Grundlagen) */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: var(--radius-lg);
  padding: 10px 10px 11px;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 244, 255, 0.9), transparent 60%);
  right: -24px;
  top: -10px;
  opacity: 0.9;
  pointer-events: none;
}

.card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-title {
  font-size: 0.93rem;
  margin-bottom: 8px;
  color: #111827;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.pill {
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #f3f4ff;
  white-space: nowrap;
  color: #374151;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.77rem;
  color: var(--muted);
}

.card ul li + li {
  margin-top: 2px;
}


/* =========================================================
   Tabelle + Mobile Akkordeons (Wäschegruppen)
   ========================================================= */

/* Tabelle */

.table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f9fafb, #ffffff);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

thead {
  background: linear-gradient(90deg, #ffe6ef, #e0edff);
}

th,
td {
  padding: 7px 8px;
  font-size: 0.78rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
}

th {
  font-weight: 600;
  font-size: 0.8rem;
  color: #111827;
}

tbody tr:nth-child(odd) {
  background: #f9fafb;
}

tbody tr:nth-child(even) {
  background: #ffffff;
}

tbody tr:hover {
  background: #e5f0ff;
}

/* Tags in Zellen */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  margin-right: 4px;
  margin-bottom: 2px;
  background: #f3f4ff;
  color: #374151;
}

/* Desktop/Mobile-Switch */

.table-desktop {
  display: block;
}

.mobile-accordions {
  display: none;
  margin-top: 10px;
  gap: 10px;
}

/* Mobile Akkordeons */

.mobile-accordions details {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 6px 9px 6px;
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.3);
}

.mobile-accordions summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #111827;
}

.mobile-accordions summary::-webkit-details-marker {
  display: none;
}

.accordion-body {
  margin-top: 5px;
  border-top: 1px dashed var(--line);
  padding-top: 5px;
  font-size: 0.8rem;
  color: var(--muted);
}


/* =========================================================
   Spickzettel-Details
   ========================================================= */

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

details {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 6px 9px 6px;
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.25);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.86rem;
  color: #111827;
}

summary::-webkit-details-marker {
  display: none;
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-chip {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
}

.summary-arrow {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

details[open] .summary-arrow {
  transform: rotate(90deg);
}

.details-body {
  margin-top: 6px;
  border-top: 1px dashed var(--line);
  padding-top: 5px;
  font-size: 0.78rem;
  color: var(--muted);
}

.details-body p {
  margin: 0 0 4px;
}

.details-body p strong {
  color: #111827;
}


/* =========================================================
   Schnell-Check & Bonus-Tipps
   ========================================================= */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 10px;
}

.checklist {
  font-size: 0.8rem;
  display: grid;
  gap: 5px;
}

.check-item {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent3), var(--accent4));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  color: #ffffff;
}

/* Bonus-Box: Text weiß auf farbigem Hintergrund */

.tip-box {
  border-radius: 16px;
  background: linear-gradient(145deg, #5a8cff, #4fd1c5);
  padding: 8px 9px;
  font-size: 0.78rem;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.45);
}

.tip-box strong,
.tip-box ul,
.tip-box li {
  color: #ffffff;
}

.tip-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
}

.tip-box ul {
  margin: 0;
  padding-left: 1rem;
}


/* =========================================================
   Flecken & Knittern
   ========================================================= */

.flex-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.card-highlight {
  border-radius: var(--radius-lg);
  padding: 9px 9px;
  background: radial-gradient(circle at top left, #fef3c7, transparent 55%),
              #ffffff;
  border: 1px solid #fde68a;
  font-size: 0.8rem;
  box-shadow: 0 8px 18px rgba(251, 191, 36, 0.35);
}

.card-highlight h3 {
  margin: 0 0 5px;
  font-size: 0.9rem;
  color: #92400e;
}

.card-highlight ul {
  margin: 0;
  padding-left: 1rem;
  color: #92400e;
  font-size: 0.78rem;
}


/* =========================================================
   3-Korb-System
   ========================================================= */

.basket-intro {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.basket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.basket-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, #fdf3ff);
  border: 1px solid #f3d2ff;
  padding: 9px 10px 11px;
  font-size: 0.8rem;
  box-shadow: 0 8px 18px rgba(219, 168, 255, 0.35);
}

.basket-card h3 {
  margin: 0 0 5px;
  font-size: 0.9rem;
  color: #86198f;
}

.basket-note {
  margin: 0 0 6px;
  color: #6b21a8;
}

.basket-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #6b21a8;
}

.basket-card ul li + li {
  margin-top: 3px;
}

.basket-mental {
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  padding: 9px 10px 10px;
  background: linear-gradient(145deg, #e0f2fe, #fef9c3);
  font-size: 0.8rem;
}

.basket-mental h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #1f2937;
}

.basket-mental-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 10px;
}

.basket-mental-title {
  margin: 0 0 4px;
  font-weight: 600;
  color: #1f2937;
}

.basket-mental ul {
  margin: 0;
  padding-left: 1rem;
  color: #374151;
}

.basket-cta {
  border-radius: 14px;
  padding: 8px 9px;
  background: linear-gradient(135deg, #5a8cff, #4fd1c5);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.45);
}

.basket-cta p {
  margin: 0 0 4px;
  font-size: 0.78rem;
}

.basket-cta ul {
  margin: 0 0 4px;
  padding-left: 1rem;
  font-size: 0.78rem;
}


/* =========================================================
   Footer
   ========================================================= */

footer {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

footer span {
  opacity: 0.9;
}


/* =========================================================
   Responsive Anpassungen
   ========================================================= */

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-self: stretch;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .details-grid,
  .two-col,
  .flex-row {
    grid-template-columns: minmax(0, 1fr);
  }

  table {
    font-size: 0.76rem;
  }

  /* Tabelle auf kleineren Screens weg – Akkordeons an */
  .table-desktop {
    display: none;
  }

  .mobile-accordions {
    display: grid;
  }

  .basket-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .basket-mental-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 18px 14px 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-strip {
    gap: 6px;
  }

  .nav-chip {
    font-size: 0.78rem;
    padding: 5px 9px;
  }

  .page {
    padding-inline: 12px;
  }
}
