/******************************************************************************
 * Projekt : GENBOX Landingpage
 * Datei   : startseite.css
 * Version : 1.2
 * Datum   : 22.07.2026
 *
 * Änderungen:
 * - gemeinsame Navigation mit Dropdown-Menüs
 * - Shop als normaler Menüpunkt
 * - Hero ohne Schaltflächen
 * - zusätzliches GENBOX-Produktbild im Hero
 * - Logo ohne Blend-Modus
 * - Abstände zwischen Inhaltsbereichen verkleinert
 *
 * Wiederherstellung des zuletzt funktionierenden Layoutstands.
 * Serverdatei:
 * assets/css/startseite.css
 ******************************************************************************/

:root {
    --page-background: #E4F0ED;
    --white: #FFFFFF;
    --blue: #1094DF;
    --dark-blue: #273451;
    --turquoise: #28A7A0;
    --dark-turquoise: #0B7475;
    --text: #152326;
    --muted: #526467;
    --border: rgba(11, 116, 117, 0.14);
    --shadow: 0 16px 38px rgba(29, 55, 58, 0.10);
    --shadow-hover: 0 22px 48px rgba(29, 55, 58, 0.16);
    --content-width: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.section-wrap {
    width: min(var(--content-width), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

/* Hero ------------------------------------------------------------------- */

.hero-section {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background-color: var(--page-background);
    background-image: url("../bilder/landing/genbox_hero.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
}

.hero-inner {
    position: relative;
    width: min(var(--content-width), calc(100% - 48px));
    min-height: 650px;
    margin: 0 auto;
}

.hero-stage {
    position: absolute;
    top: 74px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0px;
    width: min(940px, 78%);
}

.hero-product-free {
    flex: 0 1 600px;
    min-width: 400px;
    transform: translateX(-600px);
}
.hero-product-free img {
    width: 100%;
    max-height: 700px;
    object-fit: contain;
}

.hero-content {
    flex: 0 1 600px;
    min-width: 320px;
    margin-left: -700px;
}

.hero-logo {
    width: min(300px, 100%);
    margin: 0 0 20px;
}

.hero-content h1 {
    margin: 0 0 22px;
    color: var(--dark-turquoise);
    font-family: "Raleway", Arial, sans-serif;
    font-size: clamp(38px, 4.8vw, 62px);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.05;
}

.hero-content p {
    max-width: 500px;
    margin: 0;
    color: var(--text);
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.42;
}

/* Buttons und Typografie ------------------------------------------------- */

.primary-button,
.text-button,
.card-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 11px 20px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-button,
.card-button {
    background: var(--dark-blue);
    color: var(--white);
}

.primary-button:hover,
.card-button:hover {
    background: var(--dark-turquoise);
    color: var(--white);
    transform: translateY(-1px);
}

.text-button {
    min-height: auto;
    padding: 8px 0;
    color: var(--dark-turquoise);
}

.text-button:hover {
    color: var(--dark-blue);
}

.eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.intro-copy h2,
.example-copy h2,
.section-heading h2,
.planner-copy h2 {
    margin: 0 0 22px;
    color: var(--dark-turquoise);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 400;
    line-height: 1.13;
}

.intro-copy p,
.example-copy p,
.planner-copy p,
.section-heading p {
    color: var(--muted);
    font-size: 18px;
}

/* Inhaltsbereiche -------------------------------------------------------- */

.intro-section,
.example-grid,
.planner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 58px;
}

.intro-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.example-section {
    padding: 64px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.70);
    border-bottom: 1px solid rgba(11, 116, 117, 0.08);
    background: var(--page-background);
}

.planner-section {
    padding: 68px 0;
    border-top: 1px solid rgba(11, 116, 117, 0.08);
    background: var(--page-background);
}

.intro-visual,
.example-visual,
.planner-visual {
    min-width: 0;
    background: var(--page-background);
}

.intro-visual img,
.example-visual img,
.planner-visual img {
    width: 100%;
    max-height: 540px;
    object-fit: contain;
}

/* Produktauswahl --------------------------------------------------------- */

.product-groups {
    padding-top: 68px;
    padding-bottom: 72px;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

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

.group-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.group-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.group-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.group-image {
    min-height: 255px;
    padding: 22px;
    background: var(--page-background);
}

.group-image img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.group-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 27px 24px 29px;
    background: var(--white);
}

.group-content h3 {
    margin: 0 0 14px;
    color: var(--dark-turquoise);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.2;
}

.group-content p {
    margin: 0 0 24px;
    color: var(--muted);
}

.group-content .card-button {
    align-self: flex-start;
    margin-top: auto;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
    margin-top: 0;
    color: #FFFFFF;
}

.site-footer-info {
    background: #456789;
}

.site-footer-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
    padding: 70px 0 58px;
    text-align: center;
}

.site-footer-column h2 {
    margin: 0 0 18px;
    color: #FFFFFF;
    font-size: 20px;
}

.site-footer-column p {
    margin: 0;
    color: #FFFFFF;
    font-size: 19px;
}

.site-footer-column a {
    color: #16D8D8;
    text-decoration: underline;
}

.site-footer-legal {
    min-height: 166px;
    padding: 47px 24px 43px;
    border-bottom: 1px solid #8D9797;
    background: #050606;
    text-align: center;
}

.site-footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-bottom: 18px;
    font-size: 18px;
}

.site-footer-legal-links a {
    color: #0EA4A6;
}

.site-footer-copyright {
    margin: 0;
    color: #FFFFFF;
    font-size: 18px;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1180px) {
.group-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .landing-header {
        position: relative;
        background: rgba(255, 255, 255, 0.96);
    }

    .landing-header-inner {
        min-height: auto;
        padding: 10px 0;
        justify-content: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 18px;
    }

    .nav-item > a {
        padding: 7px 0;
        text-shadow: none;
    }

    .nav-submenu {
        top: 100%;
    }
.intro-section,
    .example-grid,
    .planner-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 620px) {
    .section-wrap,
    .landing-header-inner,
    .hero-inner {
        width: min(100% - 30px, var(--content-width));
    }

    .nav-menu {
        gap: 2px 14px;
    }

    .nav-submenu {
        position: fixed;
        top: auto;
        left: 15px;
        right: 15px;
        width: auto;
        min-width: 0;
        transform: translateY(8px);
    }

    .nav-item-dropdown:hover .nav-submenu,
    .nav-item-dropdown:focus-within .nav-submenu {
        transform: translateY(0);
    }

    .hero-section,
    .hero-inner {
        min-height: 610px;
    }

    .hero-section {
        background-position: 64% center;
    }
.hero-logo {
        width: min(205px, 56vw);
    }

    .hero-content p {
        max-width: 370px;
        font-size: 18px;
    }
.intro-section,
    .product-groups,
    .planner-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .example-section {
        padding: 54px 0;
    }

    .group-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 56px;
        padding-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .site-footer-inner {
        width: min(100% - 30px, 1180px);
    }

    .site-footer-column p,
    .site-footer-legal-links,
    .site-footer-copyright {
        font-size: 16px;
    }

    .site-footer-legal {
        min-height: auto;
        padding-top: 38px;
        padding-bottom: 38px;
    }
}


/* Hero responsive – v1.5 */
@media (max-width: 1050px) {
    .hero-stage {
        width: 86%;
        gap: 38px;
    }

    .hero-product-free {
        flex-basis: 320px;
        min-width: 230px;
    }
}

@media (max-width: 760px) {
    .hero-section,
    .hero-inner {
        min-height: 690px;
    }

    .hero-stage {
        top: 34px;
        width: 100%;
        flex-direction: column-reverse;
        gap: 0px;
        text-align: center;
    }

    .hero-content {
        flex: none;
        width: min(520px, 92%);
        min-width: 0;
        margin-left:-400px;
    }

    .hero-logo {
        width: min(230px, 70%);
        margin-right: auto;
        margin-left: auto;
    }

    .hero-product-free {
        flex: none;
        width: min(360px, 78%);
        min-width: 0;
    }

    .hero-content p {
        margin-right: auto;
        margin-left: -400px;
    }
}
