/* ---------------------------------------------------
   Grundlayout – Mobile First
--------------------------------------------------- */

body {
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 0 1.4rem;
    line-height: 1.65;
    color: #222;
    background: #fff;
    font-size: 1.06rem;
    transition: background 0.3s ease, color 0.3s ease;
}

main {
    max-width: 720px;
    margin: 0 auto;
}


/* ---------------------------------------------------
   Header
--------------------------------------------------- */

header {
    text-align: center;
    padding: 1.4rem 0 0.4rem;
}

.title-prefix {
    font-size: 1.18rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 -0.45rem 0;
}

.main-title {
    font-size: 2.65rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}


/* ---------------------------------------------------
   Liniengrafik
--------------------------------------------------- */

.accent-line {
    text-align: center;
    margin: 1.8rem 0 2.6rem;
}

.accent-line img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 16px;
}


/* ---------------------------------------------------
   Claim
--------------------------------------------------- */

.hero-statement {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.8rem;
}

.hero-statement p {
    font-size: 1.32rem;
    line-height: 1.55;
    color: #333;
    margin: 0;
    font-weight: 500;
}


/* ---------------------------------------------------
   Portrait + Signatur
--------------------------------------------------- */

.portrait-block {
    text-align: center;
    margin: 3.2rem 0 2.8rem;
}

.portrait-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* Signatur unter dem Claim */
.hero-statement .unterschrift-img {
    display: block;
    margin: 1.4rem auto 0;
    max-width: 160px;
    height: auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
}


/* ---------------------------------------------------
   Abschnittsüberschriften
--------------------------------------------------- */

h2 {
    margin-top: 3rem;
    margin-bottom: 0.9rem;
    font-weight: 600;
    color: #1f1f1f;
}

main > section:not(.portrait-block):not(.hero-statement) {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------
   Standard-Absätze
--------------------------------------------------- */

section p {
    max-width: 650px;
    margin: 0.9rem 0 1.4rem;
    line-height: 1.62;
    color: #333;
}


/* ---------------------------------------------------
   Listen
--------------------------------------------------- */

ul {
    padding-left: 1.2rem;
    margin-bottom: 1.8rem;
}

/* Liste im Abschnitt "Mein Angebot" ruhiger und klarer setzen */
section:nth-of-type(4) ul {
    padding-left: 1.6rem;
    margin-bottom: 2.2rem;
}

section:nth-of-type(4) ul li {
    margin-bottom: 0.9rem;
    line-height: 1.55;
}


/* ---------------------------------------------------
   Wie ich arbeite – Mini-Absätze
--------------------------------------------------- */

.arbeitsweise p {
    margin: 0.85rem 0;
    line-height: 1.6;
    max-width: 650px;
}

.arbeitsweise p:first-child {
    margin-top: 1.3rem;
}


/* ---------------------------------------------------
   Testimonial
--------------------------------------------------- */

.testimonial blockquote {
    font-style: italic;
    color: #444;
    margin: 1.2rem 0;
    line-height: 1.6;
}

.testimonial-author {
    color: #666;
    font-size: 0.92rem;
    margin-top: 0.4rem;
}

.testimonial {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial blockquote {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
   
/* Testimonial bündig wie andere Abschnitte */
.testimonial {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------
   Kontakt-Abschnitt
--------------------------------------------------- */

.kontakt-text {
    max-width: 650px;
    margin: 0.9rem 0 1.8rem;
    line-height: 1.6;
    color: #333;
}


/* ---------------------------------------------------
   Kontakt-Button – eleganter, ruhiger, hochwertiger
--------------------------------------------------- */

.kontakt-button {
    display: block;
    margin: 2.6rem auto 0;
    text-align: center;

    background: #6a3e92;
    color: #fff;

    padding: 0.95rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.12rem;

    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
    border: none;

    width: max-content;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.kontakt-button:hover {
    background: #7a4ba3;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.22);
}


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

footer {
    text-align: center;
    padding: 2.4rem 0;
    margin-top: 3.4rem;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

footer p {
    margin: 0;
}


/* ---------------------------------------------------
   Tablet
--------------------------------------------------- */

@media (min-width: 600px) {

    .main-title {
        font-size: 2.85rem;
    }

    .accent-line img {
        max-width: 270px;
    }

    .hero-statement p {
        font-size: 1.45rem;
    }

    .portrait-img {
        max-width: 420px;
    }

    .unterschrift-img {
        max-width: 190px;
        width: 190px;
    }
}


/* ---------------------------------------------------
   Desktop
--------------------------------------------------- */

@media (min-width: 900px) {

    body {
        padding: 0 2.8rem;
    }

    main {
        max-width: 900px;
    }

    .main-title {
        font-size: 3rem;
    }

    .accent-line img {
        max-width: 300px;
    }

    .hero-statement p {
        font-size: 1.58rem;
    }

    .portrait-img {
        max-width: 480px;
    }

    .unterschrift-img {
        max-width: 210px;
        width: 210px;
    }

    footer {
        max-width: 900px;
        margin: 0 auto;
    }
}


/* ---------------------------------------------------
   Dark Mode
--------------------------------------------------- */

@media (prefers-color-scheme: dark) {

    body {
        background: #111;
        color: #e6e6e6;
    }

    .hero-statement p {
        color: #ddd;
    }

    /* Überschriften */
    h2 {
        color: #fff;
    }

    .title-prefix {
        color: #bbb;
    }

    .main-title {
        color: #fff;
    }

    /* Standard-Absätze */
    section p,
    .arbeitsweise p,
    .kontakt-text {
        color: #ddd;
    }

    /* Testimonial */
    .testimonial blockquote {
        color: #ddd;
    }

    .testimonial-author {
        color: #bbb;
    }

    /* Liniengrafik */
    .accent-line img {
        background: #fff;
        border-radius: 16px;
    }

    /* Signatur im Dark-Mode weiß */
    .unterschrift-img {
        filter: brightness(0) invert(1);
        background: transparent;
        border-radius: 0;
        padding: 0;
    }

    /* Footer */
    footer p,
    footer nav a {
        color: #ccc;
    }

    /* Kontakt-Button */
    .kontakt-button {
        background: #7a4ba3;
    }

    .kontakt-button:hover {
        background: #8b55b8;
    }
}
