﻿/*
|--------------------------------------------------------------------------
| ToRo-Media – Startseite
| Webdesign mit Persönlichkeit
| Hero-Feinschliff
|--------------------------------------------------------------------------
*/

/* HERO */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 630px;
    overflow: hidden;
    background: #318CE7;
}

/* Hintergrundbild und fließender Farbverlauf */

.hero-background {
    position: absolute;
    z-index: -1;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(25, 119, 214, 0.98) 0%,
            rgba(35, 135, 225, 0.95) 23%,
            rgba(49, 140, 231, 0.78) 39%,
            rgba(49, 140, 231, 0.28) 58%,
            rgba(49, 140, 231, 0.02) 78%
        ),
        url("../assets/images/hero/hero-workspace.png");

    background-position:
        center,
        55% center;

    background-size:
        cover,
        cover;

    background-repeat: no-repeat;
}

/* Weicher Übergang zum weißen Bereich */

.hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 70px;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.35) 55%,
        #FFFFFF 100%
    );

    pointer-events: none;
}

/* Inhalt */

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 580px) 1fr;
    align-items: center;
    width: 100%;
    padding-top: 85px;
    padding-bottom: 100px;
}

.hero-content {
    min-width: 0;
    padding-left: 42px;
    color: #FFFFFF;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 23px;
    color: #E8F6FF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    margin-bottom: 27px;
    color: #FFFFFF;
    font-size: clamp(2.7rem, 4.3vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 12px rgba(15, 55, 95, 0.10);
}

.hero h1 span {
    display: block;
    color: #C5F2FF;
}

.hero-description {
    max-width: 510px;
    margin-bottom: 32px;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.85;
    text-shadow: 0 1px 8px rgba(15, 55, 95, 0.12);
}

/* Buttons */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.hero-actions .btn {
    min-height: 52px;
    padding: 13px 27px;
}

.hero-actions .btn-primary {
    background: #0865D9;
    border-color: #0865D9;
    color: #FFFFFF;
}

.hero-actions .btn-primary:hover {
    background: #0755B7;
    border-color: #0755B7;
}

.hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.90);
    color: #FFFFFF;
}

.hero-secondary:hover {
    background: #FFFFFF;
    color: var(--color-primary);
}

/* Vorteile */

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 38px;
    color: #F1FAFF;
    font-size: 13px;
    font-weight: 600;
}

.hero-trust span {
    white-space: nowrap;
}

/* GEMEINSAME ABSCHNITTE */

.section-heading {
    margin-bottom: 50px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading .section-title {
    margin-bottom: 20px;
}

.section-heading .section-description {
    margin-bottom: 0;
}

.section-action {
    margin-top: 45px;
    text-align: center;
}

/* LEISTUNGEN */

.services-section {
    background: #FFFFFF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    padding: 36px 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: #FFFFFF;
    box-shadow: var(--shadow-card);

    transition:
        transform var(--transition-default),
        box-shadow var(--transition-default);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(20, 55, 91, 0.12);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
    border-radius: 18px;
    background: #E7F3FF;
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* REFERENZEN */

.references-section {
    background: var(--color-background);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.reference-card {
    min-width: 0;
    padding: 28px 25px 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: #FFFFFF;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-default);
}

.reference-card:hover {
    transform: translateY(-5px);
}

/* MONITORE */

.reference-monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.monitor-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 20px;
    border: 9px solid #26384A;
    border-bottom-width: 15px;
    border-radius: 12px;

    background: linear-gradient(
        145deg,
        #DCEEFF,
        #87BDF0
    );

    text-align: center;
    box-shadow: 0 12px 25px rgba(20, 55, 91, 0.12);
}

.reference-card:nth-child(2) .monitor-screen {
    background: linear-gradient(
        145deg,
        #E5F5E9,
        #B6DAC2
    );
}

.reference-card:nth-child(3) .monitor-screen {
    background: linear-gradient(
        145deg,
        #F8E6F0,
        #D9B6D0
    );
}

.monitor-category {
    margin-bottom: 15px;
    color: #365A7C;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.monitor-screen strong {
    color: var(--color-dark);
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.3;
}

.monitor-screen small {
    margin-top: 10px;
    color: #41627F;
    font-size: 11px;
}

.monitor-neck {
    width: 18%;
    height: 19px;

    background: linear-gradient(
        90deg,
        #A8B4BF,
        #E0E6EC,
        #A8B4BF
    );
}

.monitor-base {
    width: 43%;
    height: 9px;
    border-radius: 50% 50% 5px 5px;
    background: #A8B4BF;
}

/* REFERENZ-TEXTE */

.reference-content h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.reference-content p {
    min-height: 82px;
    margin-bottom: 17px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.8;
}

.reference-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #EAF4FF;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
}

/* ABLAUF */

.process-section {
    background: #FFFFFF;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}

.process-step {
    position: relative;
    padding: 35px 28px;
    text-align: center;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #E8F4FF;
    color: var(--color-primary);
    font-size: 23px;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 21px;
}

.process-step p {
    max-width: 290px;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* KONTAKTAUFRUF */

.home-cta {
    padding: 90px 0;

    background: linear-gradient(
        135deg,
        #14375B,
        #205584
    );

    color: #FFFFFF;
}

.home-cta-inner {
    max-width: 800px;
    text-align: center;
}

.home-cta .section-eyebrow {
    color: #77DDE6;
}

.home-cta h2 {
    margin-bottom: 23px;
    color: #FFFFFF;
    font-size: clamp(2rem, 4vw, 3rem);
}

.home-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #DFEAF4;
    font-size: 17px;
    line-height: 1.85;
}

/* TABLET */

@media (max-width: 1050px) {
    .hero {
        min-height: 610px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 0.4fr;
        padding-top: 75px;
        padding-bottom: 95px;
    }

    .hero-content {
        padding-left: 22px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    .hero-background {
        background-position: center, 58% center;
    }

    .services-grid,
    .references-grid {
        gap: 18px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .reference-card {
        padding: 20px 17px 25px;
    }
}

/* KLEINERE TABLETS */

@media (max-width: 800px) {
    .hero {
        min-height: 600px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 75px;
        padding-bottom: 100px;
    }

    .hero-content {
        max-width: 580px;
        padding-left: 0;
    }

    .hero-background {
        background-image:
            linear-gradient(
                90deg,
                rgba(25, 119, 214, 0.97) 0%,
                rgba(35, 135, 225, 0.90) 45%,
                rgba(49, 140, 231, 0.55) 100%
            ),
            url("../assets/images/hero/hero-workspace.png");

        background-position: center, 60% center;
    }

    .services-grid,
    .references-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        gap: 15px;
    }

    .process-step {
        padding: 25px 15px;
    }
}

/* SMARTPHONE */

@media (max-width: 600px) {
    .hero {
        min-height: 600px;
    }

    .hero-grid {
        padding-top: 65px;
        padding-bottom: 95px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-background {
        background-image:
            linear-gradient(
                to bottom,
                rgba(25, 119, 214, 0.96) 0%,
                rgba(35, 135, 225, 0.93) 40%,
                rgba(49, 140, 231, 0.76) 75%,
                rgba(49, 140, 231, 0.50) 100%
            ),
            url("../assets/images/hero/hero-workspace.png");

        background-position: center, 57% center;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 9vw, 3rem);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .services-grid,
    .references-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

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

    .service-card {
        padding: 30px 25px;
    }

    .reference-card {
        padding: 25px;
    }

    .reference-content p {
        min-height: 0;
    }

    .process-step {
        padding: 20px 15px;
    }

    .home-cta {
        padding: 65px 0;
    }

    .home-cta p {
        font-size: 15px;
    }
}

/* REDUZIERTE ANIMATIONEN */

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .reference-card {
        transition: none;
    }
}


/*
|--------------------------------------------------------------------------
| ToRo-Media – iMac-Referenzmonitor
| Schwarzer Rahmen, Silbergehäuse, Tastatur und Maus
|--------------------------------------------------------------------------
*/

.reference-monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

/* Gesamter Monitor */

.imac {
    width: 100%;
    max-width: 390px;
}

/* Schwarzer Bildschirmrahmen */

.imac-display {
    position: relative;
    padding: 5.5% 5.5% 4%;
    border: 1px solid #242A30;
    border-radius: 15px 15px 0 0;

    background: linear-gradient(
        145deg,
        #11151A,
        #020304 75%
    );

    box-shadow:
        0 12px 25px rgba(20, 35, 50, 0.13),
        inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

/* Kleine Kamera */

.imac-camera {
    position: absolute;
    top: 2.2%;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #1E344A;
    box-shadow: 0 0 0 2px #080A0D;
}

/* Austauschbarer Bildschirm */

.imac-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Vorläufige Phoenix-Darstellung */

.imac-screen-phoenix {
    background: linear-gradient(
        135deg,
        #E7F3FF,
        #8FC2F4
    );
}

/* Text bis zum Einsetzen echter Screenshots */

.imac-preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 15px;
    text-align: center;
}

.imac-preview-content span {
    color: #32628B;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.imac-preview-content strong {
    color: #14375B;
    font-size: clamp(13px, 1.5vw, 20px);
    line-height: 1.25;
}

.imac-preview-content small {
    color: #426784;
    font-size: 10px;
}

/* Silbernes unteres Gehäuse */

.imac-chin {
    height: 35px;
    border: 1px solid #B9C0C7;
    border-top: none;
    border-radius: 0 0 11px 11px;

    background: linear-gradient(
        135deg,
        #DCE1E6 0%,
        #F4F5F7 48%,
        #C4CBD2 100%
    );

    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Silberner Standfuß */

.imac-stand {
    width: 19%;
    height: 24px;
    margin: 0 auto;

    background: linear-gradient(
        90deg,
        #AEB7C0,
        #E4E8EC 50%,
        #AEB7C0
    );
}

.imac-foot {
    width: 35%;
    height: 7px;
    margin: 0 auto;
    border-radius: 60% 60% 4px 4px;

    background: linear-gradient(
        90deg,
        #9CA7B1,
        #E5E9ED 50%,
        #9CA7B1
    );

    box-shadow: 0 3px 5px rgba(20, 35, 50, 0.12);
}

/* Tastatur und Maus */

.imac-accessories {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 390px;
    margin-top: 13px;
    padding-right: 15%;
}

/* Kleine silberne Tastatur */

.imac-keyboard {
    position: relative;
    width: 48%;
    height: 26px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #BFC7CE;
    border-radius: 4px;

    background: linear-gradient(
        to bottom,
        #F8FAFB,
        #DCE2E7
    );

    box-shadow: 0 4px 7px rgba(20, 35, 50, 0.10);
}

/* Angedeutete einzelne Tasten */

.imac-keys {
    width: 100%;
    height: 100%;

    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 9px,
            #C3CBD2 9px,
            #C3CBD2 10px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 6px,
            #C3CBD2 6px,
            #C3CBD2 7px
        );

    background-color: #FFFFFF;
    border-radius: 2px;
}

/* Kleine weiße Maus rechts */

.imac-mouse {
    position: absolute;
    left: 78%;
    top: 3px;

    width: 28px;
    height: 20px;

    border: 1px solid #C7CDD3;
    border-radius: 55% 55% 45% 45%;

    background: linear-gradient(
        145deg,
        #FFFFFF,
        #E7EAED
    );

    box-shadow: 0 3px 5px rgba(20, 35, 50, 0.12);
}

/* Anpassung für kleinere Bildschirme */

@media (max-width: 600px) {
    .imac {
        max-width: 390px;
    }

    .imac-accessories {
        max-width: 390px;
    }

    .imac-preview-content strong {
        font-size: clamp(16px, 4vw, 21px);
    }
}


/*
|--------------------------------------------------------------------------
| Individuelle Farben der Referenzbildschirme
|--------------------------------------------------------------------------
*/

.imac-screen-yoga {
    background: linear-gradient(
        135deg,
        #E5F5E9,
        #B6DAC2
    );
}

.imac-screen-kunst {
    background: linear-gradient(
        135deg,
        #F8E6F0,
        #D9B6D0
    );
}


/*
|--------------------------------------------------------------------------
| ToRo-Media – Referenzkarten
| Statusfelder immer unten links ausrichten
|--------------------------------------------------------------------------
*/

/* Jede Referenzkarte als vertikales Flex-Layout */

.reference-card {
    display: flex;
    flex-direction: column;
}

/* Textbereich füllt den verfügbaren Platz */

.reference-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
}

/* Statusfeld wird nach unten geschoben */

.reference-status {
    margin-top: auto;
}


/*
|--------------------------------------------------------------------------
| ToRo-Media – Phoenix-Referenz
| Echter Screenshot im iMac
|--------------------------------------------------------------------------
*/

.imac-screen-phoenix {
    background-image: url("../assets/images/referenzen/phoenix-startseite.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Platzhaltertext ausblenden, sobald das Bild eingebunden ist */

.imac-screen-phoenix .imac-preview-content {
    display: none;
}


/*
|--------------------------------------------------------------------------
| ToRo-Media – Referenz Körper & Kunst
| Echter Webseiten-Screenshot im iMac
|--------------------------------------------------------------------------
*/

.imac-screen-kunst {
    background-image: url("../assets/images/referenzen/kunst-startseite.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.imac-screen-kunst .imac-preview-content {
    display: none;
}


/*
|--------------------------------------------------------------------------
| ToRo-Media – Yoga-Referenz
| Vorläufiger Screenshot im iMac
|--------------------------------------------------------------------------
*/

.imac-screen-yoga {
    background-image: url("../assets/images/referenzen/yoga-startseite.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.imac-screen-yoga .imac-preview-content {
    display: none;
}



