/* Consent+ — Design "Aperture-inspiriert": viel Weißraum, feine Typo,
   gedeckte Palette (Off-White, Tiefgrün, Terracotta-Akzent), keine Emoji-Buttons. */

:root {
  --bg: #FAFAF7;
  --ink: #16241F;          /* fast-schwarzes Tiefgrün */
  --deep: #0E2A23;         /* Tiefgrün (Headlines, Buttons) */
  --accent: #C96F4A;       /* Terracotta */
  --muted: #5C6B65;
  --line: #E3E1D9;
  --card: #FFFFFF;
  --ok: #2E7D5B;
  --bad: #B0483A;
  --warn: #A9822F;
  --serif: 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: var(--accent); }

h1, h2, h3, .kpi, .logo { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: 1.7rem; margin: 0 0 .5em; }
h3 { font-size: 1.15rem; margin: 0 0 .5em; }

/* ---------- Topbar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.topbar-in {
  max-width: 1080px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo { font-size: 21px; text-decoration: none; color: var(--deep); font-weight: 600; }
.logo span { color: var(--accent); }
.mainnav { display: flex; gap: 20px; flex: 1; }
.mainnav a, .navright a { text-decoration: none; font-size: 14.5px; color: var(--muted); }
.mainnav a:hover, .navright a:hover { color: var(--deep); }
.mainnav a.on { color: var(--deep); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.navright { display: flex; gap: 16px; align-items: center; }
.langswitch a { color: var(--muted); text-decoration: none; font-size: 13.5px; letter-spacing: .04em; }
.langswitch a.on { color: var(--deep); font-weight: 600; }

main { max-width: 1080px; margin: 0 auto; padding: 40px 24px 72px; }

/* ---------- Hero / Sections ---------- */
.hero { padding: 72px 0 56px; max-width: 780px; }
.hero-split {
  max-width: none; display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 20px; padding: 64px 0 48px;
}
.hero-copy { max-width: 640px; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual canvas { max-width: 100%; height: auto; }
.hero-visual-fallback {
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid var(--line); position: relative;
}
.hero-visual-fallback::after {
  content: ''; position: absolute; inset: 90px; border-radius: 50%;
  border: 1px solid var(--accent); opacity: .4;
}
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; padding: 44px 0 24px; }
  .hero-visual canvas { width: 300px; height: 300px; }
}
.hero h1 { font-size: 3.2rem; line-height: 1.08; margin-bottom: .4em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px;
  color: var(--accent); font-weight: 600; margin: 0 0 18px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 0 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row.center { justify-content: center; }
.section { padding: 30px 0; }
.section.alt { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 44px; }
.section h2 { max-width: 720px; }
.stepno {
  display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
  border: 1px solid var(--accent); color: var(--accent); border-radius: 50%;
  font-family: var(--serif); margin-bottom: 12px; font-size: 15px;
}

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 18px; }
.cols3 { grid-template-columns: repeat(3, 1fr); }
.cols4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px; margin-bottom: 18px;
}
.card.subtle { background: transparent; }
.card.narrow { max-width: 640px; }
.card.legal { max-width: 760px; line-height: 1.7; }
.card.mail { max-width: 760px; }
.headline-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.headline-row h1, .headline-row h3 { margin: 0; }
.right { text-align: right; }
.card.stat { text-align: center; margin-bottom: 0; }
.stats { margin-bottom: 18px; }
.card.stat.pricing { padding: 30px 22px; }
.card.stat.pricing.featured { border-color: var(--accent); }
.price { font-size: 1.5rem; font-family: var(--serif); margin: 8px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  border-radius: 8px; padding: 10px 22px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; line-height: 1.4; font-family: var(--sans);
}
.btn.primary { background: var(--deep); color: #F6F3EC; }
.btn.primary:hover { background: #143830; }
.btn.ghost { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn.ghost:hover { background: var(--deep); color: #F6F3EC; }
.btn.text { background: none; border: none; color: var(--muted); text-decoration: underline; padding: 10px 6px; }
.btn.small { padding: 6px 14px; font-size: 13.5px; }
.btn.big { font-size: 17px; padding: 13px 30px; }

/* ---------- Forms ---------- */
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 4px; letter-spacing: .02em; }
label.checkline { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--ink); margin: 16px 0; }
input, select, textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); padding: 10px 12px; font-size: 15px; font-family: var(--sans); margin-bottom: 4px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(201,111,74,.35); border-color: var(--accent); }
input[type="range"] { padding: 0; border: none; background: none; }
input[type="checkbox"] { width: auto; }
button.btn { margin-top: 18px; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
table.clean td, table.clean th { border-bottom: 1px solid var(--line); }

/* ---------- Pills / Chips / Notes ---------- */
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); color: var(--muted); }
.pill.g { background: #EDF4EF; color: var(--ok); border-color: #CFE3D6; }
.pill.y { background: #F7F1E1; color: var(--warn); border-color: #E8DCBB; }
.pill.r { background: #F8ECEA; color: var(--bad); border-color: #E8C9C3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: 14px; background: #fff; user-select: none; }
.chip.on { background: var(--deep); border-color: var(--deep); color: #F6F3EC; }
.note { border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0 0 16px; font-size: 14.5px; }
.note.ok { background: #EDF4EF; border-color: #CFE3D6; color: var(--ok); }
.note.warn { background: #F8ECEA; border-color: #E8C9C3; color: var(--bad); }

/* ---------- Auth ---------- */
.authbox {
  max-width: 460px; margin: 32px auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 40px 38px;
}
.authbox.wide { max-width: 620px; }
.authbox.center { text-align: center; }
.orline { margin: 18px 0 6px; }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; font-size: 16px; font-family: var(--serif); }
details.faq p { margin: 0 0 16px; }
.steps { line-height: 2; margin: 0; padding-left: 20px; }

/* ---------- KPI ---------- */
.kpi { font-size: 2rem; line-height: 1.1; }
.kpi.accent { color: var(--accent); }
.kpil { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ---------- Misc ---------- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.mailbody { white-space: pre-wrap; font-size: 15.5px; line-height: 1.7; }
ol, ul { line-height: 1.8; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-in {
  max-width: 1080px; margin: 0 auto; padding: 26px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px;
}
footer a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cols3, .cols4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .topbar-in { flex-wrap: wrap; gap: 12px; }
  .mainnav { order: 3; width: 100%; gap: 14px; flex-wrap: wrap; }
  .hero { padding: 44px 0 30px; }
}
