/* ============================================
   LANDING.CSS – FESTE BREITE 1200PX (für alle Geräte)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* === BASIS: HTML UND BODY === */
html {
    overflow-x: auto;                /* horizontales Scrollen ermöglichen */
    background-color: #000;           /* schwarzer Rand außen */
}

body {
    min-width: 1200px !important;     /* nie kleiner als 1200px */
    width: 100% !important;            /* bei größeren Bildschirmen breiter (dann zentrieren wir) */
    margin: 0 !important;
    background-color: #5a0f0f;        /* dunkelroter Hintergrund für den Inhalt */
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow-x: visible;              /* Scrollen wird von html gesteuert */
}

/* === HAUPT-CONTAINER: alles wird auf 1200px zentriert === */
.desktop-container,                     /* falls du so eine Klasse verwendest */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.navbar .container,
footer .container,
section .container {
    width: 1200px !important;
    max-width: 1200px !important;       /* Bootstrap überschreiben */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;       /* etwas Innenabstand (optional) */
    padding-right: 40px !important;
}

/* === ROW-KORREKTUR (Bootstrap negative Margins ausgleichen) === */
.row {
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: auto !important;
}

/* === NAVBAR (Beispiel: deine Navbar-Klasse anpassen) === */
.navbar {
    width: 100% !important;
    background-color: #000 !important;
}

.navbar .container {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.navbar-brand img {
    height: 80px !important;
    width: auto !important;
}

/* === SECTIONS === */
section {
    width: 100% !important;
    padding: 100px 40px !important;
}

/* === BUTTONS === */
.btn-primary {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s ease;
}

.hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

/* === FOOTER === */
footer {
    width: 100% !important;
    background: #000;
    padding: 50px !important;
    text-align: center;
}

footer p {
    margin: 0;
    color: #888;
}

footer img {
    height: 70px !important;
    width: auto !important;
}

footer p:last-child {
    display: none !important;
}

/* === PRODUKTKARTEN (custom-card) – unverändert === */
.col-lg-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 20px;
}

.custom-card {
    width: 100% !important;
    height: 500px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px;
    padding: 0 40px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.custom-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(150,0,0,0.95) 40%, rgba(100,0,0,0.7) 70%, rgba(50,0,0,0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.custom-card > * {
    position: relative;
    z-index: 2;
    display: inline-block !important;
    white-space: nowrap !important;
    margin: 0 !important;
    vertical-align: middle;
}

.custom-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-right: 10px;
}

.custom-card p.text-muted.small {
    display: none !important;
}

.custom-card .product-price {
    font-size: 26px;
    font-weight: 800;
    color: #ff4d4d;
    margin-right: 10px;
    display: flex !important;
    align-items: center;
    gap: 3px;
}
.custom-card .product-price small {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
}

.custom-card .flex-grow-1 {
    display: none !important;
}

.custom-card .position-absolute.top-0.start-50 {
    display: none !important;
}

.custom-card a.btn-primary {
    padding: 0;
    width: auto !important;
    font-size: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #ff4d4d !important;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    margin-left: auto !important;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    min-width: 0;
}
.custom-card a.btn-primary:hover {
    transform: translateY(-2px);
    text-decoration: underline;
    box-shadow: none;
}
.custom-card a.btn-primary::after {
    content: "ORDER NOW";
    background-color: #ffffff;
    font-size: 18px !important;
    font-weight: 600;
    color: #ff4d4d !important;
    display: inline-block;
    white-space: nowrap;
    position: static;
    transform: none;
}

/* === LOGIN-SEITE (wie gehabt) === */
.login-split-left .login-logo {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.login-split-left .login-logo img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}
.login-split-left .login-brand-title,
.login-split-left .login-brand-subtitle,
.login-split-left .login-features {
    display: none !important;
}
.login-split-right .form-control.form-control-lg {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    height: auto !important;
}
.login-split-right button[type="submit"].btn.primary {
    padding: 0.6rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 5px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: inline-block !important;
}
.login-split-right .d-grid {
    display: flex !important;
    justify-content: center !important;
}

/* === KATEGORIE-KARTEN (aus category-grid.html.twig) === */
.custom-card-bg {
    background-size: cover;
    background-position: left;
}
.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 32px;
    color: var(--primary-color, #ff4d4d);
}
.card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}