/* DRUCKMOMENTE - ULTIMATIVE SYSTEM-STEUERUNG 2026
   PROJEKT: FULL REHABILITATION (KOMPLETTDATEI)
   STATUS: READY-TO-USE inkl. AUFTRAGSFORMULAR
*/

/* --- 1. IMPORT & VARIABLEN --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0a0e17;
    --bg-header: #0f172a;
    --bg-card: #1e293b;
    --bg-nav: rgba(15, 23, 42, 0.95);
    --accent: #f59e0b;
    --accent-blue: #38bdf8;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --border: #334155;
    --radius: 16px;
    --font: 'Inter', sans-serif;
    --nav-height: 90px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --input-bg: rgba(2, 6, 23, 0.9);
}

/* --- 2. GLOBALER RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 3. HEADER & NAVIGATION --- */

header {
    background-color: var(--bg-nav);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--border);
    height: var(--nav-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.header-flex {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
}

.logo {
    justify-self: start;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

nav.main-nav {
    justify-self: center;
}

nav.main-nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

nav.main-nav a:hover {
    color: var(--accent);
}

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

nav.main-nav a:hover::after {
    width: 100%;
}

/* --- 4. MAIN CONTENT --- */

main {
    flex: 1;
    margin-top: var(--nav-height);
    padding: 60px 0;
}

/* --- PRODUKT DETAIL FINAL FIX --- */

.product-detail-wrapper{
    display:grid !important;
    grid-template-columns:480px 1fr !important;
    gap:60px;
    align-items:start;
    max-width:1100px;
    margin:0 auto;
}

.product-image-column{
    position:relative !important;
    width:420px;
    min-width:420px;
    min-height:1200px;
    padding-top:20px;
}

.product-image-fixed-box{
    position:fixed;
    top:120px;
    width:420px;
    z-index:999;
}

.product-image-column img{
    width:100%;
    max-width:420px;
    height:auto;
    display:block;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
    border:1px solid #1e293b;
    background:#0f172a;
    user-select:none;
    -webkit-user-drag:none;
}

.product-info-column{
    width:100%;
    min-width:0;
}

/* VERHINDERT KONFLIKTE */

.product-detail-wrapper,
.product-image-column,
.product-info-column{
    overflow:visible !important;
}

/* --- 5. FORMULAR --- */

.form-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
    margin-bottom: 100px;
}

.order-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

/* --- SHOP ZENTRIERT --- */

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    justify-content: center;
    gap: 40px;
    margin: 0 auto 100px auto;
    width: 100%;
}

.product-card {
    background: linear-gradient(180deg, #1e293b 0%, #172033 100%);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    display:flex;
    flex-direction:column;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.product-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(245,158,11,0.08),
        transparent 40%
    );
    pointer-events:none;
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.product-img {
    width:100%;
    aspect-ratio:1/1;
    background:var(--bg-dark);
    border-radius:12px;
    margin-bottom:25px;
    background-size:cover;
    background-position:center;
    border:1px solid rgba(255,255,255,0.05);
}

.product-card h3{
    font-size:1.3rem;
    margin-bottom:10px;
    color:var(--text-white);
}

.product-card p{
    color:var(--text-muted);
    margin-bottom:20px;
}

.product-card .price{
    font-size:1.4rem;
    font-weight:800;
    color:var(--accent);
    margin-top:auto;
}

/* --- FOOTER MODERN --- */

footer{
    position:relative;
    background:linear-gradient(180deg,#070b14 0%, #0a0f1d 100%);
    border-top:1px solid rgba(255,255,255,0.06);
    padding:90px 0 30px;
    width:100%;
    overflow:hidden;
}

footer::before{
    content:'';
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:80%;
    height:1px;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(245,158,11,0.7),
        transparent
    );
}

/* EINGEFÜGT */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 45px;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    margin-top: 20px;
}

/* VORHANDENE FOOTER STYLES */

.footer-brand h2{
    font-size:2rem;
    font-weight:900;
    margin-bottom:18px;
    color:var(--text-white);
    text-transform:uppercase;
}

.footer-brand span{
    color:var(--accent);
}

.footer-brand p{
    color:var(--text-muted);
    line-height:1.8;
    max-width:320px;
}

.footer-column h3{
    font-size:1.1rem;
    margin-bottom:22px;
    font-weight:700;
    color:var(--text-white);
    position:relative;
    padding-bottom:10px;
}

.footer-column h3::after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;
    width:45px;
    height:3px;
    border-radius:999px;
    background:var(--accent);
}

.footer-links{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.footer-links a{
    color:var(--text-muted);
    text-decoration:none;
    transition:var(--transition);
    font-weight:500;
}

.footer-links a:hover{
    color:var(--accent);
    transform:translateX(4px);
}

.footer-social{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.footer-social a{
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.06);
    color:var(--text-white);
    text-decoration:none;
    transition:var(--transition);
    font-size:1.1rem;
}

.footer-social a:hover{
    background:var(--accent);
    color:#000;
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(245,158,11,0.35);
}

.footer-bottom p{
    color:var(--text-muted);
    font-size:0.92rem;
}

.footer-bottom-links{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.footer-bottom-links a{
    color:var(--text-muted);
    text-decoration:none;
    transition:var(--transition);
}

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

/* --- RESPONSIVE --- */

@media (max-width: 1024px){

    .header-flex{
        grid-template-columns:1fr 1fr;
    }

    nav.main-nav{
        display:none;
    }

    .container{
        padding:0 20px;
    }
}

@media (max-width: 900px){

    .product-detail-wrapper{
        display:block !important;
    }

    .product-image-column{
        width:100%;
        min-width:100%;
        min-height:auto;
    }

    .product-image-fixed-box{
        position:relative !important;
        top:auto !important;
        width:100% !important;
    }

    .product-image-column img{
        max-width:420px;
        margin:0 auto 35px auto;
    }
}

@media (max-width:768px){

    footer{
        padding:70px 0 25px;
    }

    .footer-grid{
        gap:40px;
    }

    .footer-brand,
    .footer-column{
        text-align:center;
    }

    .footer-column h3::after{
        left:50%;
        transform:translateX(-50%);
    }

    .footer-links{
        align-items:center;
    }

    .footer-social{
        justify-content:center;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
    }

    .footer-bottom-links{
        justify-content:center;
    }

    .order-card{
        padding:25px;
    }
}