/*
===============================================================================
VIVA DETAIL – KUNDENSEITE
===============================================================================

Diese Datei ist absichtlich in zwei Teile aufgeteilt:

1. SCHNELL ANPASSEN
   Hier kannst du Farben, Schriftgrößen, Rundungen und Abstände ändern.

2. SEITENAUFBAU
   Hier stehen die eigentlichen CSS-Regeln. Normalerweise musst du diesen
   Bereich nicht anfassen.

Tipp:
- HEX-Farben sehen z. B. so aus: #e7ff43
- Größere px-Werte = größere Schrift / größere Abstände
- 999px bei Buttons = komplett runde Buttons

===============================================================================
*/

/* ========================================================================== */
/* 1. SCHNELL ANPASSEN                                                       */
/* ========================================================================== */

:root {
    /* ---------------------------------------------------------------------- */
    /* HAUPTFARBEN                                                            */
    /* ---------------------------------------------------------------------- */

    /* Hintergrund der hellen Bereiche */
    --color-page-bg: #f5f5f2;

    /* Normale Schrift auf hellem Hintergrund */
    --color-text: #101011;

    /* Dezente / sekundäre Schrift */
    --color-muted: #707074;

    /* Linien und Trennungen */
    --color-line: #deded9;

    /* VIVA Akzentfarbe – aktuell Neon-Gelb/Grün */
    --color-accent: #D91929;

    /* Weiß */
    --color-white: #ffffff;

    /* Dunkler Hero-Bereich ganz oben */
    --color-hero-bg: #0f0f10;

    /* Kontaktbereich und Footer */
    --color-contact-bg: #101011;

    /* Vorher-/Nachher-Hintergrund */
    --color-gallery-bg: #e9e9e4;

    /* Karten */
    --color-card-bg: #ffffff;

    /* Kategorie-Buttons */
    --color-tab-bg: #e8e8e4;
    --color-tab-text: #55555a;
    --color-tab-active-bg: #111111;
    --color-tab-active-text: #ffffff;

    /* ---------------------------------------------------------------------- */
    /* SCHRIFTEN                                                              */
    /* ---------------------------------------------------------------------- */

    /* Hauptschrift der gesamten Website */
    --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Logo / Markenname oben links */
    --font-size-brand: 18px;

    /* Große Überschrift im Hero-Bereich */
    --font-size-hero-min: 64px;
    --font-size-hero-fluid: 10vw;
    --font-size-hero-max: 142px;

    /* Überschriften wie "Leistungen" und "Vorher / Nachher" */
    --font-size-section-min: 44px;
    --font-size-section-fluid: 6.2vw;
    --font-size-section-max: 84px;

    /* Große Überschrift im Kontaktbereich */
    --font-size-contact-min: 52px;
    --font-size-contact-fluid: 7vw;
    --font-size-contact-max: 96px;

    /* Titel einer Leistung */
    --font-size-service-title: 26px;

    /* ---------------------------------------------------------------------- */
    /* FORM / RUNDUNGEN                                                       */
    /* ---------------------------------------------------------------------- */

    /* Rundung der Leistungskarten */
    --radius-card: 24px;

    /* Rundung großer Boxen wie Kontaktformular / Vorher-Nachher */
    --radius-large: 28px;

    /* Rundung normaler Eingabefelder */
    --radius-input: 13px;

    /* Rundung von normalen kleinen Boxen */
    --radius-small: 12px;

    /* 999px = vollständig runde Pills / Buttons */
    --radius-pill: 999px;

    /* ---------------------------------------------------------------------- */
    /* ABSTÄNDE                                                               */
    /* ---------------------------------------------------------------------- */

    /* Seitlicher Abstand auf großen Bildschirmen */
    --page-padding-x: clamp(22px, 7vw, 110px);

    /* Abstand oben/unten bei normalen Bereichen */
    --section-padding-y: clamp(80px, 10vw, 150px);

    /* Höhe des Headers */
    --header-height: 78px;

    /* ---------------------------------------------------------------------- */
    /* BUTTONS                                                                */
    /* ---------------------------------------------------------------------- */

    /* Heller Hauptbutton im Hero */
    --button-light-bg: #ffffff;
    --button-light-text: #111111;

    /* Senden-Button im Kontaktformular */
    --button-submit-bg: #111111;
    --button-submit-text: #ffffff;

    /* ---------------------------------------------------------------------- */
    /* KONTAKT / FORMULAR                                                     */
    /* ---------------------------------------------------------------------- */

    --color-contact-muted: #aaaab0;
    --color-contact-line: #2b2b2e;
    --color-contact-icon-line: #3a3a3e;

    --color-input-bg: #fafafa;
    --color-input-border: #dedede;
    --color-input-focus-border: #999999;

    /* ---------------------------------------------------------------------- */
    /* KOMPATIBILITÄT MIT ÄLTEREN REGELN                                      */
    /* Nicht löschen – diese Namen werden unten noch verwendet.               */
    /* ---------------------------------------------------------------------- */

    --ink: var(--color-text);
    --paper: var(--color-page-bg);
    --muted: var(--color-muted);
    --line: var(--color-line);
    --accent: var(--color-accent);
    --white: var(--color-white);
    --radius: var(--radius-card);
}


/* ========================================================================== */
/* 2. SEITENAUFBAU                                                           */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* GRUNDEINSTELLUNGEN                                                         */
/* -------------------------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-page-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}


/* -------------------------------------------------------------------------- */
/* HEADER / NAVIGATION                                                        */
/* -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    padding: 0 clamp(22px, 4vw, 64px);
    display: flex;
    align-items: center;
    gap: 38px;
    color: var(--color-white);
    transition: background .25s, border-color .25s, backdrop-filter .25s;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(15, 15, 16, .88);
    backdrop-filter: blur(18px);
    border-color: rgba(255, 255, 255, .09);
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: auto;
    height: 55px;
    object-fit: contain;
}

.brand-viva {
    background: var(--color-accent);
    color: #101011;
    padding: 5px 6px;
    border-radius: 5px;
    letter-spacing: -.08em;
}

.main-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #d1d1d1;
    transition: color .15s;
}

.main-nav a:hover {
    color: var(--color-white);
}

.header-cta {
    padding: 11px 17px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


/* -------------------------------------------------------------------------- */
/* HERO / STARTBEREICH                                                        */
/* -------------------------------------------------------------------------- */

.hero {
    position: relative;
    height: 110vh;
    height: 110svh;
    min-height: 110vh;
    min-height: 110svh;
    overflow: hidden;
    background: var(--color-hero-bg);
    color: var(--color-white);
    display: flex;
    align-items: flex-end;
    padding: 130px var(--page-padding-x) clamp(70px, 8vw, 110px);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 38%, rgba(255, 255, 255, .07), transparent 34%),
        linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 55%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.eyebrow {
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: .19em;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-accent);
}

.eyebrow.dark {
    color: #59595d;
}

.hero h1,
.section-heading h2,
.contact-info h2 {
    margin: 0;
    letter-spacing: -.065em;
    line-height: .92;
}

.hero h1 {
    font-size: clamp(
        var(--font-size-hero-min),
        var(--font-size-hero-fluid),
        var(--font-size-hero-max)
    );
    font-weight: 700;
}

.hero h1 em {
    font-style: normal;
    color: var(--color-accent);
}

.hero-copy {
    max-width: 590px;
    margin: 30px 0 0;
    color: #b8b8bc;
    font-size: clamp(16px, 1.55vw, 20px);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.button-light {
    background: var(--button-light-bg);
    color: var(--button-light-text);
}

.button-ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    color: var(--color-white);
}

.hero-mark {
    position: absolute;
    right: -1.5vw;
    bottom: -5vw;
    font-size: min(37vw, 520px);
    font-weight: 800;
    letter-spacing: -.12em;
    line-height: .75;
    color: rgba(255, 255, 255, .025);
    user-select: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.hero-glow-one {
    width: 540px;
    height: 540px;
    background: color-mix(in srgb, var(--color-accent) 8%, transparent);
    right: -170px;
    top: 80px;
}

.hero-glow-two {
    width: 400px;
    height: 400px;
    background: rgba(70, 90, 255, .05);
    right: 26%;
    bottom: -200px;
}


/* -------------------------------------------------------------------------- */
/* NORMALE ABSCHNITTE                                                         */
/* -------------------------------------------------------------------------- */

.section {
    padding: var(--section-padding-y) var(--page-padding-x);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 58px;
}

.section-heading h2,
.contact-info h2 {
    font-size: clamp(
        var(--font-size-section-min),
        var(--font-size-section-fluid),
        var(--font-size-section-max)
    );
    font-weight: 650;
}

.section-heading > p {
    margin: 0 0 8px;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 400px;
}


/* -------------------------------------------------------------------------- */
/* LEISTUNGEN – KATEGORIEN                                                    */
/* -------------------------------------------------------------------------- */

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 18px;
    margin-bottom: 34px;
}

.category-tab {
    border: 0;
    background: var(--color-tab-bg);
    color: var(--color-tab-text);
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
}

.category-tab.active {
    background: var(--color-tab-active-bg);
    color: var(--color-tab-active-text);
}


/* -------------------------------------------------------------------------- */
/* LEISTUNGEN – KARTEN                                                        */
/* -------------------------------------------------------------------------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s, transform .2s;
}

.service-grid[hidden] {
    display: none !important;
}

.service-grid.active {
    opacity: 1;
    transform: none;
}

.service-card {
    min-height: 300px;
    background: var(--color-card-bg);
    border: 1px solid #e7e7e1;
    border-radius: var(--radius-card);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.service-number {
    font-size: 12px;
    color: #9a9a9d;
}

.service-price {
    padding: 8px 10px;
    background: #f3f3ef;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 750;
}

.service-card h3 {
    margin: auto 0 12px;
    font-size: var(--font-size-service-title);
    letter-spacing: -.04em;
}

.service-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
    font-size: 14px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed #cfcfca;
    border-radius: 20px;
    color: var(--color-muted);
    text-align: center;
}


/* -------------------------------------------------------------------------- */
/* VORHER / NACHHER                                                           */
/* -------------------------------------------------------------------------- */

.gallery-section {
    background: var(--color-gallery-bg);
}

.gallery-grid {
    display: grid;
    gap: 20px;
}

.compare-card {
    background: #111111;
    color: var(--color-white);
    border-radius: var(--radius-large);
    overflow: hidden;
}

.compare-title {
    padding: 24px 26px;
}

.compare-title h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.03em;
}

.compare-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #111111;
}

.compare-images figure {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #222222;
}

.compare-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.compare-images figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 7px 10px;
    border-radius: var(--radius-pill);
    background: rgba(15, 15, 16, .72);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 750;
}


/* -------------------------------------------------------------------------- */
/* KONTAKTBEREICH                                                             */
/* -------------------------------------------------------------------------- */

.contact-section {
    background: var(--color-contact-bg);
    color: var(--color-white);
    padding: var(--section-padding-y) var(--page-padding-x);
}

.contact-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: clamp(50px, 9vw, 130px);
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(
        var(--font-size-contact-min),
        var(--font-size-contact-fluid),
        var(--font-size-contact-max)
    );
}

.contact-intro {
    max-width: 520px;
    color: var(--color-contact-muted);
    line-height: 1.7;
    margin: 28px 0 45px;
}

.contact-links {
    border-top: 1px solid var(--color-contact-line);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 19px 0;
    border-bottom: 1px solid var(--color-contact-line);
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-link span:last-child {
    min-width: 0;
}

.contact-link small,
.contact-link strong {
    display: block;
}

.contact-link small {
    color: #7f7f84;
    font-size: 11px;
    margin-bottom: 4px;
}

.contact-link strong {
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}


/* -------------------------------------------------------------------------- */
/* KONTAKTFORMULAR                                                            */
/* -------------------------------------------------------------------------- */

.contact-form-card {
    background: var(--color-white);
    color: #111111;
    border-radius: var(--radius-large);
    padding: 30px;
}

.form-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 750;
    margin-bottom: 28px;
}

.form-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.contact-form-card form {
    display: grid;
    gap: 17px;
}

.contact-form-card label {
    display: grid;
    gap: 8px;
    font-size: 11px;
    color: #666666;
    font-weight: 700;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    border: 1px solid var(--color-input-border);
    background: var(--color-input-bg);
    border-radius: var(--radius-input);
    padding: 13px 14px;
    color: #111111;
    outline: 0;
    resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--color-input-focus-border);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .04);
}

.submit-button {
    margin-top: 4px;
    border: 0;
    background: var(--button-submit-bg);
    color: var(--button-submit-text);
    border-radius: var(--radius-input);
    min-height: 50px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 750;
    cursor: pointer;
}

.form-message {
    padding: 12px 14px;
    border-radius: var(--radius-small);
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.5;
}

.form-message.success {
    background: #eff8e7;
    color: #315d16;
}

.form-message.error {
    background: #fff0ef;
    color: #9a271e;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
}


/* -------------------------------------------------------------------------- */
/* FOOTER                                                                     */
/* -------------------------------------------------------------------------- */

.site-footer {
    min-height: 110px;
    background: var(--color-contact-bg);
    border-top: 1px solid #262629;
    color: #74747a;
    padding: 26px var(--page-padding-x);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    font-size: 11px;
}

.footer-brand {
    color: var(--color-white);
    justify-self: start;
}

.site-footer span:last-child {
    justify-self: end;
}


/* ========================================================================== */
/* 3. RESPONSIVE – TABLET                                                     */
/* ========================================================================== */

@media (max-width: 900px) {
    :root {
        --header-height: 68px;
    }

    .main-nav {
        display: none;
    }

    .header-cta {
        margin-left: auto;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .site-footer span:last-child {
        justify-self: start;
    }
}


/* ========================================================================== */
/* 4. RESPONSIVE – SMARTPHONE                                                 */
/* ========================================================================== */

@media (max-width: 620px) {
    :root {
        --page-padding-x: 18px;
        --font-size-hero-min: 58px;
        --font-size-hero-fluid: 20vw;
        --font-size-hero-max: 90px;
    }

    .hero {
    height: 105vh;
    height: 105svh;

    min-height: 105vh;
    min-height: 105svh;

    padding-bottom: calc(70px + 10svh);
}

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 245px;
    }

    .compare-images {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 22px;
        border-radius: 22px;
    }
}

.safari-status-color {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: env(safe-area-inset-top);
    background: #EBEBEB;

    z-index: 999999;
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #111827;
}
html,
body {
    margin: 0;
    min-height: 100%;
    background: #0e0e0f !important;
}
.page-background {
    background: #ffffff;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
/* Safari: unteren dynamischen Bereich dunkel halten */
body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #0b0b0d;
    z-index: 999999;
    pointer-events: none;
}


.site-header {
    border-bottom: none !important;
    box-shadow: none !important;

    background: #0e0e0f !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
@media (min-width: 621px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
    }
}