/* ==========================================================================
   oslig.de Static Clone - Custom Premium Design System & Stylesheet
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    /* Color Palette - Deep Slate Dark Mode with Cyber Blue Accents */
    --bg-main: #0b0f19;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(31, 41, 55, 0.8);
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    --accent-gradient-hover: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(6, 182, 212, 0.4);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin: 0 auto 3rem auto;
}

.title-underline.left {
    margin-left: 0;
}

/* Scroll Animation Utilities */
.animate-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 12rem 0 10rem 0;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-container {
    z-index: 10;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.15rem;
    color: #ffffff;
    line-height: 1.05;
}

.hero-rotating-wrapper {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    height: 6rem;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.rotating-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.cursor {
    color: var(--accent-cyan);
    margin-left: 5px;
    animation: blink-caret 0.75s step-end infinite;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.btn-outline-sleek {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    transition: var(--transition-smooth);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-md);
}

.btn-outline-sleek:hover {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

/* Glow Effect */
.hero-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, rgba(6, 182, 212, 0.02) 50%, transparent 100%);
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Glassmorphic Card Style */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.card-image-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-image-wrapper.image-logo {
    padding: 1.5rem;
}

.card-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.service-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-center {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Company Marquee Section */
.marquee-section {
    padding: 5rem 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 35s linear infinite;
    gap: 4rem;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    transition: var(--transition-smooth);
    cursor: default;
}

.marquee-content span:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Bio Section */
.bio-section {
    padding: 7rem 0;
    background-color: var(--bg-secondary);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.bio-title {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.bio-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.bio-actions {
    margin-top: 2rem;
}

.bio-image-col {
    display: flex;
    justify-content: center;
}

.image-border-glow {
    position: relative;
    border-radius: var(--border-radius-lg);
    padding: 8px;
    background: var(--accent-gradient);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
    max-width: 400px;
}

.bio-image {
    border-radius: calc(var(--border-radius-lg) - 6px);
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 7rem 0;
    background-color: var(--bg-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-bounce);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-cyan);
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.testimonial-company {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Page Styles */
.contact-hero-section {
    position: relative;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-container {
    max-width: 900px;
    z-index: 10;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
}

.contact-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 4rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    list-style: none;
    margin-top: 2rem;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.contact-method-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
}

.method-icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.method-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

.method-value:hover {
    color: var(--accent-cyan);
}

/* Impressum Page Styles */
.impressum-section {
    position: relative;
    padding: 8rem 0;
}

.impressum-container {
    max-width: 800px;
    z-index: 10;
}

.impressum-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin-top: 2rem;
}

.impressum-card h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.impressum-card h3:first-of-type {
    margin-top: 0;
}

.impressum-block {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.impressum-block a {
    color: var(--accent-cyan);
}

.impressum-block a:hover {
    text-decoration: underline;
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 1.5px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-link:hover {
    color: var(--accent-cyan);
}

.contact-link .contact-icon {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.contact-svg {
    stroke: var(--accent-cyan);
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.3));
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    background-color: var(--bg-main);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-cyan) }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Media Queries - Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-left-col {
        align-items: center;
    }
    .hero-right-col {
        align-items: center;
        text-align: center;
    }
    .hero-rotating-wrapper {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-title {
        font-size: 4rem;
    }
    .hero-rotating-wrapper {
        font-size: 4rem;
        height: 5rem;
    }
    .bio-grid {
        gap: 3rem;
    }
    .bio-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-menu {
        gap: 1.5rem;
    }
    .hero-title {
        font-size: 3.25rem;
    }
    .hero-rotating-wrapper {
        font-size: 3.25rem;
        height: 4rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .title-underline.left {
        margin-left: auto;
    }
    .bio-image {
        height: 350px;
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .contact-details-card,
    .impressum-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-rotating-wrapper {
        font-size: 2.5rem;
        height: 3rem;
    }
    .btn {
        width: 100%;
    }
}
