/* Ubuntu Font - Lokal gehostet */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/ubuntu/ubuntu-bold.ttf') format('truetype');
}

/* apps4everything - Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #111827;
    background: #fff;
    padding-bottom: 80px;
}

/* Hero Section */
.hero {
    min-height: calc(60vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e3a8a;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.hero-content {
    max-width: 100%;
}

.hero h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    white-space: nowrap;
}

.hero .tagline {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    font-weight: 400;
    opacity: 0.95;
}

/* Logo Section */
.logo-section {
    padding: 40px 20px 20px;
    text-align: center;
    background: #fff;
    position: relative;
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-switch a {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s;
}

.language-switch a:hover:not(.current) {
    transform: scale(1.1);
}

.language-switch a.current {
    cursor: default;
    opacity: 0.3;
    filter: grayscale(100%);
}

.language-switch svg {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-section table {
    border-collapse: collapse;
    margin: 0 auto;
}

.logo-section td {
    padding: 0;
    vertical-align: middle;
    font-family: 'Ubuntu', sans-serif;
    font-size: 90px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 158px;
}

.logo-section td img {
    display: block;
    height: 158px;
    width: auto;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* About Section */
.about {
    text-align: center;
    margin-bottom: 80px;
}

.about-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about p {
    font-size: 1.35rem;
    color: #374151;
    line-height: 1.7;
    margin: 0;
}

/* Products Section */
.products {
    margin-bottom: 80px;
}

.products h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    background: #fff;
}

.product-card:hover {
    border-color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}

.product-card p {
    color: #6b7280;
    font-size: 1rem;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 20px;
    background: #f9fafb;
    text-align: center;
    z-index: 1000;
}

.footer p {
    font-size: 0.9rem;
    color: #6b7280;
}

.footer a {
    color: #1e3a8a;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer a:hover {
    color: #f65d00;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-bottom: 100px;
    }
    
    .hero {
        min-height: 50vh;
        padding: 30px 15px;
    }
    
    .hero h1 {
        white-space: normal;
    }

    .hero .tagline {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .logo-section {
        padding: 30px 15px 20px;
    }
    
    .language-switch {
        top: 10px;
        right: 10px;
    }
    
    .language-switch svg {
        width: 24px;
        height: 24px;
    }
    
    .logo-section td {
        font-size: 45px;
        line-height: 80px;
    }
    
    .logo-section td img {
        height: 80px;
    }
    
    .about-box {
        padding: 2rem;
    }
    
    .about p {
        font-size: 1.1rem;
    }

    .container {
        padding: 40px 15px;
    }

    .products h2 {
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 1rem 15px;
    }
    
    .footer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}
