/* ===========================================================
   BEAUTIFUL MOMENTS
   Vollständiges Stylesheet
=========================================================== */

/* ===========================================================
   1. VARIABLEN
=========================================================== */

:root {
    --primary: #023d96;
    --primary-dark: #012b6b;
    --primary-light: #0d63dc;
    --primary-soft: #e7f3ff;
    --background: #eef6fb;
    --background-light: #f8fbfe;
    --text: #2d2d2d;
    --text-light: #5f6670;
    --white: #ffffff;
    --gold: #d9b48f;
    --rating: #e3a72f;
    --header-height: 90px;
    --header-small-height: 70px;
    --content-width: 720px;
    --wide-content-width: 1180px;
    --transition: .3s ease;
    --shadow-small: 0 6px 20px rgba(0,0,0,.08);
    --shadow-medium: 0 12px 30px rgba(0,0,0,.12);
    --shadow-large: 0 20px 60px rgba(0,0,0,.2);
}

/* ===========================================================
   2. RESET
=========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-small-height);
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    font-family: "Poppins",sans-serif;
    color: var(--text);
    background: linear-gradient( 180deg, #edf6fd 0%, #f8fbfe 35%, #eef6fd 70%, #edf5fb 100% );
    overflow-x: hidden;
    caret-color: transparent;
}

    body.menu-open {
        overflow: hidden;
    }

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

/* ===========================================================
   3. SCHREIBCURSOR UND TEXTAUSWAHL
=========================================================== */

/*
   Normaler Seitentext zeigt keinen blinkenden Schreibcursor.
   Eingabefelder bleiben weiterhin vollständig nutzbar.
*/

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong,
small,
blockquote,
figcaption,
li,
address,
label,
legend {
    caret-color: transparent;
}

/*
   Text kann weiterhin kopiert werden.
   Deshalb wird user-select nicht global deaktiviert.
*/

input,
textarea,
select,
[contenteditable="true"] {
    caret-color: auto;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

    /* ===========================================================
   4. BARRIEREFREIER TASTATURFOKUS
=========================================================== */

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible,
    [tabindex]:focus-visible {
        outline: 3px solid var(--primary-light);
        outline-offset: 4px;
        border-radius: 8px;
    }

/* ===========================================================
   5. HEADER
=========================================================== */

header#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0 60px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(2,61,150,.07);
    transition: height var(--transition), background var(--transition), box-shadow var(--transition);
    z-index: 5000;
}

    header#header.header-small {
        height: var(--header-small-height);
        background: rgba(255,255,255,.97);
        box-shadow: var(--shadow-small);
    }

/* ===========================================================
   6. LOGO
=========================================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
    text-decoration: none;
}

    .logo img {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center;
        background: var(--primary);
        box-shadow: 0 3px 12px rgba(0,0,0,.14);
        transition: width var(--transition), height var(--transition), transform var(--transition);
    }

    .logo:hover img {
        transform: scale(1.04);
    }

.header-small .logo img {
    width: 54px;
    height: 54px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .logo-text strong {
        color: var(--primary);
        font-size: 1.18rem;
        font-weight: 700;
    }

    .logo-text small {
        margin-top: 3px;
        color: var(--text-light);
        font-size: .8rem;
        letter-spacing: .04em;
    }

/* ===========================================================
   7. DESKTOP-NAVIGATION
=========================================================== */

#navbar ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

#navbar a {
    position: relative;
    display: block;
    padding: 8px 0;
    color: var(--primary);
    font-size: .96rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

    #navbar a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 3px;
        border-radius: 999px;
        background: var(--primary-light);
        transition: width var(--transition);
    }

    #navbar a:hover,
    #navbar a.active {
        color: var(--primary-light);
    }

        #navbar a:hover::after,
        #navbar a.active::after {
            width: 100%;
        }

/* ===========================================================
   8. MOBILE MENÜSCHALTFLÄCHE
=========================================================== */

#menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--primary);
    font-size: 1.6rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

    #menu-button:hover {
        background: rgba(2,61,150,.08);
    }

    #menu-button:active {
        transform: scale(.94);
    }

/* ===========================================================
   9. HERO
=========================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background: url("../pics/hero.jpg") center center / cover no-repeat;
}

.hero-overlay {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 24px 60px;
    background: linear-gradient( 180deg, rgba(7,12,30,.28), rgba(7,12,30,.48) );
}

/* ===========================================================
   10. ALLGEMEINE CONTAINER
=========================================================== */

.section-container {
    width: min(var(--content-width),92%);
    margin-inline: auto;
}

.media-container,
.price-list-container {
    width: min(var(--wide-content-width),92%);
}

/* ===========================================================
   11. HERO-INHALT
=========================================================== */

.hero-content {
    text-align: center;
    color: var(--white);
}

.hero-kicker,
.section-kicker {
    margin-bottom: 12px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-kicker {
    color: rgba(255,255,255,.9);
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 24px;
    font-size: clamp(2.4rem,5vw,4.8rem);
    line-height: 1.08;
    text-shadow: 0 5px 20px rgba(0,0,0,.4);
}

.hero-content > p:not(.hero-kicker) {
    max-width: 720px;
    margin: 0 auto 38px;
    font-size: clamp(1rem,1.8vw,1.18rem);
    line-height: 1.85;
    text-shadow: 0 3px 14px rgba(0,0,0,.4);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===========================================================
   12. BUTTONS
=========================================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 32px;
    border: 2px solid var(--primary);
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(2,61,150,.25);
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

    .button:hover {
        transform: translateY(-3px);
        background: var(--primary-light);
        border-color: var(--primary-light);
        box-shadow: 0 14px 28px rgba(2,61,150,.3);
    }

    .button:active {
        transform: translateY(0);
    }

.button-secondary {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.9);
    color: var(--white);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .button-secondary:hover {
        background: var(--white);
        border-color: var(--white);
        color: var(--primary);
    }
/* ===========================================================
   13. ALLGEMEINE SEITENABSCHNITTE
=========================================================== */

.page-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 30px;
    scroll-margin-top: var(--header-small-height);
}

    .page-section:nth-of-type(even) {
        background: rgba(255,255,255,.2);
    }

    .page-section::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: min(120px,30%);
        height: 1px;
        transform: translateX(-50%);
        background: rgba(2,61,150,.14);
    }

    .page-section:last-of-type::after {
        display: none;
    }

/* ===========================================================
   14. ABSCHNITTSÜBERSCHRIFTEN
=========================================================== */

.section-heading {
    margin-bottom: 64px;
    text-align: center;
}

.section-kicker {
    color: var(--primary-light);
}

.section-heading h2 {
    color: var(--primary);
    font-size: clamp(2rem,4vw,3rem);
    line-height: 1.2;
}

.section-intro {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* ===========================================================
   15. LEISTUNGSBEREICH IMMER SICHTBAR
=========================================================== */

#leistungen {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    align-items: flex-start;
    min-height: 100vh;
}

    #leistungen .price-list-container {
        display: block;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
    }

/* ===========================================================
   16. PREISLISTEN-RASTER
=========================================================== */

.price-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 68px 80px;
    align-items: start;
}

.price-category {
    margin: 0;
}

    .price-category h3 {
        margin-bottom: 22px;
        padding-bottom: 12px;
        color: var(--primary);
        font-size: 1.38rem;
        line-height: 1.35;
        border-bottom: 2px solid rgba(2,61,150,.16);
    }

    .price-category h4 {
        color: var(--primary);
    }

/* ===========================================================
   17. BESCHREIBUNGEN UND UNTERÜBERSCHRIFTEN
=========================================================== */

.category-description {
    margin: -4px 0 20px;
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.7;
}

.price-subheading {
    margin: 28px 0 10px;
    font-size: 1.02rem;
    line-height: 1.5;
}

/* ===========================================================
   18. EINFACHE PREISZEILEN
=========================================================== */

.price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
    transition: padding-left var(--transition), color var(--transition);
}

    .price-row:hover {
        padding-left: 8px;
    }

    .price-row span {
        line-height: 1.55;
    }

    .price-row strong {
        flex: 0 0 auto;
        color: var(--primary);
        font-weight: 700;
        white-space: nowrap;
    }

/* ===========================================================
   19. DETAILLIERTE LEISTUNGEN
=========================================================== */

.service-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

    .service-item:first-of-type {
        padding-top: 0;
    }

.service-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 9px;
}

    .service-heading h4 {
        font-size: 1.03rem;
        line-height: 1.45;
    }

.service-price {
    flex: 0 0 auto;
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.service-item p {
    color: #454b53;
    font-size: .91rem;
    line-height: 1.72;
}

.service-duration {
    display: block;
    margin-top: 8px;
    color: #727983;
    font-size: .8rem;
    font-style: italic;
}

/* ===========================================================
   20. HINWEISTEXTE
=========================================================== */

.price-note {
    margin-top: 22px;
    padding-left: 14px;
    color: var(--text-light);
    font-size: .83rem;
    line-height: 1.7;
    border-left: 3px solid rgba(2,61,150,.25);
}

/* ===========================================================
   21. GALERIE
=========================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

    .gallery figure {
        margin: 0;
    }

    .gallery img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: 16px;
        cursor: pointer;
        box-shadow: var(--shadow-medium);
        transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    }

        .gallery img:hover {
            transform: translateY(-5px) scale(1.015);
            box-shadow: 0 18px 38px rgba(0,0,0,.16);
            filter: saturate(1.05);
        }

    .gallery figcaption {
        margin-top: 12px;
        color: var(--text-light);
        font-size: .9rem;
        text-align: center;
    }

/* ===========================================================
   22. FEEDBACK-BEREICH
=========================================================== */

.feedback-container {
    max-width: 760px;
}

.slideshow {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-slide {
    display: none;
    width: 100%;
    text-align: center;
    animation: fadeSlide .55s ease;
}

    .feedback-slide.active {
        display: block;
    }

    .feedback-slide .stars {
        margin-bottom: 20px;
        color: var(--rating);
        font-size: 1.45rem;
        letter-spacing: .16em;
    }

    .feedback-slide blockquote {
        color: #30353c;
        font-size: clamp(1.15rem,2.3vw,1.55rem);
        font-weight: 400;
        line-height: 1.8;
    }

    .feedback-slide p {
        margin-top: 22px;
        color: var(--text-light);
        font-size: .92rem;
    }

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================================
   23. GOOGLE MAPS
=========================================================== */

.map {
    width: 100%;
}

    .map iframe {
        display: block;
        width: 100%;
        height: 520px;
        border: 0;
        border-radius: 18px;
        box-shadow: var(--shadow-medium);
    }

/* ===========================================================
   24. KONTAKT
=========================================================== */

.contact-container {
    width: min(980px,92%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 30px;
}

.contact-item {
    text-align: center;
}

    .contact-item i {
        margin-bottom: 16px;
        color: var(--primary);
        font-size: 2rem;
    }

    .contact-item h3 {
        margin-bottom: 10px;
        color: var(--primary);
        font-size: 1.05rem;
    }

    .contact-item p,
    .contact-item address {
        color: var(--text-light);
        font-style: normal;
        line-height: 1.7;
    }

    .contact-item a {
        color: var(--text-light);
        text-decoration: none;
        transition: color var(--transition);
        word-break: break-word;
    }

        .contact-item a:hover {
            color: var(--primary-light);
        }

/* ===========================================================
   25. FOOTER
=========================================================== */

footer {
    padding: 36px 24px 26px;
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 22px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.footer-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 24px;
    max-width: 1300px;
    margin: 0 auto;
    font-size: .9rem;
}

    .footer-inline a {
        color: var(--white);
        text-decoration: none;
    }

        .footer-inline a:hover {
            text-decoration: underline;
        }

.copyright {
    margin-top: 18px;
    color: rgba(255,255,255,.7);
    font-size: .8rem;
}

/* ===========================================================
   26. BACK-TO-TOP-BUTTON
=========================================================== */

#backToTop {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 54px;
    height: 54px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    transition: transform var(--transition), background var(--transition), opacity var(--transition);
    z-index: 4000;
}

    #backToTop:hover {
        transform: translateY(-4px);
        background: var(--primary-light);
    }

/* ===========================================================
   27. LIGHTBOX
=========================================================== */

#lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0,0,0,.88);
    z-index: 10000;
}

    #lightbox.open {
        display: flex;
    }

    #lightbox img {
        max-width: 92vw;
        max-height: 88vh;
        border-radius: 14px;
        box-shadow: var(--shadow-large);
    }

#lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

    #lightbox-close:hover {
        background: rgba(255,255,255,.24);
        transform: rotate(90deg);
    }

/* ===========================================================
   28. SCROLL-ANIMATIONEN
=========================================================== */

.hidden {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity .8s ease, transform .8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================================
   29. RESPONSIVE (<=1100px)
=========================================================== */

@media (max-width:1100px) {

    header#header {
        padding-inline: 32px;
    }

    #navbar ul {
        gap: 20px;
    }

    .price-list {
        gap: 58px 52px;
    }

    .contact-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 46px 30px;
    }

    .gallery {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

/* ===========================================================
   30. RESPONSIVE (<=900px)
=========================================================== */

@media (max-width:900px) {

    header#header {
        padding-inline: 22px;
    }

    #menu-button {
        display: flex;
    }

    #navbar {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: min(320px,88vw);
        height: calc(100vh - var(--header-height));
        background: rgba(255,255,255,.99);
        box-shadow: -10px 0 30px rgba(0,0,0,.14);
        transition: right var(--transition), top var(--transition), height var(--transition);
        overflow-y: auto;
    }

    .header-small #navbar {
        top: var(--header-small-height);
        height: calc(100vh - var(--header-small-height));
    }

    #navbar.mobile-open {
        right: 0;
    }

    #navbar ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 26px;
    }

    #navbar li {
        width: 100%;
    }

    #navbar a {
        padding: 16px 8px;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(2,61,150,.08);
    }

        #navbar a::after {
            display: none;
        }

    .page-section {
        padding: 110px 22px;
    }

    .hero-overlay {
        padding-top: calc(var(--header-height) + 30px);
    }

    /* Leistungen */

    #leistungen {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        min-height: auto;
        padding: 110px 22px;
    }

        #leistungen .price-list-container {
            width: 100%;
            max-width: none;
        }

    .price-list {
        display: block;
    }

    .price-category {
        display: block;
        width: 100%;
        margin-bottom: 60px;
        opacity: 1;
        visibility: visible;
    }
}

/* ===========================================================
   31. RESPONSIVE (<=700px)
=========================================================== */

@media (max-width:700px) {

    :root {
        --header-height: 76px;
        --header-small-height: 64px;
    }

    .logo img {
        width: 54px;
        height: 54px;
    }

    .header-small .logo img {
        width: 46px;
        height: 46px;
    }

    .logo-text strong {
        font-size: 1rem;
    }

    .logo-text small {
        font-size: .72rem;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .button {
            width: min(320px,100%);
        }

    .gallery {
        grid-template-columns: 1fr;
    }

    .map iframe {
        height: 360px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .section-heading {
        margin-bottom: 48px;
    }

    .price-category h3 {
        font-size: 1.22rem;
    }

    .service-heading {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 14px;
    }

        .service-heading h4 {
            max-width: 75%;
        }

    .service-price {
        white-space: nowrap;
    }
}

/* ===========================================================
   32. RESPONSIVE (<=480px)
=========================================================== */

@media (max-width:480px) {

    header#header {
        padding-inline: 14px;
    }

    .logo {
        gap: 10px;
    }

        .logo img {
            width: 54px;
            height: 54px;
        }

    .header-small .logo img {
        width: 46px;
        height: 46px;
    }

    .logo-text {
        display: none;
    }

    #menu-button {
        width: 42px;
        height: 42px;
    }

    .hero-overlay {
        padding-inline: 16px;
    }

    .page-section {
        padding: 95px 16px;
    }

    #leistungen {
        padding: 95px 16px;
    }

    .section-container,
    .media-container,
    .contact-container {
        width: 100%;
    }

    .section-heading h2 {
        font-size: 1.9rem;
    }

    /* Preisliste */

    .price-row {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        gap: 12px;
        align-items: start;
        font-size: .92rem;
    }

        .price-row strong {
            text-align: right;
        }

    .service-heading {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        gap: 12px;
    }

        .service-heading h4 {
            max-width: none;
        }

    .service-item p {
        font-size: .88rem;
    }

    /* Galerie */

    .gallery img {
        border-radius: 12px;
    }

    /* Karte */

    .map iframe {
        height: 300px;
        border-radius: 12px;
    }

    /* Footer */

    .footer-logo {
        width: 100px;
        height: 100px;
    }

    /* BackToTop */

    #backToTop {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}

/* ===========================================================
   33. SICHERHEIT FÜR LEISTUNGSBEREICH
=========================================================== */

@media (max-width:900px) {

    #leistungen,
    #leistungen *,
    #leistungen .price-list,
    #leistungen .price-category {
        visibility: visible;
    }

    #leistungen {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===========================================================
   34. REDUZIERTE BEWEGUNGEN
=========================================================== */

@media (prefers-reduced-motion:reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hidden {
        opacity: 1;
        transform: none;
    }
}