/* ROSCH Webservice – statische Seite
   Farben stammen aus dem Logo. Hier oben lassen sie sich zentral anpassen. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-Regular.woff") format("woff");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-Medium.woff") format("woff");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-Bold.woff") format("woff");
}

:root {
  --ink: #101418;
  --muted: #4A5565;
  --white: #FFFFFF;
  --tint: #EDF4FB;
  --line: #D3DFEC;

  /* Logo-Farben */
  --blue: #224C8D;
  --blue-deep: #17335F;
  --slate: #446C9E;
  --sky: #98D6FC;
  --orange: #FFBD59;
  --orange-soft: #FFCE82;
  --pink: #F47F8F;

  --font: Poppins, Montserrat, "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--orange); }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* ---------- Kopfbereich ---------- */
.topbar { background: var(--blue); color: #DCE8F7; font-size: 0.85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--orange); text-decoration: underline; }
.topbar-social { margin-left: auto; display: flex; gap: 18px; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 60px; width: auto; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 700; box-shadow: inset 0 -3px 0 var(--orange); border-radius: 6px 6px 0 0; }
.nav-toggle {
  display: none; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 6px;
  border: 2px solid var(--blue); background: var(--white); color: var(--blue); cursor: pointer;
}

/* ---------- Buttons und Links ---------- */
.btn {
  display: inline-block; padding: 0.8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem; text-decoration: none; line-height: 1.2; cursor: pointer;
}
.btn-primary, .btn-dark { background: var(--blue); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--tint); color: var(--blue-deep); }
.on-dark .btn-primary { background: var(--orange); color: var(--ink); }
.on-dark .btn-primary:hover { background: var(--orange-soft); color: var(--ink); }
.more { font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; margin-bottom: 0; }

/* ---------- dunkle Flächen ---------- */
.on-dark { color: #E4EEFA; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: var(--orange); }
.on-dark a:not(.btn):hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { background: var(--tint); padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 0.5em; }
.lead { font-size: clamp(1.02rem, 1.8vw, 1.2rem); line-height: 1.65; max-width: 34em; color: var(--muted); }
.hero-art { width: 100%; max-width: 480px; margin-left: auto; height: auto; }
.hx { transform-box: fill-box; transform-origin: center; animation: pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hx2 { animation-delay: 0.15s; }
.hx3 { animation-delay: 0.3s; }
@keyframes pop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.page-head { background: var(--tint); padding: clamp(32px, 5vw, 56px) 0; }
.page-head h1 { margin-bottom: 0.4em; max-width: 22em; font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.page-head .lead { margin-bottom: 0; }
.hexes { display: flex; gap: 6px; margin-bottom: 18px; }
.hexes i { width: 30px; height: 26px; clip-path: var(--hex); display: block; }
.hexes i:nth-child(1) { background: var(--blue); }
.hexes i:nth-child(2) { background: var(--orange); }
.hexes i:nth-child(3) { background: var(--pink); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section-tint { background: var(--tint); }
.intro { max-width: 44em; color: var(--muted); font-size: 1.05rem; }
.prose { max-width: calc(44em + 40px); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); margin-right: auto; }
.prose h2 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.legal h3 { margin-top: 1.4em; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.split h2 { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: 28px; }
.two-col p { max-width: 34em; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 36px 0 12px; }
.feature { border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.feature h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.feature p:last-child { margin-bottom: 0; }
.feature-blue { background: var(--blue); }
.feature-ink { background: var(--ink); }

/* Sechseck-Marker aus dem Logo */
.row h3::before, .row .h3::before, .feature h3::before {
  content: ""; display: inline-block; width: 0.85em; height: 0.74em; margin-right: 0.55em;
  background: var(--hex-color, var(--blue)); clip-path: var(--hex);
}
.row, .feature, .app { --hex-color: var(--hex-c, var(--blue)); }

.rows { margin-top: 32px; border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 0.9fr); gap: 12px 32px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.row h3, .row .h3 { margin: 0; }
.row p { margin: 0; }
.row .more { justify-self: start; }
.row ul { margin-top: 10px; }

.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: 32px; }
.app { border-left: 6px solid var(--hex-color, var(--orange)); padding: 4px 0 4px 24px; }
.app h3 { font-size: 1.35rem; }
.tag {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 12px; border-radius: 999px;
  background: var(--orange); color: var(--ink); font-size: 0.8rem; font-weight: 700; letter-spacing: 0;
}

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.quotes figure { margin: 0; border-top: 4px solid var(--blue); padding-top: 18px; }
.quotes blockquote { margin: 0 0 14px; font-size: 0.98rem; line-height: 1.7; font-weight: 500; }
.quotes blockquote p { margin: 0; }
.quotes figcaption { font-size: 0.9rem; color: var(--muted); }
.quotes figcaption strong { color: var(--ink); }

.packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.package { border-top: 4px solid var(--blue); padding-top: 16px; display: flex; flex-direction: column; }
.package p:nth-of-type(1) { flex: 1; }
.package h3 { font-size: 1.05rem; }

.benefits { margin: 24px 0; }
.benefits div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 28px; }
.benefits div:last-child { border-bottom: 1px solid var(--line); }
.benefits dt { font-weight: 700; }
.benefits dd { margin: 0; }

.checks, .plain { list-style: none; }
.checks li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); max-width: 36em; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 12px; height: 7px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.checks { margin-top: 24px; }
.plain li { padding: 3px 0; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.steps li { counter-increment: step; border-top: 4px solid var(--blue); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: 2rem; line-height: 1; color: var(--blue); margin-bottom: 10px; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.after-steps { margin-top: 36px; }

/* ---------- Kontakt ---------- */
.cta { background: var(--blue); padding: clamp(44px, 6vw, 72px) 0; }
.cta h2 { max-width: 20em; }
.cta-list { list-style: none; display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 24px 0 28px; }
.cta-list span { display: block; font-size: 0.85rem; color: #BCD3EE; }
.cta-list a { font-size: 1.1rem; font-weight: 700; }
.cta p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 6vw, 80px); }
.form label:not(.check) { display: block; font-weight: 500; margin: 18px 0 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 2px solid #9DB1C8; border-radius: 10px; background: var(--white); color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(34, 76, 141, 0.25); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: 0.9rem; }
.check input { margin-top: 0.4em; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.form-status { color: var(--blue); font-weight: 700; }
.contact-list div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.85rem; color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 500; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--blue-deep); padding: 56px 0 24px; font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-title { font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 3px 0; }
.site-footer a { text-decoration: none; color: #E4EEFA; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.legal-line { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: #BCD3EE; }
.legal-line p { margin: 0; }

/* ---------- Emotionale Bausteine: Sorgen, Wendepunkt, Ergebnis ---------- */
.eyebrow { margin: 0 0 10px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.page-head .actions, .hero .actions { margin-top: 24px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-weight: 500; font-size: 0.92rem; line-height: 1.3; }
.pills li::before { content: ""; flex: none; width: 14px; height: 12px; background: var(--hex-c, var(--blue)); clip-path: var(--hex); }
.pills li:nth-child(3n+2) { --hex-c: var(--orange); }
.pills li:nth-child(3n) { --hex-c: var(--pink); }

.section-head { max-width: 46em; margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.voices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.voice { background: var(--white); border-radius: 16px; padding: 22px 24px 20px; box-shadow: 0 0 0 1px var(--line); border-top: 5px solid var(--blue); }
.voice:nth-child(3n+2) { border-top-color: var(--orange); }
.voice:nth-child(3n) { border-top-color: var(--pink); }
.voice__quote { margin: 0 0 8px; font-weight: 700; font-size: 1.08rem; line-height: 1.4; color: var(--ink); }
.voice p:last-child { margin: 0; color: var(--muted); font-size: 0.96rem; }
.section-tint .voice { box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(34, 76, 141, 0.06); }

.turn { margin-top: 36px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--blue); color: #E4EEFA; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.turn h3 { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: 0.4em; }
.turn p { margin: 0; max-width: 40em; }
.turn .btn { background: var(--orange); color: var(--ink); }
.turn .btn:hover { background: var(--orange-soft); color: var(--ink); }

.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.outcome { padding-top: 16px; border-top: 4px solid var(--blue); }
.outcome:nth-child(2) { border-top-color: var(--orange); }
.outcome:nth-child(3) { border-top-color: var(--pink); }
.outcome h3 { font-size: 1.5rem; margin-bottom: 0.1em; }
.outcome__lead { font-weight: 700; color: var(--blue); margin-bottom: 0.5em; }
.outcome p:last-child { margin-bottom: 0; color: var(--muted); }

.reach-list { list-style: none; display: grid; gap: 22px; }
.reach-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; align-items: start; }
.reach-list h3 { margin: 0; font-size: 1.05rem; }
.reach-list p { grid-column: 2; margin: 0; color: var(--muted); }
.reach__icon { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 40px; background: var(--blue); color: #fff; clip-path: var(--hex); }
.reach-list li:nth-child(2) .reach__icon { background: var(--orange); color: var(--ink); }
.reach-list li:nth-child(3) .reach__icon { background: var(--pink); color: var(--ink); }
.reach__icon svg { width: 20px; height: 20px; }

.faq { margin-top: 24px; max-width: 52em; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative; font-weight: 700; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 16px; max-width: 44em; color: var(--muted); }

.check-list { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.on-dark .check-list li::before { border-color: var(--orange); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Schnellkontakt am Smartphone */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcomes { gap: 20px; }
  .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .row .more { grid-column: 2; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid, .split, .features, .apps, .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin: 8px auto 0; max-width: 380px; }
  .js .nav-toggle { display: block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; z-index: 10; }
  .js .nav.open { display: block; }
  .js .nav ul { flex-direction: column; }
  .site-header { position: relative; }
  .topbar-social { margin-left: 0; }
  .turn { grid-template-columns: minmax(0, 1fr); }
  .outcomes { grid-template-columns: minmax(0, 1fr); }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(16, 20, 24, 0.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px 8px; font-size: 0.78rem; font-weight: 700; text-decoration: none; color: var(--blue); }
  .mobile-bar a.is-main { background: var(--orange); color: var(--ink); }
  .mobile-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .voices, .voices--2 { grid-template-columns: minmax(0, 1fr); }
  .packages, .steps, .steps--3 { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row .more { grid-column: auto; }
  .benefits div { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hx { animation: none; }
}
