/* =========================================================
   Makin Solutions — OnePager
   Inspired by Vizion-Style · Sora + Crimson Pro
   ========================================================= */

/* =========================================================
   FONTS (lokal gehostet – DSGVO-konform, keine Google-Calls)
   ========================================================= */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('assets/fonts/sora-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('assets/fonts/sora-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('assets/fonts/crimson-pro-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('assets/fonts/crimson-pro-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Crimson Pro';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/crimson-pro-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Crimson Pro';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/crimson-pro-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --blue:        #1a56ff;
    --blue-dark:   #0f3bcc;
    --blue-darker: #0a2a99;
    --blue-light:  #e8eeff;
    --blue-mid:    #3b6bff;
    --white:       #ffffff;
    --off-white:   #f7f8fc;
    --text:        #1a1d2e;
    --text-2:      #2e3346;
    --muted:       #6b7080;
    --border:      #e2e6f3;
    --green:       #1a8c3e;
    --green-soft:  #e8fff0;
    --amber:       #8c6e1a;
    --amber-soft:  #fff8e8;
    --red:         #ff5f56;

    --ease:        cubic-bezier(0.2, 0.7, 0.2, 1);
    --radius:      16px;
    --radius-lg:   24px;
    --shadow-sm:   0 1px 2px rgba(10, 18, 56, 0.04);
    --shadow:      0 4px 24px rgba(26, 86, 255, 0.08);
    --shadow-lg:   0 12px 40px rgba(26, 86, 255, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
strong { font-weight: 600; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.05rem 2.5rem;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--blue);
    transition: opacity 0.15s var(--ease);
}
.logo:hover { opacity: 0.85; }

.logo__icon {
    width: auto;
    height: 26px;
    flex-shrink: 0;
}
.logo__text {
    font-size: 1.08rem;
    color: var(--text);
    letter-spacing: -0.02em;
    font-weight: 500;
    line-height: 1;
}
.logo__text strong { font-weight: 700; }

.nav-links {
    display: flex;
    gap: 2.2rem;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
    background: var(--blue);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    box-shadow: 0 6px 16px rgba(26, 86, 255, 0.25);
}
.nav-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(26, 86, 255, 0.35);
}

/* Mobile toggle (hidden on desktop) */
.nav__toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, var(--blue-darker) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text { text-align: left; }
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hexagon-Grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69.28'%3E%3Cpolygon points='30,0 60,17.32 60,51.96 30,69.28 0,51.96 0,17.32' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 69px;
    pointer-events: none;
}

/* Glow Orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
    top: -150px; right: -150px;
    pointer-events: none;
    z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    margin-bottom: 1.6rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.1s forwards;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #7dffb3;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(125, 255, 179, 0.6);
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 1.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.25s forwards;
    hyphens: manual;
    -webkit-hyphens: manual;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-subline {
    display: block;
    margin-top: 1.1rem;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.015em;
    color: rgba(255, 255, 255, 0.78);
    max-width: 38ch;
}

.hero p {
    font-size: clamp(0.98rem, 1.5vw, 1.12rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 52ch;
    line-height: 1.7;
    font-weight: 300;
    margin: 0 0 2.2rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.4s forwards;
}
.hero p strong { color: var(--white); font-weight: 600; }

.hero-offer {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 0.7rem 1.1rem 0.7rem 0.95rem;
    margin-bottom: 1.4rem;
    color: var(--white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
    opacity: 0;
    animation: fadeUp 0.7s 0.5s forwards;
    max-width: 100%;
}
.hero-offer:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}
.hero-offer__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #7dffb3;
    box-shadow: 0 0 12px rgba(125, 255, 179, 0.7);
    flex-shrink: 0;
    animation: pulse 1.6s infinite;
}
.hero-offer__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}
.hero-offer__text strong {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: -0.005em;
}
.hero-offer__text > span {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 300;
}
.hero-offer__arrow {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s var(--ease), color 0.2s var(--ease);
    flex-shrink: 0;
}
.hero-offer:hover .hero-offer__arrow {
    color: var(--white);
    transform: translateX(3px);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s 0.65s forwards;
}

.btn-white {
    background: var(--white);
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.95rem 2.1rem;
    border-radius: 50px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.01em;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22); }

.btn-outline-white {
    background: transparent;
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.95rem 2.1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

/* Hero Visual */
.hero-visual {
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}
.hero-visual .mockup-phone {
    max-width: 480px;
    width: 100%;
}

.mockup-phone {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mockup-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }
.mockup-title {
    margin-left: 0.6rem;
    font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
}

.mockup-test-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.test-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}
.test-dot.pass { background: #27c93f; color: rgba(39, 201, 63, 0.5); }
.test-dot.fail { background: #ff5f56; color: rgba(255, 95, 86, 0.5); }
.test-dot.run  { background: #ffbd2e; color: rgba(255, 189, 46, 0.5); animation: pulse 1.2s infinite; }
.test-label {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.82);
    flex: 1;
    text-align: left;
    font-weight: 400;
}
.test-time {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* Wave */
.wave {
    display: block;
    width: 100%;
    margin-bottom: -2px;
    background: var(--blue-darker);
}

/* =========================================================
   SECTION BASE
   ========================================================= */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}
.section-tag::after {
    content: '';
    height: 2px;
    width: 32px;
    background: var(--blue);
    border-radius: 2px;
}

/* =========================================================
   PROBLEMS
   ========================================================= */
.problems { background: var(--white); }

.problems-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.problems-header .section-tag::after { display: none; }
.problems-header .section-tag::before {
    content: '';
    height: 2px;
    width: 32px;
    background: var(--blue);
    border-radius: 2px;
}
.problems-header h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.problems-header h2 span {
    color: var(--blue);
    font-family: 'Crimson Pro', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}
.problems-header p {
    color: var(--muted);
    font-size: 0.98rem;
    margin-top: 1rem;
    font-weight: 300;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.problem-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.problem-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ff7a6b, #ffbd2e);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--ease);
}
.problem-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 122, 107, 0.3);
}
.problem-card:hover::before { transform: scaleY(1); }

.problem-icon {
    width: 42px; height: 42px;
    background: #fff1ee;
    color: #d04a3a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.problem-icon svg { width: 20px; height: 20px; }

.problem-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    letter-spacing: -0.015em;
    color: var(--text);
}
.problem-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
}

/* =========================================================
   TRUTH (Textblock)
   ========================================================= */
.truth { background: var(--off-white); }

.truth-block {
    max-width: 760px;
    margin: 0 auto;
    border-left: 3px solid var(--blue);
    padding: 0.5rem 0 0.5rem 2rem;
}
.truth-block .section-tag { margin-bottom: 1.1rem; }
.truth-block h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1.4rem;
}
.truth-block h2 span {
    color: var(--blue);
    font-family: 'Crimson Pro', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}
.truth-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-2);
    font-weight: 300;
    margin-bottom: 1rem;
}
.truth-block p:last-child { margin-bottom: 0; }
.truth-block p strong { font-weight: 600; color: var(--text); }

@media (max-width: 720px) {
    .truth-block { padding-left: 1.25rem; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--off-white); }

.services-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.services-header .section-tag::after { display: none; }
.services-header .section-tag::before {
    content: '';
    height: 2px;
    width: 32px;
    background: var(--blue);
    border-radius: 2px;
}

.services-header h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.services-header h2 span {
    color: var(--blue);
    font-family: 'Crimson Pro', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}

.services-header p {
    color: var(--muted);
    font-size: 0.98rem;
    margin-top: 1rem;
    font-weight: 300;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 86, 255, 0.22);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 48px; height: 48px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: -0.02em;
}
.service-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
}

.service-card--highlight {
    border-color: rgba(26, 86, 255, 0.25);
    background: linear-gradient(180deg, rgba(232, 238, 255, 0.55) 0%, var(--white) 100%);
}
.service-card--highlight::before {
    transform: scaleX(1);
    height: 4px;
}
.service-card--highlight .service-icon {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(26, 86, 255, 0.28);
}

.service-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.32rem 0.7rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(26, 86, 255, 0.3);
}

/* =========================================================
   AI CARD (Feature 04 – KI)
   ========================================================= */
.ai-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    font-size: 0.85rem;
}
.ai-card-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border);
    background: var(--off-white);
}
.ai-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #27c93f;
    box-shadow: 0 0 8px rgba(39, 201, 63, 0.5);
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
}
.ai-model {
    font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.74rem;
    color: var(--muted);
    letter-spacing: 0.01em;
}

.ai-message {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border);
}
.ai-message:last-of-type { border-bottom: none; }
.ai-message__label {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.ai-message--user .ai-message__label { color: var(--text-2); }
.ai-message--user p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.55;
    font-weight: 500;
}
.ai-message--ai {
    background: linear-gradient(180deg, rgba(232, 238, 255, 0.5) 0%, var(--white) 100%);
}
.ai-message--ai .ai-message__label { color: var(--blue); }
.ai-message pre {
    margin: 0;
    background: #0f1325;
    color: #d8def0;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.74rem;
    line-height: 1.55;
}
.ai-message pre code {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.ai-card-footer {
    display: flex;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-top: 1px solid var(--border);
    background: var(--off-white);
    flex-wrap: wrap;
}
.ai-action {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid var(--border);
    cursor: default;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.ai-action:hover { border-color: var(--blue); color: var(--blue); }
.ai-action--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.ai-action--primary:hover { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); }

/* =========================================================
   TRUST STRIP (Kunden-Logos)
   ========================================================= */
.trust {
    background: var(--off-white);
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border);
}
.trust-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.trust-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.4rem;
}
.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
}
.trust-logo {
    max-height: 36px;
    width: auto;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: opacity 0.2s var(--ease), filter 0.2s var(--ease);
}
.trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}
@media (max-width: 540px) {
    .trust-logos { gap: 1.8rem 2.2rem; }
    .trust-logo { max-height: 28px; }
}

/* =========================================================
   FEATURE (numbered)
   ========================================================= */
.feature { background: var(--white); }
.feature.alt { background: var(--off-white); }

.feature-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-inner.reverse { direction: rtl; }
.feature-inner.reverse > * { direction: ltr; }

.feature-num {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    color: #eef0f8;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: -1.2rem;
    display: block;
}

.feature-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.feature-content h2 span {
    color: var(--blue);
    font-family: 'Crimson Pro', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-2);
}
.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px; height: 18px;
    margin-top: 0.15rem;
    background: var(--blue);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l3 3 5-6' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.check-list li strong { font-weight: 600; color: var(--text); }

.check-list--stacked li > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.check-list--stacked li strong {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.check-list--stacked li span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.65;
}

/* Feature visuals */
.feature-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.ui-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.ui-card-title {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.ui-badge {
    font-size: 0.66rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: 50px;
    background: var(--green-soft);
    color: var(--green);
    letter-spacing: 0.02em;
}
.ui-badge.warn { background: var(--amber-soft); color: var(--amber); }

.progress-bar {
    height: 6px;
    background: var(--blue-light);
    border-radius: 3px;
    margin-bottom: 0.6rem;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-mid));
    border-radius: 3px;
    animation: progressAnim 2.4s ease-in-out infinite alternate;
}
.progress-bar--static .progress-fill { animation: none; }
@keyframes progressAnim {
    from { width: 65%; }
    to   { width: 92%; }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}
.stat-item { text-align: center; }
.stat-val {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: -0.03em;
}
.stat-lbl {
    font-size: 0.66rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.bars { display: flex; flex-direction: column; gap: 0.7rem; }
.bar__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
    font-weight: 500;
}
.bar__row span:last-child { color: var(--blue); font-weight: 600; }

.pipeline-steps {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.pipeline-step {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}
.pipeline-step.done   { background: var(--green-soft); color: #1a6e3e; }
.pipeline-step.active { background: var(--blue-light); color: var(--blue); }
.pipeline-step.wait   { background: var(--off-white); color: var(--muted); }
.pipeline-step.active .step-icon {
    display: inline-block;
    animation: spin 2s linear infinite;
}
.step-icon { font-size: 0.9rem; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* =========================================================
   SOLUTIONS (Gegenstück zu Problems)
   ========================================================= */
.solutions { background: var(--white); }

.solutions-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.solutions-header .section-tag::after { display: none; }
.solutions-header .section-tag::before {
    content: '';
    height: 2px;
    width: 32px;
    background: var(--blue);
    border-radius: 2px;
}
.solutions-header h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.solutions-header h2 span {
    color: var(--blue);
    font-family: 'Crimson Pro', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}
.solutions-header p {
    color: var(--muted);
    font-size: 0.98rem;
    margin-top: 1rem;
    font-weight: 300;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.solution-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 1.8rem 1.8rem 1.8rem 1.8rem;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.solution-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--blue), var(--blue-mid));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--ease);
}
.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(26, 86, 255, 0.22);
}
.solution-card:hover::before { transform: scaleY(1); }

.solution-icon {
    position: relative;
    width: 42px; height: 42px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.solution-icon svg { width: 20px; height: 20px; }
.solution-icon::after {
    content: '';
    position: absolute;
    right: -6px; bottom: -6px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l3 3 5-6' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 10px 8px;
    border: 2px solid var(--off-white);
    box-shadow: 0 2px 6px rgba(26, 140, 62, 0.25);
}
.solution-card:hover .solution-icon::after {
    transform: scale(1.08);
    transition: transform 0.25s var(--ease);
}

.solution-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    letter-spacing: -0.015em;
    color: var(--text);
}
.solution-card p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.65;
    font-weight: 300;
}

/* =========================================================
   OFFER (Mobile QA Check-up)
   ========================================================= */
.offer { background: var(--off-white); padding: 4rem 2rem 5rem; }

.offer-card {
    position: relative;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, var(--blue-darker) 100%);
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 0;
    box-shadow: 0 30px 80px rgba(10, 18, 56, 0.28);
}
.offer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69.28'%3E%3Cpolygon points='30,0 60,17.32 60,51.96 30,69.28 0,51.96 0,17.32' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 69px;
    pointer-events: none;
}
.offer-card::after {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    right: -160px; top: -180px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.offer-card__left {
    position: relative;
    z-index: 1;
    padding: 3rem 3rem 3rem 3.5rem;
    color: var(--white);
}
.offer-card__right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.05rem;
    border-radius: 50px;
    margin-bottom: 1.4rem;
}
.offer-badge__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #7dffb3;
    box-shadow: 0 0 10px rgba(125, 255, 179, 0.7);
    animation: pulse 1.6s infinite;
}

.offer-card h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 0.85rem;
    color: var(--white);
}
.offer-tagline {
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 46ch;
}
.offer-tagline strong { color: var(--white); font-weight: 600; }

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.2rem;
}
.offer-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.offer-list__num {
    flex-shrink: 0;
    font-family: 'Crimson Pro', Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: rgba(255, 255, 255, 0.55);
    width: 2rem;
}
.offer-list li > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.offer-list li strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}
.offer-list li span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    font-weight: 300;
}

.offer-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.offer-actions .btn-white {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.offer-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Right side visual */
.offer-visual {
    position: relative;
    width: 240px; height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer-visual__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    animation: spin 30s linear infinite;
}
.offer-visual__ring::before,
.offer-visual__ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}
.offer-visual__ring::before {
    inset: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.offer-visual__ring::after {
    inset: 44px;
    background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 75%);
}
.offer-visual__icon {
    position: relative;
    width: 100px; height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.offer-visual__icon svg { width: 44px; height: 44px; }

.offer-visual__chip {
    position: absolute;
    background: var(--white);
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.offer-visual__chip--top    { top: 12px;    right: -10px; }
.offer-visual__chip--bottom { bottom: 12px; left: -14px;  background: #7dffb3; color: #0a4a2a; }

@media (max-width: 900px) {
    .offer-card {
        grid-template-columns: 1fr;
    }
    .offer-card__left {
        padding: 2.5rem 2rem;
    }
    .offer-card__right {
        order: -1;
        padding: 2.5rem 2rem 0;
    }
    .offer-visual { width: 180px; height: 180px; }
    .offer-visual__icon { width: 80px; height: 80px; border-radius: 22px; }
    .offer-visual__icon svg { width: 36px; height: 36px; }
}

@media (max-width: 540px) {
    .offer { padding: 3rem 1.4rem 4rem; }
    .offer-card__left { padding: 2rem 1.5rem; }
    .offer-actions { flex-direction: column; align-items: stretch; gap: 0.8rem; }
    .offer-actions .btn-white { text-align: center; }
    .offer-meta { text-align: center; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
    background: var(--off-white);
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(26, 86, 255, 0.08) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}

.contact-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.contact-intro p { margin-left: auto; margin-right: auto; }
.contact-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-address { margin-left: auto; margin-right: auto; }

.contact-intro h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.contact-intro h2 span {
    color: var(--blue);
    font-family: 'Crimson Pro', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}
.contact-intro p {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 40ch;
    line-height: 1.7;
}

.contact-meta {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.contact-email {
    display: inline-block;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--blue);
    border-bottom: 2px solid rgba(26, 86, 255, 0.3);
    padding-bottom: 4px;
    transition: border-color 0.2s var(--ease);
    margin-bottom: 0.8rem;
}
.contact-email:hover { border-color: var(--blue); }

.contact-address {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.2rem;
    padding: 0.9rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    max-width: 320px;
}
.contact-address__icon {
    width: 20px; height: 20px;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.contact-address address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-2);
}
.contact-address address strong {
    color: var(--text);
    font-weight: 600;
}

.contact-fineprint {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 1rem;
}

/* Form */
.form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form__field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.005em;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font: inherit;
    font-size: 0.93rem;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
    outline: none;
}
.form input::placeholder,
.form textarea::placeholder { color: var(--muted); font-weight: 300; }

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 86, 255, 0.12);
}

.form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

.form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%231a56ff' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 11px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form__check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: var(--text-2);
    cursor: pointer;
    line-height: 1.55;
    font-weight: 300;
}
.form__check input {
    width: 18px; height: 18px;
    margin-top: 0.12rem;
    flex-shrink: 0;
    accent-color: var(--blue);
    cursor: pointer;
}
.form__check a { color: var(--blue); text-decoration: underline; }

.form__field.has-error input,
.form__field.has-error textarea,
.form__field.has-error select { border-color: #e04646; background: #fff6f6; }

.form__error {
    color: #c62828;
    font-size: 0.78rem;
    min-height: 1em;
    display: block;
    font-weight: 500;
}

.form__status {
    font-size: 0.9rem;
    min-height: 1.4em;
    font-weight: 500;
}
.form__status.is-success { color: var(--green); }
.form__status.is-error   { color: #c62828; }

.btn-submit {
    background: var(--blue);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    box-shadow: 0 8px 20px rgba(26, 86, 255, 0.3);
    letter-spacing: -0.01em;
    margin-top: 0.4rem;
}
.btn-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 86, 255, 0.4);
}

/* Attention-Pulse auf dem Formular (Click auf "Projekt starten" etc.) */
.form--pulse {
    animation: formAttention 1.5s ease-out;
}
@keyframes formAttention {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 86, 255, 0.55), var(--shadow);
    }
    35% {
        box-shadow: 0 0 0 16px rgba(26, 86, 255, 0), 0 20px 50px rgba(26, 86, 255, 0.35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 86, 255, 0), var(--shadow);
    }
}

/* Honeypot – für echte User unsichtbar, für Bots ein attraktives Feld */
.hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Button im Lade-Zustand */
.btn-submit[disabled] {
    opacity: 0.6;
    cursor: progress;
    transform: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--blue-mid);
}
.footer-logo .logo__text { color: var(--white); }
.footer p { font-size: 0.74rem; }

.footer-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.footer-address { color: rgba(255, 255, 255, 0.7); }
.footer-meta a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 1px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-meta a:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 720px) {
    .footer-meta { text-align: center; }
}

/* =========================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ========================================================= */
.nav--legal {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.legal {
    padding: 8rem 2rem 5rem;
    background: var(--white);
    min-height: 70vh;
}
.legal-inner {
    max-width: 760px;
    margin: 0 auto;
}
.legal-inner .section-tag { margin-bottom: 1rem; }
.legal-inner h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 0.85rem;
    color: var(--text);
}
.legal-lead {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 300;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.legal-block { margin-bottom: 2.5rem; }
.legal-block h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}
.legal-block p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-2);
    font-weight: 300;
    margin-bottom: 0.85rem;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block p strong { font-weight: 600; color: var(--text); }
.legal-block a {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 86, 255, 0.3);
    transition: border-color 0.2s var(--ease);
}
.legal-block a:hover { border-color: var(--blue); }
.legal-block code {
    font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.86em;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
}

.legal-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem 0;
    padding-left: 0.5rem;
}
.legal-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-2);
    font-weight: 300;
}
.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.legal-meta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

@media (max-width: 720px) {
    .legal { padding: 6rem 1.4rem 4rem; }
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .feature-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .feature-inner.reverse { direction: ltr; }
    .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-visual .mockup-phone { margin: 0 auto; }
}

@media (max-width: 720px) {
    .nav { padding: 0.9rem 1.4rem; }
    .nav__toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 1rem 1.4rem 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 30px rgba(10, 18, 56, 0.08);
        gap: 0;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
    }
    .nav-links a {
        padding: 0.95rem 0.5rem;
        border-bottom: 1px solid var(--border);
        font-size: 0.98rem;
        color: var(--text);
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-cta { display: none; }

    .section { padding: 4rem 1.4rem; }
    .hero { padding: 6rem 1.4rem 4rem; }

    .form { padding: 1.5rem; }
    .form__row { grid-template-columns: 1fr; }

    .contact-section { padding: 5rem 1.4rem; }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem 1.4rem;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        letter-spacing: -0.025em;
    }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions a { width: 100%; }
    .logo__icon { width: auto; height: 22px; }
    .logo__text { font-size: 1rem; }
}
