/* =========================================================
   Schichtplan-App Vergleich 2026 — Stylesheet
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-dark: #0f1b2d;
  --ink: #1a2433;
  --ink-soft: #4a5568;
  --muted: #6b7686;
  --line: #e4e8f0;
  --brand: #1e6fff;
  --brand-dark: #1556cc;
  --brand-soft: #e8f0ff;
  --gold: #f5a623;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: 0 4px 24px rgba(16, 32, 64, 0.07);
  --shadow-lg: 0 12px 40px rgba(16, 32, 64, 0.12);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 750; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 1.8em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
p { margin: 0 0 1.1em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Baloo 2', var(--font);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 26px; height: 38px; flex: none; position: relative;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--brand), #5b9bff);
  box-shadow: 0 3px 11px rgba(30,111,255,.35);
  display: grid; place-items: center;
  transition: transform .25s ease;
}
/* screen */
.brand-logo::before {
  content: ""; width: 18px; height: 24px;
  border-radius: 3px; background: #fff;
}
/* speaker / notch */
.brand-logo::after {
  content: ""; position: absolute; top: 4px; left: 50%;
  width: 7px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,.85);
  transform: translateX(-50%);
}
.brand:hover .brand-logo { transform: translateY(-2px); }
.brand .mark {
  width: 36px; height: 36px; border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), #5b9bff);
  display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 1.15rem; flex: none;
  box-shadow: 0 3px 10px rgba(30,111,255,.32);
  font-family: 'Baloo 2', var(--font);
}
.brand-word {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1;
}
.brand-accent {
  background: linear-gradient(135deg, var(--brand), #5b9bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-tag {
  font-family: 'Baloo 2', var(--font);
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1;
}
.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-soft); font-weight: 600; font-size: .96rem;
  padding: 8px 13px; border-radius: 2px; transition: .15s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 9px 16px !important; border-radius: 2px;
}
.nav-cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, #e8f0ff 0%, transparent 60%), var(--bg);
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  display: inline-block; background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 2px; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-block; font-weight: 700; padding: 13px 24px; border-radius: 2px;
  transition: .15s; cursor: pointer; border: 0; font-size: 1rem;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 8px 0; }
.section-pad { padding: 48px 0; }
.bg-soft { background: var(--bg-soft); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 8px; }
.section-title + .section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .ic {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 2px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 14px;
}
.card .ic svg { width: 26px; height: 26px; stroke: currentColor; fill: none; }
.card h3 { margin-top: 0; }

/* ---------- Ranking list ---------- */
.rank-list { display: flex; flex-direction: column; gap: 16px; margin: 30px 0; }
.rank-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow); transition: .15s;
}
.rank-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.rank-item.winner { border: 2px solid var(--brand); background: linear-gradient(180deg, #f5f9ff, #fff); }
.rank-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: var(--ink-soft);
}
.rank-item.winner .rank-num { background: var(--brand); color: #fff; }
.rank-body h3 { margin: 0 0 4px; font-size: 1.2rem; }
.rank-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.rank-badge {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--gold); background: #fff7e8; padding: 3px 9px;
  border-radius: 2px; margin-bottom: 6px;
}
.rank-meta { text-align: right; min-width: 120px; }
.rank-price { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.rank-price span { font-weight: 500; font-size: .8rem; color: var(--muted); display: block; }
.stars { color: var(--gold); letter-spacing: 1px; }
@media (max-width: 640px) {
  .rank-item { grid-template-columns: 44px 1fr; }
  .rank-num { width: 42px; height: 42px; font-size: 1.15rem; }
  .rank-meta { grid-column: 2; text-align: left; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 760px; background: #fff; }
table.cmp th, table.cmp td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { background: var(--bg-dark); color: #fff; font-weight: 700; position: sticky; top: 0; }
table.cmp tbody tr:hover { background: var(--bg-soft); }
table.cmp tr.is-winner td { background: var(--brand-soft); }
table.cmp tr.is-winner:hover td { background: #dce8ff; }
table.cmp .prov { font-weight: 700; color: var(--ink); white-space: nowrap; }
table.cmp .tag-win { color: var(--brand-dark); font-size: .72rem; font-weight: 700; display: block; }
table.cmp .col-maxpreis { min-width: 150px; }
table.cmp .col-dach { min-width: 168px; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }
.starsm { color: var(--gold); }

/* ---------- Article ---------- */
.article { padding: 48px 0 60px; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.article-body { font-size: 1.08rem; }
.article-body h2 { border-top: 1px solid var(--line); padding-top: 1.2em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
  border-left: 4px solid var(--brand); background: var(--bg-soft);
  margin: 1.4em 0; padding: 14px 20px; border-radius: 0 2px 2px 0; color: var(--ink-soft);
}
.callout {
  background: var(--brand-soft); border: 1px solid #cfe0ff; border-radius: var(--radius);
  padding: 22px 26px; margin: 30px 0;
}
.callout h3 { margin-top: 0; color: var(--brand-dark); }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .15s; display: flex; flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.post-thumb { height: 172px; background: var(--bg-soft); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-card .pc-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.post-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.post-card .pc-cat { font-size: .76rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Breadcrumb / chips ---------- */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 2px; font-size: .85rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff;
}
.faq summary { font-weight: 700; cursor: pointer; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq p { padding: 12px 0; margin: 0; color: var(--ink-soft); }

/* ---------- Methodology ---------- */
.method-step { display: grid; grid-template-columns: 50px 1fr; gap: 20px; margin-bottom: 26px; }
.method-step .n {
  width: 46px; height: 46px; border-radius: 2px; background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
}
.weight-table td:last-child { text-align: right; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-dark); color: #fff; border-radius: 2px; padding: 44px; text-align: center; margin: 40px 0; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #b9c4d4; max-width: 540px; margin: 0 auto 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #aab4c4; padding: 48px 0 28px; margin-top: 60px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer a { color: #aab4c4; display: block; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #243349; margin-top: 32px; padding-top: 20px; font-size: .85rem; color: #7c879a; }
.disclosure { background: #16243a; border-radius: 2px; padding: 14px 18px; font-size: .85rem; color: #93a0b4; margin-top: 18px; }

/* utilities */
.tac { text-align: center; }
.mt0 { margin-top: 0; }
.muted { color: var(--muted); }
.pill-good { background:#e7f8ee; color:var(--green); padding:2px 8px;border-radius:2px;font-size:.8rem;font-weight:700;}
.pill-warn { background:#fef0e7; color:#c2560b; padding:2px 8px;border-radius:2px;font-size:.8rem;font-weight:700;}
