/* -------------------------------------------------- */
/* GLOBAL */
/* -------------------------------------------------- */

body {
    margin: 0;
    font-family: "Aleo", serif;
    background-color: #FFDBB8;
    color: #333;
}

.section-full {
    width: 100%;
}

.section-content {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 0;
}

/* -------------------------------------------------- */
/* LOGO-BEREICH */
/* -------------------------------------------------- */

.header-white {
    background: white;
    width: 100%;
    padding: 40px 0 20px;
    text-align: center;
}

.logo {
    width: 140px;
}

/* -------------------------------------------------- */
/* HERO-BEREICH */
/* -------------------------------------------------- */

.section-green {
    background-color: #045646;
    color: white;
    text-align: center;
}

/* Schreibmaschinen-Effekt Desktop */
.hero-text {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 400;
    animation: typing 4s steps(40) forwards;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* -------------------------------------------------- */
/* BEIGER SPLIT-BEREICH (AKKORDEON) */
/* -------------------------------------------------- */

.section-split {
    font-size: 1.5rem;
    line-height: 1.8;
    display: flex;
    width: 100%;
}

.split-left,
.split-right {
    width: 50%;
    padding: 50px 50px 40px;   
    box-sizing: border-box;
}

.split-left {
    background-color: #FFEEE0;
}

.split-right {
    background-color: #FFDBB8;
}

.price-hint {
    margin-top: 25px;
    font-weight: bold;
}

/* Akkordeon-Header (Frage + Plus) */

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordion-title {
    font-size: 1.8rem;
    margin: 0;
    color: #C94949;
    font-weight: 700;
    text-align: left;
}

.accordion-icon {
    font-size: 2rem;
    color: #C94949;
    font-weight: 700;
    margin-left: 12px;
    line-height: 1;
}

/* Akkordeon-Inhalt */

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Abstände im Inhalt – keine zusätzliche Luft unten */
.accordion-content p {
    margin: 14px 0 0;
}

.accordion-content p:first-child {
    margin-top: 20px;   /* etwas Luft unter der Frage */
}

/* geöffneter Zustand */
.accordion-content.accordion-open {
    max-height: 1200px;
    opacity: 1;
}

/* -------------------------------------------------- */
/* ROTER BEREICH – STIMMEN + FORMULAR */
/* -------------------------------------------------- */

.section-red {
    background-color: #C94949;
    color: #ffffff;
    width: 100%;
}

.red-flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* exakt 50/50 Aufteilung */
.red-left,
.red-right {
    flex: 0 0 50%;
    width: 50%;
    padding: 50px 50px 40px;   /* identisch zu split-left/right */
    box-sizing: border-box;
}

/* linke Hälfte: dunkleres Rot */
.red-left {
    background-color: #b13f3f;
    display: flex;
    flex-direction: column;
}

/* rechte Hälfte: Formular */
.red-right {
    background-color: #C94949;
}

/* Überschriften im roten Bereich */

.testimonial-title,
.section-red .form-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 35px;
    font-weight: 700;
}

/* Stimmen: Slide-in von rechts */

.testimonial-title {
    opacity: 0;
    transform: translateX(40px);
    animation: slideInSmooth 0.9s ease-out 0.2s forwards;
}

/* ✅ HIER: größer + eingerückt wie vorher (nur Desktop) */
.testimonial-text {
    max-width: 70%;
    margin: 0;

    /* größer als vorher */
    font-size: 1.75rem;          /* vorher 1.6rem */
    line-height: 1.95;

    font-style: italic;
    color: #FFDBB8;

    /* Einrückung nach rechts (nicht bündig mit Titel) */
    margin-left: 42px;           /* NEU: Versatz nach rechts */

    opacity: 0;
    transform: translateX(60px);
    animation: slideInSmooth 1s ease-out 0.4s forwards;
}

@keyframes slideInSmooth {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* -------------------------------------------------- */
/* FORMULAR */
/* -------------------------------------------------- */

.text-input {
    display: block;
    width: 70%;
    max-width: 750px;
    margin: 0 auto 20px;
    background-color: #FFEED0;
    border: none;
    border-radius: 14px;
    padding: 18px;
    min-height: 130px;
    font-size: 1rem;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Aleo", serif;
    color: #333;
}

.text-input:focus {
    outline: none;
}

/* Dropdowns gleich breit wie Freifeld */

.select-field {
    display: block;
    width: 70%;
    max-width: 750px;
    margin: 0 auto 18px;
    background-color: #045646;
    color: white;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 1rem;
    box-sizing: border-box;
}

.select-field:focus {
    outline: none;
}

option {
    background-color: #ffffff;
    color: black;
}

.almost-there {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #ffffff;
    width: 100%;
    margin: 20px auto 30px;
}

/* Button – schwarz, rund, zentriert */

.pay-button {
    display: block;
    margin: 20px auto;
    padding: 20px 50px;
    font-size: 1.3rem;
    background: black;
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-align: center;
    width: fit-content;
}

.pay-hint {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 25px;
    color: white;
    font-size: 1rem;
    line-height: 1.4;
}

/* -------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------- */

.footer {
    text-align: center;
    font-size: 0.9rem;
    padding: 30px;
}

.footer a {
    color: black;
    text-decoration: none;
}

/* -------------------------------------------------- */
/* MOBILE */
/* -------------------------------------------------- */

@media (max-width: 768px) {

    /* Split-Bereich untereinander */
    .section-split {
        flex-direction: column;
        font-size: 1rem;
        line-height: 1.6;
    }

    .split-left,
    .split-right {
        width: 100%;
        padding: 35px 20px 35px;   /* oben/unten gleich, etwas kompakter */
    }

    /* Hero ohne Tipp-Effekt */
    .hero-text {
        animation: none;
        white-space: normal;
        overflow: visible;
        display: block;
        font-size: 1.25rem;
        line-height: 1.5;
        padding: 0 16px;
    }

    /* Felder volle Breite */
    .text-input,
    .select-field {
        width: 100%;
        max-width: none;
        margin: 0 0 18px 0;
    }

    /* Fragen im Akkordeon – gleiche Größe wie rote Überschrift */
    .accordion-title {
        font-size: 1.8rem;
    }

    /* Roter Bereich: erst Formular, dann Stimmen */
    .red-right { order: 0; }
    .red-left  { order: 1; }

    .red-left,
    .red-right {
        flex: 0 0 100%;
        width: 100%;
        padding: 35px 20px 40px;
    }

    /* ✅ Mobile: keine Einrückung, sonst wirkt es „verschoben“ */
    .testimonial-text {
        max-width: 100%;
        font-size: 1.35rem;     /* minimal größer als vorher 1.3 */
        line-height: 1.85;
        text-align: left;
        margin-left: 0;         /* wichtig: Einzug entfernen */
    }
}

/* Fix: Akkordeon-Schrift korrekt in Aleo rendern */
.accordion-header,
.accordion-header h2,
.accordion-title,
.accordion-icon {
    font-family: "Aleo", serif !important;
}

/* -------------------------------------------------- */
/* DESKTOP-ORDER FIX */
/* -------------------------------------------------- */

@media (min-width: 769px) {
    .red-left  { order: 0; }
    .red-right { order: 1; }
}