:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --text: #14161c;
  --muted: #5b6270;
  --blue: #0b2350;          /* Navy aus dem Logo */
  --blue-dark: #071a3c;
  --blue-soft: #e8edf6;
  --teal: #0e7490;          /* Teal aus dem Logo */
  --teal-dark: #0b5b71;
  --teal-soft: #e3f2f6;
  --yellow: #f5a111;        /* Amber aus dem Logo */
  --yellow-dark: #d98c07;
  --yellow-soft: #fef4dc;
  --border: #e6e8ee;
  --radius: 14px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(20, 22, 28, .04), 0 10px 30px rgba(20, 22, 28, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--text);
  /* Lange Komposita ("deutschsprachigen") sprengten bei 320px die Zeile. */
  hyphens: auto;
  overflow-wrap: break-word;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.text-blue { color: var(--teal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--blue); color: #fff;
  border-radius: 9px;
  font-family: "Fraunces", serif; font-weight: 600;
}
.brand-mark span { color: var(--yellow); }
.brand-name { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: .98rem; cursor: pointer; border: none;
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #14161c; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--muted); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  color: var(--teal); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; font-size: .8rem; margin: 0 0 16px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin: 0 0 16px; }
.hero h1 .text-blue { color: var(--teal); }
.lead { font-size: 1.18rem; color: var(--muted); margin: 0 0 28px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Checklist card */
.check-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
}
.check-card h3 { font-size: 1.15rem; margin: 0 0 16px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.check-list .tick {
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  background: var(--yellow); color: #14161c; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 0 34px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 10px; }
.section-sub { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Category chips */
.cats { display: flex; gap: 14px; flex-wrap: wrap; }
.cat {
  flex: 1; min-width: 220px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: box-shadow .2s ease, transform .12s ease;
}
.cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.cat .ico { font-size: 1.7rem; }
.cat h3 { font-size: 1.2rem; margin: 12px 0 6px; color: var(--blue); }
.cat p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s ease, transform .12s ease;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product .by { color: var(--muted); font-size: .82rem; margin: 0 0 8px; }
.product h3 { font-size: 1.18rem; margin: 0 0 8px; }
.product p { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.product .product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.tag {
  display: inline-block; background: var(--teal-soft); color: var(--teal-dark);
  padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  align-self: flex-start; margin-bottom: 12px;
}
.tag-yellow { background: var(--yellow-soft); color: #8a6300; }

/* Experts */
.experts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.expert {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.expert .avatar {
  width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%;
  object-fit: cover;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-family: "Fraunces", serif; font-size: 1.6rem; font-weight: 600;
}
.expert h3 { font-size: 1.25rem; margin: 0 0 4px; }
.expert .role { color: var(--teal); font-size: .9rem; font-weight: 600; margin: 0 0 12px; }
.expert p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.expert .btn { margin-top: auto; }
@media (max-width: 900px) {
  .experts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .experts { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 1.9rem; margin: 0 0 10px; }
.cta-band p { color: #c6d2e6; margin: 0 0 22px; font-size: 1.08rem; }

/* Prose / detail pages */
.prose { padding: 60px 0; max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 12px 0 10px; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; color: var(--blue); }
.prose p, .prose ul, .prose ol { font-size: 1.08rem; color: #2a2e39; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose h3 { font-size: 1.18rem; margin: 28px 0 8px; }
.prose blockquote {
  margin: 30px 0; padding: 16px 24px; border-left: 4px solid var(--yellow);
  background: var(--yellow-soft); border-radius: 0 var(--radius) var(--radius) 0; color: #5a4a1a;
}

/* Tabellen in Artikeln */
.prose table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: .98rem; display: block; overflow-x: auto;
}
.prose thead th {
  text-align: left; background: var(--teal-soft); color: var(--teal-dark);
  font-weight: 600; padding: 12px 14px; border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.prose tbody td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
/* Zeilenkopf in Schlussel-Wert-Tabellen (z.B. Eckdaten) */
.prose tbody th {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border);
  font-weight: 600; color: var(--blue); vertical-align: top;
}
.prose tbody tr:last-child th { border-bottom: none; }
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:nth-child(even) { background: var(--surface-alt); }

/* Affiliate note */
.affiliate-note {
  font-size: .82rem; color: var(--muted); background: var(--surface-alt);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin: 18px 0;
}

/* Newsletter */
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.newsletter h2 { font-size: 1.6rem; margin: 0 0 6px; }
.newsletter p { color: var(--muted); margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 440px; }
.newsletter-form input {
  flex: 1; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: 10px; font: inherit; background: var(--surface);
}
.newsletter-form input:focus { outline: 2px solid var(--teal-soft); border-color: var(--teal); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 20px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; color: var(--muted); font-size: .9rem; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: "Inter", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text); margin: 0 0 12px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; margin: 6px 0; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; color: var(--muted); font-size: .85rem; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---- Logo ---- */
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
}
@media (max-width: 600px) {
  .brand-logo { height: 28px; }
}

/* ---- Produktbilder in Artikeln ---- */
.article-banner {
  display: block; width: 100%; max-width: 100%; height: auto;
  margin: 24px 0; border-radius: var(--radius); box-shadow: var(--shadow);
}

/* Rezensions-Karten (eigenes Design, keine Amazon-Screenshots) */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 20px 0 8px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.review-stars { color: var(--yellow-dark); font-size: .95rem; letter-spacing: 1px; margin-bottom: 8px; }
.review-card p { font-size: .95rem; color: #2a2e39; margin: 0 0 10px; font-style: italic; }
.review-meta { font-size: .8rem; color: var(--muted); }

/* Produktkarten mit Cover */
.product-cover {
  width: 100%; height: auto; display: block; background: var(--surface-alt);
}

/* Autorenbild */
.expert-photo {
  width: 100%; max-width: 320px; height: auto; display: block; border-radius: var(--radius);
  box-shadow: var(--shadow); margin: 0 0 18px;
}

/* ---------------------------------------------------------------
   Integrationen: Hub mit Kategorien.
   Bewusst als Text-Raster statt Logo-Grafik - die Logos gehoeren
   Dritten, die Fakten nicht.
   --------------------------------------------------------------- */
.integration-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 26px 0;
}
.integration-hub {
  grid-column: 1 / -1; text-align: center; padding: 22px 18px;
  background: var(--blue); color: #fff; border-radius: var(--radius);
  font-weight: 600; font-size: 1.1rem; line-height: 1.3;
}
.integration-hub span {
  display: block; margin-top: 4px;
  font-weight: 400; font-size: .85rem; opacity: .78;
}
.integration-cat {
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}
.prose .integration-cat h3 {
  margin: 0 0 10px; font-size: .95rem; color: var(--teal-dark);
}
.prose .integration-cat ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.prose .integration-cat li { margin: 5px 0; }

@media (max-width: 680px) { .integration-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .integration-grid { grid-template-columns: 1fr; } }

/* Zwei gleichwertige Karten nebeneinander (Staerken / Schwaechen) */
.card-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.card-duo .check-card { padding: 22px 22px 18px; }
.prose .card-duo .check-card h3 { margin: 0 0 14px; font-size: 1.05rem; }
.check-list .tick.minus { background: var(--blue-soft); color: var(--blue); }
@media (max-width: 640px) { .card-duo { grid-template-columns: 1fr; } }

/* Eigene Schaubilder */
.figure { margin: 26px 0; }
.figure svg { width: 100%; height: auto; display: block; }
/* Screenshots: gleiche Breite wie die SVG-Diagramme, mit weicher Kante. */
.figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.figure figcaption {
  margin-top: 10px; font-size: .88rem; color: var(--muted); text-align: center;
}

/* Bild neben Text, damit lange Textstrecken aufgebrochen werden */
.media-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; align-items: center; margin: 32px 0;
}
.media-split img { width: 100%; height: auto; display: block; }
.media-split .media-split-text > :first-child { margin-top: 0; }
.media-split .media-split-text > :last-child { margin-bottom: 0; }
.media-split.reverse .media-split-media { order: 2; }

@media (max-width: 680px) {
  .media-split { grid-template-columns: 1fr; gap: 20px; }
  .media-split.reverse .media-split-media { order: 0; }
  .media-split .media-split-media { max-width: 340px; margin: 0 auto; }
}

/* Anbieter-Hinweis mit Logo und Affiliate-Link */
.vendor-cta {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px; margin: 32px 0;
}
.vendor-cta-logo { flex: none; display: block; line-height: 0; }
.vendor-cta-logo img { width: 200px; height: auto; display: block; }
.vendor-cta-body { flex: 1; min-width: 250px; }
.prose .vendor-cta-body .vendor-cta-title {
  margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; color: var(--blue);
}
.prose .vendor-cta-body p { margin: 0 0 16px; font-size: .98rem; }
.prose .vendor-cta-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

@media (max-width: 560px) {
  .vendor-cta { gap: 18px; padding: 20px; }
  .vendor-cta-logo img { width: 160px; }
}

/* ---------------------------------------------------------------
   Mobiles Menue
   Die Navigation lief aus dem Header heraus: "Experten" und "Ueber uns"
   waren auf dem Telefon nicht anklickbar, weil sie hinter dem rechten
   Rand lagen. Logo und Navigation stehen jetzt untereinander.
   --------------------------------------------------------------- */
@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    gap: 4px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    /* Abstand kommt jetzt aus dem Padding der Links, nicht mehr aus dem Gap. */
    column-gap: 0;
    row-gap: 4px;
  }
  /* Trefferflaeche mind. 44x44 px. Passt bei 375 px in eine Zeile;
     auf schmaleren Geraeten bricht sie um, statt die Flaeche zu verkleinern. */
  .nav a { font-size: .88rem; padding: 11px 8px; display: inline-block; }
}

/* Kurzfassung oben: Ueberschrift im Kartenformat statt im Fliesstextformat */
.prose .check-card h2 { margin: 0 0 16px; font-size: 1.2rem; }

/* Brotkrumennavigation — sichtbarer Pfad zusaetzlich zum BreadcrumbList-Schema */
.breadcrumbs {
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.breadcrumbs span { color: var(--text); }

/* Inhaltsverzeichnis fuer lange Seiten */
.toc {
  margin: 30px 0;
  padding: 20px 24px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc p { margin: 0 0 10px; font-size: .95rem; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: 4px 0; font-size: .95rem; }
.toc a { color: var(--blue); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 90px; }
