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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    background-color: #fbfbfd;
}

/* Navigation */
.nav {
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #d2d2d7;
}

.nav-content {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Toggle direkt nach Logo */
    gap: 20px;                    /* Abstand Logo <-> Toggle <-> Menü */
    padding: 0 22px;
    height: 44px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    margin-left: auto; /* Menü nach rechts schieben */
}

.nav-logo {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
}

.nav-menu a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #0066cc;
}

/* LinkedIn Icon (Desktop) – größer als 'F' (24px), keine Farbänderung */
.nav-social-desktop .linkedin-anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;   /* vorher 18px */
    height: 24px;  /* vorher 18px */
    line-height: 0;
}
.linkedin-icon-svg { width: 24px; height: 24px; display:block; }

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.theme-toggle span {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0071e3;
}

input:checked + .slider:before {
    transform: translateX(16px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 44px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    margin-bottom: 12px;
    opacity: 0;
    animation: slideUp 1s ease-out 0.3s forwards;
}

.hero p {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideUp 1s ease-out 0.6s forwards;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUp 1s ease-out 0.9s forwards;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 22px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.btn-primary { background: #0071e3; color: white; }
.btn-primary:hover { background: #0077ed; transform: translateY(-1px); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }

/* Product Grid */
.products {
    padding: 80px 20px;
    max-width: 1024px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08333;
    letter-spacing: -0.003em;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 21px;
    line-height: 1.38095;
    color: #86868b;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background: white;
    border-radius: 18px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before { left: 100%; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15); }

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    position: relative;
}

.icon-merchandising { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.icon-design { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.icon-production { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.icon-events { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.icon-branding { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.icon-logistics { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

.product-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.product-card p {
    font-size: 17px;
    line-height: 1.47059;
    color: #86868b;
    margin-bottom: 24px;
}

.learn-more {
    color: #0066cc;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    position: relative;
}

.learn-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover::after { transform: translateX(4px); }

/* Features Section */
.features { background: #f5f5f7; padding: 80px 20px; }

.features-content {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
}

.features-text h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.features-text p {
    font-size: 21px;
    line-height: 1.38095;
    color: #86868b;
    margin-bottom: 30px;
}

.features-list { list-style: none; margin-bottom: 40px; }
.features-list li {
    font-size: 17px;
    line-height: 1.47059;
    color: #1d1d1f;
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}
.features-list li::before { content: '✓'; position: absolute; left: 0; color: #30d158; font-weight: 600; }

.features-image { text-align: center; }
.features-image::before {
    content: '';
    display: inline-block;
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    opacity: 0.8;
}

/* Footer */
.footer { background: #1d1d1f; color: #f5f5f7; padding: 60px 20px 40px; }
.footer-content {
    max-width: 1024px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
.footer-section h4 {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 16px; color: #86868b;
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul li a {
    color: #f5f5f7; text-decoration: none; font-size: 12px; line-height: 1.33337; transition: color 0.3s ease;
}
.footer-section ul li a:hover { color: #0066cc; }
.footer-bottom { border-top: 1px solid #424245; padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 12px; color: #86868b; }

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 21px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .product-grid { grid-template-columns: 1fr; gap: 24px; }
    .section-header h2 { font-size: 32px; }
    .features-content { grid-template-columns: 1fr; text-align: center; }
}

/* Scroll animations */
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }

/* --- Dark Mode --- */
body.dark-mode { background-color: #1d1d1f; color: #f5f5f7; }

/* Kopfzeile im Dark Mode: Immer tiefschwarz + weiße Links */
body.dark-mode .nav { background: #000 !important; border-bottom: 1px solid #424245; }
body.dark-mode .nav-logo,
body.dark-mode .nav-menu a,
body.dark-mode .nav-menu a:link,
body.dark-mode .nav-menu a:visited { color: #f5f5f7 !important; }
body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a:active,
body.dark-mode .nav-menu a:focus { color: #f5f5f7 !important; }
/* LinkedIn-Icon: feste SVG-Farben, keine CSS-Überschreibung */
