/* Exo2 Font Import - lokal eingebunden */
@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/Exo2-Thin.woff2') format('woff2');
}

@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/Exo2-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/Exo2-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/Exo2-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/Exo2-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/Exo2-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Exo2';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/Exo2-Black.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Exo2', 'Arial', sans-serif;
    background-color: #222;
    background-image: url('images/background.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: pageLoad 0.5s ease forwards;
    font-size: 18px; /* Von 16px auf 18px erhöht */
}

a[href^="http://"]:not([href*="reicheltmedia.design"]):after,
a[href^="https://"]:not([href*="reicheltmedia.design"]):after {
  content: ' ' url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpaItHewg0iFDdbKLijiWKhbBQmkrtOpgcukXNDEkKS6OgmvBwY/FqoOLs64OroIg+AHiLjgpukiJ/0sKLWI8OO7Hu3uPu3eA0Koz1exLAKpmGdlUUiwUV8TAKwIIIYwohiRm6uncQh6e4+sePr7exXmW97k/R0gpmQzwicQJphsW8TrxzKalc94njrCqpBCfE08YdEHiR67LLr9xrjgs8MyIkc/OEUeIxUoPyz3MqoZKPE0cU1SN8oWCywrnLc5qvcE69+QvDJa05RzXaUaRwiLSyECEjAZqqMNCnFaNFBNZ2k96+Ecdf4ZcMrlqYOSYxwZUSI4f/A9+d2uWpybdpGAS6H+x7Y8xILALtJu2/X1s2+0TwP8MXGld/0YLmP0kvdnVYkdAeBu4uO5q8h5wuQOMPOmSITmSn6ZQLgPvZ/RNRWD4FhhcdXvr7OP0AchTV0s3wMEhMF6h7DWPdw/09vbvmU5/P3lfcqmaQ3DOAAAABmJLR0QAywAwAAvUP16tAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH6QcNDyoo7FfHyAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABGSURBVBjTlZDbDgAgCEKh+eH+OT3VmmkXnhwyPYMIkuRI1PAoVot4matB0qv37RQa3sZYhQDAUvAlNGdJnjFFz279fffYAZB1JgiJu/A4AAAAAElFTkSuQmCC);
}

/* Scrollbalken während Animationen verstecken */
body.loading {
    overflow: hidden;
}

/* Scrollbalken während Page-Transitions verstecken */
body.page-transitioning {
    overflow: hidden;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.navigation {
    padding: 30px;
    text-align: center;
    position: relative;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: color 0.3s ease;
}

.mobile-menu-button:hover {
    color: #cb300b; /* Neue rote Farbe */
}

.mobile-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: currentColor;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.navigation ul {
    list-style: none;
    display: inline-flex;
    gap: 40px;
    transition: all 0.3s ease;
}

.navigation a {
    color: white;
    text-decoration: none;
    font-size: 24px; /* Von 18px auf 20px */
    font-weight: 300;
    text-transform: lowercase;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Mobile-only Links verstecken im Desktop */
.mobile-only {
    display: none;
}

.navigation a:hover,
.navigation a.active {
    color: #cb300b; /* Neue rote Farbe */
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Privacy and Imprint */
.privacy-page h3,
.privacy-page h4 {
    line-height: 2.2em;
}

/* Business Card */
.vcard {
    width: 400px;
    height: 600px;
    background: #cb300b url('images/vcard-background.svg') bottom right no-repeat;
    box-shadow: 3px 10px 20px rgba(0,0,0,0.5);
    border-radius: 2px;
    padding: 40px;
    box-sizing: border-box;
    font-size: 1.2em;
    line-height: 1.4em;
    animation: cardSlideIn 0.6s ease 0.2s both;
    transform: rotate(10deg);
}

.vcard p {
    margin: 1em 0;
}

.vcard a {
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: 2px solid #fff;
}

.vcard a:hover {
    color: #ffd3c8;
    border-color: transparent;
}

.vcard p.company {
    font-weight: 600;
}

.vcard .logo {
    margin: 90px auto 40px auto;
}

.vcard .links {
    font-size: 0.7em;
    line-height: 1.5em;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(1.1);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.company-name {
    font-size: 18px; /* Von 16px auf 18px */
    font-weight: 300;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
}

.contact-info {
    font-size: 16px; /* Von 14px auf 16px */
    line-height: 1.6;
    color: white;
}

.contact-info .name {
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-info .address {
    margin-bottom: 15px;
}

.contact-info .email {
    margin-bottom: 5px;
}

.contact-info .phone {
    margin-bottom: 20px;
}

.specialties {
    font-size: 14px; /* Von 12px auf 14px */
    color: white;
    opacity: 0.9;
}

/* Content Pages */
.page-content {
    flex: 1;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    animation: contentSlideIn 0.5s ease both;
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content h1 {
    color: #cb300b; /* Neue rote Farbe */
    font-size: 46px; /* Von 32px auf 38px deutlich größer */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 300;
}

.page-content p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px; /* Von 18px auf 20px für bessere Lesbarkeit */
}

.page-content a {
    color: #fff;
    transition: color 0.3s ease;
    text-decoration: none;
    border-bottom: 2px solid #fff;
}

.page-content a:hover {
    color: #cb300b;
    border-color: transparent;
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    font-size: 16px; /* Von 14px auf 16px */
    color: rgba(255, 255, 255, 0.7);
    margin-top: 60px; /* Abstand zum Inhalt */
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.footer a:hover {
    color: #cb300b; /* Neue rote Farbe */
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 3fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        width: calc(100% - 30px);
        max-width: none;
        margin-left: 15px;
        margin-right: 15px;
        padding: 0;
    }

    .portfolio-category {
        display: inline-block;
        background: #cb300b;
        color: white;
        padding: 3px 8px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        margin: 0;
    }
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(203, 48, 11, 0.2);
    border-color: rgba(203, 48, 11, 0.3);
}

.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Partner-Bilder: zentriert, nicht gestreckt */
.partner-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.partner-image img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Partner-Name Overlay */
.partner-name-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.75);
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
}

.partner-name {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 25px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
}

.portfolio-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.portfolio-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

/* Portfolio Unavailable Message */
.portfolio-unavailable {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 40px auto;
}

.unavailable-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.7;
}

.portfolio-unavailable h2 {
    color: #cb300b;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 300;
}

.portfolio-unavailable p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Portfolio Dialog */
.portfolio-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    padding: 0;
    margin: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-dialog[open] {
    opacity: 1;
    visibility: visible;
}

.dialog-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    max-height: 700px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dialog-close:hover {
    color: #cb300b;
    background: rgba(203, 48, 11, 0.2);
}

.dialog-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    overflow: hidden;
}

.dialog-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.dialog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dialog-info {
    padding: 40px 35px;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dialog-info h2 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.dialog-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project-category {
    background: #cb300b;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-year {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.project-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7;
    flex-grow: 1;
}

.project-highlights {
    margin: 20px 0 0 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.project-highlights li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.project-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #cb300b;
    border-radius: 50%;
}

.project-link {
    display: inline-block;
    background: #cb300b;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-link:hover {
    background: #a02609;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(203, 48, 11, 0.3);
}

/* Responsive Dialog */
@media (max-width: 768px) {
    .portfolio-dialog {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: 0;
        padding: 0;
        border: none;
        background: rgba(0, 0, 0, 0.98);
    }

    .portfolio-dialog::backdrop {
        background: transparent;
    }

    .dialog-content {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }

    .dialog-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: hidden;
    }

    .dialog-image {
        flex: 0 0 35vh;
        min-height: 200px;
        max-height: 40vh;
    }

    .dialog-info {
        flex: 1;
        overflow-y: auto;
        padding: 25px 20px;
        padding-bottom: calc(25px + env(safe-area-inset-bottom, 0px));
    }

    .dialog-close {
        position: fixed;
        top: 15px;
        right: 15px;
        top: calc(15px + env(safe-area-inset-top, 0px));
        background: rgba(0, 0, 0, 0.8);
        z-index: 2010;
    }

    .dialog-info h2 {
        font-size: 24px;
    }

    .project-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .dialog-image {
        flex: 0 0 30vh;
        min-height: 150px;
        max-height: 35vh;
    }

    .dialog-close {
        top: calc(10px + env(safe-area-inset-top, 0px));
        right: 10px;
        font-size: 24px;
        width: 40px;
        height: 40px;
    }

    .dialog-info {
        padding: 20px 15px;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .dialog-info h2 {
        font-size: 20px;
    }

    .project-description {
        font-size: 15px;
    }

    .project-highlights {
        margin-top: 15px;
        padding-left: 15px;
    }

    .project-highlights li {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .project-link {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .dialog-meta {
        gap: 10px;
    }

    .project-category,
    .project-year {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Contact Page Styles */
.contact-container {
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: #cb300b;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    font-size: 18px;
    line-height: 1.6;
}

.contact-item a {
    color: #cb300b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #a02609;
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    font-family: 'Exo2', Arial, sans-serif;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #cb300b;
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #cb300b;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Exo2', Arial, sans-serif;
}

.submit-button:hover {
    background-color: #a02609;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(203, 48, 11, 0.3);
}

.form-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Form Messages */
.form-message {
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #81c784;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #e57373;
}

.form-group.your-website {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Referenzen/Partner Unavailable Message */
.referenzen-unavailable {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 40px auto;
}

.unavailable-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.7;
}

.referenzen-unavailable h2 {
    color: #cb300b; /* Neue rote Farbe */
    font-size: 32px; /* Von 28px auf 32px */
    margin-bottom: 20px;
    font-weight: 300;
}

.referenzen-unavailable p {
    font-size: 20px; /* Von 18px auf 20px */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    background-color: #cb300b; /* Neue rote Farbe */
    color: white;
    padding: 18px 36px; /* Von 16px 32px auf 18px 36px größer */
    text-decoration: none;
    border-radius: 6px;
    font-size: 20px; /* Von 18px auf 20px */
    font-weight: 500;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.contact-button:hover {
    background-color: #a02609; /* Dunklere Version der neuen roten Farbe */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(203, 48, 11, 0.3); /* Neue rote Farbe für Box-Shadow */
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 20px;
    }
    
    .contact-item {
        font-size: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
}


@media (max-width: 480px) {
    .page-content h1 {
        font-size: 28px; /* Noch kleiner für sehr kleine Bildschirme */
    }
    
    .vcard {
        width: 300px;
        height: 450px;
        padding: 25px;
        font-size: 0.9em; /* Noch kleiner für sehr kleine Bildschirme */
    }
    
    .vcard .logo {
        margin: 40px auto 25px auto;
    }
    
    .vcard .logo svg {
        width: 70px; /* Logo noch kleiner */
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Button anzeigen */
    .mobile-menu-button {
        display: block;
    }
    
    /* Navigation verstecken und als Overlay anzeigen */
    .navigation ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(34, 34, 34, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
    }
    
    /* Navigation einblenden */
    .navigation ul.mobile-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Navigation Links im Mobile */
    .navigation a {
        font-size: 22px; /* Von 20px auf 22px für Mobile */
        padding: 15px;
    }
    
    .icon {
        width: 32px;
        height: 32px;
    }

    .vcard {
        width: 350px;
        height: 500px;
        padding: 30px;
        font-size: 1em; /* Von 1.2em auf 1em reduziert */
    }
    
    .vcard .logo {
        margin: 60px auto 30px auto; /* Kleinere Abstände */
    }
    
    .vcard .logo svg {
        width: 80px; /* Logo verkleinern */
        height: auto;
    }
    
    .vcard .links {
        font-size: 0.6em; /* Von 0.7em auf 0.6em reduziert */
    }

    .main-content {
        padding: 20px;
    }

    .page-content {
        padding: 20px;
    }
    
    .page-content h1 {
        font-size: 32px; /* Von 46px auf 32px für Mobile */
    }
    
    /* Mobile-only Links anzeigen */
    .mobile-only {
        display: block;
    }
}