/* LohnTicker · lohnticker.de
   Startseite und Funktionsseite (seit 2026-10-21, Startseite schlank seit 2026-10-29).
   Baut auf site.css auf (Farben, Kopf- und Fußzeile, Buttons, FAQ). */

/* ---------- Geräte-Rahmen ----------
   Der Bildschirm sitzt mit Abstand im Rahmen; die Bilder (640 x 1391) haben das Seitenverhältnis des Displays. */
.device { margin: 0; position: relative; flex: 0 0 auto; }
.device .screen { position: relative; overflow: hidden; background: #000; }
.device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.phone {
  --w: 290px;
  width: var(--w); padding: calc(var(--w) * 0.042);
  border-radius: calc(var(--w) * 0.175);
  background: #0d1110;
  box-shadow:
    0 0 0 calc(var(--w) * 0.009) #3b4542,
    0 0 0 calc(var(--w) * 0.014) #1b2220,
    0 50px 90px -40px rgba(4, 60, 44, 0.55),
    0 26px 50px -26px rgba(0, 0, 0, 0.5);
}
.phone .screen { aspect-ratio: 640 / 1391; border-radius: calc(var(--w) * 0.135); }
.phone::before, .phone::after { content: ""; position: absolute; width: calc(var(--w) * 0.012); border-radius: 2px; background: #2b3431; }
.phone::before { right: calc(var(--w) * -0.024); top: 27%; height: 12%; }
.phone::after { left: calc(var(--w) * -0.024); top: 22%; height: 7%; }

.watch {
  --w: 150px;
  width: var(--w); padding: calc(var(--w) * 0.075);
  border-radius: calc(var(--w) * 0.26);
  background: #0d1110;
  box-shadow:
    0 0 0 calc(var(--w) * 0.018) #3b4542,
    0 0 0 calc(var(--w) * 0.028) #1b2220,
    0 30px 60px -28px rgba(0, 0, 0, 0.6);
}
.watch .screen { aspect-ratio: 416 / 496; border-radius: calc(var(--w) * 0.19); }
.watch::after { /* Krone */
  content: ""; position: absolute; right: calc(var(--w) * -0.07); top: 24%;
  width: calc(var(--w) * 0.05); height: 17%; border-radius: 0 4px 4px 0; background: #2f3936;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }

/* ---------- Abschnitte ---------- */
.h-sec { padding: 112px 0; overflow-x: clip; }
.h-soft { background: var(--bg-soft); }
@media (max-width: 760px) { .h-sec { padding: 76px 0; } }
.h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; }

.tag-premium {
  display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--amber); background: var(--amber-bg);
}

.h-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.h-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.45; }
.h-checks .ico {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: var(--ring); color: var(--accent);
}

.h-glow {
  position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--hero-a), transparent);
  filter: blur(10px);
}

/* ---------- Hero ---------- */
.h-hero { position: relative; padding: 64px 0 80px; overflow: hidden; isolation: isolate; }
.h-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(45% 55% at 80% 40%, var(--hero-a), transparent 70%),
    radial-gradient(35% 40% at 5% 0%, var(--ring), transparent 70%);
}
.h-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.h-kicker { font-size: 0.92rem; font-weight: 650; color: var(--accent); margin-bottom: 18px; }
.h-hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.5rem); font-weight: 850; letter-spacing: -0.038em; line-height: 1.02; }
.h-lead { font-size: clamp(1.1rem, 1.7vw, 1.26rem); color: var(--muted); margin-top: 22px; max-width: 520px; }
.h-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.93rem; font-weight: 550; }
.h-trust li { display: inline-flex; align-items: center; gap: 8px; }
.h-trust .ico { width: 18px; height: 18px; color: var(--accent); }
.h-live {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 16px;
  border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted); line-height: 1.4;
}
.h-live b { color: var(--ink); }
.dot-live { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.h-hero-visual { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: center; gap: 28px; padding: 12px 0; }
.h-hero-visual .phone { --w: min(300px, 62vw); }
.h-hero-watch { --w: 128px; margin-bottom: 48px; }
@media (max-width: 960px) {
  .h-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .h-hero { padding-top: 40px; }
}
@media (max-width: 520px) {
  .h-hero-watch { display: none; }
  .h-live { display: flex; }
}

/* ---------- Symbol-Kacheln (Überall, Werte) ---------- */
.h-places .ic, .h-value .ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.h-places .ic .ico, .h-value .ic .ico { width: 21px; height: 21px; }

/* ---------- Funktionen ---------- */
.h-feature { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; max-width: 1000px; margin: 0 auto; }
.h-feature + .h-feature { margin-top: 128px; }
.h-feature.rev .device { order: -1; }
.h-feature-copy { max-width: 480px; }
.h-feature-copy .eyebrow { display: flex; }
.h-feature .phone { --w: 290px; }
@media (max-width: 860px) {
  .h-feature { grid-template-columns: 1fr; gap: 44px; justify-items: center; }
  .h-feature.rev .device { order: 0; }
  .h-feature + .h-feature { margin-top: 96px; }
  .h-feature-copy { max-width: 560px; justify-self: stretch; }
  .h-feature .phone { --w: min(270px, 66vw); }
}

.h-more-head { margin: 128px 0 28px; text-align: center; }
@media (max-width: 860px) { .h-more-head { margin-top: 96px; } }
.h-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .h-more { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.h-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 24px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.h-card-text { padding: 26px 26px 0; flex: 1; }
.h-card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.h-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
/* Oberer Teil eines Telefons, unten vom Kartenrand abgeschnitten */
.h-peek {
  margin: 26px auto 0; width: 76%; height: 250px; overflow: hidden;
  padding: 9px 9px 0; background: #0d1110;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 0 0 3px #3b4542, 0 0 0 5px #1b2220;
  position: relative; top: 5px;
}
.h-peek img { width: 100%; height: auto; border-radius: 32px 32px 0 0; }
@media (max-width: 960px) { .h-peek { width: 62%; height: 270px; } }

/* ---------- Überall dabei ---------- */
.h-anywhere { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.h-anywhere-visual { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 360px; }
.watch.big { --w: 250px; }
.h-places { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.h-places li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.94rem; color: var(--muted); line-height: 1.45; }
.h-places b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
@media (max-width: 860px) {
  .h-anywhere { grid-template-columns: 1fr; gap: 40px; }
  .h-anywhere-visual { min-height: 0; }
  .watch.big { --w: 200px; }
}
@media (max-width: 560px) { .h-places { grid-template-columns: 1fr; } }

/* ---------- Ehrlich und privat ---------- */
.h-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.h-value { padding: 26px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.h-value .ic { margin-bottom: 18px; }
.h-value h3 { font-size: 1.06rem; margin-bottom: 8px; }
.h-value p { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 1000px) { .h-values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h-values { grid-template-columns: 1fr; } }

/* ---------- Gratis und Premium ---------- */
.h-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 960px; margin: 0 auto; }
@media (max-width: 800px) { .h-plans { grid-template-columns: 1fr; } }
.h-plan { padding: 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.h-plan.pro {
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
  border: 2px solid transparent;
}
.h-plan-tag {
  display: inline-block; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ring); color: var(--accent);
}
.h-plan.pro .h-plan-tag { background: var(--grad); color: #fff; }
.h-plan h3 { font-size: 1.4rem; font-weight: 800; }
.h-plan-sub { color: var(--muted); font-size: 0.94rem; margin-top: 6px; }
.h-plan .h-checks { margin-top: 22px; }
.h-plan .h-checks li { font-size: 0.97rem; }

.h-all { max-width: 960px; margin: 22px auto 0; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.h-all summary {
  list-style: none; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 16px 20px; font-weight: 650; color: var(--accent);
}
.h-all summary::-webkit-details-marker { display: none; }
.h-all summary .ico { width: 18px; height: 18px; transition: transform .2s ease; transform: rotate(90deg); }
.h-all[open] summary .ico { transform: rotate(-90deg); }
.h-cmp-wrap { padding: 0 20px 4px; }
.h-cmp { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.h-cmp thead th {
  padding: 10px 6px 12px; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink); text-align: center; border-bottom: 1px solid var(--line);
}
.h-cmp thead th:last-child { color: var(--accent); }
.h-cmp th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); padding: 11px 12px 11px 8px; line-height: 1.4; }
.h-cmp td { width: 104px; text-align: center; padding: 8px 6px; }
.h-cmp tbody tr:not(.grp) { border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.h-cmp .grp th {
  text-align: left; padding: 22px 8px 8px; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.h-cmp .ico { width: 24px; height: 24px; padding: 5px; border-radius: 50%; display: inline-block; vertical-align: middle; }
.h-cmp .yes { background: var(--grad); color: #fff; }
.h-cmp .no { color: var(--muted); background: color-mix(in srgb, var(--muted) 14%, transparent); }
@media (max-width: 560px) {
  .h-cmp-wrap { padding: 0 8px 4px; }
  .h-cmp { font-size: 0.88rem; }
  .h-cmp td { width: 64px; }
  .h-cmp thead th { font-size: 0.7rem; letter-spacing: 0.04em; }
}
.h-all-note { padding: 18px 28px 24px; color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--line); margin-top: 12px; }

/* ---------- Abschluss ---------- */
.h-final {
  text-align: center; padding: 56px 24px; border-radius: 32px;
  background:
    radial-gradient(60% 90% at 50% 0%, var(--hero-a), transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--line);
}
.h-final .lead { margin-left: auto; margin-right: auto; }
.h-final .cta-row { justify-content: center; }

/* ---------- Schlanke Startseite (seit 2026-10-29) ----------
   Ruhige Übersicht ohne Etiketten, Kartenraster und Vergleichstabelle; die Einzelheiten stehen auf /funktionen/. */
.h-lean { padding: 88px 0; }
@media (max-width: 760px) { .h-lean { padding: 64px 0; } }
.h-lean-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 24px; margin-bottom: 36px; flex-wrap: wrap; }
.h-lean-head .lead { margin-top: 10px; }
.h-more-link { font-weight: 650; white-space: nowrap; }

.h-tour-nav { display: flex; gap: 8px; }
.h-tour-nav .ico.flip { transform: rotate(180deg); }
.h-tour-nav .icon-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
/* Rundgang in der Inhaltsbreite: immer ganze Telefone, kein Anschnitt am Rand.
   Der Innenabstand von 10px gibt Rahmen und Seitentasten der Telefone Platz. */
.h-tour {
  --n: 4; --gap: 32px;
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -10px; padding: 14px 10px 6px; scroll-padding-inline: 10px;
}
.h-tour::-webkit-scrollbar { display: none; }
.h-tour-item { flex: 0 0 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); scroll-snap-align: start; container-type: inline-size; }
.h-tour-item figure { margin: 0; width: min(250px, 100cqi); }
.h-tour-item .phone { --w: min(250px, 100cqi); }
.h-tour-item figcaption { margin-top: 22px; }
.h-tour-item figcaption b { display: block; font-size: 1.02rem; color: var(--ink); }
.h-tour-item figcaption span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; text-wrap: pretty; }
@media (max-width: 1000px) { .h-tour { --n: 3; } }
@media (max-width: 760px) { .h-tour { --n: 2; --gap: 24px; } }
@media (max-width: 520px) { .h-tour { --n: 1; } .h-tour-item figure { margin: 0 auto; } }

.h-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
@media (max-width: 860px) { .h-overview { grid-template-columns: 1fr 1fr; gap: 0 32px; } }
@media (max-width: 560px) { .h-overview { grid-template-columns: 1fr; } }
.h-overview > div { border-top: 1px solid var(--line); padding: 22px 0 30px; }
.h-overview h3 { font-size: 1.08rem; margin-bottom: 6px; }
.h-overview p { color: var(--muted); line-height: 1.5; text-wrap: pretty; }

.h-price-lean { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 700px) { .h-price-lean { grid-template-columns: 1fr; gap: 28px; } }
.h-price-lean > div { border-top: 1px solid var(--line); padding-top: 22px; }
.h-price-lean .k { font-size: 0.85rem; font-weight: 650; color: var(--accent); margin-bottom: 4px; }
.h-price-lean h3 { font-size: 1.25rem; margin-bottom: 8px; }
.h-price-lean p { color: var(--muted); line-height: 1.55; text-wrap: pretty; }
.h-price-note { margin-top: 28px; color: var(--muted); font-size: 0.92rem; }

.h-final.lean { padding: 0; border: 0; border-radius: 0; background: none; }
.h-final.lean .app-icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 20px; box-shadow: none; }
.h-final.lean .lead { text-wrap: balance; }
