/* =========================================================
   Putzig Termin-Hinweis / Öffnungszeiten
   Bootstrap 5.3 kompatibel
   Ohne CSS-Variablen
========================================================= */


/* =========================================================
   Außenbereich
========================================================= */

.putzig-appointment {
    position: relative;
    background-color: #f2f2f1;
}


/* =========================================================
   Card
========================================================= */

.putzig-appointment-card {
    position: relative;
    overflow: hidden;

    padding: clamp(1.5rem, 3vw, 2.4rem);

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 62%,
            rgba(227, 6, 19, 0.10) 100%
        );

    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}


/* Rote Akzentlinie oben */
.putzig-appointment-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background-color: #e30613;
}


/* Dezentes grafisches Element rechts */
.putzig-appointment-card::after {
    content: "";

    position: absolute;
    right: -80px;
    bottom: -80px;

    width: 220px;
    height: 220px;

    border: 28px solid rgba(227, 6, 19, 0.08);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   Icon
========================================================= */

.putzig-appointment-card__icon {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    color: #ffffff;
    background-color: #e30613;

    border-radius: 50%;

    box-shadow: 0 16px 35px rgba(227, 6, 19, 0.24);
}


.putzig-appointment-card__icon i {
    font-size: 2rem;
    line-height: 1;
}


/* =========================================================
   Text
========================================================= */

.putzig-appointment-card__kicker {
    position: relative;
    z-index: 1;

    display: inline-block;

    margin-bottom: 0.45rem;

    color: #e30613;

    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.putzig-appointment-card__title {
    position: relative;
    z-index: 1;

    margin: 0 0 0.65rem;

    color: #202124;
    font-weight: 800;
    line-height: 1.05;
}


.putzig-appointment-card__text {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin: 0;

    color: #3a3a3a;

    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 500;
    line-height: 1.65;
}


.putzig-appointment-card__text strong {
    color: #202124;
    font-weight: 800;
}


/* =========================================================
   Aktionen
========================================================= */

.putzig-appointment-card__actions {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0.85rem;
}


/* Button */
.putzig-appointment-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0.9rem 1.35rem;

    color: #ffffff;
    background-color: #e30613;

    border: 1px solid #e30613;
    border-radius: 0;

    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.putzig-appointment-card__btn:hover,
.putzig-appointment-card__btn:focus {
    color: #ffffff;

    background-color: #bd0710;
    border-color: #bd0710;

    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(227, 6, 19, 0.24);

    text-decoration: none;
}


.putzig-appointment-card__btn:focus-visible {
    outline: 3px solid rgba(227, 6, 19, 0.28);
    outline-offset: 4px;
}


.putzig-appointment-card__btn i {
    display: inline-block;

    font-size: 0.78rem;

    transition:
        transform 0.25s ease;
}


.putzig-appointment-card__btn:hover i,
.putzig-appointment-card__btn:focus i {
    transform: translateX(4px);
}


/* Telefonnummer / Kontaktzeile */
.putzig-appointment-card__phone {
    display: inline-flex;
    align-items: center;

    color: #202124;

    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.putzig-appointment-card__phone:hover,
.putzig-appointment-card__phone:focus {
    color: #e30613;
    text-decoration: none;
}


.putzig-appointment-card__phone i {
    color: #e30613;
}


/* Zusatztext unter der Telefonnummer */
.putzig-appointment-card__phone-note {
    margin: 0;

    color: #555555;

    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
}


/* =========================================================
   Dark Mode
========================================================= */

[data-theme="dark"] .putzig-appointment {
    background-color: #212529;
}


[data-theme="dark"] .putzig-appointment-card {
    background:
        linear-gradient(
            135deg,
            #2b3035 0%,
            #2b3035 62%,
            rgba(227, 6, 19, 0.14) 100%
        );

    border-color: rgba(255, 255, 255, 0.10);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}


[data-theme="dark"] .putzig-appointment-card__title,
[data-theme="dark"] .putzig-appointment-card__text strong,
[data-theme="dark"] .putzig-appointment-card__phone {
    color: #ffffff;
}


[data-theme="dark"] .putzig-appointment-card__text {
    color: rgba(255, 255, 255, 0.82);
}


[data-theme="dark"] .putzig-appointment-card__phone-note {
    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 991.98px) {
    .putzig-appointment-card {
        text-align: center;
    }

    .putzig-appointment-card__actions {
        align-items: center;
    }

    .putzig-appointment-card__text {
        margin-right: auto;
        margin-left: auto;
    }
}


@media (max-width: 575.98px) {
    .putzig-appointment-card {
        padding: 1.6rem 1.2rem;
    }

    .putzig-appointment-card__icon {
        width: 68px;
        height: 68px;
    }

    .putzig-appointment-card__icon i {
        font-size: 1.55rem;
    }

    .putzig-appointment-card__title {
        font-size: clamp(1.8rem, 11vw, 2.7rem);
    }

    .putzig-appointment-card__btn {
        width: 100%;
        max-width: 320px;
    }

    .putzig-appointment-card__actions {
        width: 100%;
    }
}