/* Avellon Vergleichsseiten — V2-Palette, mobile first.
   Keine Frameworks, keine Fremd-Requests. */

:root {
  --ink:       #0B1F33;
  --pharma:    #1D3557;
  --accent:    #457B9D;
  --accent-dk: #35637F;
  --papier:    #FFFFFF;
  --sand:      #F5F7F9;
  --linie:     #DCE3E9;
  --text:      #2B3B4A;
  --text-weich:#5A6B7B;
  --gruen:     #1F6B4A;

  --breit: 68rem;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(11,31,51,.05), 0 8px 28px rgba(11,31,51,.07);
}

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.18; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2rem, 5.2vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.05rem); font-weight: 650; }
h3 { font-size: 1.075rem; font-weight: 650; }
p  { margin: 0 0 1.15rem; }
a  { color: var(--accent-dk); }

.huelle { width: 100%; max-width: var(--breit); margin-inline: auto; padding-inline: 1.4rem; }

/* ---------- Kopf ---------- */
.kopf {
  border-bottom: 1px solid var(--linie);
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
}
.kopf .huelle { display: flex; align-items: center; justify-content: space-between;
                gap: 1rem; min-height: 66px; }
.marke { display: flex; align-items: baseline; gap: .5rem;
         font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.marke span { font-weight: 400; font-size: .8rem; color: var(--text-weich);
              letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .8rem 1.5rem; border-radius: 10px;
  font-weight: 600; font-size: .975rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.knopf--voll { background: var(--pharma); color: #fff; }
.knopf--voll:hover { background: var(--ink); }
.knopf--linie { border-color: var(--linie); color: var(--ink); background: #fff; }
.knopf--linie:hover { border-color: var(--accent); }
.knopf--gross { padding: 1rem 2rem; font-size: 1.05rem; }
.knopf:active { transform: translateY(1px); }

/* ---------- Held ---------- */
.held { padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.held .augenbraue {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dk);
  background: var(--sand); border: 1px solid var(--linie);
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.held p.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--text-weich);
               max-width: 44rem; margin-top: 1.3rem; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Kennzahlen ---------- */
.kennzahlen {
  display: grid; gap: 1px; background: var(--linie);
  border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; margin-top: 2.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .kennzahlen { grid-template-columns: repeat(4, 1fr); } }
.kennzahl { background: #fff; padding: 1.3rem 1.2rem; }
.kennzahl b { display: block; font-size: 1.45rem; color: var(--ink);
              letter-spacing: -0.02em; line-height: 1.2; }
.kennzahl span { display: block; font-size: .84rem; color: var(--text-weich); margin-top: .3rem; }

/* ---------- Abschnitte ---------- */
section { padding: clamp(2.5rem, 6vw, 4.25rem) 0; }
section.getoent { background: var(--sand); border-block: 1px solid var(--linie); }
.abschnitt-kopf { max-width: 44rem; margin-bottom: 2.25rem; }
.abschnitt-kopf p { color: var(--text-weich); margin-top: .85rem; margin-bottom: 0; }

/* ---------- Prüfliste ---------- */
.pruefliste { display: grid; gap: 1rem; }
@media (min-width: 720px) { .pruefliste { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; } }
.punkt {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--schatten);
}
.punkt h3 { margin-bottom: .55rem; }
.punkt p { font-size: .95rem; color: var(--text-weich); margin: 0; }
.punkt .antwort {
  margin-top: 1rem; padding-top: .95rem; border-top: 1px dashed var(--linie);
  font-size: .93rem; color: var(--text);
}
.punkt .antwort strong { color: var(--ink); }

/* ---------- Tabelle ---------- */
.tabellenrahmen { border: 1px solid var(--linie); border-radius: var(--radius);
                  overflow: hidden; background: #fff; box-shadow: var(--schatten); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 1.15rem 1.4rem; font-weight: 650;
          color: var(--ink); border-bottom: 1px solid var(--linie); }
th, td { padding: .95rem 1.4rem; text-align: left; border-bottom: 1px solid var(--linie); }
thead th { background: var(--sand); font-size: .8rem; letter-spacing: .05em;
           text-transform: uppercase; color: var(--text-weich); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }
td.wert { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Tabelle wird auf kleinen Schirmen zu Karten */
@media (max-width: 660px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tbody tr { border-bottom: 1px solid var(--linie); padding: .35rem 0; }
  tbody tr:last-child { border-bottom: 0; }
  tbody th { padding-bottom: .2rem; }
  tbody td { padding-top: .1rem; padding-bottom: .8rem; color: var(--text-weich); }
  td.wert { white-space: normal; }
  td::before { content: attr(data-titel) " — "; color: var(--text-weich); font-weight: 400; }
}

/* ---------- Stimmen ---------- */
.bewertung { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
             padding: 1.4rem 1.5rem; background: #fff;
             border: 1px solid var(--linie); border-radius: var(--radius); }
.bewertung .note { font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.bewertung .sterne { color: var(--accent); letter-spacing: .12em; font-size: 1.05rem; }
.bewertung .quelle { font-size: .88rem; color: var(--text-weich); }

/* ---------- Schluss-Aufruf ---------- */
.aufruf { background: var(--ink); color: #E8EEF4; border-radius: var(--radius);
          padding: clamp(2rem, 5vw, 3.25rem); text-align: center; }
.aufruf h2 { color: #fff; }
.aufruf p { color: #B7C6D4; max-width: 36rem; margin-inline: auto; margin-top: .9rem; }
.aufruf .knopf--voll { background: var(--accent); margin-top: 1.75rem; }
.aufruf .knopf--voll:hover { background: #5490B4; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--linie); padding: 2.25rem 0 3rem;
        font-size: .86rem; color: var(--text-weich); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 1.15rem; margin-bottom: 1.1rem; }
.fuss a { color: var(--text-weich); }
.hinweis { border-left: 3px solid var(--accent); background: var(--sand);
           padding: 1rem 1.25rem; border-radius: 0 8px 8px 0;
           font-size: .88rem; color: var(--text-weich); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
