:root{
    color-scheme: light;

    --brand-blue: #1f6fd6;
    --brand-orange: #f28b1a;

    --bg: #f7fbff;
    --ink: #0b1220;
    --muted: #475569;
    --line: rgba(31, 111, 214, .16);
    --card: #ffffff;
    --soft: rgba(31, 111, 214, .06);

    --radius: 16px;
    --shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

*{
    box-sizing: border-box;
}

html,
body{
    height: 100%;
    overflow-x: hidden;
}

body{
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.65;
    font-size: 17px;
}

img{
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

a{
    color: inherit;
}

.container{
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: 0 28px;
}

.muted{
    color: var(--muted);
}

.preline{
    white-space: pre-line;
}

/* =========================
   HEADER
   ========================= */

.site-header{
    position: sticky;
    top: 0;
    background: rgba(247, 251, 255, .90);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 20;
    font-size: 1.2rem;
}

.topbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    min-height: 78px;
}

.brand{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 0;
}

.logo{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(31, 111, 214, .22);
    display: grid;
    place-items: center;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(31, 111, 214, .08);
    flex-shrink: 0;
}

.brand-text{
    display: grid;
    line-height: 1.1;
}

.brand-name{
    font-weight: 900;
    letter-spacing: -0.01em;
}

.brand-tagline{
    font-size: 13px;
    color: var(--muted);
}

/* =========================
   NAV
   ========================= */

.nav{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a{
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: var(--ink);
    font-weight: 650;
    font-size: 20dev px;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.nav a:hover{
    background: rgba(31, 111, 214, .06);
}

.nav a.is-active{
    border-color: rgba(31, 111, 214, .22);
    background: rgba(31, 111, 214, .10);
    font-weight: 900;
}

.nav-toggle{
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 900;
}

/* =========================
   HERO
   ========================= */

.hero{
    padding: 34px 0 18px;
}

.hero-shell{
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
            radial-gradient(1100px 420px at 15% 0%, rgba(31,111,214,.20) 0%, rgba(31,111,214,0) 60%),
            radial-gradient(900px 360px at 85% 15%, rgba(242,139,26,.20) 0%, rgba(242,139,26,0) 55%),
            #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-inner{
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    padding: 30px;
    align-items: center;
}

.hero h1{
    margin: 0 0 10px;
    font-size: clamp(34px, 3.6vw, 56px);
    letter-spacing: -0.03em;
    font-weight: 950;
    line-height: 1.05;
}

.hero p{
    margin: 0 0 16px;
    color: var(--muted);
    max-width: 65ch;
    font-size: 16px;
}

/* =========================
   BUTTONS
   ========================= */

.hero-actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(31, 111, 214, .22);
    background: #fff;
    font-weight: 900;
    font-size: 15px;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:hover{
    background: rgba(31, 111, 214, .06);
}

.btn.primary{
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(31,111,214,.18);
}

.btn.primary:hover{
    filter: brightness(0.97);
}

/* =========================
   HERO SIDE
   ========================= */

.hero-side{
    border: 1px solid rgba(31, 111, 214, .16);
    border-radius: 18px;
    background: rgba(255,255,255,.80);
    padding: 16px;
}

.hero-side .kicker{
    font-weight: 950;
    margin-bottom: 6px;
}

.hero-side ul{
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.hero-side li{
    margin: 6px 0;
}

/* =========================
   SECTIONS
   ========================= */

.section{
    padding: 26px 0;
}

.section-title{
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.15;
}

/* =========================
   CARDS
   ========================= */

.cards{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.card{
    border: 1px solid rgba(31,111,214,.14);
    border-radius: var(--radius);
    background: var(--card);
    padding: 16px;
    box-shadow: 0 1px 0 rgba(15,23,42,.03);
    transition: transform .15s ease, box-shadow .15s ease;
    overflow: hidden;
}

.card:hover{
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.card .icon{
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(31,111,214,.18);
    background: linear-gradient(180deg, rgba(31,111,214,.12), rgba(242,139,26,.10));
    margin-bottom: 10px;
}

.card h3{
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.card p{
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================
   ABOUT / CALLOUT
   ========================= */

.about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.about .photo{
    border: 1px dashed rgba(31,111,214,.28);
    background: linear-gradient(180deg, rgba(31,111,214,.06), #ffffff);
    border-radius: 18px;
    min-height: 220px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 800;
    overflow: hidden;
}

.callout{
    border: 1px solid rgba(242,139,26,.20);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(242,139,26,.08), rgba(31,111,214,.05));
    padding: 18px;
    overflow: hidden;
}

.callout h3{
    margin: 0 0 8px;
    font-weight: 950;
    font-size: 20px;
}

.callout p{
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 15px;
}

/* =========================
   TESTIMONIALS
   ========================= */

.testimonials{
    border: 1px solid rgba(31,111,214,.14);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 18px;
    overflow: hidden;
}

.t-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.t-controls{
    display: flex;
    gap: 8px;
}

.iconbtn{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(31,111,214,.18);
    background: #fff;
    cursor: pointer;
    font-weight: 900;
}

.iconbtn:hover{
    background: rgba(31,111,214,.06);
}

.quote{
    margin: 0;
    color: var(--ink);
    font-weight: 750;
    font-size: 16px;
}

.quote .by{
    margin-top: 10px;
    font-weight: 900;
    color: var(--muted);
}

/* =========================
   CONTACT STRIP
   ========================= */

.contact-strip{
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(31,111,214,.14);
    border-radius: 22px;
    padding: 16px;
    background: #fff;
    overflow: hidden;
}

.chips{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.chip{
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(242,139,26,.25);
    border-radius: 999px;
    text-decoration: none;
    background: rgba(242,139,26,.10);
    font-weight: 900;
}

.chip:hover{
    background: rgba(242,139,26,.14);
}

/* =========================
   FOOTER
   ========================= */

.site-footer{
    margin-top: 26px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-grid{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 14px;
    padding: 18px 0;
    align-items: start;
}

.footer-title{
    font-weight: 950;
    margin-bottom: 8px;
}

.footer-links{
    display: grid;
    gap: 8px;
}

.footer-links a{
    color: var(--muted);
    text-decoration: none;
    font-weight: 650;
}

.footer-links a:hover{
    color: var(--ink);
}

.footer-contact{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-bottom{
    padding: 12px 0 18px;
}

/* =========================
   LEISTUNGEN
   ========================= */

#leistungen .section-title{
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

#leistungen > .container > .muted{
    font-size: 18px;
    line-height: 1.75;
    max-width: 80ch;
}

#leistungen .card{
    background: rgba(31,111,214,.08);
    border: 2px solid rgba(31,111,214,.28);
}

#leistungen .card h3{
    color: var(--brand-orange);
}

#leistungen .card p,
#leistungen .card .muted{
    color: #0b1220;
}

#leistungen .card:hover{
    background: rgba(31,111,214,.11);
    border-color: rgba(31,111,214,.36);
}

#leistungen .card p{
    font-size: 17px;
    line-height: 1.85;
}

#leistungen .card .muted{
    font-size: 16px;
}

.section .section-title + .cards,
.section .section-title + p + .cards,
#leistungen .cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.section .section-title + .cards .card,
.section .section-title + p + .cards .card,
#leistungen .card{
    padding: 26px;
    border-radius: 22px;
}

.section .section-title + .cards .card h3,
.section .section-title + p + .cards .card h3,
#leistungen .card h3{
    font-size: 24px;
    font-weight: 950;
    margin: 0 0 12px;
    line-height: 1.15;
}

.section .section-title + .cards .card p,
.section .section-title + p + .cards .card p,
#leistungen .card p{
    font-size: 17px;
    line-height: 1.85;
}

/* =========================
   BILDER RESPONSIVE FIX
   ========================= */

.hero img,
.about img,
.card img,
.callout img,
.testimonials img,
.contact-strip img,
.site-footer img{
    width: 100%;
    height: auto;
    display: block;
}

.about .photo img,
.card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   HERO BLEED
   ========================= */

.hero-bleed{
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

.hero-bleed__img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* =========================
   HOME SECTION
   ========================= */

.home-section{
    padding-top: 26px;
}

/* =========================
   TILES
   ========================= */

.tiles{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 22px;
}

.tile-link{
    display: block;
    text-decoration: none;
    color: inherit;
}

.tile-link:focus-visible{
    outline: 3px solid rgba(31,111,214,.45);
    outline-offset: 6px;
    border-radius: 18px;
}

.tile{
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
    background: rgba(31,111,214,.06);
    border: 2px solid rgba(31,111,214,.22);
    transition: .15s ease;
}

.tile-link:hover .tile{
    background: rgba(31,111,214,.09);
    border-color: rgba(31,111,214,.30);
}

.tile img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.tile__body{
    padding: 16px 16px 18px;
}

.tile__body h3{
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.02em;
    color: var(--brand-orange);
    line-height: 1.15;
}

.tile__body .muted{
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #0b1220;
}

/* =========================
   CTA BAR
   ========================= */

.cta-bar{
    grid-column: 1 / -1;
    border-radius: 22px;
    padding: 22px;
    border: 2px solid rgba(31,111,214,.22);
    background:
            radial-gradient(900px 420px at 15% 0%, rgba(31,111,214,.18), rgba(31,111,214,0) 60%),
            radial-gradient(900px 420px at 90% 10%, rgba(242,139,26,.16), rgba(242,139,26,0) 55%),
            #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-bar__copy{
    display: grid;
    gap: 4px;
}

.cta-bar__title{
    font-size: 28px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.cta-bar__text{
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.cta-bar__actions{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================
   CTA SPLIT
   ========================= */



/* =========================
   REVIEWS
   ========================= */

.reviews{
    grid-column: 1 / -1;
    border-radius: 22px;
    border: 2px solid rgba(31,111,214,.22);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,.08);
    padding: 22px;
}

.reviews__head{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.reviews__title{
    margin: 0;
    font-weight: 950;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--brand-orange);
}

.reviews__wrap{
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
}

.reviews__viewport{
    overflow: visible;
}

.reviews__track{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 6px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews__track::-webkit-scrollbar{
    width: 0;
    height: 0;
}

.reviews__nav{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 2px solid rgba(31,111,214,.22);
    background: rgba(31,111,214,.06);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews__nav:hover{
    background: rgba(31,111,214,.09);
    border-color: rgba(31,111,214,.30);
}

.review-card{
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 32px) / 3);
    border-radius: 18px;
    border: 2px solid rgba(31,111,214,.18);
    background:
            radial-gradient(700px 260px at 15% 0%, rgba(31,111,214,.10), rgba(31,111,214,0) 55%),
            #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
    padding: 16px 16px 14px;
    min-height: 170px;
}

.review-card__top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.review-card__name{
    font-weight: 900;
    color: var(--ink);
}

.review-card__stars{
    color: var(--brand-orange);
    letter-spacing: 1px;
    font-size: 14px;
}

.review-card__text{
    margin: 0 0 10px;
    line-height: 1.75;
    color: #0b1220;
}

.review-card__meta{
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* =========================
   CTA SPLIT RESPONSIVE
   ========================= */

@media (max-width: 1000px){
    .cta-split{
        grid-template-columns: 1fr;
    }

    .cta-split__media{
        max-height: 620px;
    }
}

@media (max-width: 700px){
    .cta-split{
        border-radius: 18px;
    }

    .cta-split__content{
        padding: 24px 18px 22px;
    }

    .cta-split__introcard{
        width: 100%;
        margin-bottom: 24px;
    }

    .cta-split__section h4{
        font-size: 22px;
    }

    .cta-split__section p{
        font-size: 17px;
        line-height: 1.8;
        max-width: none;
    }
}

/* =========================
   LAPTOP
   ========================= */

@media (max-width: 1200px){
    .container{
        padding: 0 22px;
    }

    .topbar{
        gap: 10px;
    }

    .nav{
        gap: 4px;
    }

    .nav a{
        padding: 9px 10px;
        font-size: 15px;
    }

    .hero-inner{
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .hero-side{
        max-width: 680px;
    }

    .cards{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about{
        grid-template-columns: 1fr;
    }

    .footer-grid{
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact{
        justify-content: flex-start;
    }

    .tiles{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .cta-bar__title{
        font-size: 24px;
    }

    .review-card{
        flex: 0 0 calc((100% - 16px) / 2);
    }
}
@media (max-width: 768px){
    .topbar{
        position: relative;
        flex-wrap: wrap;
    }

    .nav-toggle{
        display: inline-flex;
        margin-left: auto;
    }

    .nav{
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        padding-top: 12px;
    }

    .nav.is-open{
        display: flex;
    }

    .nav a{
        width: 100%;
        text-align: left;
    }
}
@media (max-width: 768px){
    .reviews{
        padding: 18px 14px;
    }

    .reviews__wrap{
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 10px;
    }

    .reviews__viewport{
        min-width: 0;
        overflow: hidden;
    }

    .reviews__track{
        gap: 12px;
    }

    .review-card{
        flex: 0 0 100%;
        min-width: 0;
    }

    .reviews__nav{
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .review-card__text{
        overflow-wrap: break-word;
        word-break: break-word;
    }
}
@media (max-width: 768px){
    .footer-grid{
        grid-template-columns: 1fr 1fr;
        gap: 18px 24px;
        align-items: start;
    }

    .footer-links{
        min-width: 0;
    }

    .footer-links a{
        display: block;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-contact{
        grid-column: 1 / -1;
        justify-content: flex-start;
        min-width: 0;
    }

    .footer-contact .chip{
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-bottom{
        padding-top: 8px;
    }
}