:root {
    --bg-main: #f8fafc;
    --text-main: #000000;
    --text-muted: #475569;
    --accent-color: #075985;
    --accent-glow: rgba(7, 89, 133, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(7, 89, 133, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(3, 105, 161, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Typography & Layout */
a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0f172a, #38bdf8, #0f172a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logo-shine 3s linear infinite;
    transition: transform 0.3s ease;
    cursor: default;
}
.logo:hover {
    transform: scale(1.05);
}
@keyframes logo-shine {
    to { background-position: 200% center; }
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Buttons */
.btn-primary, .btn-primary-small {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 14px var(--accent-glow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-primary:hover, .btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    color: #fff;
}

.btn-primary-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-primary.large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    display: inline-block;
    margin-top: 2rem;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    padding-top: 80px;
    position: relative;
    background: url('ds_images/hero_bg_wide.png') center/cover no-repeat;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f0f9ff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 8px #38bdf8;
    animation: pulse-dot 2s infinite;
}

.badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite 1.5s;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.highlight {
    background: linear-gradient(120deg, #38bdf8, #bae6fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

#hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Sections */
section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Glassmorphism Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.glass:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Benefits List */
.section-content-split {
    max-width: 1000px;
    margin: 0 auto;
}

.split-text > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.benefits-list li:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: rgba(7, 89, 133, 0.4);
    background: rgba(255,255,255,0.95);
}

.benefit-icon {
    font-size: 2rem;
    background: rgba(7, 89, 133, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    animation: float-icon 4s infinite ease-in-out;
}
.benefits-list li:nth-child(even) .benefit-icon {
    animation-delay: -2s;
}
.benefits-list li:hover .benefit-icon {
    background: var(--accent-color);
    color: white;
    animation: float-icon-hover 1.5s infinite ease-in-out;
}
@keyframes float-icon {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
    50% { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(0,0,0,0.08); }
}
@keyframes float-icon-hover {
    0%, 100% { transform: translateY(0) scale(1.1); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
    50% { transform: translateY(-8px) scale(1.1); box-shadow: 0 12px 20px rgba(0,0,0,0.15); }
}

.benefits-list strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefits-list span {
    color: var(--text-muted);
}

/* Contact CTA */
#kontakt {
    text-align: center;
    margin: 4rem 5%;
    padding: 5rem 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
}

.blur-heavy {
    backdrop-filter: blur(20px);
    background: linear-gradient(145deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 100%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    max-width: 650px;
    margin: 3rem auto 1.5rem auto;
    text-align: left;
    font-size: 1.05rem;
}

.contact-block {
    flex: 1 1 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(7, 89, 133, 0.1);
}

.corner-mail-icon {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: #ea4335;
    opacity: 0.15;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    display: flex;
}
.corner-mail-icon svg {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}
.corner-mail-icon::after {
    content: "Mail me";
    position: absolute;
    bottom: 100%;
    right: 50%;
    transform: translateX(50%) translateY(-5px);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
.contact-block:hover .corner-mail-icon {
    opacity: 0.8;
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 10px rgba(234, 67, 53, 0.3));
}
.corner-mail-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(-15px);
}

.contact-header span {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contact-block:hover .contact-header span {
    transform: scale(1.3) rotate(15deg);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--accent-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--text-muted);
}

.contact-info strong {
    color: var(--text-main);
    font-size: 1.15rem;
}

.contact-uid {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0;
    background: transparent;
    border-radius: 0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    overflow-wrap: anywhere;
    transition: all 0.3s ease;
    border: none;
}

.contact-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.7);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(7, 89, 133, 0.1);
}

.contact-form button {
    cursor: pointer;
    border: none;
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
}

/* Animations Scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive & Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    h1 { 
        font-size: 1.9rem; 
        word-wrap: break-word;
        hyphens: auto;
    }
    h2 { font-size: 1.7rem; }
    #hero p { font-size: 1rem; }
    .nav-links { 
        display: flex; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: rgba(255,255,255,0.98); 
        padding: 2rem; 
        border-bottom: 1px solid var(--glass-border); 
        text-align: center; 
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 90;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .mobile-menu-btn { display: flex; }
    section { padding: 4rem 5%; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.5rem; }
    .logo { font-size: 1rem; }
    .badge { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
    .contact-link { font-size: 0.85rem; } /* Hilft gegen das Umbrechen der E-Mail-Adresse */
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.whatsapp-icon svg { color: #25D366; }
.telegram-icon svg { color: #0088cc; }

/* Floating Buttons */
.floating-whatsapp, .floating-gmail {
    position: fixed;
    right: 2rem;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.floating-whatsapp {
    bottom: 2rem;
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.floating-gmail {
    bottom: 8.5rem;
    background-color: #ea4335;
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.4);
}
.floating-gmail:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.6);
    color: white;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .floating-whatsapp svg {
        width: 25px;
        height: 25px;
    }
    .floating-gmail {
        bottom: 6.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .floating-gmail svg { width: 25px; height: 25px; }
}

/* Custom Interactive Animations */
.floating-shape {
    position: absolute;
    z-index: -1;
    background: var(--accent-glow);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
}
.shape-1 {
    width: 60px; height: 60px; border-radius: 12px;
    top: 20%; left: 10%;
    animation: float-rotate 12s infinite ease-in-out;
}
.shape-2 {
    width: 40px; height: 40px; border-radius: 50%;
    bottom: 20%; right: 15%;
    animation: float-rotate 8s infinite ease-in-out reverse;
}
.shape-3 {
    width: 80px; height: 80px; border-radius: 20px;
    top: 10%; right: 20%;
    transform: rotate(45deg);
    animation: float-rotate 15s infinite ease-in-out;
}
@keyframes float-rotate {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

.card.glass {
    padding: 1.5rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .card.glass {
        padding: 1.2rem;
    }
}

.service-img {
    width: calc(100% + 3rem);
    max-width: none;
    height: 320px;
    object-fit: cover;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    display: block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0;
}

.card.glass:hover .service-img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .service-img {
        height: 280px;
        width: calc(100% + 2.4rem);
        margin: -1.2rem -1.2rem 1.2rem -1.2rem;
    }
}



/* Success Message Alert */
.success-alert {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 650px;
    border-left: 5px solid #22c55e;
    animation: slide-up-fade 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes slide-up-fade {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.success-icon-wrapper {
    flex-shrink: 0;
}
.checkmark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #22c55e;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #22c55e;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #22c55e;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}
@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 30px rgba(34, 197, 94, 0.1); }
}
.success-text { text-align: left; }
.success-text h3 { color: #22c55e; font-size: 1.3rem; margin-bottom: 0.3rem; }
.success-text p { color: var(--text-muted); margin: 0; font-size: 1rem; line-height: 1.4; }
