:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-soft: #f0f4ff;
    --text: #172033;
    --muted: #657086;
    --primary: #3157d5;
    --primary-dark: #2444ae;
    --border: #e2e7f0;
    --success: #16835b;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(23, 32, 51, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: -.02em;
}

.brand span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 0;
}

.button:hover {
    background: var(--primary-dark);
}

.button-secondary {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}

.hero {
    padding: 90px 0 75px;
    background:
        radial-gradient(circle at 85% 20%, rgba(49,87,213,.12), transparent 32%),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

h1 {
    margin: 0 0 24px;
    max-width: 850px;
    font-size: clamp(42px, 5.4vw, 68px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.hero-copy {
    max-width: 720px;
    margin: 0 0 30px;
    font-size: 20px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.price-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
}

.price {
    margin: 8px 0 0;
    font-size: 54px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.05em;
}

.price small {
    font-size: 17px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0;
}

.trial {
    margin: 22px 0;
    padding: 15px 17px;
    border-radius: 12px;
    background: #eaf8f2;
    color: var(--success);
    font-weight: 800;
}

.price-card .button {
    width: 100%;
}

.price-meta {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.price-meta li {
    padding: 5px 0;
}

.price-meta li::before {
    content: "✓";
    color: var(--success);
    font-weight: 900;
    margin-right: 8px;
}

.section {
    padding: 85px 0;
}

.section-white {
    background: #fff;
}

.section-head {
    max-width: 760px;
    margin-bottom: 45px;
}

.section h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.section-lead {
    color: var(--muted);
    font-size: 18px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.card-number {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--primary);
    font-weight: 900;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 35px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 18px 18px 18px 52px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 19px;
    top: 18px;
    color: var(--success);
    font-weight: 900;
}

.price-section {
    text-align: center;
}

.price-section .price-card {
    max-width: 520px;
    margin: 35px auto 0;
    text-align: left;
}

.faq {
    max-width: 850px;
}

.faq details {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.faq summary {
    cursor: pointer;
    font-weight: 750;
    font-size: 18px;
}

.faq p {
    color: var(--muted);
}

.site-footer {
    padding: 55px 0;
    background: #172033;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
}

.footer-company {
    color: #b8c0d0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 850px) {
    .hero-grid,
    .cards,
    .feature-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 60px;
    }

    .nav a:not(.button) {
        display: none;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .hero {
        padding: 45px 0 55px;
    }

    h1 {
        font-size: 42px;
    }

    .price-card {
        padding: 25px;
    }

    .price {
        font-size: 46px;
    }
}

/* Warranty Live-Demo */

.hero-side {
    display: grid;
    gap: 18px;
}

.warranty-demo {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.warranty-demo-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--muted);
}

.warranty-demo-head strong {
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--primary);
    font-size: 12px;
}

.warranty-labels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 115px;
    padding: 18px;
    background: #f8f9fc;
    border-radius: 14px;
}

.warranty-labels img {
    display: block;
    max-width: calc(50% - 9px);
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 17px;
    flex-wrap: wrap;
}

.language-switcher button {
    min-width: 38px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.warranty-demo-note {
    margin: 13px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 520px) {
    .warranty-labels {
        gap: 10px;
        padding: 12px;
    }

    .warranty-demo {
        padding: 18px;
    }
}

/* Warranty-Labels untereinander und größer */
.warranty-labels {
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 22px 20px;
}

.warranty-labels img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: none;
    object-fit: contain;
}

/* Gewährleistungslabel */
.warranty-labels img[data-warranty-language-image] {
    width: min(100%, 285px);
}

/* Garantielabel */
.warranty-labels img:not([data-warranty-language-image]) {
    width: min(100%, 285px);
}

@media (max-width: 520px) {
    .warranty-labels {
        gap: 14px;
        padding: 18px 14px;
    }

    .warranty-labels img[data-warranty-language-image],
    .warranty-labels img:not([data-warranty-language-image]) {
        width: min(100%, 260px);
    }
}

/* Rechtliche Seiten */

.legal-content {
    max-width: 900px;
}

.legal-content > h1 {
    margin-bottom: 50px;
}

.legal-content h2 {
    margin: 42px 0 12px;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.legal-content p {
    max-width: 820px;
    color: var(--muted);
}

.legal-content a {
    color: var(--primary);
}

/* App-Logo im Header */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand span {
    color: var(--text);
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand span {
        font-size: 17px;
    }
}

/* =========================================================
   AUTH / REGISTRIERUNG
   ========================================================= */

.auth-container {
    max-width: 980px;
    margin: 0 auto;
}

.auth-container-small {
    max-width: 620px;
}

.auth-container .section-head {
    margin-bottom: 42px;
}

.auth-form {
    background: #fff;
    border: 1px solid #e1e5ef;
    border-radius: 24px;
    padding: 38px 42px 42px;
    box-shadow: 0 12px 35px rgba(20, 32, 58, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 15px;
    font-weight: 700;
    color: #172033;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    padding: 12px 15px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    color: #172033;
    font: inherit;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.form-field input:hover,
.form-field select:hover {
    border-color: #b8c2d5;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #3159d9;
    box-shadow: 0 0 0 3px rgba(49, 89, 217, 0.12);
}

.form-field small {
    color: #69758c;
    font-size: 13px;
    line-height: 1.45;
}

.form-note {
    margin: 28px 0 24px;
    color: #69758c;
    font-size: 14px;
    line-height: 1.6;
}

.form-note a,
.auth-switch a {
    color: #3159d9;
    font-weight: 700;
}

.auth-form > .button {
    margin-top: 4px;
}

.form-errors {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #fff1f1;
    border: 1px solid #f0cccc;
    color: #9d2c2c;
}

.form-errors ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.form-errors p {
    margin: 0;
}

.auth-switch {
    margin: 24px 0 0;
    text-align: center;
    color: #69758c;
    font-size: 15px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .auth-container {
        max-width: none;
    }

    .auth-form {
        padding: 26px 22px 30px;
        border-radius: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-field-full {
        grid-column: auto;
    }

    .auth-container .section-head {
        margin-bottom: 28px;
    }

}


/* =========================================================
   AUTH / REGISTRIERUNG
   ========================================================= */

.auth-container {
    max-width: 980px;
    margin: 0 auto;
}

.auth-container-small {
    max-width: 620px;
}

.auth-container .section-head {
    margin-bottom: 42px;
}

.auth-form {
    background: #fff;
    border: 1px solid #e1e5ef;
    border-radius: 24px;
    padding: 38px 42px 42px;
    box-shadow: 0 12px 35px rgba(20, 32, 58, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 15px;
    font-weight: 700;
    color: #172033;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    padding: 12px 15px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    color: #172033;
    font: inherit;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.form-field input:hover,
.form-field select:hover {
    border-color: #b8c2d5;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #3159d9;
    box-shadow: 0 0 0 3px rgba(49, 89, 217, 0.12);
}

.form-field small {
    color: #69758c;
    font-size: 13px;
    line-height: 1.45;
}

.form-note {
    margin: 28px 0 24px;
    color: #69758c;
    font-size: 14px;
    line-height: 1.6;
}

.form-note a,
.auth-switch a {
    color: #3159d9;
    font-weight: 700;
}

.auth-form > .button {
    margin-top: 4px;
}

.form-errors {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #fff1f1;
    border: 1px solid #f0cccc;
    color: #9d2c2c;
}

.form-errors ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.form-errors p {
    margin: 0;
}

.auth-switch {
    margin: 24px 0 0;
    text-align: center;
    color: #69758c;
    font-size: 15px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .auth-container {
        max-width: none;
    }

    .auth-form {
        padding: 26px 22px 30px;
        border-radius: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-field-full {
        grid-column: auto;
    }

    .auth-container .section-head {
        margin-bottom: 28px;
    }

}


/* =========================================================
   LOGIN – kompakte Darstellung
   ========================================================= */

.auth-container-small {
    max-width: 540px;
}

.auth-container-small .section-head {
    margin-bottom: 30px;
}

.auth-container-small .section-head h1 {
    font-size: clamp(42px, 5vw, 58px);
    line-height: 1;
    margin-bottom: 18px;
}

.auth-container-small .section-lead {
    font-size: 17px;
    line-height: 1.55;
}

.auth-container-small .auth-form {
    padding: 30px 34px 34px;
}

.auth-container-small .auth-form .form-field + .form-field {
    margin-top: 18px;
}

.auth-container-small .auth-form > .button {
    margin-top: 22px;
}

/* =========================================================
   RESPONSIVE AUTH-BEREICH
   ========================================================= */

@media (max-width: 900px) {

    .auth-container {
        width: 100%;
        max-width: 760px;
    }

    .auth-container-small {
        max-width: 540px;
    }

}

@media (max-width: 760px) {

    .auth-container,
    .auth-container-small {
        width: 100%;
        max-width: none;
    }

    .auth-container .section-head,
    .auth-container-small .section-head {
        margin-bottom: 26px;
    }

    .auth-container-small .section-head h1 {
        font-size: clamp(38px, 11vw, 48px);
    }

    .auth-container .section-lead,
    .auth-container-small .section-lead {
        font-size: 16px;
    }

    .auth-form,
    .auth-container-small .auth-form {
        padding: 24px 20px 26px;
        border-radius: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-field input,
    .form-field select {
        min-height: 50px;
        font-size: 16px;
    }

    .auth-form > .button {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 480px) {

    .auth-form,
    .auth-container-small .auth-form {
        padding: 20px 16px 22px;
    }

    .auth-container-small .section-head h1 {
        font-size: 38px;
    }

    .auth-switch {
        font-size: 14px;
    }

}

/* =========================================================
   GLOBALE TYPOGRAFIE
   ========================================================= */

html {
    font-size: 22px;
}

body {
    font-size: 22px;
    line-height: 1.6;
}

h1,
.h1 {
    font-size: 54px !important;
    line-height: 1.08;
}

h2,
.h2 {
    font-size: 44px !important;
    line-height: 1.12;
}

h3,
.h3 {
    font-size: 44px !important;
    line-height: 1.12;
}

/* Fließtext */
p,
li {
    font-size: 22px;
}

/*
 * Bedienelemente bewusst etwas kompakter:
 * Navigation, Buttons, Labels und Eingabefelder sind kein Fließtext.
 */
.nav a,
.button,
.form-field label,
input,
select,
textarea,
button,
small,
.eyebrow {
    font-size: initial;
}

/* =========================================================
   RESPONSIVE TYPOGRAFIE
   ========================================================= */

@media (max-width: 760px) {

    h1,
    .h1 {
        font-size: 44px !important;
    }

    h2,
    .h2,
    h3,
    .h3 {
        font-size: 36px !important;
    }

    body,
    p,
    li {
        font-size: 22px;
    }
}

@media (max-width: 420px) {

    h1,
    .h1 {
        font-size: 40px !important;
    }

    h2,
    .h2,
    h3,
    .h3 {
        font-size: 34px !important;
    }
}
