* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-image: url('Bilder/Landingpage_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background: #f4f6f8;
}

/* Top Bar */
.top-bar {
    background-color: #1e293b;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Main Container */
.page-container {
    max-width: 1600px;
    margin: 20px auto;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.70), rgba(15, 23, 42, 0.70)), url('Bilder/Landingpage_background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.logo-area {
    position: absolute;
    top: 0px;
    left: 30px;
    display: flex;
    align-items: center;
}

.hero-logo {
    height: 120px; /* Passe diesen Wert an, je nachdem wie groß dein Logo erscheinen soll */
    width: auto;
    object-fit: contain;
}

.logo-handy-container {
    display: flex;
    justify-content: center; /* Zentriert das Bild horizontal */
    align-items: center;     /* Zentriert das Bild vertikal (falls der Container eine Höhe hat) */
    width: 100%;
}

.logo-handy-container img {
    max-width: 60%; /* Verhindert, dass das Bild breiter als der Container wird */
    height: auto;    /* Bewahrt das Seitenverhältnis */
    display: block;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #cbd5e1;
    line-height: 1.5;
}

.btn-primary {
    background-color: #ff7f32;
    color: white;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(255, 127, 50, 0.3);
}

.btn-primary:hover {
    background-color: #e56b25;
}

/* USPs Section */
.usps {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-wrap: wrap;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1e293b;
}

.usp-item i {
    color: #10b981;
    font-size: 1.5rem;
}

/* Categories Section */
.categories-section {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1e293b;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Kategorie Boxen mit Hintergrundbild */
.category-card {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 35px 25px;
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
}

/* Dunkler Overlay-Gradient für bessere Lesbarkeit des Textes auf dem Hintergrundbild */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 1;
}

/* Spezifische Hintergrundbilder für die Boxen */
.category-card.workshop {
    background-image: url('Bilder/Werkstatt_Garage_Landingpage_pic.png');
}

.category-card.event {
    background-image: url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&w=800&q=80');
}

.category-card .badge,
.category-card h3,
.category-card p {
    position: relative;
    z-index: 2;
}

.category-card .badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 127, 50, 0.9);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.category-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* How it works */
.how-it-works {
    padding: 40px 20px 60px 20px;
    text-align: center;
    background: #f8fafc;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 30px auto 0 auto;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 220px;
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff7f32;
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.step p {
    font-size: 0.85rem;
    color: #64748b;
}

.step-arrow {
    font-size: 1.5rem;
    color: #94a3b8;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social a {
    color: #94a3b8;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-social a:hover {
    color: white;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive Breakpoints */
@media(max-width: 768px) {
    .hero {padding: 20px;}
    .page-container {margin: 0;}
    .top-bar {padding: 0px;
        width: 100%;
        height: 70px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .top-bar p {display: none;}
    .hero h1 { font-size: 2rem; }
    .step-arrow { display: none; }
    .steps-container { gap: 20px; }
    footer { flex-direction: column; align-items: center; text-align: center; }
    .top-bar img {
        max-height: 90px;
        width: auto;
        display: block;
    }
    .logo-tablet-container {display: none;}
}

@media(min-width: 768px) {
    .top-bar img {display: none;}
    .hero {padding: 20px}
}

@media(max-width: 1210px) {
    .logo-area {display: none;}
    .logo-tablet-container img {width: 40%;}
}

@media(min-width: 1210px) {
    .logo-tablet-container {display: none;}
    .hero {
        padding-top: 150px;
    }   
}