:root{
    --blum:#fcb4df;
    --beige:rgb(245, 245, 239);
    --berry:#9c597d;
    --newtimes:"DM Sans";
    --patris:"Parisienne", cursive;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


h3 {
    font-family: var(--patris);
    color: var(--berry);
    margin-bottom: 10px;
}

img{
    border-radius: 15px;
}

table, th, td {
    border: 1px solid var(--berry);
    border-collapse: collapse;
}

th, td{
    padding: 12px 16px;
}
tr:nth-child(even){
    background-color:white;
}
.book-table{
    text-align: center;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
}


html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--beige);
    font-family: var(--newtimes);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}




/* Animationen */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(245, 245, 239, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-bottom: 2px solid var(--blum);
}

.nav-left {
    flex: 1;
}

.nav-logo {
    font-family: var(--patris);
    font-size: 28px;
    color: var(--berry);
    font-weight: 600;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--berry);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blum);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--blum);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--blum);
}

.nav-link.active::after {
    width: 100%;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-icon {
    width: 40px;
    height: 40px;
    background-color: var(--blum);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-icon:hover {
    transform: scale(1.1);
    background-color: var(--berry);
}






/* Sections */
.section {
    width: min(100%, 1300px);
    max-width: 1300px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    margin: 0 auto;
    scroll-margin-top: 80px;
}

.start-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    flex: none;
    min-height: auto;
    padding: 60px 40px;
    margin: 0 auto;
    ;
}



/* Bild Bereich */
.start-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    animation: slideInLeft 1s ease-out;
}

.portrait {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    transform: rotate(-8deg);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.15),
                -10px -10px 40px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: #ffd7ef 5px solid;
    margin: 10px;
}

.portrait:hover {
    transform: rotate(-5deg) scale(1.02);
    box-shadow: 25px 25px 70px rgba(0, 0, 0, 0.2),
                -10px -10px 40px rgba(255, 255, 255, 0.6);
}

#home-video {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.background-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#home {
    position: relative;
    z-index: 2;
}


/* Content Bereich */
.start-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
    animation: slideInRight 1s ease-out;
}

.name {
    font-family: var(--patris);
    font-size: 48px;
    color: var(--berry);
    margin-bottom: 20px;
    animation: slideInRight 1.2s ease-out;
}

.start-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
    animation: slideInRight 1s ease-out;
}

.name {
    font-family: var(--patris);
    font-size: 48px;
    color: var(--berry);
    margin-bottom: 20px;
    animation: slideInRight 1.2s ease-out;
}

.start-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-top: 15px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
        background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(156, 89, 125, 0.14);
    padding: 20px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.section h2 {
    font-family: var(--patris);
    font-size: 42px;
    color: var(--berry);
    margin-bottom: 5px;
    animation: slideInRight 1s ease-out;
}

.section p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    max-width: 800px;
    text-align: center;
}

.section-about,
.section-hobbys,
.section-projekte {
    position: relative;
    z-index: 1;
    background-color: var(--beige);
}


.section-about::before,
.section-hobbys::before,
.section-projekte::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(252, 180, 223, 0.14), transparent 26%),
        radial-gradient(circle at bottom right, rgba(156, 89, 125, 0.08), transparent 28%);
    z-index: 0;
}

.section-about .about-image {
    width: 170px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 10px 14px 30px rgba(0, 0, 0, 0.12),
                -5px -5px 20px rgba(255, 255, 255, 0.6);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-about .about-image:hover {
    transform: translate3d(0, var(--parallax-y), 0) translateY(-4px) scale(1.03);
    box-shadow: 15px 18px 40px rgba(0, 0, 0, 0.18),
                -5px -5px 20px rgba(255, 255, 255, 0.7);
}

.filli {
    grid-area: filli;
    transform: translate3d(0, var(--parallax-y), 0) rotate(-8deg);
    z-index: 1;
    width: 150px;
    order: 3;
    margin-left: 20px;
}
.startpack {
    grid-area: startpack;
    transform: translate3d(0, var(--parallax-y), 0) rotate(8deg);
    z-index: 2;
    width: 170px;
    order: 2;
    margin-right: 20px;
}

.aboutclass {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(320px, 1fr) minmax(180px, 220px);
    grid-template-areas: "startpack mee filli";
    align-items: center;
    justify-items: center;
    gap: 30px;
    width: min(100%, 1100px);
    max-width: 1100px;
    position: relative;
}

.aboutclass .mee {
    grid-area: mee;
    max-width: 550px;
    width: clamp(320px, 42vw, 550px);
    line-height: 1.7;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(156, 89, 125, 0.18);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px){
    .aboutclass {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        grid-template-areas:
        "mee mee"    
        "startpack filli";
        justify-items: center;
        align-items: center;
        gap: 18px;
    }

    .aboutclass .startpack,
    .aboutclass .filli {
        margin: 0;
        width: clamp(120px, 40vw, 150px);
        max-width: 150px;
    }

    .aboutclass .mee {
        order: 1;
        width: min(100%, 650px);
    }

    .aboutclass .startpack {
        order: 2;
    }

    .aboutclass .filli {
        order: 3;
    }

    .filli {
        transform: translate3d(0, var(--parallax-y), 0) rotate(-10deg);
    }

    .startpack {
        transform: translate3d(0, var(--parallax-y), 0) rotate(10deg);
    }
}





.container_song{
    width: fit-content;
    margin: 0 auto;
}

.favsongs {
    list-style: decimal inside;
    padding-left: 20px;
    margin-top: 15px;
    color: #333;
    text-align: left;
}




.favfächer {
    grid-area: favfächer;
    background-color: var(--blum);
    border-radius: 22px;
    padding: 22px;
    width: auto;
}

.motto {
    grid-area: motto;
    background-color: var(--blum);
    border-radius: 22px;
    padding: 22px;
}
.funfacts {
    grid-area: funfacts;
    background-color: var(--blum);
    border-radius: 22px;
    width: auto;
    padding: 22px;
}
.placehold {
    grid-area: placehold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.placehold2 {
    grid-area: placehold2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
;}



.gridtext {
    grid-area: gridtext;
    border-radius: 22px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: 1.05rem;
}
.factgrid > .funfacts, .favfächer, .motto, .gridtext {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(156, 89, 125, 0.14);
    padding: 22px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.factgrid > .funfacts, .favfächer, .motto, .gridtext:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.11);
}

.placehold img,
.placehold2 img {
    width: 110px;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    filter: saturate(1.2);
    border-radius: 16px;
}

.placehold {
    transform: translate3d(0, 0) rotate(-3deg);
}

.placehold2 {
    transform: translate3d(0, 0) rotate(4deg);
}

.factgrid {
    display: grid;
    gap: 24px;
    margin: 30px auto 0;
    padding: 10px;
    width: min(100%, 1180px);
    max-width: 1180px;
    grid-template-columns: minmax(220px, 1.4fr) minmax(200px, 1fr) minmax(180px, 0.9fr);
    grid-auto-rows: minmax(180px, auto);
    grid-template-areas: 
        "gridtext favfächer favfächer"
        "motto motto placehold"
        "placehold2 funfacts funfacts";
}



.section-hobbys {
    background: linear-gradient(135deg, rgba(255, 215, 239, 0.2), rgba(245, 245, 239, 1));
}

.section-projekte {
    background: linear-gradient(135deg, rgba(245, 245, 239, 1), rgba(255, 215, 239, 0.3));
}



.content-lesen{
    margin-top: 20px;

}

.content-musik{
    margin-top: 20px;
}

.hobby-image{
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    width: 150px;
}

.gallery-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.gallery-header h3 {
    margin: 0;
}

.gallery-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 2px solid var(--berry);
    border-radius: 50%;
    background: #fff;
    color: var(--berry);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.gallery-toggle:hover {
    background: rgba(156, 89, 125, 0.1);
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.gallery-toggle.active .arrow-icon {
    transform: rotate(50deg);
}

.reiten-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.hidden {
    display: none;
}

.om-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}














/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-inner img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    border: 1px solid #ccc;
    line-height: 1;
}

.lightbox-close:hover {
    background: #f0f0f0;
}

/* Cursor-Hinweis auf den Galeriebildern */
.reiten-gallery .hobby-image {
    cursor: pointer;
}

.reiten-gallery .hobby-image:hover {
    opacity: 0.85;
    transition: opacity 0.2s;
}












footer {
    background-image: url(Assets/bg_image-footer.png);
    text-align: center;
    color: var(--berry);
    font-size: 14px;
    padding: 30px 20px;
    background-color: var(--beige);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sticky-nav {
        padding: 12px 30px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-link {
        font-size: 14px;
    }

    .start-container {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .start-image {
        min-width: 100%;
        order: -1;
    }
    
    .start-content {
        min-width: 100%;
    }
    
    .name {
        font-size: 36px;
    }
    
    .portrait {
        width: 280px;
        height: 380px;
    }

    .section {
        padding: 40px 20px;
    }

    .aboutclass {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .aboutclass .mee {
        max-width: 100%;
        padding: 20px;
    }

    .factgrid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "gridtext gridtext"
            "favfächer placehold"
            "placehold2 motto"
            "funfacts funfacts";
    }

    .placehold,
    .placehold2 {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .sticky-nav {
        padding: 10px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-left {
        flex: 1 1 auto;
    }

    .nav-logo {
        font-size: 22px;
    }

    .nav-center {
        flex: 1 1 100%;
        order: 3;
    }

    .nav-menu {
        gap: 15px;
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
    }

    .nav-right {
        flex: 1 1 auto;
    }

    body {
        padding-top: 120px;
    }

    .section {
        scroll-margin-top: 120px;
    }

    .aboutclass {
        gap: 20px;
    }

    .factgrid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gridtext  gridtext"
            "favfächer favfächer"
            "motto motto"
            "placehold placehold2"
            "funfacts funfacts";
    }

    .placehold,
    .placehold2 {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .sticky-nav {
        padding: 8px 15px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 11px;
    }

    .nav-icon-placeholder {
        width: 35px;
        height: 35px;
    }

    .start-container {
        gap: 30px;
        padding: 30px 15px;
    }
    
    .name {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .start-text {
        font-size: 14px;
    }
    
    .portrait {
        width: 200px;
        height: 280px;
    }
    
    body {
        padding-top: 140px;
    }

    .section {
        padding: 30px 15px;
        scroll-margin-top: 140px;
    }

    .section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

/* Carousel Gallery Styles */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    position: relative;
    max-width: 700px;
}

.carousel-wrapper {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: opacity 0.35s ease;
    will-change: opacity;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.carousel-item.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3);
}

.carousel-item.prev,
.carousel-item.next {
    width: auto;
    max-width: 65%;
    height: auto;
    max-height: 85%;
    top: 7.5%;
    opacity: 0.45;
    z-index: 2;
    border-radius: 12px;
    filter: brightness(0.85);
}

.carousel-item.prev {
    left: 26%;
    transform: translateX(-50%) scale(0.78);
}

.carousel-item.next {
    left: 74%;
    transform: translateX(-50%) scale(0.78);
}

.carousel-prev-display,
.carousel-next-display {
    display: none;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--berry);
    background-color: rgba(245, 245, 239, 0.95);
    color: var(--berry);
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: var(--newtimes);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background-color: var(--blum);
    color: var(--berry);
    transform: scale(1.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .carousel-wrapper {
        max-width: 100%;
        /*height: 300px;*/
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-item {
        width: 100%;
        height: 100%;
    }
}

