
:root {
    --blue: #1764d7;
    --blue-dark: #0e53bb;
    --navy: #0d1b2d;
    --text: #121826;
    --muted: #556070;
    --line: #dfe5ec;
    --soft: #f7f9fc;
    --soft-blue: #f2f7ff;
    --footer: #071522;
    --red: #d62b2b;
    --green: #20e86f;
    --radius: 18px;
    --shadow: 0 8px 28px rgba(18, 24, 38, .08);
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223, 229, 236, .8);
}

.header-inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand img {
    width: 285px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 34px;
    font-weight: 600;
    font-size: 14px;
}

.main-nav a {
    transition: color .2s ease;
}

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

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(23, 100, 215, .18);
}

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

.btn-secondary {
    color: var(--blue);
    border-color: var(--blue);
    background: #fff;
}

.menu-toggle {
    display: none;
}

.hero {
    background:
        radial-gradient(circle at 82% 30%, rgba(23, 100, 215, .05), transparent 34%),
        linear-gradient(90deg, #ffffff 0%, #ffffff 48%, #f7f9fb 100%);
    border-bottom: 1px solid #eef1f4;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 470px;
    align-items: stretch;
}

.hero-copy {
    padding: 68px 28px 64px 0;
    align-self: center;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 4.8vw, 68px);
    line-height: .98;
    letter-spacing: -.035em;
}

.hero h1 span {
    color: var(--blue);
}

.accent-line {
    width: 72px;
    height: 3px;
    background: var(--blue);
    margin: 25px 0;
}

.accent-line.small {
    width: 46px;
    margin: 16px 0 22px;
}

.hero-lead {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
}

.hero-text {
    max-width: 520px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
}

.desk-scene {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, #f8fafc 0 59%, #e7c9a7 59% 100%);
}

.laptop {
    position: absolute;
    width: 320px;
    left: 40%;
    top: 30%;
    transform: translateX(-20%);
}

.laptop-screen {
    height: 192px;
    background: #f5f7fa;
    border: 9px solid #1a1d21;
    border-bottom-width: 13px;
    border-radius: 8px 8px 4px 4px;
    display: grid;
    place-items: center;
    box-shadow: 0 20px 30px rgba(0,0,0,.12);
}

.laptop-screen img {
    width: 72%;
    max-height: 116px;
    object-fit: contain;
}

.laptop-base {
    width: 370px;
    height: 18px;
    margin-left: -25px;
    background: linear-gradient(#b7bcc3, #9299a2);
    clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
}

.plant {
    position: absolute;
    width: 72px;
    height: 120px;
    left: 23%;
    bottom: 87px;
    background:
        radial-gradient(ellipse at center, #5c8f38 0 12%, transparent 13%),
        repeating-conic-gradient(from 8deg at 50% 58%, #5d973b 0 5deg, #86b451 5deg 11deg, transparent 11deg 18deg);
    border-radius: 50% 50% 28% 28%;
}

.plant::after {
    content: "";
    position: absolute;
    width: 68px;
    height: 58px;
    left: 2px;
    bottom: -18px;
    background: #f3f3ee;
    border-radius: 8px 8px 20px 20px;
    box-shadow: 0 8px 12px rgba(0,0,0,.09);
}

.pen-cup {
    position: absolute;
    width: 50px;
    height: 74px;
    left: 35%;
    bottom: 73px;
    border: 5px solid #1b1d20;
    border-top: 0;
    background: repeating-linear-gradient(45deg, transparent 0 6px, #1b1d20 7px 9px);
}

.mug {
    position: absolute;
    width: 74px;
    height: 78px;
    right: 10%;
    bottom: 82px;
    background: #153758;
    border-radius: 5px 5px 22px 22px;
    box-shadow: 0 8px 14px rgba(0,0,0,.1);
}

.mug::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 38px;
    right: -20px;
    top: 13px;
    border: 7px solid #153758;
    border-left: 0;
    border-radius: 0 18px 18px 0;
}

.notepad {
    position: absolute;
    width: 150px;
    height: 88px;
    right: 1%;
    bottom: 28px;
    background:
        linear-gradient(166deg, transparent 0 51%, #14181f 52% 54%, transparent 55%),
        #fff;
    transform: rotate(8deg);
    box-shadow: 0 9px 14px rgba(0,0,0,.08);
}

.section {
    padding: 54px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.centered {
    text-align: center;
}

.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
}

h2 {
    margin: 5px 0 12px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

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

.service-card {
    min-height: 260px;
    padding: 30px 34px 24px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: var(--blue);
    font-size: 30px;
    margin-bottom: 14px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.service-card p {
    color: #394454;
    max-width: 320px;
}

.service-card a {
    margin-top: auto;
    color: var(--blue);
    font-weight: 750;
}

.personal-section {
    background: var(--soft-blue);
    padding: 40px 0;
}

.personal-grid {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 52px;
    align-items: center;
}

.portrait-placeholder {
    min-height: 270px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, #dfe8f4, #f7f9fc);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px;
    color: #617083;
    border: 1px solid #dce5f1;
}

.portrait-badge {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--blue);
    font-weight: 800;
    box-shadow: var(--shadow);
}

.personal-copy > p {
    color: #394454;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 26px;
}

.benefit {
    display: flex;
    gap: 14px;
    padding: 0 22px;
    border-left: 1px solid #cdd9e7;
}

.benefit:first-child {
    border-left: 0;
    padding-left: 0;
}

.check {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--blue);
    color: var(--blue);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
}

.benefit strong {
    display: block;
}

.benefit p {
    margin-bottom: 0;
    color: #526174;
    font-size: 14px;
}

.about-section {
    padding-top: 42px;
    padding-bottom: 32px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.about-grid p {
    color: #394454;
}

.subtitle {
    font-weight: 600;
    color: #2d3540 !important;
}

.about-quote {
    border-left: 1px solid #ccd5df;
    padding-left: 50px;
}

.about-quote strong {
    font-size: 18px;
}

.tech-lab-wrap {
    padding: 0 0 38px;
}

.tech-lab-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at 70% 30%, rgba(24, 88, 100, .26), transparent 34%),
        linear-gradient(135deg, #07111d, #02080e 72%);
    color: #fff;
    padding: 34px 38px;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
}

.tech-lab-copy {
    position: relative;
    z-index: 2;
}

.tech-lab-copy h2 {
    margin: 0;
    color: #fff;
    font-size: 42px;
}

.tech-lab-copy h2 span {
    color: #ef3030;
}

.green-line {
    width: 62px;
    height: 3px;
    background: var(--green);
    margin: 12px 0 16px;
}

.tech-subtitle {
    color: var(--green);
    font-weight: 700;
}

.tech-lab-copy p {
    max-width: 560px;
}

.btn-tech {
    margin-top: 10px;
    border: 1px solid var(--green);
    color: var(--green);
}

.tech-art {
    position: relative;
    height: 170px;
}

.tech-screen {
    position: absolute;
    width: 280px;
    height: 150px;
    right: 30px;
    top: 0;
    background: #081015;
    border: 7px solid #2a2d32;
    border-radius: 8px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #ef3030;
    font-weight: 900;
    transform: perspective(500px) rotateY(-8deg);
    box-shadow: 0 18px 28px rgba(0,0,0,.4);
}

.tech-screen small {
    color: #fff;
}

.tech-flask {
    position: absolute;
    right: 65px;
    bottom: 4px;
    color: var(--green);
    font-size: 54px;
}

.brand-note {
    position: absolute;
    right: 28px;
    bottom: 14px;
    color: #b9c2cd;
    font-size: 12px;
}

.contact-section {
    padding: 0 0 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 31% 1fr;
    gap: 44px;
    align-items: start;
}

.contact-intro p {
    color: #394454;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.form-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
}

input,
textarea {
    width: 100%;
    border: 1px solid #d7dee7;
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 100, 215, .1);
}

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

.send-button {
    min-width: 170px;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.form-message {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.form-message.success {
    background: #e7f8ed;
    color: #16713b;
}

.form-message.error {
    background: #fdeaea;
    color: #9c2525;
}

.site-footer {
    background: var(--footer);
    color: #fff;
    padding: 30px 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr .7fr .8fr;
    gap: 36px;
}

.footer-brand img {
    width: 220px;
    height: 55px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

.footer-brand p,
.site-footer p,
.site-footer a,
.site-footer span {
    color: #cbd3dc;
    font-size: 13px;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 8px;
    font-size: 13px;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #91a0af;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .menu-toggle span:not(.sr-only) {
        width: 24px;
        height: 2px;
        background: var(--text);
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        padding-bottom: 18px;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 18px 28px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero-grid,
    .personal-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-visual {
        min-height: 360px;
    }

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

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

    .benefit {
        border-left: 0;
        padding: 0;
    }

    .about-quote {
        border-left: 0;
        border-top: 1px solid #ccd5df;
        padding: 28px 0 0;
    }

    .tech-lab-card {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tech-art {
        min-height: 150px;
    }

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

    .send-button {
        width: 100%;
    }

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

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 210px;
        height: 46px;
    }

    .hero-copy {
        padding-top: 48px;
        padding-bottom: 34px;
    }

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

    .hero-lead br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .laptop {
        left: 29%;
        top: 31%;
        transform: scale(.82);
        transform-origin: center;
    }

    .service-card {
        padding-inline: 24px;
    }

    .personal-grid {
        gap: 28px;
    }

    .tech-lab-card {
        padding: 28px 22px 58px;
    }

    .tech-lab-copy h2 {
        font-size: 34px;
    }

    .tech-screen {
        width: 220px;
        right: 8px;
    }

    .brand-note {
        left: 22px;
        right: auto;
        bottom: 18px;
    }

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


/* Echte Bildassets – final angepasst */
.hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 470px;
    background: #f7f9fb;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.tech-art {
    position: relative;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.tech-lab-image {
    width: min(100%, 520px);
    height: 100%;
    object-fit: contain;
    object-position: right center;
    display: block;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35));
}

@media (max-width: 980px) {
    .hero-visual,
    .hero-image {
        min-height: 360px;
    }

    .hero-image {
        object-position: center center;
    }

    .tech-art {
        height: 210px;
        justify-content: center;
    }

    .tech-lab-image {
        width: min(100%, 460px);
        object-position: center center;
    }
}

@media (max-width: 620px) {
    .hero-visual,
    .hero-image {
        min-height: 290px;
    }

    .hero-image {
        object-position: 58% center;
    }

    .tech-art {
        height: 160px;
        margin-top: 8px;
    }

    .tech-lab-image {
        width: 100%;
        object-fit: contain;
        object-position: center;
    }
}
