/* TEAM PUTZFUCHS — EDITORIAL DESIGN
   Ergaenzt style.css. Keine externen Fonts oder Bilddienste. */

:root {
    --navy: #171717;
    --blue: #252525;
    --orange: #e97743;
    --orange-dark: #252525;
    --text: #242424;
    --muted: #686866;
    --line: #e4e4df;
    --soft: #f5f5f1;
    --shadow: none;
    --radius: 4px;
}

body {
    background: #fff;
    color: #242424;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body, input, select, textarea, button {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

::selection {
    background: #eedccc;
    color: #171717;
}

.container {
    width: min(1320px, calc(100% - 96px));
}

h1, h2, h3 {
    font-weight: 500;
}

h2 {
    font-size: clamp(2.3rem, 4.8vw, 4.7rem);
    line-height: 1.07;
    letter-spacing: -.065em;
}

p {
    line-height: 1.7;
}

.eyebrow {
    margin-bottom: 23px;
    color: #62625d;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .035em;
    text-transform: none;
}

.button {
    padding: 14px 23px;
    border-radius: 100px;
    color: #fff;
    background: #202020;
    font-size: .88rem;
    font-weight: 500;
    box-shadow: none;
    transition:
        background .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.button:hover {
    color: #fff;
    background: #444;
    box-shadow: none;
    transform: translateY(-2px);
}

.button-light {
    border-color: #d7d7d1;
    color: #222;
    background: transparent;
}

.button-light:hover {
    color: #222;
    background: #f0f0eb;
}

.button-small {
    padding: 10px 17px;
    font-size: .8rem;
}

.button-dark {
    background: #202020;
}

.button-dark:hover {
    background: #444;
}

.button-row {
    gap: 12px;
}

/* Navigation */

.site-header {
    border-bottom: 1px solid #efefeb;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(20px);
}

.header-inner {
    min-height: 88px;
}

.brand {
    gap: 10px;
}

.brand img {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
}

.brand strong {
    font-size: .95rem;
    font-weight: 650;
    letter-spacing: -.035em;
}

.brand small {
    display: none;
}

nav {
    gap: 32px;
}

nav a {
    font-size: .85rem;
    font-weight: 400;
}

nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.header-phone {
    border: 1px solid #deded8;
    color: #222;
    background: transparent;
}

.header-phone:hover {
    color: #222;
    background: #f2f2ee;
}

/* Grosszuegiger, zentrierter Einstieg */

.hero {
    padding: 96px 0 0;
    overflow: hidden;
    background: #fff;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 66px;
}

.hero-grid > div:first-child {
    text-align: center;
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 29px;
}

.hero .eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ad6947;
}

.hero h1 {
    max-width: 1120px;
    margin: 0 auto 29px;
    font-size: clamp(3rem, 6.8vw, 6.8rem);
    font-weight: 450;
    line-height: 1.04;
    letter-spacing: -.072em;
    text-wrap: balance;
}

.hero h1 span {
    color: #70706b;
}

.hero .lead {
    max-width: 570px;
    margin: 0 auto 29px;
    color: #666660;
    font-size: 1.02rem;
    line-height: 1.75;
    text-wrap: balance;
}

.hero .button-row {
    justify-content: center;
}

.hero-points {
    justify-content: center;
    gap: 12px 24px;
    margin-top: 28px;
    color: #76766f;
    font-size: .71rem;
}

/* Abstrakte Lichtgrafik, komplett lokal mit CSS */

.hero-visual {
    isolation: isolate;
    display: block;
    width: 100%;
    min-height: 0;
    height: clamp(290px, 38vw, 510px);
    margin: 0;
    overflow: hidden;
    border: 1px solid #dedbd0;
    border-radius: 3px;
    background:
        radial-gradient(
            ellipse at 51% 92%,
            #fff8d9 0%,
            #f4d6ac 17%,
            transparent 49%
        ),
        radial-gradient(
            ellipse at 83% 16%,
            #8fa6b1 0%,
            transparent 53%
        ),
        linear-gradient(
            115deg,
            #afbcbf 0%,
            #e0d8c4 38%,
            #eee7d2 61%,
            #b8c3c4 100%
        );
}

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -12% -8%;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,.38) 0,
            rgba(255,255,255,.04) 2%,
            rgba(32,51,58,.14) 3.5%,
            rgba(255,255,255,.02) 5.5%,
            rgba(255,255,255,.5) 6.5%,
            transparent 8%
        );
    transform: skewX(-13deg);
    filter: blur(1px);
}

.hero-visual::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.13),
            transparent 35%,
            rgba(255,255,255,.3)
        );
    pointer-events: none;
}

.hero-orbit {
    position: absolute;
    z-index: 0;
    inset: -40%;
    width: auto;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background:
        radial-gradient(
            ellipse at center,
            rgba(255,252,228,.95),
            rgba(243,194,147,.48) 21%,
            transparent 48%
        );
    filter: blur(25px);
    animation: pf-light-drift 18s ease-in-out infinite alternate;
}

/* Das Maskottchen bleibt im Chat, nicht im grossen Titelbild. */

.hero-fox,
.floating-card {
    display: none;
}

@keyframes pf-light-drift {
    from {
        transform: translate(-10%, 4%) scale(.92);
    }

    to {
        transform: translate(12%, -5%) scale(1.13);
    }
}

/* Redaktionelle Abschnitte statt bunter Karten */

.section {
    padding: 112px 0;
}

.section-soft {
    background: #f6f6f2;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 60px;
}

.section-heading p {
    max-width: 570px;
    margin-top: 24px;
    font-size: 1rem;
}

.service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 64px;
    counter-reset: service;
}

.service-card {
    position: relative;
    min-height: 270px;
    padding: 31px 0 35px;
    border: 0;
    border-top: 1px solid #d9d9d3;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    counter-increment: service;
}

.service-card::before {
    content: "0" counter(service);
    display: block;
    margin-bottom: 26px;
    color: #88887f;
    font-size: .73rem;
    font-variant-numeric: tabular-nums;
}

.service-card:hover {
    transform: none;
}

.service-icon {
    display: none;
}

.service-card h3 {
    margin-bottom: 17px;
    font-size: clamp(1.5rem, 2.3vw, 2rem);
    font-weight: 500;
    letter-spacing: -.045em;
}

.service-card p {
    max-width: 470px;
    margin-bottom: 30px;
    color: #66665f;
    font-size: .97rem;
}

.text-link {
    width: fit-content;
    color: #252525;
    font-size: .85rem;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.step-card {
    padding: 27px 0 0;
    border: 0;
    border-top: 1px solid #cecec6;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.step-number {
    margin-bottom: 40px;
    color: #77776e;
    font-size: .8rem;
    font-weight: 400;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -.035em;
}

.step-card p {
    max-width: 330px;
}

/* Fragen */

.faq-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 85px;
}

.faq-layout > div:first-child {
    max-width: 350px;
}

.faq-list details {
    margin: 0;
    padding: 25px 0;
    border: 0;
    border-top: 1px solid #deded7;
    border-radius: 0;
}

.faq-list details:last-child {
    border-bottom: 1px solid #deded7;
}

.faq-list summary {
    padding-right: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.faq-list p {
    padding-right: 20px;
    font-size: .94rem;
}

/* Anfrageformular */

.contact-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
}

.contact-grid h2 {
    max-width: 560px;
}

.contact-grid .lead {
    max-width: 410px;
    font-size: 1rem;
}

.contact-card {
    margin: 35px 0;
}

.contact-card strong {
    color: #7a7a72;
    font-size: .72rem;
    font-weight: 500;
}

.contact-card a,
.contact-card span {
    font-size: .98rem;
}

.panel {
    padding: 35px;
    border: 1px solid #deded5;
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
}

.panel h3 {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -.035em;
}

label {
    color: #51514a;
    font-size: .78rem;
    font-weight: 500;
}

input, select, textarea {
    padding: 13px;
    border-color: #ddddd5;
    border-radius: 5px;
    color: #242424;
    background: #fff;
    font-size: .93rem;
}

input:focus, select:focus, textarea:focus {
    border-color: #777;
}

:focus-visible {
    outline: 2px solid #99623e;
    outline-offset: 4px;
}

.checkbox-row {
    color: #6c6c64;
    font-size: .76rem;
}

.checkbox-row input {
    accent-color: #252525;
}

/* Footer */

.site-footer {
    padding: 57px 0 110px;
    border-top: 1px solid #e5e5df;
    color: #74746c;
    background: #fff;
}

.site-footer strong {
    color: #222;
    font-size: 1.1rem;
    font-weight: 500;
}

.site-footer p,
.site-footer small {
    font-size: .8rem;
}

.footer-links a {
    color: #56564f;
    font-size: .82rem;
}

/* Der bestehende Chat bekommt ebenfalls die neue Designsprache. */

#pf-chat-button {
    gap: 9px;
    padding: 8px 17px 8px 8px;
    border: 1px solid #3b3b3b;
    color: #fff;
    background: #242424;
    box-shadow: 0 8px 30px rgba(0,0,0,.13);
    font-size: .8rem;
    font-weight: 500;
}

#pf-chat-button img {
    width: 35px;
    height: 35px;
}

#pf-chat-window {
    border-color: #d8d8d0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 75px rgba(0,0,0,.17);
}

.pf-head {
    padding: 17px 14px;
    color: #fff;
    background: #242424;
}

.pf-head strong {
    font-weight: 500;
}

.pf-head small {
    color: #d2d2cb;
}

#pf-messages,
#pf-controls,
.pf-actions {
    background: #f5f5f1;
}

.pf-message {
    border-color: #e5e5df;
    color: #30302b;
    background: #fff;
}

.pf-user {
    border-color: #272727;
    color: #fff;
    background: #272727;
}

.pf-action {
    border-color: #d6d6cd;
    color: #33332d;
    background: #fff;
    font-weight: 500;
}

.pf-action.primary {
    border-color: #282828;
    color: #fff;
    background: #282828;
}

#pf-send {
    background: #282828;
}

#pf-progress {
    color: #484840;
    background: #eaeae3;
}

.pf-footnote {
    color: #75756c;
}

/* Tablet */

@media (max-width: 1000px) {
    .container {
        width: calc(100% - 56px);
    }

    .hero {
        padding-top: 75px;
    }

    .hero-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 40px;
    }

    .faq-layout {
        gap: 40px;
    }

    .service-grid {
        gap: 0 35px;
    }

    .steps-grid {
        gap: 30px;
    }

    .panel {
        padding: 27px;
    }
}

/* Mobil */

@media (max-width: 760px) {
    .container {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 73px;
    }

    .brand strong {
        font-size: .82rem;
    }

    nav {
        gap: 17px;
    }

    nav a {
        font-size: .76rem;
    }

    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 8.6vw, 4.5rem);
        letter-spacing: -.065em;
    }

    .hero .lead {
        max-width: 440px;
        padding: 0 8px;
        font-size: .94rem;
    }

    .hero-points {
        gap: 7px 14px;
        font-size: .66rem;
    }

    .hero-visual {
        width: 100%;
        height: 320px;
        min-height: 0;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 26px 0 33px;
    }

    .service-card::before {
        margin-bottom: 20px;
    }

    .steps-grid,
    .faq-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .step-number {
        margin-bottom: 25px;
    }

    .step-card p {
        max-width: none;
    }

    .faq-layout > div:first-child {
        max-width: none;
    }

    .contact-grid h2 {
        max-width: 520px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 45px;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 9vw, 3rem);
    }

    .hero .eyebrow {
        font-size: .68rem;
    }

    .hero .button-row {
        gap: 10px;
    }

    .hero .button {
        padding: 12px 17px;
        font-size: .78rem;
    }

    .hero-visual {
        height: 265px;
    }

    .panel {
        padding: 22px;
    }

    #pf-chat-button {
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbit {
        animation: none;
    }

    .button {
        transition: none;
    }
}