/* Redpill Consulting – gemeinsames Stylesheet */
:root {
  --red: #C8102E;
  --red-dark: #9E0B23;
  --red-soft: #FBE9EC;
  --ink: #16161A;
  --ink-2: #3A3A42;
  --muted: #6B6B75;
  --line: #E6E3E3;
  --paper: #FFFFFF;
  --paper-2: #F7F5F4;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 40em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span b { color: var(--red); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a.active { color: var(--red); text-decoration: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700; }
.lang a, .lang span { padding: .3rem .7rem; color: var(--muted); }
.lang span { background: var(--red); color: #fff; }
.lang a:hover { text-decoration: none; color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 2px solid var(--red); background: var(--red); color: #fff;
  cursor: pointer; transition: background .15s, transform .15s; font-family: inherit;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: var(--red-soft); border-color: var(--red-soft); color: var(--red-dark); }

/* Hero */
.hero { padding: 6.5rem 0 5.5rem; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -180px; top: -120px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, var(--red-soft) 0%, rgba(251,233,236,0) 70%); z-index: -1;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-facts div { font-size: .95rem; color: var(--muted); max-width: 15em; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-weight: 600; }

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 46em; margin-bottom: 3rem; }
.page-head { padding: 4.5rem 0 2.5rem; border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #e8c4ca; box-shadow: 0 14px 40px -24px rgba(200,16,46,.35); transform: translateY(-2px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--ink-2); margin: 0; }
.card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.card li { margin-bottom: .3rem; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.2rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.1rem; color: var(--red); font-weight: 600;
}
.step p { color: var(--ink-2); margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { padding-left: 2rem; position: relative; margin-bottom: .8rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 10px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.quote-box { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.6rem; }
.quote-box p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; margin: 0; }
.quote-box .pill { width: 54px; margin-bottom: 1.4rem; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 4.5rem 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; opacity: .9; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: start; }
.calc-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; }
.calc-block { margin-bottom: 2rem; }
.calc-block:last-child { margin-bottom: 0; }
.calc-label { display: block; font-weight: 700; margin-bottom: .2rem; }
.calc-hint { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option label {
  display: block; border: 1.5px solid var(--line); border-radius: 10px; padding: .85rem 1rem; cursor: pointer;
  transition: border-color .15s, background .15s; font-size: .96rem; height: 100%;
}
.option label small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.option input:checked + label { border-color: var(--red); background: var(--red-soft); }
.option input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }
.hours-row { display: flex; align-items: center; gap: 1.2rem; }
.hours-row input[type=range] { flex: 1; accent-color: var(--red); height: 6px; }
.hours-out {
  min-width: 92px; text-align: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .3rem .6rem;
}
.presets { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.presets button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .35rem .9rem;
  font: inherit; font-size: .88rem; cursor: pointer; color: var(--ink-2);
}
.presets button:hover { border-color: var(--red); color: var(--red); }
.calc-result { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.2rem; position: sticky; top: 100px; }
.calc-result h3 { color: #fff; }
.calc-lines { list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .95rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.calc-lines li span:first-child { color: rgba(255,255,255,.7); }
.calc-total { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; margin: .3rem 0 .4rem; }
.calc-total-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #ff8fa0; font-weight: 700; }
.calc-note { font-size: .82rem; color: rgba(255,255,255,.62); margin: 1rem 0 1.4rem; }
.calc-result .btn { width: 100%; justify-content: center; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit;
  background: var(--paper); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form textarea { min-height: 170px; resize: vertical; }
.form .consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); font-weight: 400; }
.form .consent input { width: auto; margin-top: .3rem; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; display: none; }
.notice.ok { background: #E8F5EC; color: #1C5E33; display: block; }
.notice.err { background: var(--red-soft); color: var(--red-dark); display: block; }
.contact-aside .card { margin-bottom: 1.2rem; }
.contact-aside .card:hover { transform: none; }

/* Legal text */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; font-family: var(--sans); font-weight: 700; }
.placeholder { background: #FFF4C2; padding: 0 .25em; border-radius: 3px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-brand img { height: 30px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .calc { grid-template-columns: 1fr; gap: 2.5rem; }
  .calc-result { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start;
    padding: 1.5rem 1.25rem 2rem; gap: 1.1rem; border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .grid-2, .grid-3, .grid-4, .options, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem; }
  .section { padding: 4rem 0; }
  .calc-panel, .calc-result { padding: 1.5rem; }
}
#calc-tip:empty { display: none; }
#calc-tip { padding: .6rem .8rem !important; }
