/* Schriften lokal (SIL Open Font License): Syne und Plus Jakarta Sans */
@font-face { font-family: 'Syne'; src: url('../fonts/syne-var.woff') format('woff'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/plusjakartasans-var.woff') format('woff'); font-weight: 200 800; font-style: normal; font-display: swap; }

/* 1. GLOBAL SETTINGS */

:root {
    --font-header: "Syne", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;

    --color-bg: #f8f9fa;
    --color-card: #ffffff;
    --color-text: #2d3142;
    --color-text-side: #6c757d;
    --color-primary-btn: #429a9c;
    --color-primary-btn-hover: #52b6b8;
    --primary-btn-shadow: 81, 182, 184;

    --color-success: #65c088;
    --color-warning: #f2bb5c;
    --color-danger: #e46a6a;
    --color-danger-hover: rgb(201, 85, 85);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 600;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-primary-btn);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border: 1px transparent;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-primary-btn-hover);
    border: 1px solid var(--color-card);
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(66, 154, 156, 0.3); 
    color: var(--color-primary-btn);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px; 
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(66, 154, 156, 0.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-primary-btn); 
}

/*-----------------------------------------------------------------------------*/

/* 2. HEADER & NAVIGATION*/

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 249, 250, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-card);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-punkt {
    color: var(--color-primary-btn);
}



/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1100;
    margin-left: auto;
}

.nav-login {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    gap: 0; 
}

.nav-login i {
    color: var(--color-primary-btn);
    font-size: 1.25rem; 
}

.login-text {
    display: none;
}


/* Hamburger & Animation */

.menu-checkbox {
    display: none;
}

.hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    margin-left: 10px;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.hamburger span:nth-child(1) { 
    top: 0; 
}

.hamburger span:nth-child(2) { 
    top: 10px; 
}

.hamburger span:nth-child(3) { 
    top: 20px; 
}

.menu-checkbox:checked ~ .header-actions .hamburger span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    background-color: var(--color-primary-btn);
}

.menu-checkbox:checked ~ .header-actions .hamburger span:nth-child(2) { 
    opacity: 0; 
}

.menu-checkbox:checked ~ .header-actions .hamburger span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    background-color: var(--color-primary-btn);
}

/* Side Nav Menu*/

.main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background-color: var(--color-card);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-checkbox:checked ~ .main-nav {
    right: 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
}

.nav-links a {
    color: var(--color-text-side);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 15px 30px;
    border-bottom: 1px solid var(--color-bg);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary-btn);
    padding-left: 12px;
}

.nav-btn.btn-secondary {
padding: 8px 12px;
    font-size: 0.8rem;
    gap: 5px;
    background: rgba(66, 154, 156, 0.1);
    border: 1px solid rgba(66, 154, 156, 0.3);
    white-space: nowrap;
    border-radius: 6px;
    color: var(--color-primary-btn);
    text-decoration: none;
    font-weight: 700;
}

.nav-btn.btn-secondary:hover {
    background: rgba(66, 154, 156, 0.1);
    border-color: var(--color-primary-btn);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.nav-btn .benz-logo {
    font-family: 'Arial Black', 'Impact', sans-serif;
    font-weight: 900;
    color: #007549;
    letter-spacing: 0.5px;
    font-size: 1.15em;
}

.nav-btn .benz-logo .benz-red {
    color: #e30613;
}

/*-----------------------------------------------------------------------------*/

/* BUTTONS */
.hero-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-btn);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-actions .btn-primary:hover {
    background-color: var(--color-primary-btn-hover);
    border: 1px solid var(--color-card);
    transform: translateY(-3px);
}

.hero-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: solid transparent; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(66, 154, 156, 0.3); 
    color: var(--color-primary-btn);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px; 
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-actions .btn-secondary:hover {
    background: var(--color-card);
    transform: translateY(-3px);
}

/*-----------------------------------------------------------------------------*/

/* 4. HERO SECTION - Mobile First*/

.hero-section {
    min-height: 100dvh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 100px 20px 40px 20px;
    position: relative; 
    z-index: 10;
    box-shadow: 0px 20px 30px -10px rgba(0, 0, 0, 0.15);
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(248, 249, 250, 0) 30%,
            rgba(248, 249, 250, 0.8) 75%,
            rgba(248, 249, 250, 1) 100%
        ),
        url(../images/hero-img.webp);
    background-size: cover;
    background-position: 77% 20% !important;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 5px;
    color: var(--color-text);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-side);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    width: 100%;
}

.hero-zeichen {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(66, 154, 156, 0.15);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--color-primary-btn);
    letter-spacing: 1px;
}

/*-----------------------------------------------------------------------------*/
/* 5. BENTO GRID */

.features-grid {
    padding: 60px 0;
    background-color: var(--color-bg);
}

.grid-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-card);
    padding: 40px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-primary-btn);
    margin-bottom: 20px;
}

/*-----------------------------------------------------------------------------*/
/* 6. IMAGE COMPARISON SLIDER */

.slider-section-wrapper {
    padding-top: 60px;    
    padding-bottom: 30px; 
    padding-left: 10px;   
    padding-right: 10px;
    background-color: var(--color-card);
    width: 100%;
    box-sizing: border-box; 
    overflow-x: hidden;     
}

.slider-section-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box; 
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0; 
    width: 100%;
}

.slider-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.slider-wrapper h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 0; 
}

.space-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    min-height: 250px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-after {
    clip-path: inset(0 50% 0 0);
}

.slider-trenner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--color-primary-btn);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-zeichen {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-card);
    color: var(--color-text);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--color-primary-btn);
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.slider-text {
    text-align: center;
}

.slider-text h3 {
    color: var(--color-text);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 15px;
}

.slider-text p {
    color: var(--color-text-side);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/*-----------------------------------------------------------------------------*/
/* 7. ANATOMY (HOTSPOTS & MODAL) */

.anatomy-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.anatomy-container {
    max-width: 1300px;
    margin: 0 auto;
}

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

.anatomy-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 15px;
}

.anatomy-header p {
    color: var(--color-text-side);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.anatomy-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.anatomy-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Hotspots */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Checkbox hide */
.hotspot-checkbox {
    display: none !important;
}

.hotspot-dot {
    display: block;
    width: 24px;
    height: 24px;
    background-color: var(--color-primary-btn);
    border-radius: 50%;
    border: 4px solid var(--color-card);
    box-shadow: 0 0 0 0 rgba(var(--primary-btn-shadow), 0.7);
    cursor: pointer;
    animation: pulse-dot 2s infinite;
    transition: transform 0.3s ease;
}

/* Dot transform */
.hotspot-checkbox:checked ~ .hotspot-dot {
    transform: scale(1.2);
    animation: none;
}

.display-dot {
    background-color: var(--color-warning);
}

@keyframes pulse-dot {
    0% { 
        box-shadow: 0 0 0 0 rgba(var(--primary-btn-shadow), 0.7); 
    }

    70% { 
        box-shadow: 0 0 0 15px rgba(var(--primary-btn-shadow), 0); 
    }

    100% { 
        box-shadow: 0 0 0 0 rgba(var(--primary-btn-shadow), 0); 
    }
}

/* Dot infos - click */

.hotspot-tooltip {
    position: absolute;
    bottom: 35px;
    width: clamp(200px, 70vw, 280px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    text-align: center;
}

.hotspot-left .hotspot-tooltip {
    left: -15px; 
    transform: translateY(10px);
}

.hotspot-left .hotspot-checkbox:checked ~ .hotspot-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hotspot-right .hotspot-tooltip {
    right: -15px; 
    left: auto;
    transform: translateY(10px);
}

.hotspot-right .hotspot-checkbox:checked ~ .hotspot-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hotspot-tooltip h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--color-primary-btn);
    font-size: 1.1rem;
}

.hotspot-tooltip p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-side);
    line-height: 1.5;
}

.hotspot-close {
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-text-side, #888);
    transition: color 0.3s ease, transform 0.3s ease;
}

.hotspot-close:hover {
    color: var(--color-primary-btn-hover);
    transform: scale(1.1);
}

/*-----------------------------------------------------------------------------*/
/* HMI - in page modal */

.anatomy-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.anatomy-blur-container {
    transition: filter 0.4s ease, transform 0.4s ease;
    width: 100%;
}

#display-modal-toggle:checked ~ .anatomy-blur-container {
    filter: blur(8px) brightness(0.8);
    transform: scale(0.98);
    pointer-events: none; 
}

.display-modal-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.4s ease;
}

#display-modal-toggle:checked ~ .display-modal-overlay {
    opacity: 1;
    pointer-events: auto; 
}

.hmi-glass-panel {
    width: 380px;
    max-width: 92vw;
    max-height: 90vh; 
    overflow-y: auto; 
    overflow-x: hidden;
    scrollbar-width: none;
    background: rgba(30, 40, 55, 0.7); 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 25px 20px;
    color: #ffffff;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.05);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hmi-glass-panel::-webkit-scrollbar { 
    display: none; 
}

#display-modal-toggle:checked ~ .display-modal-overlay .hmi-glass-panel {
    transform: translateY(0);
}

.modal-close { 
    position: absolute; 
    color: rgba(255,255,255,0.6); 
    right: 15px; 
    top: 15px; 
    z-index: 50; 
    cursor: pointer; 
    font-size: 1.2rem; 
    transition: 0.3s; 
}

.modal-close:hover { 
    color: #fff; 
}

.back-btn { 
    position: absolute; 
    left: 0; top: 0; 
    color: rgba(255,255,255,0.6); 
    cursor: pointer; 
    font-size: 1.1rem; 
    transition: color 0.3s; 
}

.back-btn:hover { 
    color: #fff; 
}

/* modal screens */
input[name="hmi-view"] { 
    display: none; 
}

.hmi-screen { 
    display: none; 
    animation: fadeInUI 0.4s ease; 
    position: relative; 
}

#view-status:checked ~ #status-screen { 
    display: block; 
}

#view-order:checked ~ #order-screen { 
    display: block; 
}

@keyframes fadeInUI {
    from { opacity: 0; 
        transform: translateY(15px); 
    }

    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* modal - same elements */
.hmi-header { 
    text-align: center; 
    margin-bottom: 15px; 
    position: relative; 
}

.hmi-badge { 
    display: inline-block; 
    background: rgba(66, 154, 156, 0.2); 
    color: var(--color-primary-btn); 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 0.65rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 5px; 
}

.hmi-header h3 { 
    margin: 0 0 2px 0; 
    font-size: 1.3rem; 
}

.hmi-header p { 
    margin: 0; 
    font-size: 0.8rem; 
    color: rgba(255,255,255,0.5); 
}

/*baner*/
.hmi-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(66, 154, 156, 0.15); 
    border: 1px solid rgba(66, 154, 156, 0.3);
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.hmi-info-banner i { 
    color: var(--color-primary-btn); 
    font-size: 1rem; 
    margin-top: 2px; 
}

.hmi-info-banner p { 
    margin: 0; 
    font-size: 0.7rem; 
    color: rgba(255, 255, 255, 0.8); 
    line-height: 1.3; 
}

.hmi-info-banner strong { 
    color: #fff; 
    font-weight: 600; 
}

.hmi-info-banner em { 
    font-style: normal; 
    color: var(--color-warning); 
    font-weight: 600; 
}

/*-----------------------------------------------------------------------------*/
/* MODAL SCREEN 1*/

.status-circle-container { 
    position: relative; 
    width: 180px; 
    height: 180px; 
    margin: 20px auto 30px; 
} 

.circular-chart { 
    display: block; 
    margin: 0 auto; 
    max-width: 100%; 
    max-height: 250px; 
}

.circle-bg { 
    fill: none; 
    stroke: rgba(255, 255, 255, 0.05); 
    stroke-width: 2.5; 
}

.circle { 
    fill: none; 
    stroke-width: 2.5; 
    stroke-linecap: round; 
    stroke: var(--color-primary-btn); 
    animation: progress 1.5s ease-out forwards; 
}

@keyframes progress { 
    0% { stroke-dasharray: 0 100; } 
}

.circle-content { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.circle-label { 
    font-size: 0.7rem; 
    color: rgba(255,255,255,0.5); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 2px; 
}

.circle-amount { 
    font-size: 2.4rem; 
    font-weight: 700; 
    font-family: var(--font-header); 
    line-height: 1; 
    margin-bottom: 6px; 
}

.circle-amount span { 
    font-size: 1.1rem; 
    color: rgba(255,255,255,0.4); 
}

.circle-fill { 
    font-size: 0.8rem; 
    font-weight: 600; 
    color: var(--color-warning); 
    background: rgba(242, 187, 92, 0.1); 
    padding: 4px 10px; 
    border-radius: 20px; 
}

/*-----------------------------------------------------------------------------*/
/* MODAL SCREEN 2*/

.hmi-cart {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.cart-item {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-img {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-btn);
    font-size: 1rem;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-details strong {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.item-price {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.item-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(0,0,0,0.2);
    padding: 4px;
    border-radius: 8px;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.75rem;
}

.qty-btn:hover {
    background: rgba(255,255,255,0.2);
}

.qty-num {
    font-weight: 700;
    width: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.trash-btn {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.2s;
    border-radius: 6px;
}

.trash-btn:hover {
    color: var(--color-danger);
    background: rgba(228, 106, 106, 0.1);
}

/* Lieferoptionen */
.hmi-delivery h4 {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

.del-radio {
    display: none;
}

.del-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.del-card strong {
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.del-card span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-bottom: 3px;
}

.del-card .del-price {
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

.del-card.premium strong {
    color: var(--color-warning);
}

.del-radio:checked + .del-card {
    background: rgba(66, 154, 156, 0.15);
    border-color: var(--color-primary-btn);
}

.del-radio:checked + .del-card .del-price {
    color: #fff;
}

/* cross-selling */
.hmi-cross-sell {
    margin-bottom: 15px;
}

.filter-checkbox {
    display: none;
}

.filter-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-text {
    display: flex;
    flex-direction: column;
}

.filter-text strong {
    font-size: 0.8rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-text strong::before {
    content: '\f0c8';
    font-family: 'Font Awesome 7 Free';
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    transition: 0.2s;
}

.filter-text span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
}

.filter-price {
    font-weight: 700;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.filter-checkbox:checked + .filter-label {
    background: rgba(66, 154, 156, 0.1);
    border-color: var(--color-primary-btn);
}

.filter-checkbox:checked + .filter-label .filter-text strong::before {
    content: '\f14a';
    font-weight: 900;
    color: var(--color-primary-btn);
}

.filter-checkbox:checked + .filter-label .filter-price {
    color: #fff;
}

/* Preis & Buttons */
.hmi-summary {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}

.pfand-row {
    color: var(--color-success);
    font-weight: 600;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.total-row {
    margin-bottom: 0;
    padding-top: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.hmi-cta-btn {
    display: block;
    width: 100%;
    background: var(--color-primary-btn);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hmi-cta-btn:hover {
    background: var(--color-primary-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 154, 156, 0.3);
}

.system-section {
    padding: 100px 20px;
    background-color: var(--color-card);
    position: relative;
}

.system-container {
    max-width: 1200px;
    margin: 0 auto;
}

.system-header {
    text-align: center;
    margin-bottom: 70px;
}

.system-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 15px;
}

.system-header p {
    color: var(--color-text-side);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.system-grid {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.system-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* Bild on top - mobile */
.system-image {
    order: -1; 
    width: 100%;
}

.system-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.system-text {
    position: relative;
    padding: 20px 0;
    z-index: 2;
}

/* Background numbers */
.bg-number {
    position: absolute;
    top: -40px;
    left: -15px;
    font-family: var(--font-header);
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-primary-btn);
    opacity: 0.15;
    z-index: -1;
    line-height: 1;
}

.step-title {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-bottom: 15px;
    position: relative;
}

/* Deko linie */
.step-title::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 3px;
    background-color: var(--color-primary-btn);
    vertical-align: middle;
    margin-right: 15px;
    border-radius: 3px;
}

.system-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-side);
    margin: 0;
}

/* Calculator */
.calculator-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    color: #1a1a1a; 
}

.calculator-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.calc-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.calc-header h2 { 
    color: #1a1a1a; 
}

.calc-header p { 
    color: #666666; 
}

/* Bento panel */
.calc-glass-panel {
    background: var(--color-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); 
}

/* slider */
.slider-group label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #1a1a1a;
}

.slider-wrapper {
  position: relative;
  margin-bottom: 40px;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
  margin: 15px 0;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: rgba(0,0,0,0.08);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
}

input[type=range]::-webkit-slider-thumb {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: var(--color-primary-btn);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -10px;
  box-shadow: 0 0 15px rgba(66, 154, 156, 0.4);
  transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-value-display {
  text-align: center;
  margin-top: 20px;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  font-family: var(--font-header);
}

.slider-unit {
  font-size: 1rem;
  color: #666666;
  font-weight: 400;
}

/* Preis box */

.calc-main-result {
  margin-bottom: 40px;
}

.calc-main-result .pfand-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  color: #555555;
  margin-bottom: 15px;
  padding: 0 10px;
}

.calc-main-result .pfand-row strong {
  color: #1a1a1a;
}

.calc-main-result .pfand-row:nth-child(2) {
  border-bottom: 1px dashed rgba(0,0,0,0.1) !important;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.tariff-box {
  background: var(--color-bg);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.4s ease;
}

.tariff-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.tariff-price h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #555555;
}

.tariff-price strong {
  font-size: 2rem;
  font-family: var(--font-header);
  line-height: 1;
  color: #1a1a1a;
}

.tariff-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #888888;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary-btn);
  width: 50%;
  transition: width 0.3s ease, background 0.3s ease;
}

#tariff-message {
  margin: 0;
  font-size: 0.85rem;
  color: #666666;
  text-align: center;
}

/* FREE Geraet lvl */
.tariff-box.free-tier {
  border-color: var(--color-success);
  background: rgba(46, 204, 113, 0.05);
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.tariff-box.free-tier .tariff-price strong {
  color: var(--color-success);
}

.tariff-box.free-tier .progress-bar-fill {
  background: var(--color-success);
  width: 100% !important;
}

.tariff-box.free-tier #tariff-message {
  color: var(--color-success);
  font-weight: 600;
}

/* tiles */

.calc-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.metric-card {
  background: var(--color-bg);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
}

.metric-card i {
  font-size: 1.5rem;
  color: var(--color-primary-btn);
  margin-bottom: 10px;
}

.metric-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.metric-card p {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
}

.metric-sub {
  display: block;
  font-size: 0.65rem;
  color: #888888;
  margin-top: 3px;
  text-transform: uppercase;
}

.vol-compare {
  font-size: 1.1rem !important;
}

.vol-compare s {
  color: #aaaaaa;
  margin-right: 5px;
}

.vol-compare strong {
  color: var(--color-success);
  font-size: 1.3rem;
}

/* CTA buttons */
.calc-cta-btn.btn-primary { 
    display: flex;
    width: 100%; 
    padding: 18px; 
    font-size: 1.1rem; 
}

/*-----------------------------------------------------------------------------*/
/* 11. ABO-MODELL (VISUAL IMAGE GRID) */

.abo-section {
    padding: 60px 20px;
    background-color: var(--color-card);
}

.abo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.abo-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.abo-header h2 { 
    font-size: clamp(1.8rem, 4vw, 2.8rem); 
    color: var(--color-text); 
    margin-bottom: 15px; 
}

.abo-header p { 
    font-size: 1rem; 
    color: var(--color-text-side); 
}

.visual-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.visual-card-wrapper {
    position: relative;
    width: 100%;
}

.card-toggle { display: none; }

.visual-card {
    display: block;
    position: relative;
    width: 100%;
    min-height: 350px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.card-content {
    position: absolute;
    inset: 0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.expand-btn {
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: var(--color-primary-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-bottom h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.card-hidden-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(15px);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

.card-hidden-text p {
    margin: 12px 0;
}

.mini-rule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-success);
    background: rgba(0,0,0,0.4);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.mini-rule.text-warning { 
    color: var(--color-warning); 
}

/* Click logic */
.card-toggle:checked + .visual-card .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.4) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.card-toggle:checked + .visual-card::before {
    transform: scale(1.05);
}

.card-toggle:checked + .visual-card .expand-btn {
    transform: rotate(45deg);
    background: var(--color-primary-btn);
    color: #fff;
}

.card-toggle:checked + .visual-card .card-hidden-text {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

/* 12. FINAL CTA SECTION & MODAL FORM */
.final-cta-section {
    padding: 100px 20px;
    background-color: var(--color-bg); 
}

.final-cta-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-zeichen { 
    display: inline-block; 
    background: rgba(66, 154, 156, 0.15); 
    color: var(--color-primary-btn); 
    padding: 6px 14px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 15px; 
}

.section-header h2 { 
    font-size: clamp(2rem, 4vw, 2.8rem); 
    color: var(--color-text); 
    margin-bottom: 15px; 
}

.section-header p { 
    font-size: 1.1rem; 
    color: var(--color-text-side); 
}

.cta-bento-box {
    background: var(--color-card);
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.cta-bento-text h3 { 
    font-size: 1.8rem; 
    color: var(--color-text); 
    margin-bottom: 10px; 
}

.cta-bento-text p { 
    font-size: 1.05rem; 
    color: var(--color-text-side); 
    line-height: 1.6; 
    margin: 0; 
}

.cta-buttons { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    align-items: center; 
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    width: 100%;
    min-width: 280px;
    max-width: 320px;
    cursor: pointer;
}

/* modal */
.modal-logic-container {
    position: relative;
}

.modal-toggle, 
.success-switch {
    display: none;
}

.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

.modal-toggle:checked ~ .contact-modal-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-modal-box {
    background: var(--color-card);
    width: 95%;
    max-height: 95vh;
    padding: 30px 20px;
    border-radius: 24px;
    position: relative;
    overflow-y: auto;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-toggle:checked ~ .contact-modal-overlay .contact-modal-box {
    transform: translateY(0);
}

.view-success {
    display: none;
    animation: slideUpFade 0.4s ease;
}

#form-success-switch:checked ~ .view-form {
    display: none;
}

#form-success-switch:checked ~ .view-success {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.input-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-side);
    margin-bottom: 6px;
    display: block;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--color-bg);
    font-family: inherit;
    font-size: 16px;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--color-primary-btn);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: block;
}

.success-icon-wrapper {
    color: var(--color-success);
    font-size: 4rem;
    margin-bottom: 15px;
}

.contact-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.2);
}

@keyframes slideUpFade {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }

    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 13. FOOTER */
.site-footer {
    background-color: var(--color-card);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.footer-brand h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--color-text-side);
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-text-side);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--color-primary-btn);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(66, 154, 156, 0.2);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-side);
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-side);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-primary-btn);
}

/*============================================================================
===============================================================================*/
/*IMPRESSUM, DATENSCHUTZ, AGB*/

.legal-page {
    padding: 120px 20px 80px;
    background-color: var(--color-bg);
    min-height: 80vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.legal-page h1 {
    color: var(--color-text);
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--color-primary-btn);
    display: inline-block;
    padding-bottom: 5px;
}

.legal-content p {
    color: var(--color-text-side);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.legal-content strong {
    color: var(--color-text);
    display: block;
    margin-top: 10px;
}

.legal-content a {
    color: var(--color-primary-btn);
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-container {
        padding: 25px;
}
    
.legal-page h1 {
        font-size: 1.8rem;
}

/*============================================================================
===============================================================================*/
/* DASHBOARD */

.welcome-banner {
    background-color: var(--color-card);
    background-image: linear-gradient( to right bottom, rgba(255, 255, 255, 0.979) 30%, rgba(255,255,255,0.5) 70%), url('../images/willkommen-bg.webp');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    border-radius: 0px;
    padding: 35px 25px;
    margin-top: 15px;
    margin-bottom: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    height: 70vh;
    background-position: 83% 0;
}
.welcome-content { 
    position: relative; 
    z-index: 2; 
}

.greeting { 
    display: block; 
    font-size: 1.3rem; 
    font-weight: 300; 
    color: var(--color-text-side); 
    margin-bottom: -5px; 
}

.user-name { 
    font-size: 2.8rem; 
    color: var(--color-text);
    line-height: 1.1; 
    margin-top: 0;
    margin-bottom: 5px; 
    font-weight: 800;
}

.customer-id-hero {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-side);
    letter-spacing: 1px;
    font-weight: 600;

}

.contact-actions { 
    margin-top: 25px; 
    border-top: 1px solid rgba(0,0,0,0.08); 
    padding-top: 20px;
}

.support-label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    color: var(--color-text-side); 
    font-weight: 600;
}

.phone-link { 
    display: block; 
    font-size: 1.3rem; 
    font-weight: 800; 
    color: var(--color-primary-btn-hover); 
    text-decoration: none; 
    margin: 8px 0 15px; 
}

.btn-text { 
    background: none; 
    border: none; 
    color: var(--color-text-side); 
    font-weight: 700; 
    font-family: var(--font-body);
    cursor: pointer; 
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 0;
}

/* 1. MODAL CSS (:target) */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: rgba(45, 49, 66, 0.7); 
    backdrop-filter: blur(8px); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999;
    padding: 20px; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* uncover modal click <a href="#serviceModal"> */
.modal-overlay:target {
    opacity: 1;
    visibility: visible;
}

/* close bg */
.modal-close-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    cursor: default;
    z-index: 1;
}

/* general modal background */
.modal-content { 
    background: var(--color-card); 
    padding: 40px 30px; 
    border-radius: 24px; 
    width: 100%; 
    max-width: 450px; 
    position: relative; 
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

/* modal active - card center */
.modal-overlay:target .modal-content {
    transform: translateY(0);
}

/* close button (X) */
.close-modal { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    background: none; 
    border: none; 
    font-size: 1.4rem; 
    cursor: pointer; 
    color: var(--color-text-side); 
    text-decoration: none; 
    transition: color 0.3s, transform 0.3s;
}

.close-modal:hover { 
    color: var(--color-danger); 
    transform: scale(1.1);
}

/* 2. Modal content */
.modal-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.6rem;
    color: var(--color-text);
}

.modal-subtitle {
    color: var(--color-text-side);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Chips */
.issue-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    margin-bottom: 25px; 
}

.chip-label { 
    display: block; 
    background: var(--color-bg); 
    padding: 14px 10px; 
    border-radius: 12px; 
    text-align: center; 
    font-size: 0.9rem; 
    font-weight: 600;
    cursor: pointer; 
    border: 1px solid transparent;
    color: var(--color-text-side);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chip-label:hover {
    border-color: rgba(66, 154, 156, 0.4); 
    color: var(--color-text);
}

.chip-label input { display: none; }

.chip-label input:checked + span { 
    color: var(--color-primary-btn); 
}

.chip-label:has(input:checked) { 
    border-color: var(--color-primary-btn); 
    background: var(--color-card);
    box-shadow: 0 4px 15px rgba(66, 154, 156, 0.15); 
}

/* Text area */
#db-extra-message { 
    display: none;
    width: 100%; 
    height: 120px; 
    margin-bottom: 25px; 
    padding: 15px; 
    border-radius: 12px; 
    border: 1px solid rgba(0,0,0,0.1); 
    background: var(--color-bg);
    color: var(--color-text); 
    resize: none; 
    font-family: var(--font-body); 
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#db-extra-message:focus { 
    border-color: var(--color-primary-btn); 
    outline: none; 
    background: var(--color-card);
    box-shadow: 0 0 0 3px rgba(66, 154, 156, 0.15);
}

#db-extra-message:focus::placeholder {
    color: transparent; 
}

/* uncover textarea by click on input z id="issue-sonstiges" */
#dbServiceForm:has(#issue-sonstiges:checked) #db-extra-message {
    display: block;
    animation: slideDownFade 0.3s ease forwards;
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.goal-state-radio { 
    display: none; 
}

/* Karta celu */
.goal-card-container { 
    padding: 0; 
}
.goal-view-active .visual-box i { 
    color: var(--color-text); 
    font-size: 1.2rem; 
    opacity: 0.3; 
}
.goal-input-select { 
    appearance: auto; 
    cursor: pointer; 
}

/* Sekcja płatności - modale i profil */
.payout-info-box {
    background: rgba(66, 154, 156, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: left;
}
.payout-info-box p { 
    margin: 0; 
    font-size: 0.9rem; 
    color: var(--color-text); 
}
.payout-info-box i { 
    color: var(--color-primary-btn); 
    margin-right: 8px; 
}
.payment-display-box .btn-text { 
    font-size: 0.85rem; 
    font-weight: 700; 
}

/* Przyciski i odstępy */
.btn-save-goal { 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.btn-danger { 
    background-color: var(--color-danger) !important; 
    border-color: var(--color-danger) !important; 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.mt-15 { 
    margin-top: 15px !important; 
}

/* Kolory ikon płatności */
.icon-visa-large { color: #1434CB; font-size: 2rem; }
.icon-visa { color: #1434CB !important; font-size: 1.8rem !important; }
.icon-paypal { color: #00457C !important; font-size: 1.8rem !important; }
.icon-bank { color: var(--color-primary-btn) !important; font-size: 1.8rem !important; }
.icon-apple { color: #000 !important; font-size: 1.8rem !important; }

/* modal button */
.center-btn {
    display: flex;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}

/* CSS Acorderon - USER DATEN */
.profile-section {
    margin-top: -15px;
    margin-bottom: 40px;
}

/* checkbox field - verschtecken */
.profile-toggle-checkbox { 
    display: none; 
}

/* main label*/
.profile-toggle-label {
    background: var(--color-card);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 20px;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.profile-toggle-label:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: rgba(66, 154, 156, 0.3);
}

.profile-toggle-text {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
}

.profile-toggle-text i {
    color: var(--color-primary-btn);
    font-size: 1.3rem;
}

.chevron-icon {
    color: var(--color-text-side);
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation unfold (Grid Hack) */
.profile-expandable-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-form-wrapper {
    overflow: hidden;
}

.profile-toggle-checkbox:checked ~ .profile-expandable-content {
    grid-template-rows: 1fr; 
}

.profile-toggle-checkbox:checked ~ .profile-toggle-label .chevron-icon {
    transform: rotate(180deg);
}

.profile-toggle-checkbox:checked ~ .profile-toggle-label {
    border-color: var(--color-primary-btn);
}

/* Form inside view*/
.profile-form {
    background: #fdfdfd;
    border: 1px solid rgba(0,0,0,0.03);
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 35px 30px;
    margin-top: -15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.02);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mt-20 { 
    margin-top: 20px !important; 
}

.mt-30 {
     margin-top: 30px !important; 
    }

.profile-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* Payment method */
.payment-display-box {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-text {
    display: flex;
    flex-direction: column;
}

.payment-text strong {
    font-size: 0.95rem;
    color: var(--color-text);
}

.payment-text span {
    font-size: 0.75rem;
    color: var(--color-text-side);
}

/* CUSTOM CHECKBOX */
.consents-group {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

.custom-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 15px;
    position: relative;
}

.custom-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* EIGENE CHECKBOX */
.custom-checkmark {
    width: 22px;
    height: 22px;
    background-color: #fff;
    border: 2px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Checkbox checked */
.custom-checkbox-label input:checked ~ .custom-checkmark {
    background-color: var(--color-primary-btn);
    border-color: var(--color-primary-btn);
}

/* FontAwesome: check icon */
.custom-checkbox-label input:checked ~ .custom-checkmark::after {
    content: '\f00c'; /* unicode for icon check by FontAwesome */
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: white;
    font-size: 0.8rem;
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--color-text-side);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--color-primary-btn);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.form-row { 
    grid-template-columns: 1fr; 
    gap: 0; 
}

.profile-actions { 
    justify-content: center; 
}

/* Section: STATISTICS & HMI GRID */

.db-section { 
    padding: 40px 20px; 
    max-width: 1300px;
    margin: 0 auto;
}

.section-header { 
    margin-bottom: 40px; 
    text-align: center;
}
.section-header h2 { 
    font-size: 2rem; 
    margin-bottom: 8px; 
    color: var(--color-text); 
}
.sub-label { 
    font-size: 1rem; 
    color: var(--color-text-side); 
}

.hmi-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
}

/* Card Aussicht */
.hmi-card { 
    background: var(--color-card); 
    padding: 30px 25px; 
    border-radius: 24px; 
    text-align: center; 
    border: 1px solid rgba(0,0,0,0.03); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.04); 
    height: 100%;
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hmi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-label { 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-weight: 700; 
    color: var(--color-text-side); 
    margin-bottom: 20px; 
}

.card-data {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 25px;
}

/* Visualisation Area (SVG / Donut) */
.visual-box { 
    height: 150px; 
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
}

/* Text */
.value-main { 
    display: block; 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: var(--color-text); 
    line-height: 1.2; 
}

.value-sub { 
    display: block; 
    font-size: 0.9rem; 
    color: var(--color-text-side); 
    margin-top: 5px; 
}


/* Buttons size*/

.hmi-card .btn-primary,
.hmi-card .btn-secondary {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0 20px;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 12px;
}

.full-width-btn { 
    width: 100%; 
}

.dual-btn-box { 
    display: flex; 
    gap: 12px; 
    width: 100%; 
    height: 54px;
}
.btn-two-thirds { 
    flex: 2; 
    width: auto; 
}

.btn-third { 
    flex: 1; 
    width: auto; 
}


/* SVG & Flasche - double shadow*/

.mini-bottle { 
    height: 130px; 
    width: auto; 
    overflow: visible; 
}

.bottle-outline { 
    fill: none; stroke: #E2E8F0; 
    stroke-width: 3; 
}

.bottle-fill { 
    fill: var(--color-primary-btn); 
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1.5px;
    
    /* Double GLOW: 
       1. bigger brighter 
       2. smaller darker */
    filter: drop-shadow(0px 0px 15px rgba(66, 154, 156, 0.4)) 
            drop-shadow(0px 0px 5px rgba(66, 154, 156, 0.8)); 
    
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1); 
}


/* Donut graph */
.hmi-donut-container { 
    width: 130px; 
    height: 130px; 
    position: relative; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: visible; 
}

.donut-gradient-layer { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    z-index: 1;
    background: conic-gradient(
        var(--color-primary-btn) 0%, 
        var(--color-warning) 50%, 
        #e88b56 65%, 
        #E2E8F0 65%
    );
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* GLOW 1: bigger brighter */
.donut-gradient-layer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    background: inherit; 
    filter: blur(20px); 
    z-index: -2; 
    opacity: 0.4; 
}

/* GLOW 2: smaller darker */
.donut-gradient-layer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    background: inherit; 
    filter: blur(8px); 
    z-index: -1; 
    opacity: 0.8; 
}

.donut-inner-hmi { 
    position: relative; 
    width: 82%; 
    height: 82%; 
    background: var(--color-card); 
    border-radius: 50%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    z-index: 2; 
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}
.donut-val { 
    font-size: 1.25rem; 
    font-weight: 800; 
    color: var(--color-text); 
}

.donut-sub { 
    font-size: 0.75rem; 
    color: var(--color-text-side); 
    text-transform: uppercase; 
    font-weight: 600; 
}


/* grid & section container */
.db-section { 
    padding: 40px 20px; 
    max-width: 1300px; 
    margin: 0 auto; 
}

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

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

/* --- cards HMI --- */
.hmi-card { 
    background: var(--color-card); 
    padding: 30px 25px; 
    border-radius: 24px; 
    border: 1px solid rgba(0,0,0,0.03); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.04); 
    display: flex; 
    flex-direction: column; 
    height: 100%;
}

.visual-box { 
    height: 150px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
}

.card-data { 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    margin-bottom: 25px; 
    text-align: center; 
}

/* Ziel wechseln LOGIC (Spar-Ziel) */

/* 1. Both views hide */
.goal-view-empty, 
.goal-view-active {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 25px;
    box-sizing: border-box;
}

/* 2. If radio 'empty' clicked -> show sparbecher */
#state-goal-empty:checked ~ main .goal-view-empty {
    display: flex;
}

/* 3. If radio 'active' clicked-> show ziel Flasche */
#state-goal-active:checked ~ main .goal-view-active {
    display: flex;
}

/* 4. empty card - animation & background */
#state-goal-empty:checked ~ main .goal-card-container {
    border: 2px dashed rgba(66, 154, 156, 0.2); 
    background: linear-gradient(to bottom, var(--color-card), rgba(66, 154, 156, 0.02));
}

.empty-goal-icon { 
    font-size: 4rem; 
    color: var(--color-text-side); 
    opacity: 0.2; 
    animation: pulseIcon 3s infinite ease-in-out; 
}

@keyframes pulseIcon { 
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.2; 
    } 

    50% { 
        transform: scale(1.1); 
        opacity: 0.3; 
    } 
}

/*  Effects GLOW I SVG */
.mini-bottle { 
    height: 130px; 
    overflow: visible; 
}

.bottle-outline { 
    fill: none; 
    stroke: #E2E8F0; 
    stroke-width: 3; 
}

.bottle-fill { 
    fill: var(--color-primary-btn); 
    stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5px;
    filter: drop-shadow(0 0 15px rgba(66, 154, 156, 0.4)) drop-shadow(0 0 5px rgba(66, 154, 156, 0.8)); 
}

/* Ziel modal wide */
.modal-extra-wide {
    max-width: 750px;
    padding: 50px 45px;
}

/* Grid - Beispiel Ziele */
.goal-selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    margin: 35px 0;
}

.goal-selection-grid .goal-chip:last-child:nth-child(odd) {
    grid-column: span 2;
}

.goal-chip { 
    cursor: pointer; 
}

.goal-chip input { 
    display: none; 
}

.chip-inner {
    background: #f8f9fa;
    padding: 25px 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chip-inner i { 
    font-size: 1.8rem; 
    color: var(--color-text-side); 
}

.chip-inner span { 
    font-size: 0.8rem; 
    font-weight: 700; 
    color: var(--color-text-side); 
    text-transform: uppercase; 
}

.goal-chip input:checked + .chip-inner {
    background: #fff;
    border-color: var(--color-primary-btn);
    box-shadow: 0 10px 25px rgba(66, 154, 156, 0.15);
    transform: translateY(-5px);
}

.goal-chip input:checked + .chip-inner i,
.goal-chip input:checked + .chip-inner span {
    color: var(--color-primary-btn);
}

/* form */
.goal-details-box {
    background: rgba(0,0,0,0.02);
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 35px;
    border: 1px solid rgba(0,0,0,0.03);
}

.input-group { 
    text-align: left; 
    margin-bottom: 20px; 
}

.input-group:last-child { 
    margin-bottom: 0; 
}

.input-group label { 
    display: block; 
    font-weight: 700; 
    font-size: 0.9rem; 
    margin-bottom: 10px; 
}

.goal-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.goal-input:focus { 
    border-color: var(--color-primary-btn); 
}

/* custom name field*/
.custom-name-field { 
    display: none; 
}

#goalForm:has(input[value="custom"]:checked) .custom-name-field {
    display: block;
    animation: fadeInDown 0.3s ease forwards;
}

/* modal footer */
.modal-footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.btn-text-danger {
    color: var(--color-danger);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-text-danger:hover { 
    text-decoration: underline; 
}

.btn-save-goal { 
    padding: 16px 40px; 
    min-width: 200px; 
}

.goal-selection-grid { 
    grid-template-columns: repeat(2, 1fr); 
}

.modal-footer-flex {
    flex-direction: column-reverse; 
}

.btn-save-goal { 
    width: 100%; 
}

/* donut graph */
.hmi-donut-container { 
    width: 130px; 
    height: 130px; 
    position: relative; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.donut-gradient-layer { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    background: conic-gradient(var(--color-primary-btn) 0%, var(--color-warning) 50%, #e88b56 65%, #E2E8F0 65%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}

.donut-gradient-layer::after { 
    content: ''; 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    background: inherit; 
    filter: blur(20px); 
    opacity: 0.4; 
    z-index: -1; 
}

/* Card buttons */
.hmi-card .btn-primary, .hmi-card .btn-secondary { 
    height: 54px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    border-radius: 12px; 
    cursor: pointer; 
    text-decoration: none; 
}

.dual-btn-box { 
    display: flex; 
    gap: 12px; 
    width: 100%; 
}

.btn-two-thirds { 
    flex: 2; 
}

.btn-third { 
    flex: 1; 
}


/* Chips - Modal Abholung */

.vertical-chip-group {
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    margin-bottom: 30px;
}

/* edit standard chip*/
.chip-vertical {
    text-align: left;
    padding: 15px 20px;
}

.chip-content-flex {
    display: flex; 
    align-items: center; 
    gap: 15px;
}

.chip-icon {
    font-size: 1.4rem; 
    width: 25px; 
    text-align: center;
    color: var(--color-primary-btn);
}

.chip-text-group {
    display: flex;
    flex-direction: column;
}

.chip-title {
    display: block; 
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-side);
}


.chip-desc {
    font-weight: 400; 
    opacity: 0.8; 
    font-size: 0.85rem;
    margin-top: 2px;
}

.success-icon-large {
    font-size: 4.5rem; 
    color: var(--color-success); 
    margin-bottom: 20px;
}

#abholungModal .modal-content {
    max-width: 650px; 
}

/*============================================================================
===============================================================================*/

/* SHOP INTRO SECTION */

.grid-container-1300 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;

}

.shop-intro-section {
    padding: 40px 0 80px 0;
    background-color: var(--color-bg);
}

.shop-header-fix {
    margin-bottom: 20px !important;
    margin-top: 70px;
}

.shop-header-fix h1 {
    font-size: 1.4rem !important;
    margin-top: 20px;
}

.shop-header-fix p {
    font-size: 1rem !important ;
}

.intro-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    margin-top: -10px;

}

/* Benefits */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

.benefit-item {
    display: flex;
    gap: 15px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(66, 154, 156, 0.1);
    color: var(--color-primary-btn);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin: 0 0 5px 0;
    font-weight: 700;
}

.benefit-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-side);
}

/* Prozess */
.process-steps {
    display: none;
    color: var(--color-text-side);
}

/* product card */
.product-bento-card {
    text-align: center;
    position: relative;
    cursor: default;
}

.product-bento-card:hover {
    transform: translateY(-10px);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary-btn);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.bento-product-img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin: 30px 0 20px;
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 800;
}

.price-tag small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-side);
}

.price-hint {
    color: var(--color-success);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 5px 0 20px;
}

/* blitz order section */
.blitz-order-section {
    width: 100%;
    padding: 20px 0;
}

.container-1300 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.blitz-checkbox-input { display: none; }

/* accordeon */
.blitz-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-text);
    color: #fff;
    padding: 22px 30px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.blitz-bar:hover { 
    background: #2a3544; 
}

.blitz-left { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.blitz-icon-pulse {
    width: 42px; height: 42px;
    background: var(--color-primary-btn);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { 
        box-shadow: 0 0 0 0 rgba(66, 154, 156, 0.7); 
    }

    70% { 
        box-shadow: 0 0 0 10px rgba(66, 154, 156, 0); 
    }

    100% { 
        box-shadow: 0 0 0 0 rgba(66, 154, 156, 0); 
    }

}

.blitz-text strong { 
    display: block; 
    font-size: 1.1rem; 
}

.blitz-text span { 
    font-size: 0.85rem; 
    color: rgba(255,255,255,0.4); }

.blitz-chevron { 
    transition: transform 0.4s ease; 
}

.blitz-checkbox-input:checked + .blitz-bar .blitz-chevron { 
    transform: rotate(180deg); 
}

/* content wrapper */
.blitz-content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fcfcfc;
    border-radius: 0 0 12px 12px;
}

.blitz-checkbox-input:checked ~ .blitz-content-wrapper {
    max-height: 1600px;
    padding: 60px 0;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
}

/* inside layout */
.hmi-inner-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 0 40px;
}

.inline-hmi {
    width: 380px;
    max-width: 100%;
    background: rgba(30, 40, 55, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 30px 25px;
    color: #ffffff;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

/* display switch */
#view-status-inline:checked ~ #status-screen-inline { 
    display: block; 
}

#view-order-inline:checked ~ #order-screen-inline { 
    display: block; 
}

#status-screen-inline, #order-screen-inline { 
    display: none; 
    animation: fadeInUI 0.4s ease; 
}

/* Explanation side */
.hmi-explanation { 
    max-width: 450px; 
    text-align: center; 
}

.hmi-explanation h3 { 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
}

.hmi-explanation p { 
    line-height: 1.6; 
    color: var(--color-text-side); 
    margin-bottom: 25px; 
}

.hmi-points { 
    list-style: none; 
    padding: 0; 
    display: inline-block; 
    text-align: left; 
}

.hmi-points li { 
    margin-bottom: 12px; 
    display: flex; 
    gap: 10px; 
    font-weight: 600; 
}

.hmi-points i { 
    color: var(--color-success); 
}

/*============================================================================
===============================================================================*/
.main-shop-section {
    padding: 60px 0;
    background: var(--color-bg);
}

/* SEARCH & CHIPS */
.shop-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-side);
}

.search-wrapper input {
    width: 100%;
    padding: 18px 18px 18px 55px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--color-card);
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    transition: 0.3s;
}

.search-wrapper input:focus {
    border-color: var(--color-primary-btn);
    box-shadow: 0 0 0 4px rgba(66, 154, 156, 0.1);
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.chip {
    flex-grow: 0;
    padding: 10px 22px;
    background: var(--color-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    color: var(--color-text-side);
}

.chip.active, .chip:hover {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

/* SUB HEADERS */
.shop-sub-header {
    margin-bottom: 30px;
}

.shop-sub-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.shop-sub-header p {
    color: var(--color-text-side);
}

/* PRODUCT GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* PRODUCT CARD */
.product-card {
    padding: 25px !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-badge-small {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(66, 154, 156, 0.1);
    color: var(--color-primary-btn);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 15px;
}

.product-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding-top: 30px;
}

.product-visual img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-visual img {
    transform: scale(1.05);
}

.product-type {
    font-size: 0.75rem;
    color: var(--color-text-side);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product-meta {
    font-size: 0.85rem;
    color: var(--color-text-side);
    margin-bottom: 25px;
}

/* PRICE & QTY ROW */
.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
}

.price-block {
    display: flex;
    flex-direction: column;
}

.main-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text);
}

.pfand-price {
    font-size: 0.75rem;
    color: var(--color-success);
    font-weight: 700;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-minus, .qty-plus {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.qty-val {
    font-weight: 800;
    font-size: 1rem;
    min-width: 15px;
    text-align: center;
}

.buy-btn {
    width: 100%;
}

/*============================================================================
===============================================================================*/
/* CART DRAWER SYSTEM */

.cart-checkbox { 
    display: none; 
}

/* Overlay - blur */
.cart-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
}

.cart-checkbox:checked ~ .cart-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Panel Drawer */
.cart-drawer {
    position: fixed;
    top: 0; right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: white;
    z-index: 3001;
    box-shadow: -10px 0 40px rgba(0,0,0,0);
    transition: right 0.5s cubic-bezier(0.82, 0.085, 0.395, 0.895);
}

.cart-checkbox:checked ~ .cart-drawer {
    right: 0;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.cart-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
}

/* Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-cart { 
    cursor: pointer; 
    font-size: 1.5rem; 
    color: var(--color-text-side); 
}

/* Rental Progress Box */
.rental-status-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.status-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.progress-segments {
    display: flex;
    gap: 6px;
    height: 8px;
    margin-bottom: 12px;
}

.segment {
    flex: 1;
    background: rgba(0,0,0,0.05);
    border-radius: 2px;
}

.segment.active {
    background: var(--color-primary-btn);
}

.progress-hint {
    font-size: 0.8rem;
    color: var(--color-text-side);
    margin: 0;
}

/* Product List */
.cart-items-list {
    overflow-y: auto;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}

.cart-items-list::-webkit-scrollbar {
    width: 4px;
}

.cart-items-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.cart-item-horizontal {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item-img {
    width: 70px; height: 70px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

.cart-item-img img { 
    max-height: 80%; 
    object-fit: contain; 
}

.item-main strong { 
    display: block; 
    font-size: 0.95rem; 
}

.item-main span { 
    font-size: 0.8rem; 
    color: var(--color-text-side); 
}

.item-price-ctrl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.item-total {
    margin-left: 70px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-text);
}

.qty-selector.mini {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 8px;
}

.qty-selector.mini button {
    border: none;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.qty-selector.mini button:hover {
    background: var(--color-primary-btn);
    color: white;
}

.qty-selector.mini span {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 12px;
    text-align: center;
}


/* Footer & Summary */
.cart-footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
}

.pfand-summary-box {
    background: #f0f4f4;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.guthaben { 
    color: var(--color-success); 
    font-weight: 700; 
}

.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-size: 1.1rem;
    font-weight: 800;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* preis and bin container */
.price-trash-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* trashbin */
.cart-trash-btn {
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.cart-trash-btn:hover {
    color: #e46a6a;
    transform: scale(1.1);
}

.item-price-ctrl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    width: 100%;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.goal-text {
    font-weight: 700;
    color: var(--color-text);
}

/* Scrollbar */
.cart-items-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}

.cart-items-list::-webkit-scrollbar {
    width: 4px;
}

.cart-items-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

/*DATAILS */
.summary-line span:last-child {
    font-weight: 700;
}

/* SUMMARY */
.summary-line.total span:last-child {
    color: var(--color-primary-btn);
    font-size: 1.2rem;
}

/* CHECKOUT INTERACTION*/
.checkout-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.checkout-btn:hover i {
    transform: translateX(5px);
}

.checkout-btn span {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cart-drawer {
        max-width: 100%;
        right: -100%;
}
    
.cart-inner {
        padding: 20px;
    }

/*============================================================================
===============================================================================*/
/* CHECKOUT */

.container-1300 {
    width: 100%;
    max-width: 1300px;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px !important;
    box-sizing: border-box;
    margin-top: 70px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 40px;
    padding: 30px 0;
}

.data-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
}

.checkout-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.checkout-sidebar {
    position: static;
    order: 1;
}

/* header */
.checkout-header { 
    margin-bottom: 20px; 
}

.back-link {
    text-decoration: none; 
    color: #888; 
    font-size: 0.9rem; 
    font-weight: 600;
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 15px; 
    transition: 0.3s;
}

.back-link:hover { 
    color: var(--color-primary-btn); 
}

.checkout-header h1 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin: 0; 
    letter-spacing: -1px; 
}

/* content blocks */
.checkout-block {

    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-block h3 i,
.back-link i {
    color: var(--color-primary-btn);
}

.checkout-block.no-border { 
    border-bottom: none; 
}

.block-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px;
}

.block-header h3 { 
    margin: 0; 
    font-size: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.edit-btn {
    font-size: 0.8rem; 
    font-weight: 700; 
    color: var(--color-primary-btn);
    background: none; 
    border: none; 
    cursor: pointer; 
    text-decoration: underline;
}

/* subscribtion data */
.data-preview-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    background: #f9f9f9;
    padding: 25px; 
    border-radius: 12px;
}

.data-item span { 
    display: block; 
    font-size: 0.75rem; 
    color: #888; 
    margin-bottom: 6px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.data-item strong { 
    font-size: 0.95rem; 
    line-height: 1.5; 
    display: block; 
}

/* Zustellung */
.delivery-options { 
    display: flex; 
    flex-direction: 
    column; gap: 15px; 
}

.delivery-card {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 25px;
    border: 2px solid #f0f0f0; 
    border-radius: 12px; 
    cursor: pointer; 
    transition: 0.3s;
}

.delivery-card input[type="radio"] {
    accent-color: var(--color-primary-btn);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.delivery-card:has(input:checked) {
    border-color: var(--color-primary-btn);
    background: rgba(66, 154, 156, 0.03);
}
.delivery-info { 
    flex: 1; 
}

.d-title { 
    display: block; 
    font-weight: 700; 
    font-size: 1.1rem; 
}

.d-time { 
    font-size: 0.85rem; 
    color: #888; 
    margin-top: 4px; 
    display: block; 
}

.d-price { 
    font-weight: 800; 
    font-size: 1rem; 
}

/* Zeitfenster */
.time-window-preview {
    display: flex; 
    align-items: center; 
    gap: 30px;
    background: #fff; 
    border: 1px solid #f0f0f0; 
    padding: 20px; 
    border-radius: 12px;
}

.window-badge {
    background: #1a1a1a; 
    color: #fff; 
    padding: 15px 25px; 
    border-radius: 10px; 
    text-align: center;
}

.window-badge strong { 
    display: block; 
    font-size: 1rem; 
}

.window-badge span { 
    font-size: 0.8rem; 
    opacity: 0.7; 
}

.exchange-info { 
    font-size: 0.9rem; 
    color: #666; 
    margin: 0; 
    line-height: 1.5; 
    max-width: 320px; 
}

/* SIDEBAR SUMMARY */
.checkout-sidebar { 
    position: sticky; 
    top: 40px; 
}

.summary-card {
    background: #fff; 
    border: 1px solid #f0f0f0; 
    padding: 40px; 
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.summary-card h3 { 
    margin-top: 0; 
    margin-bottom: 30px; 
    font-size: 1.5rem; 
    font-weight: 800; 
}

.miet-status-widget {
    background: #fcfcfc; 
    border: 1px solid #eee; 
    padding: 20px; 
    border-radius: 12px; 
    margin-bottom: 30px;
}

.miet-info { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.85rem; 
    margin-bottom: 12px; 
}

.miet-progress-bar { 
    height: 8px; 
    background: #eee; 
    border-radius: 10px; 
    margin-bottom: 12px; 
    overflow: hidden; 
}

.miet-progress-fill { 
    height: 100%; 
    background: var(--color-primary-btn); 
    transition: width 0.5s ease; 
}

.miet-hint { 
    font-size: 0.75rem; 
    color: #888; 
    margin: 0; 
}

.price-details { 
    margin-bottom: 30px; 
}

.price-row { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.95rem; 
    margin-bottom: 15px; 
}

.price-row span:last-child { 
    font-weight: 700; 
}

.price-row.guthaben span:last-child { 
    color: var(--color-success); 
}

.total-row-main {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end;
    padding-top: 25px; 
    border-top: 2px solid #f0f0f0; 
    margin-bottom: 35px;
}

.total-row-main > span { 
    font-weight: 700; 
    font-size: 1.1rem; 
}

.total-val { 
    display: block; 
    font-size: 2.2rem; 
    font-weight: 900; 
    line-height: 1; 
}

.tax-info { 
    font-size: 0.7rem; 
    color: #aaa; 
    margin-top: 5px; 
    display: block; 
}

.confirm-btn {
    width: 100%;
    padding: 22px;
    background: var(--color-primary-btn);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.3px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.confirm-btn:hover {
    background: #368385;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(66, 154, 156, 0.2);
}

.summary-card h3 {
    font-weight: 700;
    color: var(--color-text);
}

.edit-btn {
    color: var(--color-primary-btn);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    transition: 0.3s;
}

.edit-btn:hover {
    opacity: 1;
    text-decoration: none;
}

.final-legal { 
    font-size: 0.7rem; 
    color: #aaa; 
    text-align: center; 
    margin-top: 20px; 
    line-height: 1.5; 
}

/*============================================================================
===============================================================================*/
/* SWAP SECTION */
.swap-label { 
    background: var(--color-text); 
    color: white !important; 
}

.swap-label .profile-toggle-text span, .swap-label i { 
    color: white !important; 
}

.swap-content-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 0 0 20px 20px;
}

.swap-list { 
    list-style: none; 
    padding: 0; 
    margin: 20px 0; 
}

.swap-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.swap-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.total-info { 
    font-size: 1.2rem; 
    font-weight: 800; 
}

/* SEARCH & CATEGORIES */
.shop-search-bar {
    position: relative;
    margin-bottom: 30px;
}

.shop-search-bar i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-side);
}

.shop-search-bar input {
    width: 100%;
    padding: 18px 18px 18px 50px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--color-card);
    font-size: 1rem;
}

.category-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: none;
}

.cat-item {
    background: var(--color-card);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.cat-item.active {
    background: var(--color-text);
    color: white;
}

/* --- PRODUCT CARDS --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background: var(--color-card);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(66, 154, 156, 0.1);
    color: var(--color-primary-btn);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-img-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-img-box img { 
    max-height: 100%; 
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.price { 
    font-size: 1.2rem; 
    font-weight: 800;
 }

/* cart icon */
.cart-icon { position: relative; }
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-primary-btn);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}


/*============================================================================
===============================================================================*/
/*LOGIN*/

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/login_form_background_mobile.webp') no-repeat center center;
    background-size: cover;
    padding: 20px;
    position: relative;
    font-family: var(--font-body);
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 249, 250, 0.4);
    backdrop-filter: blur(15px);
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
}

/* Główna karta */
.auth-card {
    background: rgba(30, 40, 55, 0.9) !important;
    padding: 40px !important;
    border-radius: 30px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.auth-checkbox { 
    display: none; 
}

.register-form { 
    display: none; 
}

.auth-checkbox:checked ~ .auth-card .login-form { 
    display: none; 
}

.auth-checkbox:checked ~ .auth-card .register-form { 
    display: block; 
    animation: authFadeIn 0.4s ease-out; 
}

@keyframes authFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }

    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.auth-form .input-group {
    margin-bottom: 20px;
}

.auth-form label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form input {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--color-primary-btn);
    background: rgba(255,255,255,0.12);
}

.info-main-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.info-steps-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.info-steps-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.info-steps-list i {
    color: var(--color-primary-btn);
    font-size: 1rem;
}

.auth-switch-text {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.auth-switch-text label {
    color: var(--color-primary-btn);
    cursor: pointer;
    font-weight: 700;
    margin-left: 5px;
}

.auth-switch-text label:hover {
    text-decoration: underline;
}

.btn-shop-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

/*===========================================================================
=============================================================================*/
/* REGISTRATION IN CHECKOUT */

.registration-intro {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.registration-intro p {
    color: var(--color-text-side);
    font-size: 0.95rem;
    line-height: 1.5;
}

.subsection-title {
    font-family: var(--font-header);
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.registration-form-integrated {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.btn-final-checkout {
    margin-top: 30px;
    padding: 20px !important;
    font-size: 1.2rem !important;
    background: var(--color-primary-btn);
    box-shadow: 0 10px 20px rgba(var(--primary-btn-shadow), 0.3);
}

.final-notice {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--color-text-side);
    text-align: center;
}

/*===========================================================================
=============================================================================*/
/* ORDER SUCCESS */
 
.order-success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.success-container {
    text-align: center;
    max-width: 550px;
    width: 100%;
    background: var(--color-card);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.success-icon-wrapper {
    font-size: 4.5rem;
    color: var(--color-success);
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

.success-title {
    font-family: var(--font-header);
    font-size: 2.8rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.success-message {
    font-family: var(--font-body);
    color: var(--color-text-side);
    line-height: 1.6;
    margin-bottom: 30px;
}

.order-info-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 35px;
    border: 1px solid #eee;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-side);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.2rem;
    color: var(--color-text);
}

.success-actions .btn-primary {
    display: inline-block;
    text-decoration: none;
    min-width: 250px;
}

/*===========================================================================
=============================================================================*/
/* 8. MEDIA QUERIES */
 
@media (min-width: 768px) {

    .nav-login {
        gap: 8px;
        color: var(--color-text);
        transition: color 0.3s ease, transform 0.3s ease;
    }
    
    .nav-login:hover {
        color: var(--color-primary-btn);
        transform: translateY(-2px);
    }

    .login-text {
        display: inline; 
        font-size: 1rem;
        font-weight: 500;
        margin-right: 30px;
    }

    .nav-login i {
    margin-left: 30px;
}

    .hero-section {
        min-height: 70vh;
        padding-left: 100px;
        padding-bottom: 50px;
        align-items: flex-end;
        justify-content: flex-start;
        background-position: 70% center;
    }

    .hero-content {
        align-items: flex-start;
        text-align: left;
    }

    .hero-content h1 { 
        font-size: 2rem; 
    }

    .hero-content p { 
        font-size: 1rem; 
        max-width: 550px; 
    }

    .hero-actions {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .hero-actions .btn-primary,
.hero-actions .btn-secondary {
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 320px;
    }

    .hero-actions .btn-primary, 
    .hero-actions .btn-secondary { 
        width: 100%; 
    }

    .container-1300 {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
    
    .checkout-sidebar {
        margin-top: 40px;
    }



    /* Bento Grid tablet - 3 collumns */
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .calc-metrics {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        width: 100%;
        margin-bottom: 30px;
    }

    .metric-card {
        padding: 15px 10px;
    }

    .vol-compare {
        font-size: 1rem;
    }

    .shop-hero { 
        grid-template-columns: 1fr; 
        padding: 30px;
    }

        .welcome-banner { 
        padding: 45px 50px; 
    }
    .user-name { 
        font-size: 3.2rem;
        color: var(--color-primary-btn); 
    }

        .contact-modal-box {
        width: 100%;
        max-width: 550px;
        padding: 45px;
    }

    .input-stack {
        flex-direction: row;
    }

    .input-stack .input-group {
        flex: 1;
    }

    .contact-header h3 {
        font-size: 2rem;
    }

    .chip-content-flex {
        white-space: nowrap;
    }

    .cart-drawer {
        max-width: 450px;
        right: -450px;
    }
}



@media (min-width: 1024px) {

    body {
        padding-top: 80px;
    }

    /* Nav Desktop */

   .hamburger { 
    display: none; 
}

header .main-nav {
        position: static;
        display: flex;
        flex: 1;
        flex-direction: row;
        align-items: center;
        background: transparent;
        box-shadow: none;
        padding-top: 0;
        margin-left: 60px;
        width: auto;
        height: auto;
        right: auto;
    }

    .nav-container {
        padding: 5px 20px;
    }

    .nav-links {
        flex-direction: row !important;
        justify-content: center;
        gap: 25px;
    }

    .nav-links a {
        padding: 10px 0;
        border-bottom: none;
        white-space: nowrap;
    }
    .nav-login {
        gap: 8px;
        color: var(--color-text);
        transition: color 0.3s ease, 
        transform 0.3s ease;
    }
    
    .nav-login:hover {
        color: var(--color-primary-btn);
        transform: translateY(-2px);
    }

    .login-text {

        display: inline; 
        font-size: 1rem;
        font-weight: 500;
    }


    .hero-section {
        padding-left: 250px; 
        min-height: 70vh;
    }


    .hotspot-tooltip { 
        bottom: auto; 
        top: 50%; 
        width: 280px; 
    }

    .hotspot-left .hotspot-tooltip { 
        left: auto; 
        right: 40px; 
        transform: 
        translateY(-50%) 
        translateX(-20px); 
    }

    .hotspot-right .hotspot-tooltip { 
        left: 40px; 
        right: auto; 
        transform: translateY(-50%) 
        translateX(20px); 
    }

    /* Bento Grid Desktop */
    .grid-container {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 0;
        z-index: 1000;
        transition: all 0.4s ease;
    }

    .main-header.scrolled {
        padding: 5px 0;
        background: rgba(248, 249, 250, 0.95);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .main-header.scrolled .logo {
        font-size: 1.2rem;
    }

    header .main-nav {
        position: static;
        display: flex;
        flex: 1;
        flex-direction: row;
        align-items: center;
        background: transparent;
        box-shadow: none;
        padding-top: 0;
        margin-left: 60px;
        width: auto;
        height: auto;
        right: auto;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex: 1;
        gap: 25px;
    }

    .nav-links a {
        display: inline-block;
        padding: 10px 0;
        border-bottom: none;
        font-size: 0.95rem;
        color: var(--color-text-side);
        transition: color 0.3s ease, transform 0.3s ease;
        white-space: nowrap;
    }

    .nav-links a:hover {
        padding-left: 0;
        transform: translateY(-3px);
        color: var(--color-primary-btn);
    }

    .user-action-nav {
        display: flex;
        flex-direction: row;
        padding: 0;
        margin: 0;
        border-top: none;
        width: auto;
        gap: 20px;
    }

    .user-action-nav .icon-link {
        font-size: 1.2rem;
    }

        .nav-btn.btn-secondary {
        padding: 6px 12px !important;
        display: inline-flex;
        align-items: center;
    }

    
    .nav-login i {
    margin-left: 30px;
    }

    /* Hero Desktop */
  
    .hero-section {
        align-items: flex-end; 
        justify-content: flex-start;
        padding-left: 250px;
        padding-bottom: 50px;
        min-height: 70vh;
    }

    .hero-container {
        align-items: flex-start; 
        margin-left: 0;
        gap: 0; 
    }

    .hero-content {
        align-items: flex-start;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 3rem; 
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 40px; 
        max-width: 650px; 
    }

    .hero-actions {
        flex-direction: row; 
        max-width: none; 
        gap: 20px; 
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: auto; 
    }

    .hero-zeichen {
        font-size: 0.85rem; 
        margin-bottom: 30px;
        padding: 8px 18px;
    }


    /* Slider Desktop (Grid 2/3 i 1/3) */

    .slider-section-wrapper {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }

    .slider-wrapper {
        grid-template-columns: 2fr 1fr; 
        align-items: center;
        gap: 0 50px; 
    }

    .slider-wrapper h2 {
        grid-column: 1 / -1; 
        text-align: left;
        margin-bottom: 40px;
    }

    .space-slider {
        max-width: none; 
        width: 100%; 
        margin: 0;
    }

    .slider-text {
        text-align: left;
    }

    .slider-text p {
        margin: 0;
    }

    /* Hotspot Desktop */
    .hotspot-tooltip {
        bottom: auto;
        top: 50%; 
        width: 280px;
        text-align: left;
    }

    .hotspot-left .hotspot-tooltip {
        left: auto;
        right: 40px;
        transform: translateY(-50%) translateX(-20px);
    }

    .hotspot-left .hotspot-checkbox:checked ~ .hotspot-tooltip {
        transform: translateY(-50%) translateX(0);
    }

    .hotspot-right .hotspot-tooltip {
        left: 40px;
        right: auto;
        transform: translateY(-50%) translateX(20px);
    }

    .hotspot-right .hotspot-checkbox:checked ~ .hotspot-tooltip {
        transform: translateY(-50%) translateX(0);
    }

    .system-grid {
        gap: 120px;
    }

    .system-row {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }

    .system-row.reverse {
        flex-direction: row-reverse;
    }

    .system-image {
        order: 0;
        flex: 1;
    }

    .system-text {
        flex: 1;
        padding: 0;
    }

    .system-image img {
        aspect-ratio: 1 / 1;
        transition: transform 0.5s ease;
    }

    .system-row:hover .system-image img {
        transform: scale(1.03);
    }

    .bg-number {
        top: -60px;
        left: -30px;
        font-size: 12rem;
    }

    .step-title {
        font-size: 2rem;
    }

    .calc-glass-panel {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        grid-template-areas: 
            "slider result"
            "metrics metrics"  
            "button button";   
        gap: 40px 60px; 
        align-items: center; 
        padding: 50px 60px; 
    }

    .slider-group { 
        grid-area: slider; 
        margin-bottom: 0; 
    }

    .calc-main-result { 
        grid-area: result; 
        margin-bottom: 0; 
    }

    .calc-metrics { 
        grid-area: metrics; 
        margin-bottom: 0; 
        padding-top: 10px; 
        border-top: 1px solid rgba(0,0,0,0.05);
        grid-template-columns: repeat(3, 1fr);
    }

    .calc-cta-btn { 
        grid-area: button; 
        width: 100%; 
        max-width: 350px; 
        margin: 10px auto 0 auto; 
    }

    .calc-glass-panel { 
        padding: 25px 20px; 
    }


    .slider-group label { 
        text-align: left; 
        font-size: 1.2rem; 
    }

    .slider-wrapper { 
        margin-bottom: 20px; 
    }

    .slider-value-display { 
        text-align: left; 
    }

    .abo-bento-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px; 
    }

    .visual-bento-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .visual-card {
        min-height: 450px;
    }

    .card-bottom h3 {
        font-size: 1.8rem;
    }

    .cta-bento-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 50px 80px;
    }

    .cta-bento-text {
        flex: 1;
        padding-right: 60px;
    }

    .cta-buttons {
        flex-shrink: 0;
        align-items: flex-end;
    }

    .cta-bento-box {
        flex-direction: row; 
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 50px 80px; 
    }
    .cta-bento-text { 
        flex: 1; 
        padding-right: 60px; 
    }
    .cta-buttons { 
        flex-shrink: 0; 
        align-items: flex-end; 
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }


    .abo-section { padding: 100px 20px; }
    .visual-bento-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
    .visual-card { min-height: 400px; }

    .auth-page {
        background-image: url('../images/login_form_background02.webp');
    }

     .db-section { 
        padding: 60px 40px; 
    }
    
    .hmi-grid { 
        grid-template-columns: repeat(2, 1fr); gap: 24px; 
    }

    .hmi-card:nth-child(3) { 
        grid-column: span 2; 
    }

        .db-section { 
        padding: 80px 20px; 
    }
    
    .hmi-grid { 
        grid-template-columns: repeat(3, 1fr); gap: 30px; 
    }

    .hmi-card:nth-child(3) { 
        grid-column: span 1; 
    }

        .container-1300 {
        margin: 70px auto 0 !important;
        display: block;
    }

    .checkout-grid {
        display: grid;
        grid-template-columns: 1fr 420px;
        gap: 80px;
        align-items: start;
        padding: 60px 0;
    }

    .checkout-main {
        width: 100%;
    }

    .data-preview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-sidebar {
        position: sticky;
        top: 100px;
        order: 2;
    }

    .checkout-header h1 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .shop-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .search-wrapper {
        max-width: 400px;
    }

    .hmi-inner-layout { 
        flex-direction: row; 
        justify-content: center; 
        gap: 100px; 
    }

    .hmi-explanation { 
        text-align: left; 
    }

    .shop-header-fix {
        position: relative;
        text-align: left !important;
        align-items: flex-start !important;
        padding-right: 50px;
    }

    .shop-header-fix h1 {
        font-size: 2.2rem;
        max-width: 900px;
        margin-top: 20px;
    }

    .shop-header-fix p {
        text-align: left !important;
        margin-left: 0 !important;
        max-width: 700px !important;
        font-size: 1rem !important;
    }

    .intro-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        flex-direction: row;
        gap: 80px;
        align-items: start;
    }

    .intro-product-card {
        position: sticky;
        top: 100px;
        margin-top: -180px;
        z-index: 10;
    }

    /* Prozess desktop */
    .process-steps {
        display: block;
        margin-top: 50px;
        background: #f8f9fa;
        padding: 30px;
        border-radius: 12px;
    }

    .process-title {
        display: block;
        font-weight: 800;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: var(--color-text-side);
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .steps-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        font-size: 0.9rem;
    }

    .step span {
        background: var(--color-text);
        color: white;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }
}

    @media (hover: hover) {
        .visual-card:hover .card-overlay {
            background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.4) 100%);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }

        .visual-card:hover::before {
            transform: scale(1.05);
        }

        .visual-card:hover .expand-btn {
            transform: rotate(45deg);
            background: var(--color-primary-btn);
            color: #fff;
        }

        .visual-card:hover .card-hidden-text {
            max-height: 300px;
            opacity: 1;
            transform: translateY(0);
        }

            .visual-card:hover .card-hidden-text { 
        max-height: 300px; 
        opacity: 1; 
        transform: translateY(0); 
        }

    .visual-card:hover .expand-btn { 
        transform: rotate(45deg); 
        background: var(--color-primary-btn); 
        color: #fff; 
    }

    .welcome-banner {
        height: 60vh;
        display: flex;
        align-items: flex-end;
        padding: 0 0 40px 0;
        background-image: linear-gradient(to top right, rgba(255, 255, 255, 0.945) 35%, rgba(255,255,255,0) 60%), url('../images/willkommen-bg.webp');
        margin-top: 5px;
    }
    
    .welcome-content { 
        width: 100%; 
        display: flex; 
        flex-direction: column; 
        justify-content: flex-end; 
        align-items: flex-start;
        margin-left: 350px;
    }
    
    .user-name { 
        margin-bottom: 0; 
    }

    /* Kontakt hero */
    .contact-actions { 
        margin-top: 75px;
        border: none; 
        padding: 0; 
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 8px;
    }

    .phone-link {

        margin: 0;
        display: block;
    }

    .btn-text {
        margin-top: 4px;
        padding: 0;
    }
    }


/* CSS ROUTING für ABHOLUNG MODAL */

.action-link-swap, 
.action-link-shop, 
.action-link-nur {
    display: none !important; 
}

#abholungForm:has(input[value="swap"]:checked) .action-link-swap {
    display: flex !important;
}

#abholungForm:has(input[value="shop"]:checked) .action-link-shop {
    display: flex !important;
}

#abholungForm:has(input[value="nur-abholung"]:checked) .action-link-nur {
    display: flex !important;
}



/* ===== Lokale Bibliotheken ===== */
/* Font Awesome 7 macht Icons standardmäßig 1,25em breit; der Prototyp ist mit natürlicher Breite (wie Version 6) gestaltet. */
:root { --fa-width: auto; }
/* Scroll-Animation (ersetzt die frühere AOS-Bibliothek, siehe js/my-library.js) */
.reveal-ready [data-aos] { opacity: 0; transition: opacity .8s ease-out var(--reveal-delay, 0ms), transform .8s ease-out var(--reveal-delay, 0ms); }
.reveal-ready [data-aos="fade-up"] { transform: translate3d(0, 100px, 0); }
.reveal-ready [data-aos="fade-right"] { transform: translate3d(-100px, 0, 0); }
.reveal-ready [data-aos].aos-animate { opacity: 1; transform: none; }


/* ===== Konzeptprojekt: Hinweise ===== */
body::after {
    content: 'Konzept-Prototyp · fiktives Angebot';
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 900;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(45, 49, 66, 0.88);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.04em;
    pointer-events: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.legal-concept-note {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-left: 3px solid var(--color-warning);
    border-radius: 0 10px 10px 0;
    background: rgba(242, 187, 92, 0.14);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
}

.proto-note {
    margin: 18px auto 0;
    max-width: 420px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-side);
}

/* ===== Dashboard-Bento: Spar-Ziel-Kachel an die anderen Kacheln angleichen =====
   Die Kachel hatte doppeltes Padding (.hmi-card und die innere Ansicht), weil die spätere
   .hmi-card-Regel das padding:0 von .goal-card-container überschrieb. Dadurch saßen Label,
   Icon, Text und Button ca. 31 px zu tief bzw. zu hoch. */
.hmi-card.goal-card-container {
    padding: 0;
}
/* Leerzustand: 2px gestrichelter Rahmen statt 1px, deshalb innen 1px weniger Padding,
   damit Label, Visual und Button exakt auf einer Linie mit den Nachbarkacheln liegen. */
#state-goal-empty:checked ~ main .goal-view-empty {
    padding: 29px 24px;
}
