/* ============================================================================
   SunnyMind Landingpage
   Neomorph Design V0.2
   ============================================================================ */

/* ============================================================================
   Design Tokens
   ============================================================================ */

:root {
    --bg: #eef5fb;
    --surface: #eef5fb;
    --surface-light: #ffffff;
    --surface-dark: #cbd8e3;

    --text: #123047;
    --text-soft: #526879;

    --blue: #1f78c8;
    --blue-dark: #102d4a;
    --orange: #ffad16;
    --green: #116b3a;

    --radius-small: 14px;
    --radius-medium: 24px;
    --radius-large: 34px;
    --radius-pill: 999px;

    --shadow-out:
        12px 12px 24px rgba(163, 184, 204, 0.55),
        -12px -12px 24px rgba(255, 255, 255, 0.90);

    --shadow-out-soft:
        8px 8px 18px rgba(163, 184, 204, 0.42),
        -8px -8px 18px rgba(255, 255, 255, 0.85);

    --shadow-in:
        inset 7px 7px 14px rgba(163, 184, 204, 0.45),
        inset -7px -7px 14px rgba(255, 255, 255, 0.90);

    --shadow-in-soft:
        inset 4px 4px 8px rgba(163, 184, 204, 0.38),
        inset -4px -4px 8px rgba(255, 255, 255, 0.90);
}

/* ============================================================================
   Basis
   ============================================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background:
        radial-gradient(circle at top left, #ffffff 0, transparent 34%),
        radial-gradient(circle at bottom right, #dcecf8 0, transparent 36%),
        var(--bg);
}

a {
    color: inherit;
}

/* ============================================================================
   Header
   ============================================================================ */

header {
    position: sticky;
    top: 0;
    z-index: 5;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 28px;

    background: rgba(238, 245, 251, 0.86);
    backdrop-filter: blur(14px);

    box-shadow:
        0 10px 28px rgba(120, 150, 180, 0.16);
}

header img {
    height: 52px;
}

nav {
    display: flex;
    gap: 14px;
}

nav a {
    padding: 10px 14px;

    color: var(--text);

    font-weight: 800;
    text-decoration: none;

    border-radius: var(--radius-pill);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

nav a:hover {
    color: var(--blue);

    box-shadow: var(--shadow-out-soft);

    transform: translateY(-1px);
}

/* ============================================================================
   Hero + Split Layout
   ============================================================================ */

.hero,
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;

    align-items: center;

    max-width: 1180px;

    margin: auto;
    padding: 72px 28px;
}

.hero h1 {
    margin: 0;

    font-size: clamp(52px, 8vw, 86px);
    line-height: 0.95;

    background: linear-gradient(
        90deg,
        var(--orange),
        var(--blue)
    );

    -webkit-background-clip: text;
    color: transparent;
}

.hero h2,
section h2 {
    margin: 10px 0 20px;

    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
}

.hero p {
    max-width: 620px;

    color: var(--text-soft);

    font-size: 20px;
    line-height: 1.55;
}

.eyebrow {
    color: var(--blue);

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
    display: inline-block;

    padding: 15px 24px;
    margin: 10px 10px 10px 0;

    border: none;
    border-radius: var(--radius-pill);

    background: linear-gradient(
        145deg,
        #ffbc3c,
        var(--orange)
    );
    color: white;

    font-weight: 900;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        8px 8px 18px rgba(180, 135, 42, 0.28),
        -8px -8px 18px rgba(255, 255, 255, 0.85);

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(1px);

    box-shadow:
        inset 5px 5px 10px rgba(155, 102, 0, 0.25),
        inset -5px -5px 10px rgba(255, 229, 180, 0.65);
}

.btn.alt {
    background: var(--surface);
    color: var(--blue);

    box-shadow: var(--shadow-out-soft);
}

/* ============================================================================
   Badges
   ============================================================================ */

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 18px;
}

.badges span,
.metrics span {
    padding: 11px 15px;

    border-radius: var(--radius-pill);

    background: var(--surface);

    color: var(--text);

    font-weight: 800;

    box-shadow: var(--shadow-out-soft);
}

/* ============================================================================
   Produktdarstellung
   ============================================================================ */

.product {
    position: relative;

    padding: 24px;

    background: var(--surface);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-out);
}

.product::before {
    content: "";

    position: absolute;
    inset: 16px;

    border-radius: 26px;

    pointer-events: none;

    box-shadow: var(--shadow-in-soft);
}

.product img,
.split img,
.wide {
    position: relative;

    width: 100%;

    border-radius: var(--radius-medium);

    box-shadow:
        8px 8px 18px rgba(120, 150, 180, 0.20),
        -8px -8px 18px rgba(255, 255, 255, 0.75);
}

.product b {
    position: absolute;
    right: 24px;
    bottom: 24px;

    padding: 14px 18px;

    border-radius: var(--radius-pill);

    background: linear-gradient(
        145deg,
        #2f8edd,
        var(--blue)
    );
    color: white;

    box-shadow:
        6px 6px 14px rgba(31, 120, 200, 0.28),
        -6px -6px 14px rgba(255, 255, 255, 0.75);
}

/* ============================================================================
   Allgemeine Sections
   ============================================================================ */

section {
    max-width: 1180px;

    margin: auto;
    padding: 64px 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

article,
.contact,
.notice {
    padding: 28px;

    background: var(--surface);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-out);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

article:hover {
    transform: translateY(-3px);
}

article {
    font-size: 34px;
}

article h3 {
    margin-bottom: 8px;

    font-size: 21px;
}

article p,
.notice p,
.contact p,
section li {
    color: var(--text-soft);

    line-height: 1.55;
}

/* ============================================================================
   Virtuelles Gerät
   ============================================================================ */

.device {
    display: grid;
    grid-template-columns: repeat(4, 72px);
    gap: 16px;

    justify-content: center;

    padding: 34px;

    background: var(--surface);

    border-radius: 44px;

    box-shadow: var(--shadow-out);
}

.device button {
    width: 72px;
    height: 72px;

    border: none;
    border-radius: 50%;

    background: var(--surface);

    cursor: pointer;

    box-shadow:
        7px 7px 14px rgba(130, 154, 176, 0.45),
        -7px -7px 14px rgba(255, 255, 255, 0.95),
        inset 2px 2px 4px rgba(255, 255, 255, 0.80),
        inset -2px -2px 4px rgba(130, 154, 176, 0.20);

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        background 0.12s ease;
}

.device button:hover {
    transform: translateY(-1px);
}

.device button:active {
    transform: translateY(1px);

    box-shadow: var(--shadow-in);
}

.device button.active {
    background: radial-gradient(
        circle at 30% 25%,
        #ffe0a1,
        var(--orange) 55%,
        #e58f00 100%
    );

    box-shadow:
        0 0 34px rgba(255, 173, 22, 0.95),
        8px 8px 18px rgba(168, 114, 20, 0.30),
        -8px -8px 18px rgba(255, 255, 255, 0.95),
        inset 3px 3px 7px rgba(255, 255, 255, 0.55),
        inset -4px -4px 9px rgba(120, 75, 0, 0.22);
}

/* ============================================================================
   Kontaktformular
   ============================================================================ */

.contact {
    max-width: 720px;
    margin: auto;
}

form {
    display: grid;
    gap: 16px;
}

input,
select,
textarea {
    width: 100%;

    padding: 15px 16px;

    font: inherit;
    color: var(--text);

    border: none;
    border-radius: var(--radius-small);

    background: var(--surface);

    box-shadow: var(--shadow-in-soft);

    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    box-shadow:
        var(--shadow-in-soft),
        0 0 0 3px rgba(31, 120, 200, 0.18);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================================================
   Datenschutz-Hervorhebung
   ============================================================================ */

.privacy-highlight {
    max-width: 1180px;

    margin: 22px auto;
    padding: 44px 34px;

    background: linear-gradient(
        135deg,
        #e9f8ee,
        var(--surface)
    );

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-out);
}

.privacy-highlight h2 {
    margin-top: 0;

    color: var(--green);
}

.privacy-highlight p {
    max-width: 880px;

    color: var(--text-soft);

    font-size: 19px;
    line-height: 1.6;
}

/* ============================================================================
   Footer
   ============================================================================ */

footer {
    margin-top: 40px;
    padding: 34px 28px;

    text-align: center;

    background: var(--blue-dark);
    color: white;

    box-shadow:
        0 -10px 30px rgba(16, 45, 74, 0.18);
}

footer a {
    color: white;
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 850px) {

    nav {
        display: none;
    }

    .hero,
    .split {
        grid-template-columns: 1fr;

        padding: 54px 24px;
    }

    .grid,
    .metrics {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 56px;
    }
}

@media (max-width: 520px) {

    section {
        padding: 48px 20px;
    }

    .grid,
    .metrics {
        grid-template-columns: 1fr;
    }

    .device {
        grid-template-columns: repeat(3, 62px);
        gap: 13px;

        padding: 26px;
    }

    .device button {
        width: 62px;
        height: 62px;
    }

    .hero h1 {
        font-size: 46px;
    }
}