/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'URW Form', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    max-height: 100vh;
    overflow: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    padding: 2rem 2rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: inline-block;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); /* SVG Logo weiß machen */
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    position: relative;
}

/* Text Section */
.text-section {
    z-index: 2;
    position: relative;
}

.main-title {
    font-family: 'URW Form', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6.5vw, 5rem);
    font-weight: 500; /* URW Form Medium */
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-transform: uppercase; /* Versalien */
}

.no-break {
    white-space: nowrap;
}

.arrow-icon {
    height: 0.8em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.3em;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.description {
    font-family: 'URW Form', 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #cccccc;
    font-weight: 400; /* URW Form Regular */
    font-style: normal;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-family: 'URW Form', 'Inter', sans-serif;
    font-weight: 600; /* URW Form Demi */
    font-style: italic; /* URW Form Demi Italic */
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1); /* SVGs weiß machen */
}

.contact-text {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.contact-item:hover .contact-text {
    color: #f0f0f0;
}

.contact-char {
    display: inline-block;
    order: 0;
}

.contact-char-space {
    width: 0.45em;
    display: inline-block;
}

/* QR Code Section */
.qr-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.qr-square, .download-square {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.qr-square:hover, .download-square:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.qr-code {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.download-square {
    cursor: pointer;
}

.vcf-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.vcf-download:hover {
    color: #ffffff;
}

.download-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

/* Visual Section */
.visual-section {
    position: absolute;
    top: 50%;
    right: -82vw;
    transform: translateY(-50%);
    width: clamp(60rem, 172vw, 149rem);
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 0;
}

.large-k-svg {
    width: 100%;
    height: auto;
    opacity: 0.28;
    user-select: none;
    filter: brightness(0) invert(1);
    max-width: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: kSlideIn 1.2s ease-out 0.8s both;
}

/* Background Elements */
.container::before {
    display: none;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    animation: fadeInUp 0.8s ease-out;
}

.description {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-info {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.qr-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes kSlideIn {
    from {
        opacity: 0;
        transform: translateY(35vh);
    }
    to {
        opacity: 0.28;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .visual-section,
    .visual-section *,
    .large-k-svg {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .footer {
        padding-top: 1rem;
        text-align: center;
    }

    .footer-content {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .header {
        padding: 1rem;
        text-align: center;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .main-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .large-k-svg {
        display: none;
    }
    
    .container::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 1rem 0;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .contact-item {
        font-size: 1rem;
        justify-content: center;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .qr-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .qr-container {
        justify-content: center;
        gap: 1rem;
    }
    
    .qr-square, .download-square {
        width: 80px;
        height: 80px;
    }
    
    .vcf-download {
        font-size: 0.65rem;
    }
    
    .download-icon {
        width: 20px;
        height: 20px;
    }
}

/* Hover Effekte */
.contact-item {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

/* QR Modal */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.qr-modal-content {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    max-width: 90vw;
    max-height: 90vh;
}

.qr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qr-modal-close:hover {
    color: #ff6b6b;
}

.qr-modal-image {
    max-width: 300px;
    max-height: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.qr-modal-text {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.container {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
