/* ML Vision — NFC-Bewertungsplatte, Verkaufsseite.
   Bildsprache der Landingpage system.vision-ml.de: heller Grund, Manrope,
   Akzent Cyan, versetzte Schatten statt Verläufen.
   Bewusst eigenständig: die Seite laeuft ohne den Asset-Ordner der Hauptseite. */

/* ─────────────────────────────  GRUNDLAGEN  ───────────────────────────── */

:root {
    --ink: #1d1d1f;
    --muted: #55555a;          /* dunkler als auf der Landingpage: 4.5:1 auf Papier */
    --paper: #f5f5f7;
    --white: #ffffff;
    --akzent: #04a9d4;
    --akzent-dunkel: #0378a0;  /* fuer Text auf Hell — #04a9d4 selbst schafft 4.5:1 nicht */
    --akzent-hauch: #e6f7fb;
    --linie: rgba(12, 20, 33, 0.12);
    --radius: 8px;
    --inhalt: 1200px;
    --rand: clamp(18px, 5vw, 72px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 0%, rgba(4, 169, 212, 0.10), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, var(--paper) 46%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(34px, 4.4vw, 58px);
    font-weight: 800;
}

h1 em {
    font-style: normal;
    color: var(--akzent-dunkel);
}

h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
}

h3 {
    font-size: 19px;
    font-weight: 700;
}

p {
    margin: 0;
}

a {
    color: var(--akzent-dunkel);
}

/* Fokus bleibt sichtbar — nie wegnehmen. */
:focus-visible {
    outline: 3px solid var(--akzent-dunkel);
    outline-offset: 3px;
    border-radius: 4px;
}

.sprung {
    position: absolute;
    left: -9999px;
}

.sprung:focus {
    left: var(--rand);
    top: 12px;
    z-index: 50;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
}

/* ─────────────────────────────  KOPFZEILE  ────────────────────────────── */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px var(--rand);
    border-bottom: 1px solid var(--linie);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.marke {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.marke img {
    width: 34px;
    height: 36px;
}

/* ──────────────────────────────  KNÖPFE  ──────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 6px 6px 0 var(--akzent);
    transition: transform 160ms ease, box-shadow 160ms ease;
    cursor: pointer;
}

.btn:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--akzent);
}

.btn:active {
    transform: translate(5px, 5px);
    box-shadow: 1px 1px 0 var(--akzent);
}

.btn.sekundaer {
    background: var(--white);
    color: var(--ink);
    box-shadow: none;
}

.btn.sekundaer:hover {
    transform: none;
    background: var(--paper);
}

.btn-klein {
    min-height: 40px;
    padding: 0 16px;
    font-size: 15px;
    box-shadow: 4px 4px 0 var(--akzent);
}

.btn.gross {
    min-height: 56px;
    width: 100%;
    font-size: 18px;
}

.btn[disabled] {
    opacity: 0.55;
    cursor: progress;
    transform: none;
    box-shadow: 3px 3px 0 var(--akzent);
}

/* ────────────────────────────────  HERO  ──────────────────────────────── */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    max-width: var(--inhalt);
    margin: 0 auto;
    padding: clamp(44px, 7vw, 92px) var(--rand);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid var(--linie);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--akzent-dunkel);
    font-size: 13px;
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--akzent);
    box-shadow: 0 0 0 5px rgba(4, 169, 212, 0.16);
}

.lead {
    max-width: 46ch;
    margin-top: 20px;
    color: var(--muted);
    font-size: 18px;
}

.preis-zeile {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.preis {
    font-size: 40px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.preis-zusatz {
    color: var(--muted);
    font-size: 15px;
}

.preis-klein {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.knopf-reihe {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.haken {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 15px;
}

.haken li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.haken svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--akzent-dunkel);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-bild {
    margin: 0;
}

.hero-bild img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(12, 20, 33, 0.18);
}

.hero-bild figcaption,
.designs figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* ─────────────────────────────  ABSCHNITTE  ───────────────────────────── */

.abschnitt {
    padding: clamp(56px, 8vw, 104px) var(--rand);
}

.abschnitt.hell {
    background: var(--white);
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
}

.kopf {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(20px, 4vw, 56px);
    align-items: end;
    max-width: var(--inhalt);
    margin: 0 auto clamp(32px, 4vw, 52px);
}

.kopf > p {
    color: var(--muted);
    font-size: 17px;
}

.kicker {
    margin-bottom: 12px;
    color: var(--akzent-dunkel);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ─────────────────────────────  DIE SCHRITTE  ─────────────────────────── */

.schritte {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: var(--inhalt);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    counter-reset: schritt;
}

.schritte li {
    padding: 28px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--white);
}

.nummer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--akzent-hauch);
    color: var(--akzent-dunkel);
    font-weight: 800;
}

.schritte h3 {
    margin-bottom: 8px;
}

.schritte p {
    color: var(--muted);
    font-size: 16px;
}

/* ──────────────────────────────  VERGLEICH  ───────────────────────────── */

.vergleich {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: var(--inhalt);
    margin: 0 auto;
}

.karte {
    padding: 28px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--paper);
}

.karte.gut {
    border-color: rgba(4, 169, 212, 0.4);
    background: var(--akzent-hauch);
}

.karte-kopf {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.karte-kopf svg {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.karte.schlecht svg {
    stroke: var(--muted);
}

.karte.gut svg {
    stroke: var(--akzent-dunkel);
}

.karte p {
    color: var(--muted);
    font-size: 16px;
}

.karte.gut p {
    color: #2b4750;
}

.beispiel {
    max-width: 68ch;
    margin: 28px auto 0;
    padding: 20px 24px;
    border-left: 4px solid var(--akzent);
    background: var(--white);
    color: var(--muted);
    font-size: 16px;
}

.beispiel strong {
    color: var(--ink);
}

/* ───────────────────────────────  DESIGNS  ────────────────────────────── */

.designs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: var(--inhalt);
    margin: 0 auto;
}

.designs figure {
    margin: 0;
}

.designs img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--linie);
}

.daten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1px;
    max-width: var(--inhalt);
    margin: clamp(32px, 4vw, 48px) auto 0;
    padding: 1px;
    border-radius: var(--radius);
    background: var(--linie);
    overflow: hidden;
}

.daten > div {
    padding: 18px 20px;
    background: var(--white);
}

.daten dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.daten dd {
    margin: 4px 0 0;
    font-weight: 700;
}

/* ──────────────────────────────  FORMULAR  ────────────────────────────── */

.formular {
    display: grid;
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--paper);
}

.feld-paar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    /* Ohne dies zieht ein Feld sich auf die Hoehe des Nachbarn, sobald der
       einen Hinweistext hat — die Eingabefelder stehen dann unterschiedlich hoch. */
    align-items: start;
}

.feld {
    display: grid;
    align-content: start;
    gap: 7px;
}

.feld label {
    font-size: 15px;
    font-weight: 700;
}

.pflicht {
    color: var(--akzent-dunkel);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 16px;      /* nie kleiner — iOS zoomt sonst beim Antippen hinein */
}

textarea {
    min-height: 96px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--akzent-dunkel);
}

.hinweis {
    color: var(--muted);
    font-size: 14px;
}

.fehler {
    color: #b3261e;
    font-size: 14px;
    font-weight: 600;
}

.fehler:empty {
    display: none;
}

[aria-invalid="true"] {
    border-color: #b3261e;
}

.zustimmung label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
}

.zustimmung input {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: var(--akzent-dunkel);
}

.honigtopf {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.klein {
    color: var(--muted);
    font-size: 14px;
}

.meldung {
    padding: 16px 18px;
    border-radius: var(--radius);
    font-weight: 600;
}

.meldung.gut {
    border: 1px solid rgba(4, 169, 212, 0.4);
    background: var(--akzent-hauch);
    color: #1c4b58;
}

.meldung.schlecht {
    border: 1px solid rgba(179, 38, 30, 0.35);
    background: #fdeceb;
    color: #8c1d18;
}

/* ── Bestaetigung nach dem Absenden ── */

.danke {
    width: min(480px, calc(100vw - 32px));
    padding: 32px 28px 28px;
    border: 0;
    border-radius: 16px;
    background: var(--white);
    color: var(--ink);
    text-align: center;
    box-shadow: 0 24px 60px rgba(12, 20, 33, 0.25);
}

.danke::backdrop {
    background: rgba(12, 20, 33, 0.55);
}

.danke[open] {
    animation: danke-auf 220ms ease-out;
}

.danke-symbol {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    color: var(--akzent);
}

.danke h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.danke p {
    margin: 0 0 12px;
    line-height: 1.6;
}

.danke strong {
    overflow-wrap: anywhere;
}

.danke-hinweis {
    color: var(--muted);
    font-size: 14px;
}

.danke form {
    margin-top: 20px;
}

.danke .btn {
    width: 100%;
    justify-content: center;
}

@keyframes danke-auf {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .danke[open] { animation: none; }
}

/* ─────────────────────────────  DEMNÄCHST  ────────────────────────────── */

.bald {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: var(--inhalt);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.bald li {
    padding: 26px;
    border: 1px dashed var(--linie);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.55);
}

.bald svg {
    width: 28px;
    height: 28px;
    margin-bottom: 14px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bald h3 {
    margin-bottom: 6px;
    color: var(--muted);
}

.bald p {
    color: var(--muted);
    font-size: 15px;
}

/* ──────────────────────────────  FUSSZEILE  ───────────────────────────── */

.fuss {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 30px var(--rand);
    border-top: 1px solid var(--linie);
    color: var(--muted);
    font-size: 14px;
}

.fuss nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ─────────────────────────────  SCHMALE GERÄTE  ───────────────────────── */

@media (max-width: 900px) {
    .hero,
    .kopf {
        grid-template-columns: 1fr;
    }

    .kopf {
        align-items: start;
    }

    .hero-bild {
        order: -1;
    }

    .schritte,
    .vergleich,
    .designs,
    .bald,
    .feld-paar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .knopf-reihe .btn {
        width: 100%;
    }
}

/* Wer weniger Bewegung eingestellt hat, bekommt weniger Bewegung. */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .btn:hover,
    .btn:active {
        transform: none;
    }
}
