/* ==================================================================
 * Startseite. Baut auf css/site.css (Tokens, Buttons, Nav, Footer) auf.
 * Alle Klassen tragen das Präfix h-, damit main.css nicht hineinwirkt.
 * ================================================================== */

.home main p,
.home main li {
  font-size: inherit;
  line-height: inherit;
}

.h-container {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.h-kicker {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-2);
  margin-bottom: 0.75rem;
}
.h-title {
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
}
.h-text {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-2);
}
.h-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}
.h-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.h-section {
  padding: 6.5rem 0;
}
.h-section-tint {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.h-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--navy-text);
  padding: 5.5rem 0 3.5rem;
}
.h-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160, 190, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 190, 235, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}
.h-hero-glow {
  position: absolute;
  top: -18rem;
  right: -10rem;
  width: 56rem;
  height: 40rem;
  background: radial-gradient(closest-side, rgba(66, 165, 245, 0.32), transparent);
  filter: blur(10px);
  pointer-events: none;
}
.h-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(160, 190, 235, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--navy-text-2);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.h-eyebrow:hover {
  border-color: rgba(66, 165, 245, 0.5);
  color: #fff;
}
.h-eyebrow-tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(66, 165, 245, 0.18);
  color: #8fcaff;
  font-size: 0.75rem;
  font-weight: 600;
}
.h-hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.375rem, 3.9vw, 3.5rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.h-grad {
  background: linear-gradient(90deg, #42a5f5 0%, #8fcaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--navy-text-2);
}
.h-cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.h-trust {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--navy-muted);
}
.h-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.h-trust i {
  color: #34c46a;
}
.h-hero-visual {
  display: flex;
  justify-content: flex-end;
}
.h-hero-visual .app-preview {
  width: 100%;
  max-width: 41rem;
}

.h-integrations {
  position: relative;
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
  text-align: center;
}
.h-integrations p {
  font-size: 0.875rem;
  color: var(--navy-muted);
}
.h-integrations ul {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}
.h-integrations li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 10px;
  border: 1px solid var(--navy-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy-text-2);
}
.h-integrations li i {
  color: var(--accent);
}

/* ---------- §25a-Vergleich ---------- */
.h-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.h-split-copy .h-text a,
.h-faq-head .h-text a {
  color: var(--brand-2);
}
.h-compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 1.75rem;
}
.h-compare-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.h-chip {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.8125rem;
  color: var(--muted);
}
.h-bar-row + .h-bar-row {
  margin-top: 1.25rem;
}
.h-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--text-2);
  margin-bottom: 0.5rem;
}
.h-bar-label b {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
}
.h-bar {
  height: 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.h-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.h-bar .is-bad {
  background: linear-gradient(90deg, #f08a8a, var(--bad));
}
.h-bar .is-brand {
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
}
.h-compare-result {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 1.125rem;
  border-radius: 12px;
  background: var(--good-soft);
  color: var(--good);
}
.h-compare-result i {
  font-size: 1.25rem;
  margin-top: 0.1rem;
}
.h-compare-result b {
  display: block;
  font-size: 1.125rem;
  font-weight: 650;
}
.h-compare-result span {
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* ---------- Funktionen ---------- */
.h-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.h-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.h-feature:hover {
  border-color: rgba(0, 80, 157, 0.25);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}
.h-feature > i {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: 1.2rem;
}
.h-feature h3 {
  margin-top: 1.125rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.h-feature p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-2);
}
.h-new {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--good-soft);
  color: var(--good);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Ablauf ---------- */
.h-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: none;
}
.h-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.h-step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.h-step h3 {
  margin-top: 1.125rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.h-step p {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-2);
}
.h-step a {
  color: var(--brand-2);
}

/* ---------- Für wen ---------- */
.h-audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.h-aud {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.h-aud:hover {
  border-color: rgba(0, 80, 157, 0.3);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}
.h-aud > i {
  font-size: 1.5rem;
  color: var(--brand-2);
}
.h-aud h3 {
  margin-top: 1rem;
  font-size: 1.1875rem;
  font-weight: 600;
}
.h-aud p {
  margin-top: 0.625rem;
  font-size: 0.9875rem;
  line-height: 1.6;
  color: var(--text-2);
  flex: 1;
}
.h-link {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.h-aud:hover .h-link i {
  transform: translateX(3px);
}
.h-link i {
  transition: transform 0.2s ease;
}

/* ---------- Umstieg ---------- */
.h-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.h-switch-copy .btn {
  margin-top: 2rem;
}
.h-switch-list {
  display: grid;
  gap: 0.75rem;
}
.h-switch-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.h-switch-list i {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: 1.05rem;
}
.h-switch-list b {
  display: block;
  font-weight: 600;
  color: var(--text);
}
.h-switch-list span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------- Preise ---------- */
.h-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 22rem));
  justify-content: center;
  gap: 1.25rem;
}
.h-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.h-plan h3 {
  font-size: 1.125rem;
  font-weight: 600;
}
.h-plan-desc {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.h-price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  color: var(--muted);
}
.h-amount {
  font-size: 2.75rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.h-vat {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.h-plan-btn {
  margin: 1.5rem 0;
  width: 100%;
}
.h-plan ul {
  display: grid;
  gap: 0.625rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.h-plan li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9875rem;
  color: var(--text-2);
}
.h-plan li i {
  color: var(--brand-2);
  font-size: 1.1rem;
}
.h-plan-featured {
  background:
    radial-gradient(30rem 14rem at 100% 0%, rgba(66, 165, 245, 0.22), transparent 70%),
    var(--navy);
  border-color: var(--navy-border);
  box-shadow: 0 30px 60px -24px rgba(10, 21, 43, 0.6);
  color: var(--navy-text);
}
.h-plan-featured h3,
.h-plan-featured .h-amount {
  color: #fff;
}
.h-plan-featured .h-plan-desc,
.h-plan-featured .h-price,
.h-plan-featured .h-vat {
  color: var(--navy-muted);
}
.h-plan-featured ul {
  border-top-color: var(--navy-border);
}
.h-plan-featured li {
  color: var(--navy-text-2);
}
.h-plan-featured li i {
  color: var(--accent);
}
.h-plan-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(66, 165, 245, 0.18);
  color: #8fcaff;
  font-size: 0.75rem;
  font-weight: 600;
}
.h-addons {
  max-width: 45.25rem;
  margin: 2.5rem auto 0;
}
.h-addons-title {
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 1rem;
}
.h-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.h-addon {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.h-addon i {
  font-size: 1.15rem;
  color: var(--brand-2);
}
.h-addon b {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}
.h-addon span {
  font-size: 0.875rem;
  color: var(--muted);
}
.h-risk {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.h-risk li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.h-risk i {
  color: var(--brand-2);
}

/* ---------- FAQ ---------- */
.h-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 4rem;
  align-items: start;
}
.h-faq-head {
  position: sticky;
  top: 6rem;
}
.h-faq-list details {
  border-bottom: 1px solid var(--border);
}
.h-faq-list details:first-child {
  border-top: 1px solid var(--border);
}
.h-faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}
.h-faq-list summary::-webkit-details-marker {
  display: none;
}
.h-faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 0.7rem 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 0.7rem no-repeat,
    var(--surface-2);
  transition: transform 0.2s ease;
}
.h-faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.h-faq-list summary:hover {
  color: var(--brand-2);
}
.h-faq-list details > div {
  padding: 0 3rem 1.5rem 0;
}
.h-faq-list details p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
}

/* ---------- Abschluss ---------- */
.h-final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50rem 20rem at 50% 120%, rgba(66, 165, 245, 0.35), transparent 70%),
    var(--navy);
  color: var(--navy-text);
  padding: 6rem 0;
  text-align: center;
}
.h-final h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}
.h-final p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--navy-text-2);
}
.h-final .btn {
  margin-top: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 68rem) {
  .h-hero-grid,
  .h-split,
  .h-switch,
  .h-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
  .h-hero-visual {
    justify-content: center;
  }
  .h-features,
  .h-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .h-faq-head {
    position: static;
  }
}
@media (max-width: 48rem) {
  .h-section {
    padding: 4.5rem 0;
  }
  .h-hero {
    padding-top: 3.5rem;
  }
  .h-audience,
  .h-plans,
  .h-addon-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 36rem) {
  .h-container {
    padding: 0 1rem;
  }
  .h-features,
  .h-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .h-cta-row .btn {
    width: 100%;
  }
  .h-faq-list details > div {
    padding-right: 0;
  }
  .h-integrations li {
    font-size: 0.875rem;
  }
}

/* ---------- Hero-Stichpunkte ---------- */
.h-hero-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}
.h-hero-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  color: var(--navy-text-2);
}
.h-hero-list i {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 999px;
  background: rgba(66, 165, 245, 0.16);
  color: var(--accent);
  font-size: 1rem;
}

/* ---------- §25a-Beweis unter den Funktionen ---------- */
.h-proof {
  margin-top: 4.5rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.h-title-sm {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.h-proof .h-compare {
  box-shadow: none;
  background: var(--bg);
}

/* ---------- Story ---------- */
.h-switch-side {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.h-switch-side .h-switch-list {
  width: 100%;
}
.h-switch-list li {
  align-items: center;
}

/* ---------- Problem / Ergebnis ---------- */
.h-pr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.h-pr-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.h-pr-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text);
}
.h-pr-card h3 i {
  color: var(--bad);
}
.h-pr-card ul {
  margin-top: 1.125rem;
  display: grid;
  gap: 0.75rem;
}
.h-pr-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-2);
}
.h-pr-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--border-strong);
}
.h-quote {
  margin: 2.5rem auto 0;
  max-width: 48rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- Was dein Geschäft braucht ---------- */
.h-benefits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.h-benefit {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.h-benefit:nth-child(4),
.h-benefit:nth-child(5) {
  grid-column: span 3;
}
.h-benefit h3 {
  margin-top: 1.125rem;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-2);
}
.h-benefit h3 .hl {
  color: var(--text);
}
.h-benefit p {
  margin-top: 0.75rem;
  font-size: 0.9875rem;
  line-height: 1.65;
  color: var(--text-2);
}
.h-in {
  margin-top: auto !important;
  padding-top: 1.25rem;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}
.h-in {
  border-top: 1px solid var(--border);
}
.h-benefit p.h-in {
  margin-top: 1.25rem !important;
}
.h-in i {
  color: var(--good);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}
.h-in strong {
  color: var(--text);
}
.h-in a {
  color: var(--brand-2);
}
.h-footnote {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 68rem) {
  .h-proof {
    padding: 1.75rem;
  }
  .h-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .h-benefit,
  .h-benefit:nth-child(4),
  .h-benefit:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 48rem) {
  .h-pr,
  .h-benefits {
    grid-template-columns: minmax(0, 1fr);
  }
}
