﻿/* =====================================================================
   KK Eyewear – Startseite (Home.aspx)
   Alle Regeln sind unter .kkh gekapselt, damit andere Seiten unberührt bleiben.
   Keine externen Schriften (DSGVO): nur System-Schriftstapel.
   ===================================================================== */

.kkh {
    --kkh-ivory: #eef4fa;
    --kkh-paper: #f7fafd;
    --kkh-sand: #dde8f3;
    --kkh-ink: #14273b;
    --kkh-ink-soft: #52647a;
    --kkh-line: rgba(20, 39, 59, .12);
    --kkh-bronze: #2f6eb0;
    --kkh-bronze-dark: #1f5590;
    --kkh-night: #13304f;
    --kkh-serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
    --kkh-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --kkh-radius: 14px;
    --kkh-ease: cubic-bezier(.2, .7, .2, 1);

    font-family: var(--kkh-sans);
    color: var(--kkh-ink);
    margin-top: -10px; /* #mbody padding ausgleichen: Hero sitzt direkt unter der Navigation */
    -webkit-font-smoothing: antialiased;
}

    .kkh *, .kkh *::before, .kkh *::after { box-sizing: border-box; }
    .kkh h1, .kkh h2, .kkh h3, .kkh p { margin: 0; }
    .kkh a { text-decoration: none; }

/* Volle Breite trotz .container des Masters */
.kkh-bleed {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
}

/* 100vw enthält die Scrollbar-Breite: horizontales Scrollen verhindern.
   home.css wird nur auf dieser Seite geladen, betrifft also keine anderen Seiten. */
html, body { overflow-x: hidden; }

.kkh-wrap,
.kkh-hero__inner,
.kkh-strip__list,
.kkh-cta__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.kkh-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--kkh-bronze);
    margin-bottom: 16px !important;
}

.kkh-h2 {
    font-family: var(--kkh-serif);
    font-weight: 400;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.01em;
}

/* ---------- Buttons ---------- */
.kkh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .01em;
    border: 1px solid transparent;
    transition: background-color .25s var(--kkh-ease), color .25s var(--kkh-ease), transform .25s var(--kkh-ease), box-shadow .25s var(--kkh-ease), border-color .25s;
}

    .kkh-btn:hover, .kkh-btn:focus { transform: translateY(-2px); text-decoration: none; }
    .kkh-btn:focus-visible { outline: 3px solid var(--kkh-bronze); outline-offset: 3px; }
    .kkh-btn span { transition: transform .25s var(--kkh-ease); }
    .kkh-btn:hover span { transform: translateX(4px); }

.kkh-btn--primary { background: var(--kkh-ink); color: #fff !important; box-shadow: 0 10px 24px -12px rgba(20, 39, 59, .6); }
    .kkh-btn--primary:hover { background: var(--kkh-bronze-dark); }
.kkh-btn--ghost { color: var(--kkh-ink) !important; border-color: rgba(20, 39, 59, .25); background: transparent; }
    .kkh-btn--ghost:hover { border-color: var(--kkh-ink); background: rgba(255, 255, 255, .6); }
.kkh-btn--light { background: #fff; color: var(--kkh-night) !important; }
    .kkh-btn--light:hover { background: var(--kkh-sand); }
.kkh-btn--outline-light { color: #fff !important; border-color: rgba(255, 255, 255, .4); }
    .kkh-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Hero ---------- */
.kkh-hero {
    background:
        radial-gradient(1200px 520px at 78% 40%, #fff 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, var(--kkh-ivory) 0%, var(--kkh-paper) 100%);
    overflow: hidden;
    padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 8vw, 110px);
}

.kkh-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 40px;
}

.kkh-hero__title {
    font-family: var(--kkh-serif);
    font-weight: 400;
    font-size: clamp(48px, 7.2vw, 96px);
    line-height: .98;
    letter-spacing: -.02em;
}

    .kkh-hero__title em {
        font-style: italic;
        color: var(--kkh-bronze);
    }

.kkh-hero__lead {
    max-width: 30em;
    margin-top: 26px !important;
    font-size: 18px;
    line-height: 1.6;
    color: var(--kkh-ink-soft);
}

.kkh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.kkh-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    list-style: none;
    margin: 46px 0 0;
    padding: 26px 0 0;
    border-top: 1px solid var(--kkh-line);
}

    .kkh-hero__facts li { display: flex; flex-direction: column; }
    .kkh-hero__facts strong { font-family: var(--kkh-serif); font-weight: 400; font-size: 30px; line-height: 1; }
    .kkh-hero__facts span { margin-top: 6px; font-size: 13px; color: var(--kkh-ink-soft); }

.kkh-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kkh-hero__halo {
    position: absolute;
    inset: 6% 4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(47, 110, 176, .16), rgba(47, 110, 176, 0));
    filter: blur(6px);
}

.kkh-hero__frame {
    position: relative;
    width: 118%;
    max-width: none;
    height: auto;
    mix-blend-mode: multiply; /* weißer Bildhintergrund verschmilzt mit dem Hero */
    animation: kkh-float 7s ease-in-out infinite;
    filter: drop-shadow(0 30px 30px rgba(20, 39, 59, .14));
}

.kkh-hero__caption {
    position: relative;
    margin-top: 6px !important;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--kkh-ink-soft);
}

@keyframes kkh-float {
    0%, 100% { transform: translateY(0) rotate(-1.2deg); }
    50% { transform: translateY(-14px) rotate(.6deg); }
}

.kkh-scroll {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1.5px solid rgba(20, 39, 59, .35);
    border-radius: 14px;
}

    .kkh-scroll span {
        position: absolute;
        left: 50%;
        top: 8px;
        width: 4px;
        height: 8px;
        margin-left: -2px;
        border-radius: 2px;
        background: var(--kkh-ink);
        animation: kkh-scroll 1.8s ease-in-out infinite;
    }

@keyframes kkh-scroll {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Service strip ---------- */
.kkh-strip { background: var(--kkh-night); color: #dfe9f4; }

.kkh-strip__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    margin: 0 auto;
}

    .kkh-strip__list li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 22px 18px;
        font-size: 14px;
        letter-spacing: .02em;
        border-left: 1px solid rgba(255, 255, 255, .08);
    }

        .kkh-strip__list li:first-child { border-left: 0; }
        .kkh-strip__list .fa { font-size: 18px; color: #7fb3e6; width: 22px; text-align: center; }

/* ---------- Sections ---------- */
.kkh-section { padding: clamp(64px, 9vw, 120px) 0; }
.kkh-section--tint { background: var(--kkh-ivory); }
.kkh-section__head { max-width: 640px; margin-bottom: 48px; }

.kkh-section__head--row {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.kkh-link {
    color: var(--kkh-ink) !important;
    font-weight: 600;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
}

    .kkh-link:hover { color: var(--kkh-bronze) !important; text-decoration: none; }

/* ---------- Materials ---------- */
.kkh-materials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.kkh-material {
    position: relative;
    padding: 30px 26px 32px;
    background: #fff;
    border: 1px solid var(--kkh-line);
    border-radius: var(--kkh-radius);
    transition: transform .35s var(--kkh-ease), box-shadow .35s var(--kkh-ease), border-color .35s;
}

    .kkh-material:hover {
        transform: translateY(-6px);
        border-color: transparent;
        box-shadow: 0 24px 50px -28px rgba(20, 39, 59, .45);
    }

    .kkh-material h3 {
        font-family: var(--kkh-serif);
        font-weight: 400;
        font-size: 26px;
        margin: 22px 0 10px;
    }

    .kkh-material p { font-size: 15px; line-height: 1.6; color: var(--kkh-ink-soft); }

.kkh-material__sym {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(140deg, var(--kkh-sand), #fff);
    border: 1px solid var(--kkh-line);
    font-family: var(--kkh-serif);
    font-size: 22px;
    color: var(--kkh-bronze-dark);
}

/* ---------- Featured grid ---------- */
.kkh-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.kkh-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--kkh-radius);
    overflow: hidden;
    color: var(--kkh-ink) !important;
    box-shadow: 0 1px 0 var(--kkh-line);
    transition: transform .35s var(--kkh-ease), box-shadow .35s var(--kkh-ease);
}

    .kkh-card:hover, .kkh-card:focus {
        transform: translateY(-6px);
        box-shadow: 0 26px 50px -30px rgba(20, 39, 59, .5);
        text-decoration: none;
    }

    .kkh-card:focus-visible { outline: 3px solid var(--kkh-bronze); outline-offset: 3px; }

.kkh-card__img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 23 / 12;
    padding: 18px;
    background: #fff;
}

    .kkh-card__img img {
        width: 100%;
        height: auto;
        mix-blend-mode: multiply;
        transition: transform .5s var(--kkh-ease);
    }

.kkh-card:hover .kkh-card__img img { transform: scale(1.06); }

.kkh-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--kkh-line);
}

.kkh-card__name { font-weight: 600; font-size: 15px; letter-spacing: .01em; }
.kkh-card__meta { font-size: 13px; color: var(--kkh-ink-soft); }

.kkh-note {
    margin-top: 30px !important;
    font-size: 14px;
    color: var(--kkh-ink-soft);
}

    .kkh-note .fa { color: var(--kkh-bronze); margin-right: 6px; }

/* ---------- Steps ---------- */
.kkh-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.kkh-step {
    padding: 8px 32px 8px 0;
    margin-right: 32px;
    border-right: 1px solid var(--kkh-line);
}

    .kkh-step:last-child { border-right: 0; margin-right: 0; }

    .kkh-step h3 {
        font-family: var(--kkh-serif);
        font-weight: 400;
        font-size: 26px;
        margin: 14px 0 10px;
    }

    .kkh-step p { font-size: 15px; line-height: 1.6; color: var(--kkh-ink-soft); }

.kkh-step__num {
    font-family: var(--kkh-serif);
    font-size: 54px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--kkh-bronze);
}

/* ---------- CTA ---------- */
.kkh-cta {
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(127, 179, 230, .22), rgba(127, 179, 230, 0) 70%),
        var(--kkh-night);
    color: #eaf2fb;
    padding: clamp(64px, 9vw, 112px) 0;
    margin-bottom: -10px;
}

.kkh-cta__inner { max-width: 820px; text-align: center; }

    .kkh-cta__inner p {
        margin: 18px auto 0 !important;
        max-width: 36em;
        font-size: 17px;
        line-height: 1.6;
        color: rgba(234, 242, 251, .78);
    }

    .kkh-cta__inner .kkh-hero__actions { justify-content: center; }

.kkh-cta__title {
    font-family: var(--kkh-serif);
    font-weight: 400;
    font-size: clamp(30px, 4.4vw, 50px);
    line-height: 1.12;
}

/* ---------- Scroll reveal ---------- */
.kkh-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--kkh-ease), transform .8s var(--kkh-ease);
}

    .kkh-reveal.is-in { opacity: 1; transform: none; }

/* Ohne JavaScript alles sichtbar lassen */
.no-js .kkh-reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .kkh-hero__inner { grid-template-columns: 1fr; }
    .kkh-hero__visual { order: -1; max-width: 560px; margin: 0 auto; }
    .kkh-hero__frame { width: 100%; }
    .kkh-materials, .kkh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kkh-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .kkh-strip__list li:nth-child(3) { border-left: 0; }
        .kkh-strip__list li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
    .kkh-scroll { display: none; }
}

@media (max-width: 640px) {
    .kkh-materials, .kkh-steps, .kkh-strip__list { grid-template-columns: 1fr; }
    .kkh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .kkh-card__img { padding: 10px; }
    .kkh-card__body { padding: 12px 12px 14px; }
    .kkh-card__name { font-size: 13px; }
    .kkh-card__meta { font-size: 12px; }
        .kkh-strip__list li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 4px; }
        .kkh-strip__list li:first-child { border-top: 0; }
    .kkh-step { border-right: 0; margin-right: 0; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--kkh-line); }
        .kkh-step:last-child { border-bottom: 0; margin-bottom: 0; }
    .kkh-hero__lead { font-size: 16px; }
    .kkh-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .kkh-hero__frame, .kkh-scroll span { animation: none; }
    .kkh-reveal { opacity: 1; transform: none; transition: none; }
    .kkh-btn, .kkh-card, .kkh-material, .kkh-card__img img { transition: none; }
}

/* Startseite: letzte Sektion (CTA) schliesst direkt an den Footer an */
html body #mbody { padding-bottom: 0; }
