/* ==========================================================================
   ERFT DIGITAL 2026 — Composite sections  ·  CLEAN / LIGHT
   ========================================================================== */

/* ---------- HERO (front page) — clean, single column ---------- */
.hero {
  position: relative;
  min-height: 92svh; display: flex; align-items: center;
  padding-block: calc(var(--header-h) + clamp(4rem, 12vh, 8rem)) clamp(3rem, 8vh, 6rem);
}
.hero__content { max-width: 760px; }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: -.035em; max-width: 17ch; }
.hero .eyebrow { margin-bottom: var(--sp-5); }
.hero__lead { margin-top: var(--sp-6); max-width: 52ch; font-size: var(--fs-lead); color: var(--text-muted); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); margin-top: var(--sp-7); }
.hero__trust { margin-top: var(--sp-8); color: var(--text-dim); font-size: var(--fs-sm); }
.hero__trust span { white-space: nowrap; }

/* ---------- SECTION RHYTHM ---------- */
.marquee { display: none; }   /* removed in clean design */

/* ---------- SERVICE CARDS ---------- */
.svc { display: flex; flex-direction: column; height: 100%; }
.svc__no { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--text-dim); }
.svc__icon { display: inline-flex; width: 34px; height: 34px; margin-top: var(--sp-4); color: var(--blue); }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { margin-top: var(--sp-5); }
.svc p { margin-top: var(--sp-3); color: var(--text-muted); font-size: .98rem; }
.svc__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-5); }
.svc__more { margin-top: auto; padding-top: var(--sp-5); }

/* ---------- DETAILED SERVICE (leistungen) ---------- */
.svc-detail { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: start; }
.svc-detail .svc__icon { margin-top: 0; width: 36px; height: 36px; }
.svc-detail h3 { font-size: 1.3rem; }
.svc-detail p { margin-top: var(--sp-3); color: var(--text-muted); }
@media (max-width: 520px){ .svc-detail { grid-template-columns: 1fr; } }

/* ---------- FEATURE / WHY LIST ---------- */
.feature { display: flex; gap: var(--sp-4); }
.feature__no { font-family: var(--font-body); color: var(--text-dim); font-weight: 500; font-size: .9rem; padding-top: .2rem; }
.feature h3 { font-size: 1.15rem; }
.feature p { margin-top: var(--sp-2); color: var(--text-muted); font-size: .96rem; }

/* ---------- STATS — plain, no boxes ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); gap: var(--sp-7) var(--sp-5); } }
.stats-band .stat { text-align: left; }

/* ---------- REFERENCES — horizontal scroll ---------- */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); gap: var(--sp-5);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-4);
  scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.hscroll::-webkit-scrollbar { height: 6px; } .hscroll::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }
.hscroll > * { scroll-snap-align: start; }
.ref-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.ref-card__media { aspect-ratio: 16 / 10; background: #ffffff; border-bottom: 1px solid var(--border); display: grid; place-items: center; padding: clamp(1.25rem, 4vw, 2rem); }
.ref-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ref-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.ref-card__tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.ref-card__body p { color: var(--text-muted); font-size: .95rem; }
.ref-card__body .link-arrow { margin-top: auto; }
.hscroll-hint { display: flex; align-items: center; gap: .5rem; color: var(--text-dim); font-size: var(--fs-sm); margin-top: var(--sp-3); }

/* ---------- BIO / ABOUT ---------- */
.bio { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } }
.bio__portrait { aspect-ratio: 4/5; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface-2); position: relative; overflow: hidden; }
.bio__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio__portrait .ph { position: absolute; inset: auto 0 0 0; padding: 1rem 1.2rem; font-family: var(--font-mono); font-size: .8rem; color: var(--text-dim); }
.bio__creds { display: flex; flex-wrap: wrap; gap: .6rem; margin: var(--sp-5) 0; }
.quote { margin-top: var(--sp-5); padding-left: var(--sp-5); border-left: 2px solid var(--blue);
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--text); font-weight: 500; }

/* ---------- CTA — clean light panel ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(2.5rem,5vw,4.5rem);
  background: var(--bg-2); border: 1px solid var(--border); text-align: left; }
.cta-band h2 { font-size: var(--fs-h1); }
.cta-band p { margin: var(--sp-4) 0 0; max-width: 54ch; color: var(--text-muted); font-size: var(--fs-lead); }
.cta-band .hero__cta { justify-content: flex-start; margin-top: var(--sp-6); }
.cta-meta { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-4); color: var(--text-dim); font-size: var(--fs-sm); }

/* ==========================================================================
   PAGE-LEVEL SECTIONS (sub-pages)
   ========================================================================== */
.page-hero { position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero .container { position: relative; max-width: 820px; }
.page-hero h1 { font-size: var(--fs-display); line-height: var(--lh-tight); margin-top: var(--sp-4); letter-spacing: -.035em; }
.page-hero .lead { margin-top: var(--sp-5); max-width: 56ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; margin-top: var(--sp-6); }
.hero__glow { display: none; }   /* removed */
.hero__canvas { display: none; } /* removed */

/* ---------- PROCESS TIMELINE ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
@media (max-width: 880px){ .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.step__no { font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--text-dim); }
.step h3 { font-size: 1.1rem; margin-top: var(--sp-3); }
.step p { margin-top: var(--sp-2); color: var(--text-muted); font-size: .95rem; }

/* ---------- PRICING ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); align-items: stretch; }
@media (max-width: 920px){ .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.price-card__price { margin: var(--sp-3) 0; display: flex; align-items: baseline; gap: .4rem; }
.price-card__price .amount { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; color: var(--text); letter-spacing: -.03em; }
.price-card__price .from { font-size: .8rem; color: var(--text-dim); }
.price-card__desc { color: var(--text-muted); font-size: .95rem; }
.price-card__list { list-style: none; padding: 0; margin: var(--sp-5) 0; display: grid; gap: .7rem; }
.price-card__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--text-muted); }
.price-card__list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat; }
.price-card .btn { margin-top: auto; }
.price-card--featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: .3rem .9rem; border-radius: var(--r-full); background: var(--blue); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.price-note { margin-top: var(--sp-5); text-align: center; color: var(--text-dim); font-size: var(--fs-sm); }

/* baustein chips grid */
.bausteine { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-4); }
@media (max-width: 880px){ .bausteine { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .bausteine { grid-template-columns: 1fr; } }
.baustein { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); }
.baustein b { display: block; font-size: .95rem; } .baustein small { color: var(--text-dim); }
.baustein .price { font-family: var(--font-display); font-weight: 600; color: var(--text); white-space: nowrap; }

/* ---------- CONFIGURATOR ---------- */
.configurator { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 940px){ .configurator { grid-template-columns: 1fr; } }
.conf-group { margin-bottom: var(--sp-6); }
.conf-group h3 { font-size: 1.05rem; margin-bottom: var(--sp-4); }
.conf-options { display: grid; gap: var(--sp-3); }
.conf-options--cols { grid-template-columns: repeat(2,1fr); }
@media (max-width: 560px){ .conf-options--cols { grid-template-columns: 1fr; } }
.conf-option { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border); cursor: pointer; transition: border-color var(--t), background var(--t); }
.conf-option:hover { border-color: var(--border-2); }
.conf-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.conf-option input { accent-color: var(--blue); width: 20px; height: 20px; flex: none; }
.conf-option .co-label { flex: 1; } .conf-option .co-label b { display: block; } .conf-option .co-label small { color: var(--text-dim); font-size: .85rem; }
.conf-option .co-price { font-family: var(--font-display); font-weight: 600; color: var(--text); white-space: nowrap; }
.conf-summary { position: sticky; top: calc(var(--header-h) + 1rem); padding: var(--sp-6); }
.conf-summary h3 { font-size: 1.1rem; }
.conf-sum-list { margin: var(--sp-4) 0; display: grid; gap: .5rem; min-height: 2rem; }
.conf-sum-list .row { display: flex; justify-content: space-between; gap: var(--sp-3); font-size: .92rem; color: var(--text-muted); }
.conf-sum-list .row span:last-child { color: var(--text); white-space: nowrap; }
.conf-empty { color: var(--text-dim); font-size: .9rem; }
.conf-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--sp-4); border-top: 1px solid var(--border); margin-top: var(--sp-4); }
.conf-total .lbl { color: var(--text-muted); } .conf-total .val { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--text); letter-spacing: -.03em; }
.conf-total .val small { font-size: .8rem; color: var(--text-dim); font-weight: 500; }
.conf-note { margin-top: var(--sp-3); font-size: .82rem; color: var(--text-dim); }

/* ---------- COMPARE (wissen) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 700px){ .compare { grid-template-columns: 1fr; } }
.compare__col h3 { font-size: 1.2rem; }
.compare__col .sub { color: var(--text-dim); font-size: .9rem; margin-bottom: var(--sp-4); }
.compare__list { list-style: none; padding: 0; display: grid; gap: .8rem; }
.compare__list li { display: flex; gap: .6rem; color: var(--text-muted); font-size: .95rem; }
.compare__list li::before { content: "—"; color: var(--text-dim); }

.explainer p { color: var(--text-muted); font-size: var(--fs-lead); }
.explainer p + p { margin-top: var(--sp-4); }
.explainer .highlight { color: var(--text); border-left: 2px solid var(--blue); padding-left: var(--sp-4); }

.badge-row { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-7); }
.badge-stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--text); letter-spacing: -.03em; }
.badge-stat small { color: var(--text-dim); }

/* ---------- REGION (über uns) ---------- */
.region-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--sp-5); }

/* ---------- FAQ ---------- */
.faq-tools { max-width: 640px; margin: 0 auto clamp(2rem,4vw,3rem); }
.faq-search { position: relative; }
.faq-search input { padding-left: 2.8rem; }
.faq-search .ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-dim); }
.faq-cats { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: var(--sp-4); }
.faq-cat { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); font-size: var(--fs-sm); cursor: pointer; transition: all var(--t); }
.faq-cat[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: transparent; }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: var(--sp-3); }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.faq-item[hidden] { display: none; }
.faq-item summary { list-style: none; cursor: pointer; padding: var(--sp-5); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; transition: transform var(--t), background var(--t), color var(--t); color: var(--text-muted); }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: transparent; }
.faq-item .faq-a { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }
.faq-item .faq-a p + p { margin-top: var(--sp-3); }
.faq-noresult { text-align: center; color: var(--text-dim); padding: var(--sp-6); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem,3vw,3rem); align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: var(--sp-4); }
.contact-row { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4); border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); }
.contact-row .ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--blue); }
.contact-row .ico svg { width: 22px; height: 22px; }
.contact-row b { display: block; } .contact-row a, .contact-row span { color: var(--text-muted); }
.contact-row a:hover { color: var(--blue-link); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-dim); }
.form-consent input { margin-top: .2rem; accent-color: var(--blue); }
.form-status { padding: var(--sp-4); border-radius: var(--r-sm); margin-top: var(--sp-4); font-size: .95rem; }
.form-status[data-state="ok"] { background: rgba(52,199,89,.1); border: 1px solid rgba(52,199,89,.35); color: #1a7f37; }
.form-status[data-state="err"] { background: rgba(255,59,48,.08); border: 1px solid rgba(255,59,48,.3); color: #c0271d; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- PROSE (legal pages) ---------- */
.prose { max-width: 720px; margin-inline: auto; color: var(--text-muted); }
.prose h2 { font-size: 1.5rem; margin-top: var(--sp-7); margin-bottom: var(--sp-3); color: var(--text); }
.prose h3 { font-size: 1.15rem; margin-top: var(--sp-5); margin-bottom: var(--sp-2); color: var(--text); }
.prose p { margin-bottom: var(--sp-4); line-height: var(--lh-body); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4) 1.2rem; display: grid; gap: .4rem; }
.prose a { color: var(--blue-link); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose hr { border: 0; height: 1px; background: var(--border); margin: var(--sp-6) 0; }
