
:root{
    --bg:#111923;
    --bg2:#1d2835;
    --panel:rgba(213,224,234,.10);
    --panel2:rgba(232,238,244,.15);
    --stroke:rgba(255,255,255,.18);
    --text:#dbe5ee;
    --soft:#aebdca;
    --muted:#8192a3;
    --blue:#3d5a98;
    --blue2:#7f9bd4;
    --steel:#6f7d8c;
    --shadow:0 36px 100px rgba(0,0,0,.34);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
    min-height:100vh;
    font-family:Inter, Arial, Helvetica, sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at 20% 8%, rgba(61,90,152,.52), transparent 25%),
        radial-gradient(circle at 82% 18%, rgba(127,155,212,.26), transparent 24%),
        radial-gradient(circle at 50% 90%, rgba(84,100,118,.38), transparent 32%),
        linear-gradient(135deg,#101721,#1c2632 45%,#111923);
    overflow-x:hidden;
}

body:before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(115deg, transparent 0 15%, rgba(255,255,255,.09) 15.1%, transparent 15.4% 100%),
        linear-gradient(70deg, transparent 0 62%, rgba(61,90,152,.20) 62.1%, transparent 62.45% 100%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 78px);
    opacity:.9;
}

a{color:inherit}

.site-header{
    position:fixed;
    z-index:50;
    top:22px;
    left:50%;
    transform:translateX(-50%);
    width:min(1180px,calc(100% - 32px));
    height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px 0 26px;
    border:1px solid var(--stroke);
    border-radius:28px;
    background:rgba(18,27,38,.54);
    backdrop-filter:blur(28px) saturate(160%);
    box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.13);
}

.wordmark{
    text-decoration:none;
    display:flex;
    flex-direction:column;
    line-height:1;
}

.wordmark strong{
    font-size:24px;
    letter-spacing:-.04em;
    color:#eef5fb;
}

.wordmark span{
    margin-top:7px;
    color:var(--soft);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.18em;
}

.menu-toggle{
    width:58px;
    height:58px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:21px;
    background:linear-gradient(145deg,rgba(61,90,152,.95),rgba(112,126,145,.70));
    display:grid;
    place-content:center;
    gap:6px;
    cursor:pointer;
    box-shadow:0 22px 44px rgba(61,90,152,.28);
}

.menu-toggle span{
    width:25px;
    height:2px;
    background:#eef5fb;
    border-radius:99px;
    transition:.25s;
}

.menu-open .menu-toggle span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-open .menu-toggle span:nth-child(2){opacity:0}
.menu-open .menu-toggle span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

.offcanvas{
    position:fixed;
    z-index:45;
    top:114px;
    right:calc((100vw - min(1180px,calc(100vw - 32px))) / 2);
    width:min(420px,calc(100% - 32px));
    padding:16px;
    border-radius:30px;
    background:rgba(20,30,42,.76);
    border:1px solid var(--stroke);
    backdrop-filter:blur(30px);
    box-shadow:var(--shadow);
    opacity:0;
    transform:translateY(-12px);
    pointer-events:none;
    transition:.24s ease;
}

.menu-open .offcanvas{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.offcanvas a{
    display:flex;
    justify-content:space-between;
    padding:20px 22px;
    border-radius:20px;
    text-decoration:none;
    color:#edf4fa;
    font-size:24px;
    font-weight:850;
    letter-spacing:-.035em;
}

.offcanvas a:after{
    content:"↗";
    color:var(--blue2);
}

.offcanvas a:hover{
    background:rgba(255,255,255,.09);
}

main,footer{position:relative;z-index:2}

.hero{
    min-height:100vh;
    padding:158px max(7vw,24px) 72px;
    display:grid;
    grid-template-columns:1.18fr .82fr;
    gap:24px;
}

.hero-main,
.hero-side,
.glass{
    border:1px solid var(--stroke);
    background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045));
    backdrop-filter:blur(30px) saturate(150%);
    box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-main{
    border-radius:42px;
    min-height:640px;
    padding:56px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    position:relative;
    overflow:hidden;
}

.hero-main:before{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    right:-180px;
    top:-180px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(61,90,152,.62),transparent 65%);
}

.kicker{
    color:var(--blue2);
    text-transform:uppercase;
    letter-spacing:.16em;
    font-size:13px;
    font-weight:900;
    margin-bottom:22px;
}

h1{
    position:relative;
    max-width:980px;
    font-size:clamp(58px,8vw,122px);
    line-height:.86;
    letter-spacing:-.08em;
    color:#edf5fb;
}

.blue-dot:before,
.section-title:before{
    content:"";
    display:inline-block;
    width:.28em;
    height:.28em;
    border-radius:50%;
    background:var(--blue2);
    margin-right:.16em;
    transform:translateY(-.08em);
    box-shadow:0 0 0 12px rgba(127,155,212,.12);
}

.lead{
    position:relative;
    margin-top:34px;
    max-width:780px;
    font-size:22px;
    line-height:1.62;
    color:#b9c7d4;
}

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

.btn{
    display:inline-flex;
    min-height:58px;
    align-items:center;
    justify-content:center;
    padding:0 24px;
    border-radius:18px;
    font-weight:900;
    text-decoration:none;
    letter-spacing:-.02em;
}

.btn.primary{
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    color:white;
    box-shadow:0 22px 45px rgba(61,90,152,.32);
}

.btn.secondary{
    background:rgba(255,255,255,.08);
    border:1px solid var(--stroke);
    color:#edf5fb;
}

.hero-side{
    border-radius:42px;
    padding:34px;
    display:grid;
    align-content:space-between;
    overflow:hidden;
    position:relative;
}

.hero-side:after{
    content:"";
    position:absolute;
    inset:auto -40px -80px auto;
    width:330px;
    height:330px;
    border-radius:50%;
    background:rgba(127,155,212,.18);
    filter:blur(6px);
}

.side-title{
    position:relative;
    font-size:42px;
    line-height:.98;
    letter-spacing:-.055em;
    color:#edf5fb;
}

.stat-grid{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:40px;
}

.stat{
    min-height:132px;
    padding:22px;
    border-radius:26px;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.11);
}

.stat strong{
    display:block;
    font-size:36px;
    color:white;
    letter-spacing:-.04em;
}

.stat span{
    display:block;
    margin-top:8px;
    color:#aebdca;
    font-size:14px;
}

.section{
    padding:94px max(7vw,24px);
}

.section-label{
    color:var(--blue2);
    text-transform:uppercase;
    letter-spacing:.16em;
    font-size:13px;
    font-weight:900;
    margin-bottom:18px;
}

.section-title{
    max-width:980px;
    font-size:clamp(42px,5.8vw,82px);
    line-height:.92;
    letter-spacing:-.065em;
    color:#edf5fb;
}

.two-col{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:64px;
}

.copy{
    color:#b9c7d4;
    font-size:19px;
    line-height:1.78;
    display:grid;
    gap:24px;
}

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

.card{
    min-height:310px;
    border-radius:32px;
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:.22s ease;
}

.card:hover{
    transform:translateY(-7px);
    background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.07));
}

.card-num{
    width:56px;
    height:56px;
    border-radius:19px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    color:white;
    font-weight:950;
    box-shadow:0 18px 42px rgba(61,90,152,.25);
}

.card h3{
    color:#edf5fb;
    font-size:30px;
    line-height:1;
    letter-spacing:-.05em;
    margin:26px 0 14px;
}

.card p{
    color:#b3c0cd;
    line-height:1.68;
    font-size:17px;
}

.projects{
    padding:34px;
    border-radius:44px;
    background:rgba(209,221,232,.09);
    border:1px solid var(--stroke);
    backdrop-filter:blur(30px);
    box-shadow:var(--shadow);
}

.project-grid{
    margin-top:36px;
    display:grid;
    grid-template-columns:1.25fr .75fr .75fr;
    gap:18px;
}

.project{
    min-height:300px;
    border-radius:32px;
    padding:30px;
    background:
        linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045)),
        repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 1px,transparent 1px 18px);
    border:1px solid rgba(255,255,255,.14);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.project:first-child{grid-row:span 2}
.project span{color:var(--blue2);font-weight:950}
.project h3{
    color:#edf5fb;
    font-size:34px;
    line-height:1;
    letter-spacing:-.05em;
}

.markilux{
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:44px;
    padding:48px;
    border-radius:44px;
}

.news-grid{
    margin-top:42px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.news-card{
    border-radius:32px;
    padding:30px;
    min-height:240px;
}

.news-card time{
    color:var(--blue2);
    font-weight:950;
}

.news-card h3{
    color:#edf5fb;
    font-size:27px;
    line-height:1.04;
    letter-spacing:-.045em;
    margin:16px 0 14px;
}

.news-card p{
    color:#b3c0cd;
    line-height:1.68;
}

.contact{
    display:grid;
    grid-template-columns:1fr .9fr;
    gap:44px;
    padding:50px;
    border-radius:44px;
}

.contact p{
    color:#b9c7d4;
    font-size:19px;
    line-height:1.75;
    margin-top:24px;
}

.contact-list{
    display:grid;
    gap:14px;
    align-content:end;
}

.contact-list a,
.contact-list div{
    padding:20px 22px;
    border-radius:22px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#edf5fb;
    text-decoration:none;
    font-weight:850;
}

footer{
    padding:44px max(7vw,24px);
    color:#8798a9;
}

@media(max-width:960px){
    .hero,
    .two-col,
    .markilux,
    .contact{
        grid-template-columns:1fr;
    }
    .hero{padding-top:136px}
    .hero-main{min-height:auto;padding:36px}
    h1{font-size:52px}
    .cards,
    .news-grid,
    .project-grid{
        grid-template-columns:1fr;
    }
    .project:first-child{grid-row:auto}
    .stat-grid{grid-template-columns:1fr}
}



/* Kontaktbereich nach Screenshot-Vorgabe */
.contact-section{
    padding-top:96px;
}

.contact-shell{
    width:min(1320px,calc(100% - 32px));
    margin:0 auto;
    padding:58px;
    border-radius:44px;
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:56px;
    background:rgba(46,62,79,.58);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(32px) saturate(145%);
    box-shadow:0 42px 120px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.12);
}

.contact-left{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:690px;
}

.contact-title{
    color:#edf5fb;
    font-size:clamp(48px,5.8vw,92px);
    line-height:.88;
    letter-spacing:-.075em;
    max-width:560px;
}

.contact-title span{
    display:inline-block;
    width:.34em;
    height:.34em;
    border-radius:50%;
    background:#6d91e6;
    margin-right:.18em;
    transform:translateY(-.10em);
    box-shadow:0 0 0 13px rgba(109,145,230,.14);
}

.contact-title:after{
    content:".";
    color:#6d91e6;
}

.contact-lead{
    max-width:520px;
    margin-top:28px;
    color:#c0ccd8;
    font-size:18px;
    font-weight:750;
    line-height:1.75;
}

.contact-info-card{
    margin-top:46px;
    padding:30px;
    border-radius:28px;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(24px);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}

.info-title{
    color:#9bb7ee;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:13px;
    font-weight:950;
    margin-bottom:24px;
}

.info-item{
    display:grid;
    grid-template-columns:42px 1fr;
    gap:16px;
    align-items:start;
    margin-top:18px;
}

.info-item i{
    width:38px;
    height:38px;
    border-radius:50%;
    display:grid;
    place-items:center;
    color:#82a4f4;
    background:rgba(109,145,230,.17);
    font-style:normal;
    font-size:15px;
    font-weight:900;
}

.info-item strong{
    display:block;
    color:#edf5fb;
    font-size:16px;
    margin-bottom:6px;
}

.info-item span,
.info-item a{
    display:block;
    color:#c3ced9;
    text-decoration:none;
    line-height:1.55;
    font-size:16px;
}

.contact-form-panel{
    align-self:center;
    min-height:640px;
    padding:44px;
    border-radius:30px;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(30px);
    box-shadow:0 28px 75px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.10);
    display:grid;
    gap:18px;
}

.contact-form-panel h3{
    color:#edf5fb;
    font-size:30px;
    line-height:1;
    letter-spacing:-.045em;
    margin-bottom:6px;
}

.contact-form-panel input,
.contact-form-panel textarea{
    width:100%;
    border:1px solid rgba(255,255,255,.15);
    outline:0;
    border-radius:12px;
    padding:19px 20px;
    color:#edf5fb;
    background:rgba(255,255,255,.075);
    font:inherit;
    font-size:17px;
    font-weight:650;
    backdrop-filter:blur(18px);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder{
    color:#b9c5d2;
}

.contact-form-panel textarea{
    resize:vertical;
    min-height:165px;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus{
    border-color:rgba(109,145,230,.72);
    box-shadow:0 0 0 4px rgba(109,145,230,.13), inset 0 1px 0 rgba(255,255,255,.10);
}

.contact-form-panel button{
    min-height:64px;
    margin-top:14px;
    border:0;
    border-radius:12px;
    cursor:pointer;
    color:#edf5fb;
    background:linear-gradient(135deg,#6f98f2,#2f60c4);
    font:inherit;
    font-size:18px;
    font-weight:900;
    box-shadow:0 22px 46px rgba(47,96,196,.32);
}

.contact-form-panel button span{
    margin-left:28px;
    opacity:.78;
}

.privacy-note{
    color:#b5c2ce;
    font-size:14px;
    font-weight:650;
    margin-top:4px;
}

@media(max-width:960px){
    .contact-shell{
        grid-template-columns:1fr;
        padding:28px;
    }

    .contact-left{
        min-height:auto;
    }

    .contact-form-panel{
        min-height:auto;
        padding:26px;
    }
}


/* Projektbilder */
.project{
    position:relative;
    overflow:hidden;
    background-size:cover;
    background-position:center;
}

.project:before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(to top, rgba(10,16,24,.88), rgba(10,16,24,.18)),
        linear-gradient(145deg, rgba(61,90,152,.28), transparent 60%);
    z-index:1;
}

.project:after{
    content:"";
    position:absolute;
    inset:0;
    backdrop-filter:blur(1px);
    background:rgba(18,27,38,.14);
}

.project span,
.project h3{
    position:relative;
    z-index:3;
}

.project-1{
    background-image:
        url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?q=80&w=1400&auto=format&fit=crop');
}

.project-2{
    background-image:
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1200&auto=format&fit=crop');
}

.project-3{
    background-image:
        url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1200&auto=format&fit=crop');
}

.project-4{
    background-image:
        url('https://images.unsplash.com/photo-1494526585095-c41746248156?q=80&w=1200&auto=format&fit=crop');
}

.project-5{
    background-image:
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1200&auto=format&fit=crop');
}




/* ===== POLISH UPDATE ===== */

/* Überschriften sauber skalieren */
.section-title{
    max-width:100%;
    overflow-wrap:break-word;
    text-wrap:balance;
    font-size:clamp(38px,5vw,78px) !important;
    line-height:.92 !important;
    padding-right:24px;
}

/* Introtext etwas ruhiger */
.projects .lead{
    max-width:820px;
    color:#b8c4cf;
    font-size:20px;
    line-height:1.7;
}

/* Projektgrid schöner proportionieren */
.project-grid{
    margin-top:42px;
    gap:22px;
}

/* Modernere Karten */
.project{
    border-radius:34px !important;
    border:1px solid rgba(255,255,255,.07) !important;
    box-shadow:
        0 24px 70px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.08);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

/* Weiche Bildmaskierung */
.project:before{
    background:
        linear-gradient(to top,
            rgba(8,12,18,.92) 0%,
            rgba(8,12,18,.52) 34%,
            rgba(8,12,18,.18) 58%,
            rgba(8,12,18,.08) 100%
        ),
        linear-gradient(145deg,
            rgba(61,90,152,.18),
            transparent 60%);
}

/* Harte Glass-Schicht entfernen */
.project:after{
    background:
        radial-gradient(circle at top left,
            rgba(255,255,255,.08),
            transparent 40%);
    backdrop-filter:blur(.4px);
}

/* Hover hochwertiger */
.project:hover{
    transform:translateY(-8px);
    border-color:rgba(127,155,212,.18) !important;
    box-shadow:
        0 34px 90px rgba(0,0,0,.30),
        0 0 0 1px rgba(127,155,212,.10),
        inset 0 1px 0 rgba(255,255,255,.12);
}

/* Nummer dezenter */
.project span{
    font-size:15px;
    letter-spacing:.04em;
    opacity:.9;
}

/* Text schöner platzieren */
.project h3{
    max-width:92%;
    font-size:clamp(24px,2vw,42px) !important;
    line-height:.95 !important;
    letter-spacing:-.05em;
    text-wrap:balance;
    text-shadow:0 3px 12px rgba(0,0,0,.45);
}

/* Erste Karte nicht mehr so brutal dominant */
.project:first-child{
    min-height:640px;
}

/* Kleine Karten konsistenter */
.project:not(:first-child){
    min-height:290px;
}

/* Glascontainer um Projekte weicher */
.projects{
    border-radius:48px !important;
    border:1px solid rgba(255,255,255,.10) !important;
    background:
        linear-gradient(145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03));
    box-shadow:
        0 36px 100px rgba(0,0,0,.26),
        inset 0 1px 0 rgba(255,255,255,.08);
}

/* Mobile */
@media(max-width:960px){

    .section-title{
        font-size:48px !important;
    }

    .project:first-child{
        min-height:420px;
    }

    .project{
        min-height:240px !important;
    }

    .project h3{
        max-width:100%;
        font-size:32px !important;
    }
}
