
@media (min-width: 769px) {
    .portfolio-page .hero-text,
    .kontakt-page .hero-text {
        text-align: left !important;
        left: 0 !important;
        right: auto !important;
        transform: translateY(-50%) !important;
        position: absolute !important;
        padding-left: 5vw !important;
        max-width: 80vw !important;
    }
}
@media (min-width: 769px) {
    header nav ul {
        padding-right: 2.5rem !important;
    }
}
@media (min-width: 769px) {
    header {
        padding-right: 2.5rem !important;
    }
}

html, body, main, section, header, footer {
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
}

            .portfolio-page .hero-text,
            .kontakt-page .hero-text {
                text-align: left !important;
                position: absolute !important;
                left: 0 !important;
                right: auto !important;
                top: 50% !important;
                transform: translateY(-50%) !important;
                padding-left: 6vw !important;
                padding-right: 0 !important;
                width: auto !important;
                max-width: 90vw !important;
                max-width: 90vw !important;
            }

@media (max-width: 768px) {
    .hero-text {
        position: static;
        transform: none;
        text-align: center;
        padding: 0.2rem 0;
    }
    .hero h1 {
        font-size: 2rem;
        margin: 0.2em 0;
    }
    .portfolio-hero-img,
    .angebot-hero-img,
    .hero h1 {
        font-size: 2.2rem;
        margin: 0.2em 0;
    }
    .angebot-hero-text h1,
    .kontakt-hero-text h1 {
        font-size: 2rem;
        margin: 0.2em 0;
    }
            .portfolio-page .hero-text,
            .kontakt-page .hero-text {
                 text-align: left !important;
                 position: absolute !important;
                 left: 0 !important;
                 right: auto !important;
                 top: 50% !important;
                 transform: translateY(-50%) !important;
                 padding-left: 7vw !important;
                 padding-right: 0 !important;
                 width: auto !important;
                 max-width: 90vw !important;
            }
    .about-hero-text h1,
    .portfolio-hero-text h1,
    .angebot-hero-text h1,
    .kontakt-hero-text h1 {
        font-size: 1.4rem;
    }
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        border-radius: 0.4rem !important;
        background: #fff7f2 !important;
        max-height: none !important;
    }
    .hero h1,
    .about-hero-text h1,
    .portfolio-hero-text h1,
    .angebot-hero-text h1,
    .kontakt-hero-text h1 {
        font-size: 1.4rem;
    }

@media (max-width: 768px) {
    footer, .footer-content {
        padding: 0.7rem 0.2rem !important;
        font-size: 0.95rem !important;
    }
    footer .social-links {
        gap: 0.7rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    footer .social-links li a {
        font-size: 1.1rem !important;
        padding: 0.4rem 0.7rem !important;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer p {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }
}
@media (max-width: 480px) {
    footer, .footer-content {
        .portfolio-page .hero-text,
        .kontakt-page .hero-text {
            text-align: left !important;
            padding-left: 1.2rem !important;
            padding-right: 0 !important;
        }
        padding: 0.3rem 0.1rem !important;
        font-size: 0.9rem !important;
    }
    footer .social-links {
        gap: 0.4rem !important;
    }
    footer .social-links li a {
        font-size: 1rem !important;
        padding: 0.2rem 0.4rem !important;
        @media (max-width: 768px) {
            .hero h1,
            .about-hero-text h1,
            .portfolio-hero-text h1,
            .angebot-hero-text h1,
            .kontakt-hero-text h1 {
                font-size: 2rem;
        .portfolio-page .hero-text,
        .kontakt-page .hero-text {
            text-align: left !important;
            padding-left: 0.7rem !important;
            padding-right: 0 !important;
        }
                margin: 0.2em 0;
            }
        }
        @media (max-width: 480px) {
            .hero h1,
            .about-hero-text h1,
            .portfolio-hero-text h1,
            .angebot-hero-text h1,
            .kontakt-hero-text h1 {
                font-size: 1.4rem;
                margin: 0.2em 0;
            }
        }
    }
    .portfolio-hero-img,
    .angebot-hero-img,
    .kontakt-hero-img {
        max-height: 180px;
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .cards {
        padding: 0.5rem;
        gap: 0.7rem;
    }
    .portfolio-projects {
        padding: 0 0.2rem;
        gap: 0.7rem;
    }
    .about {
        padding: 0.5rem 0.2rem;
        gap: 0.7rem;
    }
    .angebot-skills {
        padding: 0.5rem 0.2rem;
    }
    .project-box {
        padding: 0.5rem;
        font-size: 0.95rem;
    }
    .card {
        padding: 0.5rem;
        min-height: 120px;
    }
    .about-image img {
        max-width: 120px;
    }
    .portfolio-hero,
    .angebot-hero,
    .kontakt-hero {
        min-height: 120px;
        margin-bottom: 0.7rem;
        padding: 0.2rem;
    }
    .portfolio-hero-img,
    .angebot-hero-img,
    .kontakt-hero-img {
        max-height: 90px;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.nav-toggle .bar {
    width: 28px;
    height: 4px;
    background-color: #2F2A25;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 1.5rem;
        top: 1.2rem;
    }
    header nav ul {
        display: none;
        flex-direction: column;
        gap: 1.2rem;
        background: #FFF7F2;
        position: absolute;
        top: 60px;
        right: 1rem;
        width: 180px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-radius: 1rem;
        padding: 1.2rem 1rem;
        z-index: 1000;
    }
    header nav ul.open {
        display: flex;
    }
    header nav ul li {
        width: 100%;
    }
    header nav ul li a {
        width: 100%;
        display: block;
        padding: 0.5rem 0;
    }
}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1rem;
    }
    header .logo {
        max-height: 60px;
        margin-bottom: 0.5rem;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        width: 100%;
        padding-left: 0;
    }
    nav a {
        font-size: 1.1rem;
        padding: 0.2rem 0;
    }
    .hero h1,
    .about-hero-text h1,
    .portfolio-hero-text h1,
    .angebot-hero-text h1,
    .kontakt-hero-text h1 {
        font-size: 4rem;
    }
    .cards {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }
    .portfolio-projects {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    .about {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }
    .about-image img {
        width: 100%;
        height: auto;
        max-width: 250px;
    }
    .angebot-skills {
        padding: 1rem;
    }
    footer {
        padding: 1rem;
        font-size: 0.95rem;
    }
    footer .social-links {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 0.5rem;
    }
    .hero h1,
    .about-hero-text h1,
    .portfolio-hero-text h1,
    .angebot-hero-text h1,
    .kontakt-hero-text h1 {
        font-size: 2.2rem;
    }
    nav a {
        font-size: 1rem;
    }
    .card {
        padding: 1rem;
        min-height: 200px;
    }
    .project-box {
        padding: 1rem;
        font-size: 1rem;
    }
    .about-image img {
        max-width: 180px;
    }
    .angebot-skills {
        padding: 0.5rem;
    }
    footer {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
footer.footer-kontakt {
    background-color: #FCE9A0;
}

body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background-color: #FFF7F2;
    color: #2F2A25;
    font-size: 1rem;
}


header {
    display: flex;
    align-items: center;       
    justify-content: space-between; 
    background-color: #FFF7F2;
    padding: 1rem 2rem;
}

header .logo {
    max-height: 80px;  
    width: auto;       
}


nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

nav a {
    font-family: 'Fjalla One', sans-serif; 
    text-decoration: none;
    color: #2F2A25;
    font-weight: bold;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}


nav a:hover {
    color: #F8B88B;
}
body.about-page nav a:hover {
    color: #B6E2D3;
}
body.portfolio-page nav a:hover {
    color: #E6A5A1;
}
body.angebot-page nav a:hover {
    color: #CDB4DB;
}
body.kontakt-page nav a:hover {
    color: #FCE9A0;
}


nav a.active {
    color: #E6A5A1;
    border-bottom: 2px solid #E6A5A1;
    padding-bottom: 0.2rem;
}

body.about-page nav a.active {
    color: #B6E2D3;
    border-bottom: 2px solid #B6E2D3;
}
body.angebot-page nav a.active {
    color: #CDB4DB;
    border-bottom: 2px solid #CDB4DB;
}
body.kontakt-page nav a.active {
    color: #FCE9A0;
    border-bottom: 2px solid #FCE9A0;
}
body.index-page nav a.active {
    color: #F8B88B;
    border-bottom: 2px solid #F8B88B;
}


.hero {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    text-align: center;
}

.hero h1 {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(2.8rem, 9vw, 6rem);
    margin: 0;
    color: #2F2A25;
}


.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 0;
    padding: 2rem 1.5rem 4rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .cards {
        padding-left: 8vw !important;
        padding-right: 8vw !important;
    }
}

.card {
    padding: 2rem;
    border-radius: 1rem;
    min-height: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.02);
}


.card img {
    width: 100%;
    max-height: 320px;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.card button {
    font-family: 'Fjalla One', sans-serif;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.4rem;
    color: #2F2A25;
    margin-top: auto;
    align-self: center;
}



.mint { background-color: #B6E2D3; }
.rose { background-color: #E6A5A1; }
.lavender { background-color: #CDB4DB; }
.yellow { background-color: #FCE9A0; }


h1, h2, h3, h4, h5, h6 {
    font-family: 'Fjalla One', sans-serif;
}


footer.footer-home {
    background-color: #F8B88B;
}

footer.footer-about {
    background-color: #B6E2D3; 
}

footer.footer-portfolio {
    background-color: #E6A5A1; 
}


footer {
    padding: 2rem;
    text-align: center;
}

footer p {
    margin: 0 0 1rem 0;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1rem;
    color: #2F2A25;
}

footer .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

footer .social-links li a {
    text-decoration: none;
    color: #2F2A25;
    font-family: 'Fjalla One', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}


.about {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 4rem;
}


.about-simple {
    padding: 2rem 4rem;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2rem;
    margin: 0 0 1rem 0;
    text-transform: lowercase;
}

.about-text p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.about-image {
    flex: 0 0 300px;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4/5;
    height: auto;
    min-height: 0;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}


.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    background-color: #f9f9f9;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.flip-card-back {
    background-color: #B6E2D3;
    color: #2F2A25;
    transform: rotateY(180deg);
    padding: 2rem;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.flip-card-back h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flip-card-back p {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.about-box h2 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-box p {
    margin: 0;
    line-height: 1.5;
}


.timeline-section {
    padding: 2rem 4rem 4rem 4rem;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}


.timeline {
    position: relative;
    margin: 0 auto;
    padding-left: 2rem;
    max-width: 700px;
}


.timeline::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #B6E2D3; 
}


.timeline-item {
    margin-bottom: 2rem;
    padding-left: 2rem;
}


.timeline-item .year {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.3rem;
}


.timeline-item p {
    margin: 0;
    font-family: 'Lora', serif;
    line-height: 1.5;
}



.about-hero {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    min-height: 320px;
}


.about-hero-img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 0.7rem;
    background: #fff7f2;
}


.hero-img,
.portfolio-hero-img,
.angebot-hero-img,
.kontakt-hero-img {
    display: block;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 0.7rem;
    background: #fff7f2;
}
@media (max-width: 768px) {
    .about-hero {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem 0.2rem !important;
        min-height: 120px !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .hero-img,
    .about-hero-img,
    .portfolio-hero-img,
    .angebot-hero-img,
    .kontakt-hero-img {
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        border-radius: 0.7rem !important;
        background: #fff7f2 !important;
        max-height: none !important;
    }
    .about-hero-text h1 {
        font-size: 2.2rem !important;
        margin: 0.2em 0 !important;
    }
}
@media (max-width: 480px) {
    .about-hero {
        min-height: 60px !important;
        gap: 0.5rem !important;
        padding: 0.2rem 0.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-img,
    .about-hero-img,
    .portfolio-hero-img,
    .angebot-hero-img,
    .kontakt-hero-img {
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        border-radius: 0.4rem !important;
        background: #fff7f2 !important;
        max-height: none !important;
    }
    .about-hero-text h1 {
        font-size: 1.2rem !important;
    }
}


.about-hero-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    padding: 1.5rem 2.5rem;
    max-width: 500px;
    text-align: right;
    z-index: 2;
}

.about-hero-text h1 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 12rem;
    margin: 0 0 1rem 0;
}

.about-hero-text p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}



.portfolio-hero {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.portfolio-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-hero-text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.portfolio-hero-text h1 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 12rem;
    margin: 0;
    color: #2F2A25;
}

.portfolio-hero-text p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}


.portfolio-category h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    text-align: center;
}


.portfolio-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 4rem; 
}


.project-box {
    background-color: #E6A5A1; 
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}


.project-box img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1rem;
}

.project-box p {
    margin: 1rem 0 0 0;
}


.angebot-hero {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.angebot-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.angebot-hero-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    text-align: center;
}

.angebot-hero-text h1 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 12rem;
    margin: 0;
    color: #2F2A25;
}

.angebot-hero-text p {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}


.angebot-skills .card,
.angebot-tools .card {
    background-color: #CDB4DB; 
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.angebot-skills .card h3,
.angebot-tools .card h3 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    text-align: center;
}


.angebot-skills .card ul,
.angebot-tools .card ul {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    padding-left: 1.2rem;
}


footer.footer-angebot {
    background-color: #CDB4DB; 
    padding: 2rem;
    text-align: center;
    color: #2F2A25;
}



.kontakt-hero {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.kontakt-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.kontakt-hero-text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.kontakt-hero-text h1 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 12rem;
    margin: 0;
    color: #2F2A25;
}

.kontakt-hero-text p {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}


.kontakt-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-bottom: 3rem;
}

.kontakt-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.kontakt-info h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.kontakt-info p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    margin: 0;
    color: #2F2A25;
}


.kontakt-form {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}




.kontakt-form button {
    width: auto;
    padding: 0.7rem 1.6rem;
    background-color: #FCE9A0;
    border: none;
    border-radius: 999px;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    white-space: nowrap;
}


.kontakt-buttons {
    margin-bottom: 1rem;
}

.kontakt-buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.kontakt-button-link {
    text-decoration: none;
}

.kontakt-button:hover {
    filter: brightness(0.95);
}



.angebot-skills {
        padding: 2rem 4rem;
        max-width: 900px;
        margin: 3rem auto;
}

@media (min-width: 1200px) {
    .angebot-skills {
        padding-left: 8vw !important;
        padding-right: 8vw !important;
    }
}

@media (max-width: 1200px) {
    .angebot-skills {
        padding: 1.5rem 2rem;
        margin: 2rem auto;
    }
}
@media (max-width: 768px) {
    .angebot-skills {
        padding: 1rem 0.8rem;
        margin: 1.5rem auto;
    }
    .angebot-skills h2 {
        font-size: 1.3rem;
        margin: 1.2rem 0 1rem 0;
    }
    .accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }
    .accordion-content {
        padding: 0 1rem;
    }
    .skill-item {
        padding: 0.7rem 0;
    }
    .skill-name {
        font-size: 0.9rem;
    }
    .skill-bar {
        height: 8px;
    }
}
@media (max-width: 480px) {
    .angebot-skills {
        padding: 0.5rem 0.2rem;
        margin: 1rem auto;
    }
    .accordion-header {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    .accordion-content {
        padding: 0 0.5rem;
    }
    .skill-item {
        padding: 0.5rem 0;
    }
    .skill-bar {
        height: 6px;
    }
}


.angebot-skills h2 {
    font-size: 2rem;
    margin: 2rem 0 1.5rem 0;
    color: #2F2A25;
}

.accordion {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.accordion-item {
    border-bottom: 2px solid #CDB4DB;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background-color: #d7bde2;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.2rem;
    color: #2F2A25;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #c4a9cc;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #fef5f0;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.skill-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e8d5e0;
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-name {
    display: block;
    font-family: 'Fjalla One', sans-serif;
    font-size: 0.95rem;
    color: #2F2A25;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #e8d5e0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.skill-progress {
    height: 100%;
    background-color: #8b6ba8;
    border-radius: 5px;
    transition: width 0.5s ease;
    animation: progressFill 0.8s ease-out;
}

@keyframes progressFill {
    from {
        width: 0;
    }
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #FFF7F2;
    margin: auto;
    padding: 0;
    border-radius: 1rem;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.modal-media img,
.modal-media video {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.modal-info h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    color: #2F2A25;
}

.modal-info p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #2F2A25;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #2F2A25;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #E6A5A1;
}


.project-box {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.youtube-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #f1c0c0;
    color: #2F2A25;
    text-decoration: none;
    border-radius: 0.5rem;
    font-family: 'Fjalla One', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.youtube-btn:hover {
    background-color: #e8a8a8;
    transform: scale(1.05);
}


@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
}



.gallery-modal-content {
    max-width: 900px;
    max-height: 90vh;
    padding: 2rem;
    overflow-y: auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gallery-header h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    color: #2F2A25;
}

.gallery-header p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.gallery-image-wrapper img,
#galleryImage {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
}

.gallery-nav {
    background-color: #E6A5A1;
    border: none;
    color: #2F2A25;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-nav:hover {
    background-color: #d89490;
    transform: scale(1.1);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot:hover {
    background-color: #bbb;
}

.gallery-dot.active {
    background-color: #E6A5A1;
    transform: scale(1.2);
}

.gallery-counter {
    text-align: center;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1rem;
    color: #666;
}


@media (max-width: 768px) {
    .gallery-modal-content {
        padding: 1rem;
    }
    
    .gallery-nav {
        padding: 0.7rem 0.9rem;
        font-size: 1.2rem;
    }
    
    .gallery-image-wrapper {
        max-height: 50vh;
    }
    
    .gallery-image-wrapper img {
        max-height: 50vh;
    }
    
    .gallery-header h2 {
        font-size: 1.5rem;
    }
}


.hero,
.about-hero,
.portfolio-hero,
.angebot-hero,
.kontakt-hero {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.hero-img,
.about-hero-img,
.portfolio-hero-img,
.angebot-hero-img,
.kontakt-hero-img {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    margin: 0 !important;
}


.index-page .hero,
.about-page .about-hero,
.portfolio-page .portfolio-hero,
.angebot-page .angebot-hero,
.kontakt-page .kontakt-hero {
    
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    left: 0 !important;
    transform: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

.index-page .hero-img,
.about-page .about-hero-img,
.portfolio-page .portfolio-hero-img,
.angebot-page .angebot-hero-img,
.kontakt-page .kontakt-hero-img {
    width: 100vw !important; 
    max-width: 100vw !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 0 !important;
}


html, body {
    overflow-x: hidden !important;
}


@media (min-width: 1200px) {
    .about-simple {
        padding-left: 8vw !important;
        padding-right: 8vw !important;
    }
    .hero h1,
    .about-hero-text h1,
    .portfolio-hero-text h1,
    .angebot-hero-text h1,
    .kontakt-hero-text h1 {
        font-size: 12rem !important;
        line-height: 1 !important;
    }

    
    .index-page .hero,
    .about-page .about-hero,
    .portfolio-page .portfolio-hero,
    .angebot-page .angebot-hero,
    .kontakt-page .kontakt-hero {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .index-page .hero-img,
    .about-page .about-hero-img,
    .portfolio-page .portfolio-hero-img,
    .angebot-page .angebot-hero-img,
    .kontakt-page .kontakt-hero-img {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        display: block !important;
        object-fit: cover !important;
    }
}


    
    main {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }


    img {
        max-width: 100%;
        height: auto;
        display: block;
    }


    @media (max-width: 992px) {
        .cards {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            padding-left: 1rem;
            padding-right: 1rem;
        }
    }

    @media (max-width: 768px) {
        main { padding: 0 0.8rem; }
        .cards, .portfolio-projects, .about, .about-simple {
            grid-template-columns: 1fr;
            gap: 1rem;
            padding-left: 0;
            padding-right: 0;
        }
        .about-row {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            align-items: stretch;
        }
            
            .about-row, .about-row.reverse {
                flex-direction: column !important;
            }
            .about-row .about-text, .about-row.reverse .about-text {
                order: 1;
            }
            .about-row .about-text h2, .about-row.reverse .about-text h2 {
                order: 1;
            }
            .about-row .about-text p, .about-row.reverse .about-text p {
                order: 2;
            }
            .about-row .about-image, .about-row.reverse .about-image {
                order: 3;
            }
        .project-box, .card {
            width: 100%;
            padding-left: 0.6rem;
            padding-right: 0.6rem;
            box-sizing: border-box;
        }
    }

    @media (max-width: 480px) {
        main { padding: 0 0.6rem; }
        .cards, .portfolio-projects, .about, .about-simple {
            gap: 0.7rem;
        }
        .card img, .project-box img, .about-image img {
            width: 100%;
            max-width: 100%;
            height: auto;
        }
        
        h1 { font-size: 1.6rem; }
        h2 { font-size: 1.2rem; }
    }

    
    * { -webkit-overflow-scrolling: touch; }


img.hero-img,
img.about-hero-img,
img.portfolio-hero-img,
img.angebot-hero-img,
img.kontakt-hero-img {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

.hero, .about-hero, .portfolio-hero, .angebot-hero, .kontakt-hero {
    overflow: visible !important;
}


@media (min-width: 769px) {
    .index-page .hero,
    .about-page .about-hero,
    .portfolio-page .portfolio-hero,
    .angebot-page .angebot-hero,
    .kontakt-page .kontakt-hero {
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        width: 100vw !important;
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .index-page .hero-img,
    .about-page .about-hero-img,
    .portfolio-page .portfolio-hero-img,
    .angebot-page .angebot-hero-img,
    .kontakt-page .kontakt-hero-img {
        width: 100vw !important;
        max-width: 100vw !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        object-fit: cover !important;
    }

    
    html, body, main, section, header, footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
    }
}


