/* Aus homepage.php der frueheren CodeIgniter-Seite uebernommen. Inhaltlich unveraendert, damit das
   Design gleich bleibt. */

    /* Nur für die Startseite. Die Bänder mit wechselndem Hintergrund (band, band--dunkel) und alles Übrige kommen
       aus firma_style, app_style und custom.css. */
    .kopf-rahmen {
        padding-top: 140px;
        padding-bottom: 140px;
    }

    /* Titel im Kopfbild: halbtransparente weiße Fläche, große Schrift */
    .kopf-titel {
        display: inline-block;
        max-width: 100%;
        padding: 36px 44px 40px;
        border-radius: 30px;
        background: rgba(255, 255, 255, .7);
        box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .55);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    .kopf-titel h1 {
        margin: 0 0 24px;
        font-size: clamp(34px, 4.4vw, 58px);
        font-weight: 300;
        line-height: 1.12;
        color: #000;
    }

    /* Fett ausgezeichnete Wörter im Titel sind grün. Der Editor schreibt dafür <strong>, übernommene Inhalte haben <b>. */
    .kopf-titel h1 b,
    .kopf-titel h1 strong {
        font-weight: 700;
        color: #3f7a12;
    }

    .kopf-vorzeile {
        margin: 0 0 12px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #264d0b;
    }

    /* Große Textkachel mit eigener Überschrift */
    .gts-start .kachel {
        padding: 36px;
    }

    .gts-start .abschnitt .kachel h2 {
        margin-bottom: 14px;
        font-size: 26px;
    }

    .gts-start .abschnitt .kachel p {
        margin: 0 0 12px;
        font-size: 16px;
    }

    .gts-start .abschnitt .kachel p:last-child {
        margin-bottom: 0;
    }

    .gts-start .kacheln + .kacheln {
        margin-top: 20px;
    }

    /* Vorteile: großes grünes Symbol statt des kleinen Kreises */
    .gts-start .vorteil > .fa {
        display: block;
        margin-bottom: 16px;
        font-size: 44px;
        line-height: 1;
        color: var(--sprout);
    }

    /* Fette Stichworte in Aufzählungen und Absätzen */
    .gts-start .abschnitt p strong {
        color: var(--ink);
    }

    .gts-start .abschnitt .knoepfe {
        margin-top: 20px;
    }

    .gts-start .abschnitt h3.zwischen {
        margin: 0 0 16px;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.25;
        color: var(--ink);
    }

    /* Karte einer Lösung: oben das Gerätebild auf hellem Grund, darunter Text und Knopf; Schatten statt Rand */
    .gts-start .loesung {
        display: flex;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
        border-color: transparent;
        box-shadow: 0 0 0 1px rgba(20, 40, 10, .06), 0 22px 50px -22px rgba(20, 40, 10, .4);
    }

    .gts-start .loesung .bild {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        height: 250px;
        padding: 24px 24px 0;
        background: var(--mist);
    }

    .gts-start .loesung .bild img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    .gts-start .loesung .text {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .gts-start .loesung h3 {
        font-size: 22px;
    }

    .gts-start .loesung .knopf {
        margin-top: auto;
    }

    .gts-start .loesung p {
        margin-bottom: 20px;
    }

    /* Freigestelltes Bild ohne Kasten (Eltern-App) und Foto mit runden Ecken und Schatten (Support) */
    .gts-start .bildkasten--frei,
    .gts-start .bildkasten--foto {
        padding: 0;
        border: 0;
        background: transparent;
    }

    .gts-start .bildkasten--foto img {
        border-radius: 22px;
        box-shadow: 0 22px 50px -22px rgba(20, 40, 10, .4);
    }

    /* Schild „Einführungspreis“ hinter der Überschrift zur Team-App. Ohne Außenabstand, damit es bündig steht,
       wenn es in die nächste Zeile umbricht; den Abstand zur Überschrift macht das Leerzeichen davor. */
    .gts-start .hinweis {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 999px;
        background: var(--sprout);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
        white-space: nowrap;
        vertical-align: middle;
        color: var(--ink);
    }

    /* Zwei Screenshots der Team-App im Handyrahmen, der zweite leicht nach unten versetzt */
    .gts-start .handys {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 24px;
    }

    .gts-start .handy {
        width: min(210px, 44%);
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 30px;
        background: var(--bezel);
        box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .65);
    }

    .gts-start .handy + .handy {
        margin-top: 40px;
    }

    .gts-start .handy img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 600 / 1298;
        border-radius: 22px;
    }

    .gts-start .stimmen {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
        gap: 20px;
    }

    .gts-start .stimme {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 28px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: #fff;
    }

    .gts-start .stimme blockquote {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .gts-start .stimme blockquote p {
        margin: 0 0 10px;
        font-size: 16px;
        line-height: 1.6;
        color: #3d4a37;
    }

    .gts-start .stimme blockquote p:last-child {
        margin-bottom: 0;
    }

    .gts-start .stimme figcaption {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: auto;
        font-size: 14px;
        line-height: 1.4;
        color: var(--muted);
    }

    .gts-start .stimme figcaption img {
        flex: none;
        width: auto;
        height: 52px;
        max-width: 150px;
        object-fit: contain;
    }

    .gts-start .stimme figcaption strong {
        display: block;
        font-size: 15px;
        color: var(--ink);
    }

    /* Die ausführliche Stimme: über die ganze Breite, mit Anführungszeichen als Blickfang */
    .gts-start .stimme--gross {
        grid-column: 1 / -1;
        padding: 36px;
        background: var(--mist);
    }

    .gts-start .stimme--gross::before {
        content: "\f10d";
        font-family: FontAwesome;
        font-size: 30px;
        line-height: 1;
        color: var(--sprout);
    }

    .gts-start .stimme--gross blockquote {
        columns: 2 380px;
        column-gap: 40px;
    }

    .gts-start .stimme--gross blockquote p {
        break-inside: avoid;
    }

    .gts-start .abschnitt .erreichbar {
        margin: 16px 0 0;
        font-size: 15px;
        color: var(--muted);
    }

    .gts-start .erreichbar a {
        font-weight: 700;
        white-space: nowrap;
        color: var(--ink);
    }

    @media (max-width: 575px) {
        .kopf-rahmen {
            padding-top: 90px;
            padding-bottom: 90px;
        }

        .kopf-titel {
            padding: 24px 22px 26px;
            border-radius: 22px;
        }

        .gts-start .kachel {
            padding: 24px 20px;
        }

        .gts-start .stimme,
        .gts-start .stimme--gross {
            padding: 24px 20px;
        }

        .gts-start .loesung .bild {
            height: 200px;
        }
    }
