/**
 * DACOR Shop Flow - Styles
 *
 * Modern 3-Module System with smooth animations
 *
 * @package DACOR_Shop
 * @version 1.0.0
 */

/* ================================================
   0. FONTS
   ================================================ */

/* Material Symbols Sharp - lokal gehostet für DSGVO */
@font-face {
    font-family: 'Material Symbols Sharp';
    font-style: normal;
    font-weight: 100 700;
    font-display: block;
    src: url('../fonts/MaterialSymbolsSharp.ttf') format('truetype');
}

/* Material Symbols Sharp Icon Class */
.material-symbols-sharp,
.material-icons {
    font-family: 'Material Symbols Sharp', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    vertical-align: middle;
}

/* Icon size variants */
.material-symbols-sharp.md-18,
.material-icons.md-18 { font-size: 18px; }
.material-symbols-sharp.md-20,
.material-icons.md-20 { font-size: 20px; }
.material-symbols-sharp.md-24,
.material-icons.md-24 { font-size: 24px; }
.material-symbols-sharp.md-36,
.material-icons.md-36 { font-size: 36px; }
.material-symbols-sharp.md-48,
.material-icons.md-48 { font-size: 48px; }

/* Filled variant */
.material-symbols-sharp.filled,
.material-icons.filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Source Sans 3 - lokal gehostet für DSGVO */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/SourceSans3-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/SourceSans3-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/SourceSans3-ExtraBold.woff2') format('woff2');
}

/* ================================================
   1. VARIABLES & RESET
   ================================================ */

:root {
    --dacor-primary: #84b414;
    --dacor-primary-dark: #5e7f11;
    --dacor-secondary: #6c757d;
    --dacor-success: #28a745;
    --dacor-error: #dc3545;
    --dacor-warning: #ffc107;
    --dacor-info: #17a2b8;
    --dacor-blue: #3666B1;

    --dacor-text: #333;
    --dacor-text-light: #666;
    --dacor-text-muted: #999;

    --dacor-border: #ddd;
    --dacor-bg-light: #f9f9f9;
    --dacor-bg-dark: #f0f0f0;

    --dacor-radius: 0;
    --dacor-radius-sm: 0;
    --dacor-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --dacor-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);

    --dacor-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --dacor-transition-fast: 0.2s ease;

    --dacor-font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Prevent horizontal scroll */
body:has(.dacor-shop-flow-wrapper) {
    overflow-x: hidden;
}

/* ================================================
   2. WRAPPER & LAYOUT
   ================================================ */

/* Remove WordPress theme padding for full-width module */
.has-global-padding:has(.dacor-shop-flow-wrapper),
.has-global-padding > .dacor-shop-flow-wrapper,
.has-global-padding .dacor-shop-flow-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Override WordPress Block Theme constraints on parent containers */
.entry-content:has(.dacor-shop-flow-wrapper),
.wp-block-post-content:has(.dacor-shop-flow-wrapper),
.wp-block-group:has(.dacor-shop-flow-wrapper) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wp-block-post-content .dacor-shop-flow-wrapper,
.entry-content .dacor-shop-flow-wrapper {
    max-width: none !important;
}

.dacor-shop-flow-wrapper {
    font-family: var(--dacor-font-family);
    color: var(--dacor-text);
    overflow-x: hidden;
    max-width: 100%;
}

/* Full-width container for top module */
.dacor-modules-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 30px;
}

/* Constrained container for middle/bottom modules */
.dacor-modules-constrained {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dacor-modules-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ================================================
   3. MODULES
   ================================================ */

.dacor-module {
    background: #fff;
    border-radius: var(--dacor-radius);
    padding: 0px;
    transition: opacity var(--dacor-transition);
    opacity: 1;
    border: none; 
    cursor: default;
}

.dacor-module.transitioning {
    opacity: 0;
}

.dacor-module-content {
    max-width: 100%;
}

/* Center content in full-width top module */
.dacor-module-top .dacor-module-content {
    width: 100%;
    max-width: 1099px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 40px;
    padding-top: 46px;
    position: relative;
}

.dacor-module h2,
.dacor-module h3 {
    margin-top: 0;
    color: var(--dacor-text);
}

.dacor-module h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.dacor-module h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.dacor-module p.subtitle {
    color: var(--dacor-text-light);
    font-size: 16px;
    margin-bottom: 20px;
}

/* Module Heights */
.dacor-module-top {
    height: 244px;
    max-height: 244px;
    background: radial-gradient(
        61.24% 61.21% at 50.98% 50.3%,
        #FFEC01 0%,
        #FCBD00 100%
    );
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 0;
    position: relative;
    overflow: visible;
}

/* Images - positioned relative to centered 1099px container */
.globe-image {
    position: absolute;
    left: calc((100vw - 1099px) / 2 - 300px);
    bottom: 80px;
    z-index: 5;
    pointer-events: none;
    height: 200px;
    width: auto;
    opacity: 20%;
}

/* DACOR Mann mit Lupe Image - positioned within module-top */
.dacor-man-image {
    position: absolute;
    left: calc((100vw - 1099px) / 2 - 280px);
    bottom: -212px;
    z-index: 5;
    pointer-events: none;
    height: auto;
    width: 580px;
}

/* Availability Check Badge (wie Preis-Badge) */
.availability-check-badge {
    position: absolute;
    top: 45px;
    left: 100px;
    transform: rotate(-8deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #CC0071;
    color: #fff;
    width: 280px;
    height: 48px;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 4;
    pointer-events: none;
}

/* Form positioning in Module 1 */
.dacor-module-top .dacor-form {
    margin-top: 92px;
    margin-right: 0;
    margin-left: auto;
}

/* Move button higher in Module 1 */
.dacor-module-top .dacor-form .dacor-form-group-button {
    position: relative;
    top: -23px;
}

.dacor-module-top .dacor-form .dacor-input {
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #3666B1;
    background: white;
}

/* Labels in Module 1 - PLZ, Ort, Straße, Nr. */
.dacor-module-top .dacor-form label {
    font-weight: 400;
    font-size: 16px;
    color: #3666B1;
}

.dacor-module-top .dacor-form .dacor-btn {
    border-radius: 0;
    border: none;
    background: var(--dacor-primary);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.dacor-module-middle {
    min-height: 400px;
    margin-top: 40px;
}

.dacor-module-middle:empty {
    min-height: 0;
    margin-top: 0;
}

/* Module 2 Text Alignment */
.dacor-module-middle h3,
.dacor-module-middle .subtitle {
    max-width: 1099px;
    margin-left: auto;
    margin-right: auto;
}

.dacor-module-bottom {
    min-height: 150px;
}



/* ================================================
   5. SUCCESS BANNER (Step 2+)
   ================================================ */

.dacor-success-banner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #84b414;
    border-radius: var(--dacor-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.dacor-success-banner .check-icon {
    flex-shrink: 0;
}

.dacor-success-banner .banner-content {
    flex: 1;
}

.dacor-success-banner h3 {
    color: #155724;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.dacor-success-banner .address-display {
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: var(--dacor-radius-sm);
    font-size: 15px;
    color: var(--dacor-text);
}

.dacor-success-banner .address-display strong {
    color: var(--dacor-primary-dark);
}

.dacor-btn-change-address {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dacor-success-banner-new {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.dacor-success-banner-new .address-main {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-align: left;
}

.dacor-success-banner-new .welcome-text {
    font-size: 16px;
    color: #555;
    margin: 0 0 25px 0;
    line-height: 1.6;
    text-align: left;
}

.dacor-success-banner-new .dacor-btn-change-address {
    background: #84b414;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--dacor-radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all var(--dacor-transition-fast);
    margin-top: 0;
}

.dacor-success-banner-new .dacor-btn-change-address:hover {
    background: #739912;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(132, 180, 20, 0.3);
}

/* ================================================
   6. CAROUSEL
   ================================================ */

.dacor-carousel {
    position: relative;
    margin: 30px 0;
}

.carousel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1099px;
    margin: 0 auto;
    padding: 40px 25px 25px 25px;
    margin-top: -40px;
    margin-bottom: -25px;
    box-sizing: content-box;
}

.carousel-track {
    display: flex;
    gap: 59px;
    transition: transform var(--dacor-transition);
    will-change: transform;
    align-items: stretch;
}

.carousel-track.no-transition {
    transition: none;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: var(--dacor-blue);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
    padding: 0;
    outline: none;
}

.carousel-nav:focus {
    outline: none;
    box-shadow: none;
}

.carousel-nav .material-symbols-sharp {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    -webkit-text-stroke: 1px #fff;
}

.carousel-nav:disabled {
    cursor: not-allowed;
    background: #E8E8E8;
}

.carousel-nav:disabled .material-symbols-sharp {
    color: #fff;
}

.carousel-prev {
    left: 50%;
    margin-left: calc(-1099px / 2 - 80px);
}

.carousel-next {
    left: 50%;
    margin-left: calc(1099px / 2 + 80px);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dacor-border);
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.carousel-indicators .indicator.active {
    background: var(--dacor-primary);
    transform: scale(1.3);
}

.carousel-indicators .indicator:hover {
    background: var(--dacor-primary-dark);
}

/* Carousel Hint */
.carousel-hint {
    text-align: center;
    color: var(--dacor-text-light);
    font-size: 14px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dragging State */
.dacor-carousel.dragging {
    cursor: grabbing !important;
}

.dacor-carousel.dragging * {
    cursor: grabbing !important;
    user-select: none;
}

/* ================================================
   7. TARIF CARDS 
   ================================================ */

.dacor-tarif-card {
    background: #fff;
    border: none;
    border-radius: var(--dacor-radius);
    height: 570px;
    display: flex;
    flex-direction: column;
    transition: all var(--dacor-transition-fast);
    position: relative;
    cursor: default;
    box-sizing: border-box;
    overflow: visible;
    margin-top: 30px;
    flex-shrink: 0;
    width: 327px;
    max-width: 327px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
}

.dacor-tarif-card.recommended {
    border: 2px solid #CC0071;
    border-radius: 0;
}

.dacor-tarif-card.selectable {
    cursor: pointer;
}

.dacor-tarif-card.selectable:hover {
    transform: translateY(-5px);
    outline: 2px solid var(--dacor-primary);
    outline-offset: -2px;
}

/* Section 1: Vertragstyp Header */
.tarif-section-1 {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: #84B314;
    overflow: visible;
    position: relative;
}

.tarif-type-label {
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.tarif-type-label.glasfaser {
    color: #fff;
}

.tarif-type-label.kabel {
    color: #fff;
}

.tarif-type-label.dsl {
    color: #fff;
}

.tarif-price-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: #CC0071;
    color: #fff;
    padding: 6px 8px;
    transform: rotate(-8deg) translateY(-25px);
}

.offer-month-badge {
    position: absolute;
    top: -10px;
    left: 0;
    transform: translateX(10%);
    background: #84B314;
    color: #fff;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
    z-index: 1;
}

.price-amount {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.price-currency {
    font-size: 40px;
    color: #fff;
    line-height: 1;
}

.price-currency .price-asterisk {
    font-size: 18px;
    vertical-align: super;
}

.price-period {
    font-size: 11px;
    color: #fff;
    opacity: 0.9;
}

/* Section 2: Tarif Name & Speed (172px) */
.tarif-section-2 {
    height: 172px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px 20px;
    border-bottom: 1px solid var(--dacor-border);
    background: radial-gradient(61.24% 61.21% at 50.98% 50.3%, #FFEC01 0%, #FCBD00 100%);
    position: relative;
    box-sizing: border-box;
}

/* Unsere Empfehlung Badge - in Section 2, 70% gelb / 30% weiß, gedreht wie Preis-Badge */
.tarif-recommendation-badge {
    position: absolute;
    bottom: -28px;
    right: 15px;
    transform: rotate(-8deg);
    z-index: 10;
}

.recommendation-dot {
    width: 94px;
    height: 94px;
    background: #CC0071;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.recommendation-text {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
}

.tarif-name {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 25px 0;
    color: #333;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tarif Icons vor dem Tarifnamen */
.tarif-icons {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.tarif-icons .material-symbols-sharp {
    font-size: 20px;
    color: #000;
}

.tarif-speed-download {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dacor-blue);
    line-height: 1;
    margin: 0;
}

.tarif-speed-unit {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dacor-blue);
    line-height: 1;
    margin-left: 5px;
}

.tarif-speed-upload {
    color: var(--dacor-blue);
    margin-top: 4px;
    line-height: 1;
}

.upload-speed-value {
    font-size: 1.5625rem;
    font-weight: 700;
}

.upload-speed-unit {
    font-size: 1.5625rem;
    font-weight: 600;
}

.upload-label {
    font-size: 0.875rem;
    font-weight: 300;
    margin-left: 5px;
}

/* Section 3: Details (Teil von restlichen 354px) */
.tarif-section-3 {
    padding: 15px 20px;
    background: #fff;
    flex-shrink: 0;
}

.tarif-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tarif-details li {
    font-size: 16px;
    color: var(--dacor-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Detail Arrow Icon */
.tarif-details li .detail-arrow {
    color: var(--dacor-blue);
    font-size: 22px;
    flex-shrink: 0;
}

/* Powerkombi Detail Item - zweizeilig mit zentriertem Icon */
.tarif-details li:has(.powerkombi-link) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tarif-details li:has(.powerkombi-link) .detail-arrow {
    flex-shrink: 0;
    align-self: center;
}

/* Powerkombi Content Container */
.tarif-details .powerkombi-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tarif-details .powerkombi-text {
    line-height: 1.4;
}

/* Powerkombi Link in Details */
.tarif-details .powerkombi-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--dacor-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    transition: color var(--dacor-transition-fast);
}

.tarif-details .powerkombi-link .material-symbols-sharp {
    font-size: 16px;
    vertical-align: middle;
}

.tarif-details .powerkombi-link:hover {
    color: var(--dacor-blue);
    text-decoration: none;
}

/* PIB Link  */
.tarif-pib-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--dacor-blue);
    text-decoration: none;
    font-size: 16px;
    margin-top: 8px;
    padding-top: 8px;
    transition: color var(--dacor-transition-fast);
    text-align: left;
}

.tarif-pib-link::before {
    content: "description";
    font-family: "Material Symbols Sharp";
    font-size: 18px;
    color: var(--dacor-blue);
}

.tarif-pib-link:hover {
    color: var(--dacor-blue);
    text-decoration: none;
}

.tarif-pib-link.disabled {
    color: #999;
    pointer-events: none;
    opacity: 0.5;
}

/* Section 5: Action Button  */
.tarif-section-5 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: auto;
    background: #fff;
}

.tarif-action-btn {
    width: 271px;
    height: 43px;
    border: none;
    border-radius: var(--dacor-radius-sm);
    background: var(--dacor-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tarif-action-btn:hover {
    background: var(--dacor-primary-dark);
    transform: translateY(-2px);
}

.tarif-action-btn:active {
    transform: translateY(0);
}

.tarif-action-btn:disabled {
    background: var(--dacor-border);
    cursor: not-allowed;
    transform: none;
}

/* Hot Tarif Badge */
.hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
}

/* ================================================
   8. SELECTION SUMMARY (Steps 3+)
   ================================================ */

.dacor-selection-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-item {
    background: transparent;
    border: none;
    overflow: visible;
    transition: all var(--dacor-transition);
}

.summary-item.collapsed .summary-content {
    display: none;
}


.summary-item.collapsed.expanded .summary-content {
    display: block;
}

.summary-header {
    display: flex;
    align-items: baseline;
    gap: 0;
    padding: 0 0 10px 0;
    cursor: pointer;
    background: transparent;
    transition: all var(--dacor-transition-fast);
}


.summary-item.always-open .summary-header {
    cursor: default;
}

.summary-item.collapsed .summary-header:hover {
    opacity: 0.7;
}

/* Step number - just text, no background, no border */
.summary-header .step-number {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: var(--dacor-blue);
    font-weight: 700;
    font-size: 18px;
    margin-right: 2px;
}

.summary-header h4 {
    flex: 0 0 auto;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dacor-blue);
    text-transform: uppercase;
}

/* Tarif name suffix after "Ihr Wunschtarif" */
.summary-header .tarif-name-suffix {
    flex: 1;
    margin-left: 8px;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: #000;
}

.summary-item.collapsed .summary-header .step-number,
.summary-item.collapsed .summary-header h4 {
    color: var(--dacor-text-muted);
}

.summary-item.collapsed.expanded .summary-header .step-number,
.summary-item.collapsed.expanded .summary-header h4 {
    color: var(--dacor-blue);
}

.summary-header .check-icon {
    display: none;
}

.summary-header .chevron {
    flex-shrink: 0;
    transition: transform var(--dacor-transition-fast);
    color: var(--dacor-text-muted);
    margin-left: 10px;
}

.summary-item.collapsed .summary-header .chevron {
    transform: rotate(-90deg);
}

.summary-item.collapsed.expanded .summary-header .chevron {
    transform: rotate(0deg);
}

/* Summary Content */
.summary-content {
    padding: 10px 0;
    padding-top: 20px;
    background: transparent;
    overflow: visible;
}

/* Selection Step (for bottom module) */
.dacor-selection-step {
    padding: 0;
}

.dacor-selection-step .step-header {
    display: flex;
    align-items: baseline;
    gap: 0;
    padding: 0 0 15px 0;
    margin-bottom: 20px;
}

.dacor-selection-step .step-header .step-number {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: var(--dacor-blue);
    font-weight: 700;
    font-size: 18px;
    margin-right: 2px;
}

.dacor-selection-step .step-header h3 {
    flex: 0 0 auto;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dacor-blue);
    text-transform: uppercase;
}

.dacor-selection-step .step-header .required-badge,
.dacor-selection-step .step-header .optional-badge {
    font-size: 12px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid var(--dacor-border);
    color: var(--dacor-text-muted);
    margin-left: 15px;
}

/* ================================================
   9. TARIF SUMMARY CARD
   ================================================ */

/* Tarif Summary Card - horizontal layout like split tarif card */
.tarif-summary-card {
    display: flex;
    border: none;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
    overflow: visible;
    margin-top: 15px;
    /* Match modem grid width: 3 cards * 340px + 2 gaps * 20px = 1060px */
    max-width: 1060px;
    width: 100%;
}

.tarif-summary-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.tarif-summary-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--dacor-border);
}

/* Left side sections */
.tarif-summary-left .tarif-section-1 {
    height: 44px;
    overflow: visible;
}

.tarif-summary-left .tarif-section-2 {
    flex: 1;
    height: auto;
    min-height: 120px;
}

/* Right side sections */
.tarif-summary-right .tarif-section-3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tarif-summary-right .tarif-section-5 {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid var(--dacor-border);
}

/* Change Tarif Button - green like Glasfaser */
.btn-change-tarif {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: var(--dacor-primary);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.btn-change-tarif:hover {
    background: var(--dacor-primary-dark);
}

.btn-change-tarif svg {
    flex-shrink: 0;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .tarif-summary-card {
        flex-direction: column;
    }

    .tarif-summary-right {
        border-left: none;
        border-top: 1px solid var(--dacor-border);
    }
}

/* Modem Summary Card */
.modem-summary-card {
    background: transparent;
    border: none;
    padding: 0;
}

.summary-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.summary-card-header h4 {
    margin: 0;
    font-size: 18px;
    color: var(--dacor-text);
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--dacor-border);
    border-radius: var(--dacor-radius-sm);
    color: var(--dacor-text-light);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.btn-edit:hover {
    background: var(--dacor-bg-dark);
    color: var(--dacor-text);
}

.summary-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-row strong {
    color: var(--dacor-primary);
    font-size: 18px;
}

/* ================================================
   10. MODEM CARDS
   ================================================ */

.dacor-modem-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: flex-start;
    /* Max width: 3 cards * 340px + 2 gaps * 20px = 1060px */
    max-width: 1060px;
}

/* Modem card styles moved to section 18 below */

.modem-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: var(--dacor-bg-light);
    border-radius: var(--dacor-radius-sm);
}

.modem-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modem-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--dacor-text);
}

.modem-specs {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.modem-specs li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--dacor-text-light);
}

.modem-specs li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--dacor-primary);
}

.modem-price {
    margin: 15px 0;
    padding: 12px;
    background: var(--dacor-bg-light);
    border-radius: var(--dacor-radius-sm);
}

.modem-price strong {
    display: block;
    font-size: 20px;
    color: var(--dacor-primary);
}

.modem-price span {
    font-size: 13px;
    color: var(--dacor-text-light);
}

/* ================================================
   11. RADIO CARDS & OPTION CARDS
   ================================================ */

/* Legacy wechseltyp-options (for backwards compatibility) */
.wechseltyp-options,
.dacor-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    gap: 20px;
    margin: 30px 0;
    justify-content: flex-start;
    /* Match modem grid width */
    max-width: 1060px;
}

/* ================================================
   NEW WECHSELTYP DESIGN (Anbieterwechsel/Telefon)
   ================================================ */

.wechseltyp-intro {
    margin-bottom: 30px;
    /* Match modem grid width */
    max-width: 1060px;
}

.wechseltyp-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dacor-text);
    margin: 0 0 15px 0;
}

.wechseltyp-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    /* Match modem grid width */
    max-width: 1060px;
}

.wechseltyp-btn {
    flex: 1;
    min-width: 150px;
    cursor: pointer;
}

/* Different flex values for button widths */
.wechseltyp-btn:nth-child(1) {
    flex: 2;  /* ANBIETERWECHSEL - widest */
}

.wechseltyp-btn:nth-child(2) {
    flex: 1.5;  /* NEUANSCHLUSS - medium */
}

.wechseltyp-btn:nth-child(3) {
    flex: 0.8;  /* KEINE RUFNUMMERN - narrow */
    min-width: 180px;
}

.wechseltyp-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wechseltyp-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: 2px solid var(--dacor-primary);
    background: #fff;
    color: var(--dacor-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
    transition: all var(--dacor-transition-fast);
    white-space: nowrap;
}

.wechseltyp-btn-content span {
    flex: 1;
}

.wechseltyp-btn-content svg {
    flex-shrink: 0;
}

.wechseltyp-btn:hover .wechseltyp-btn-content {
    background: rgba(132, 180, 20, 0.1);
}

/* Selected state */
.wechseltyp-btn input:checked + .wechseltyp-btn-content {
    background: var(--dacor-primary);
    color: #fff;
}

/* Rufnummern Info Box */
.wechseltyp-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--dacor-border);
}

.wechseltyp-info p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dacor-text);
    margin: 0 0 15px 0;
}

.wechseltyp-info p strong {
    color: var(--dacor-text);
    font-weight: 700;
}

/* Rufnummern Select */
.rufnummern-select-wrapper {
    margin-top: 25px;
}

.rufnummern-select-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dacor-primary);
    margin-bottom: 8px;
}

.dacor-select {
    width: 250px;
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid var(--dacor-primary);
    background: #fff;
    color: var(--dacor-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2384b414' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.dacor-select:focus {
    outline: none;
    border-bottom-color: var(--dacor-primary-dark);
}

/* Portierung Section - matching Kundendaten form style */
.portierung-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--dacor-border);
}

.portierung-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dacor-text);
    margin: 0 0 20px 0;
}

.portierung-section .form-row-2col {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.portierung-section .form-row-2col .form-label {
    flex: 0 0 200px;
    padding-top: 12px;
    font-size: 14px;
    color: var(--dacor-text);
}

.portierung-section .form-row-2col .form-input-wrapper {
    flex: 1;
    max-width: 400px;
}

.portierung-section .dacor-input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--dacor-primary);
    background: transparent;
    font-size: 15px;
    color: var(--dacor-text);
    font-family: var(--dacor-font-family);
    box-sizing: border-box;
}

.portierung-section .dacor-input:focus {
    outline: none;
    border-bottom-color: var(--dacor-primary-dark);
}

.portierung-section .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.portierung-section .checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dacor-primary);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.portierung-section .checkbox-wrapper label {
    font-size: 14px;
    color: var(--dacor-text);
    cursor: pointer;
    line-height: 1.5;
}

.portierung-section .dacor-error {
    display: block;
    font-size: 12px;
    color: var(--dacor-error);
    margin-top: 3px;
}

/* Portierung Subsections */
.portierung-section h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dacor-primary);
    margin: 25px 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--dacor-border);
}

.portierung-section .form-hint {
    font-size: 13px;
    color: var(--dacor-text-light);
    margin: 0 0 15px 0;
    line-height: 1.5;
}

/* Portierung Address Section */
.portierung-adresse-section,
.portierung-rufnummern-section,
.portierung-kuendigung-section {
    margin-top: 20px;
}

/* 3-Column Layout for Address */
.portierung-section .form-row-3col {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.portierung-section .form-row-3col .form-col {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portierung-section .form-row-3col .form-label {
    font-size: 14px;
    color: var(--dacor-text);
    margin-bottom: 5px;
}

/* Rufnummer Row Layout */
.rufnummer-row {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(132, 180, 20, 0.03);
    border-radius: 4px;
}

.form-row-rufnummer {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.form-row-rufnummer .form-col {
    display: flex;
    flex-direction: column;
}

.form-row-rufnummer .form-label {
    font-size: 13px;
    color: var(--dacor-text-light);
    margin-bottom: 5px;
}

.rufnummer-actions {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.btn-remove-rufnummer {
    background: none;
    border: none;
    color: var(--dacor-error);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--dacor-transition-fast);
}

.btn-remove-rufnummer:hover {
    color: #c0392b;
}

#btn-add-rufnummer {
    margin-top: 10px;
}

/* Radio Group Inline */
.radio-group-inline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-group-inline .radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-group-inline .radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dacor-primary);
    cursor: pointer;
}

.radio-group-inline .radio-option span {
    font-size: 14px;
    color: var(--dacor-text);
}

/* Portierung Kündigung Checkbox mit Details */
.portierung-kuendigung-section .checkbox-wrapper label small {
    display: block;
    font-size: 12px;
    color: var(--dacor-text-light);
    margin-top: 3px;
}

/* Select Dropdown im Portierung */
.portierung-section .dacor-select {
    width: 100%;
    padding: 10px 30px 10px 0;
    border: none;
    border-bottom: 1px solid var(--dacor-primary);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2384b414' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right center;
    font-size: 15px;
    color: var(--dacor-text);
    font-family: var(--dacor-font-family);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.portierung-section .dacor-select:focus {
    outline: none;
    border-bottom-color: var(--dacor-primary-dark);
}

/* Mobile: stack Portierung fields */
@media (max-width: 768px) {
    .portierung-section .form-row-2col {
        flex-direction: column;
        gap: 5px;
    }

    .portierung-section .form-row-2col .form-label {
        flex: none;
        padding-top: 0;
        font-weight: 600;
    }

    .portierung-section .form-row-2col .form-input-wrapper {
        max-width: 100%;
    }

    /* Mobile: Stack 3-column layout */
    .portierung-section .form-row-3col {
        flex-direction: column;
        gap: 10px;
    }

    .portierung-section .form-row-3col .form-col {
        width: 100%;
    }

    .portierung-section .form-row-3col .dacor-input {
        width: 100% !important;
    }

    /* Mobile: Stack Rufnummer rows */
    .form-row-rufnummer {
        flex-direction: column;
        gap: 10px;
    }

    .form-row-rufnummer .form-col {
        width: 100%;
    }

    .form-row-rufnummer .portierung-vorwahl,
    .form-row-rufnummer .portierung-kennummer {
        width: 100% !important;
    }

    .rufnummer-actions {
        padding-bottom: 0;
        justify-content: flex-end;
    }

    /* Mobile: Radio group stack */
    .radio-group-inline {
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile: stack buttons vertically */
@media (max-width: 900px) {
    .wechseltyp-buttons {
        flex-direction: column;
    }

    .wechseltyp-btn {
        min-width: 100%;
    }

    .wechseltyp-btn-content {
        font-size: 12px;
        padding: 12px 15px;
    }
}

.radio-card,
.option-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"],
.option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-content {
    background: #fff;
    border: 2px solid var(--dacor-border);
    border-radius: var(--dacor-radius);
    padding: 20px;
    transition: all var(--dacor-transition-fast);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.radio-card input:checked ~ .card-content,
.option-card input:checked ~ .card-content {
    border-color: var(--dacor-primary);
    background: linear-gradient(135deg, #f0f8e8 0%, #e8f5d9 100%);
}

.card-content:hover {
    border-color: var(--dacor-primary);
}

.card-content .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.card-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dacor-text);
}

.card-content p {
    font-size: 14px;
    color: var(--dacor-text-light);
    margin: 0;
}

/* Check Overlay for Options */
.check-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity var(--dacor-transition-fast);
}

.option-card input:checked ~ .check-overlay {
    opacity: 1;
}

.option-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.option-price {
    display: block;
    margin-top: 10px;
    color: var(--dacor-primary);
    font-weight: 700;
}

/* Required/Optional Badges */
.required-badge,
.optional-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.required-badge {
    background: #fff3cd;
    color: #856404;
}

.optional-badge {
    background: #d1ecf1;
    color: #0c5460;
}

/* ================================================
   12. BACK BUTTON
   ================================================ */

.back-button-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--dacor-border);
}

.dacor-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ================================================
   13. BUTTONS
   ================================================ */

.dacor-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--dacor-radius-sm);
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--dacor-font-family);
    line-height: 1.5;
}

.dacor-btn-primary {
    background: var(--dacor-primary);
    color: #fff;
    border: 2px solid var(--dacor-primary-dark);
}

.dacor-btn-primary:hover:not(:disabled) {
    background: var(--dacor-primary-dark);
    transform: translateY(-2px);
}

.dacor-btn-secondary {
    background: var(--dacor-secondary);
    color: #fff;
    border: 2px solid #5a6268;
}

.dacor-btn-secondary:hover:not(:disabled) {
    background: #5a6268;
}

.dacor-btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.dacor-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.dacor-btn svg {
    flex-shrink: 0;
}

/* ================================================
   14. FORMS
   ================================================ */

.dacor-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}

/* Form in modules 2/3 can have background */
.dacor-module-middle .dacor-form,
.dacor-module-bottom .dacor-form {
    background: var(--dacor-bg-light);
    padding: 25px;
    border-radius: var(--dacor-radius);
    border: 1px solid var(--dacor-border);
}

.dacor-form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.dacor-form-row-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 0;
    gap: 15px;
}

.dacor-form-group {
    flex: 0 0 260px;
    max-width: 260px;
}

.dacor-form-group-narrow {
    flex: 0 0 90px;
    max-width: 90px;
}

.dacor-form-group-button {
    flex: 0 0 168px;
    max-width: 168px;
}

.dacor-form-group-button label {
    visibility: hidden;
    display: block;
}

.dacor-form-group-button .dacor-btn {
    padding: 0;
    white-space: nowrap;
    height: 43px;
    width: 168px;
}

.dacor-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dacor-text);
    font-size: 14px;
}

.dacor-button-wrapper {
    position: relative;
    width: 100%;
}

.dacor-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--dacor-border);
    border-radius: var(--dacor-radius-sm);
    font-size: 16px;
    font-family: var(--dacor-font-family);
    transition: all var(--dacor-transition-fast);
    height: 43px;
    box-sizing: border-box;
}

.dacor-input:focus {
    outline: none;
    border-color: var(--dacor-primary);
}

.dacor-input.error {
    border-color: var(--dacor-error);
}

.dacor-input.success {
    border-color: var(--dacor-success);
}

.dacor-error {
    color: var(--dacor-error);
    font-size: 13px;
    margin-top: 5px;
    min-height: 18px;
}

.dacor-error.success {
    color: var(--dacor-success);
}

.dacor-success {
    color: var(--dacor-success);
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Loading state for inputs */
input.loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 50 50'%3E%3Cpath fill='%2384b414' d='M43.935 25.145c0-10.318-8.364-18.683-18.683-18.683-10.318 0-18.683 8.365-18.683 18.683h4.068c0-8.071 6.543-14.615 14.615-14.615s14.615 6.543 14.615 14.615h4.068z'%3E%3CanimateTransform attributeType='xml' attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.6s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px 18px;
    padding-right: 36px;
}

/* Custom Autocomplete Dropdown */
.dacor-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.dacor-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid var(--dacor-primary);
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: -2px;
}

.dacor-dropdown-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid var(--dacor-border);
    font-size: 15px;
    color: var(--dacor-text);
}

.dacor-dropdown-item:last-child {
    border-bottom: none;
}

.dacor-dropdown-item:hover,
.dacor-dropdown-item.active {
    background-color: rgba(132, 180, 20, 0.1);
}

.dacor-dropdown-item.selected {
    background-color: rgba(132, 180, 20, 0.15);
    font-weight: 600;
}

.dacor-dropdown-item .item-label {
    display: block;
    color: var(--dacor-text);
}

.dacor-dropdown-item .item-meta {
    display: block;
    font-size: 13px;
    color: var(--dacor-text-muted);
    margin-top: 2px;
}

.dacor-dropdown-empty {
    padding: 12px 15px;
    color: var(--dacor-text-muted);
    text-align: center;
    font-size: 14px;
}

.dacor-dropdown::-webkit-scrollbar {
    width: 8px;
}

.dacor-dropdown::-webkit-scrollbar-track {
    background: var(--dacor-bg-light);
}

.dacor-dropdown::-webkit-scrollbar-thumb {
    background: var(--dacor-border);
}

.dacor-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--dacor-text-muted);
}

.dacor-autocomplete-wrapper .dacor-input:focus + .dacor-dropdown {
    border-color: var(--dacor-primary);
}

/* Column Widths */
.dacor-col-2 { flex: 0 0 calc(16.666% - 12.5px); }
.dacor-col-4 { flex: 0 0 calc(33.333% - 10px); }
.dacor-col-6 { flex: 0 0 calc(50% - 7.5px); }
.dacor-col-8 { flex: 0 0 calc(66.666% - 5px); }
.dacor-col-12 { flex: 0 0 100%; }

/* ================================================
   15. ALERTS
   ================================================ */

.dacor-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-radius: var(--dacor-radius);
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dacor-alert-error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

.dacor-alert-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.alert-icon {
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

/* No Availability Message - persistent info box */
.dacor-no-availability {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #f0f4f8;
    border: 2px solid #d0d9e3;
    border-radius: var(--dacor-radius);
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

.dacor-no-availability .no-availability-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #e8f4fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dacor-no-availability .no-availability-icon .material-symbols-sharp {
    font-size: 24px;
    color: #0066cc;
}

.dacor-no-availability .no-availability-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* ================================================
   16. LOADING OVERLAY
   ================================================ */

#dacor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dacor-loading {
    background: #fff;
    border-radius: var(--dacor-radius);
    padding: 40px;
    text-align: center;
    max-width: 300px;
}

#dacor-loading p {
    margin-top: 20px;
    font-size: 16px;
    color: var(--dacor-text);
}

/* ================================================
   17. RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
    .carousel-prev {
        left: -12px;
    }

    .carousel-next {
        right: -12px;
    }

    .dacor-tarif-card {
        flex: 0 0 327px;
        max-width: 327px;
    }
}

/* Tablet: 2 Spalten für Modem/Options Grid */
@media (max-width: 1140px) and (min-width: 769px) {
    .dacor-modem-grid,
    .wechseltyp-options,
    .dacor-options-grid {
        grid-template-columns: repeat(2, 340px);
    }
}

/* Hide DACOR man on smaller screens */
@media (max-width: 1400px) {
    .dacor-man-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .dacor-modules-constrained {
        padding: 0 15px;
    }

    .dacor-modules-container {
        gap: 20px;
    }

    .dacor-module {
        padding: 20px;
    }

    /* Full-width top module responsive - gelber Bereich passt sich der Höhe an */
    .dacor-module-top {
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 25px 0 35px 0;
    }

    .dacor-module-top .dacor-module-content {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Badge auf Mobile: nicht absolut, sondern im Flow linksbündig */
    .availability-check-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: rotate(-8deg);
        margin-bottom: 20px;
        width: auto;
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Bilder auf Mobile verstecken */
    .globe-image,
    .dacor-man-image {
        display: none;
    }

    .dacor-module h2 {
        font-size: 24px;
    }

    .dacor-module h3 {
        font-size: 20px;
    }

    /* Carousel Single Item - eine Karte zentriert auf Mobile */
    .carousel-viewport {
        display: flex;
        justify-content: flex-start;
        overflow: hidden;
        padding: 40px 20px 25px 20px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .carousel-track {
        justify-content: flex-start;
        gap: 40px;
    }

    .dacor-tarif-card {
        flex: 0 0 calc(100vw - 130px);
        max-width: calc(100vw - 130px);
        min-width: calc(100vw - 130px);
        width: calc(100vw - 130px);
    }

    .carousel-nav {
        width: 44px;
        height: 44px;
    }

    .carousel-prev {
        left: 0;
    }

    .carousel-next {
        right: 0;
    }

    /* Form Stacking - weniger Abstand zwischen Feldern */
    .dacor-form-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .dacor-form-row-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    /* Formular-Gruppen */
    .dacor-form-group label {
        margin-bottom: 5px;
    }

    .dacor-form-group,
    .dacor-form-group-narrow,
    .dacor-form-group-button {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    /* Formular auf Mobile volle Breite, Margin reduzieren */
    #dacor-address-form {
        width: 100%;
    }

    .dacor-module-top .dacor-form {
        margin-top: 0;
    }

    .dacor-form-group-button label {
        display: none;
    }

    .dacor-form-group-button .dacor-btn {
        width: 100%;
    }

    .dacor-col-2,
    .dacor-col-4,
    .dacor-col-6,
    .dacor-col-8 {
        flex: 0 0 100%;
    }

    /* Grid Stacking */
    .dacor-modem-grid,
    .wechseltyp-options,
    .dacor-options-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .dacor-modem-card,
    .dacor-option-card {
        max-width: 100%;
        width: 100%;
    }


    .progress-bar-container {
        width: 100%;
    }

    /* Success Banner */
    .dacor-success-banner {
        flex-direction: column;
        text-align: center;
    }

    /* Success Banner New - Mobile */
    .dacor-success-banner-new .address-main {
        font-size: 20px;
    }

    .dacor-success-banner-new .welcome-text {
        font-size: 14px;
    }

    .dacor-success-banner-new .dacor-btn-change-address {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .dacor-btn {
        width: 100%;
        justify-content: center;
    }

    .tarif-name {
        font-size: 18px;
    }

    .price-amount {
        font-size: 28px;
    }
}

/* ================================================
   18. UTILITY CLASSES
   ================================================ */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--dacor-text-muted);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.no-tarife,
.no-modems,
.no-options {
    text-align: center;
    padding: 40px 20px;
    color: var(--dacor-text-light);
    font-size: 16px;
}

/* ================================================
   18. MODEM & OPTION CARDS (Tarifkarten-Design)
   ================================================ */

/* Modem Cards - DeviceBox Layout from Figma */
.dacor-modem-card {
    display: flex;
    height: 573px;
    width: 340px;
    max-width: 340px;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 340px;
    background: #fff;
    border: none;
    overflow: hidden;
    transition: all var(--dacor-transition-fast);
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}

.dacor-modem-card:hover {
    transform: translateY(-4px);
}

.dacor-modem-card.selected {
    outline: 2px solid var(--dacor-primary);
    outline-offset: -2px;
}

/* Section 1: Titel/Modem-Name (Header) */
.modem-section-1 {
    width: 100%;
    padding: 20px;
    background: radial-gradient(61.24% 61.21% at 50.98% 50.3%, #FFEC01 0%, #FCBD00 100%);
    text-align: center;
    box-sizing: border-box;
}

.modem-section-1 .modem-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: var(--dacor-blue);
}

/* Section 2: Bild */
.modem-section-2 {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 20px;
    box-sizing: border-box;
}

.modem-section-2 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modem-placeholder-image {
    font-size: 64px;
    opacity: 0.3;
}

/* Section 3: Infos (PIB, Preis, Details) */
.modem-section-3 {
    width: 100%;
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.modem-section-3 .modem-details {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.modem-section-3 .modem-details li {
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid var(--dacor-border);
}

.modem-section-3 .modem-details li:last-child {
    border-bottom: none;
}

.modem-section-3 .modem-pricing {
    margin-bottom: 15px;
}

/* Modem Purchase Info */
.modem-section-3 .modem-purchase-info {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: var(--dacor-text);
}

.modem-section-3 .modem-info-arrow {
    color: var(--dacor-primary);
    font-weight: bold;
    margin-right: 5px;
}

/* Modem Price Option (Radio Labels) */
.modem-price-option {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.modem-price-option input[type="radio"] {
    display: none;
}

.modem-price-option .modem-price-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.modem-price-option .modem-price-check .radio-unchecked {
    display: block;
    font-size: 22px;
    color: #ccc;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.modem-price-option .modem-price-check .radio-checked {
    display: none;
    font-size: 22px;
    color: var(--dacor-primary);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.modem-price-option.selected .modem-price-check .radio-unchecked {
    display: none;
}

.modem-price-option.selected .modem-price-check .radio-checked {
    display: block;
}

.modem-price-option .modem-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--dacor-text);
}

.modem-price-option .modem-price-label {
    font-size: 16px;
    color: var(--dacor-text);
}

.modem-price-divider {
    font-size: 14px;
    color: #999;
    padding-left: 32px;
}

/* Single price display (no choice) */
.modem-price-single {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
}

.modem-price-single .modem-price-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.modem-price-single .modem-price-check .radio-checked {
    display: block;
    font-size: 22px;
    color: var(--dacor-primary);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.modem-price-single .modem-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--dacor-text);
}

.modem-price-single .modem-price-label {
    font-size: 16px;
    color: var(--dacor-text);
}

.modem-price-single.free {
    justify-content: center;
}

.modem-section-3 .modem-pricing .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.modem-section-3 .modem-pricing .price-row strong {
    font-size: 16px;
    color: var(--dacor-primary);
    font-weight: 600;
}

.modem-section-3 .modem-pricing .price-free {
    color: var(--dacor-success);
    font-weight: 600;
}

.modem-section-3 .modem-note {
    padding: 10px;
    background: #fff3cd;
    border-radius: var(--dacor-radius-sm);
    font-size: 13px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Section 4: Auswählen Button */
.modem-section-4 {
    width: 100%;
    padding: 15px 20px;
    border-top: 1px solid var(--dacor-border);
    box-sizing: border-box;
    margin-top: auto;
}

.modem-action-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--dacor-primary);
    color: #fff;
    border: none;
    border-radius: var(--dacor-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.modem-action-btn:hover {
    background: var(--dacor-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(132, 180, 20, 0.3);
}

.modem-action-btn:active {
    transform: translateY(0);
}

/* MAC Address Input Field */
.mac-address-field {
    margin-top: 30px;
    padding: 25px;
    background: #fff;
    border-radius: var(--dacor-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--dacor-primary);
}

.mac-address-field h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dacor-blue);
}

.mac-address-field .description {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.mac-address-field .form-group {
    margin-bottom: 20px;
}

.mac-address-field .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dacor-text);
}

.mac-address-field .dacor-input {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    font-size: 16px;
    font-family: monospace;
    letter-spacing: 1px;
    border: 1px solid var(--dacor-border);
    border-radius: var(--dacor-radius-sm);
    transition: border-color var(--dacor-transition-fast);
}

.mac-address-field .dacor-input:focus {
    outline: none;
    border-color: var(--dacor-primary);
    box-shadow: 0 0 0 3px rgba(132, 180, 20, 0.1);
}

.mac-address-field .dacor-input.error {
    border-color: var(--dacor-danger);
}

.mac-address-field .dacor-error {
    display: block;
    margin-top: 5px;
    color: var(--dacor-danger);
    font-size: 13px;
}

.mac-address-field .dacor-btn {
    margin-top: 10px;
}

/* Info Link für Modem & Options - gleiches Design wie PIB bei Tarifcards */
.details-link.info-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--dacor-blue);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 12px;
    transition: color var(--dacor-transition-fast);
}

.details-link.info-link::before {
    content: "link";
    font-family: "Material Symbols Sharp";
    font-size: 18px;
    color: var(--dacor-blue);
}

.details-link.info-link:hover {
    color: var(--dacor-blue);
    text-decoration: none;
}

.details-link.info-link:hover::before {
    color: var(--dacor-blue);
}

/* GIP Link für Modem & Options - gleiches Design wie Info-Link */
.details-link.gip-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--dacor-blue);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 12px;
    transition: color var(--dacor-transition-fast);
}

.details-link.gip-link::before {
    content: "description";
    font-family: "Material Symbols Sharp";
    font-size: 18px;
    color: var(--dacor-blue);
}

.details-link.gip-link:hover {
    color: var(--dacor-blue);
    text-decoration: none;
}

.details-link.gip-link:hover::before {
    color: var(--dacor-blue);
}

/* Zusatzoptionen Cards - Figma Layout */
.dacor-option-card {
    display: flex;
    min-width: 340px;
    max-width: 340px;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: all var(--dacor-transition-fast);
    cursor: pointer;
    position: relative;
}

.dacor-option-card:hover {
    transform: translateY(-4px);
}

.dacor-option-card.selected {
    outline: 2px solid var(--dacor-primary);
    outline-offset: -2px;
}

.dacor-option-card.selected .option-checkbox {
    color: var(--dacor-primary);
}

.dacor-option-card.selected .checkmark {
    display: block !important;
}

/* Section 1: Header mit Titel */
.option-section-1 {
    width: 100%;
    padding: 20px;
    background: radial-gradient(61.24% 61.21% at 50.98% 50.3%, #FFEC01 0%, #FCBD00 100%);
    color: var(--dacor-blue);
    box-sizing: border-box;
}

.option-section-1 .option-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Section 2: Beschreibung & Preis */
.option-section-2 {
    width: 100%;
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.option-section-2 .option-description {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    color: var(--dacor-text);
}

.option-section-2 .option-arrow {
    color: var(--dacor-blue);
    font-weight: 700;
    margin-right: 8px;
}

.option-price-display {
    margin-top: auto;
}

.option-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--dacor-text);
}

.option-price-period {
    font-size: 16px;
    color: var(--dacor-text);
    font-weight: 400;
}

.option-section-2 .option-pib-link {
    display: inline-block;
    font-size: 12px;
    color: var(--dacor-primary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--dacor-transition-fast);
}

.option-section-2 .option-pib-link:hover {
    color: var(--dacor-primary-dark);
    text-decoration: underline;
}

.option-section-2 .option-pricing {
    margin-bottom: 10px;
}

.option-section-2 .option-pricing .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
}

.option-section-2 .option-pricing .price-row strong {
    font-size: 15px;
    color: var(--dacor-primary);
    font-weight: 600;
}

/* Section 3: Checkbox Auswählen */
.option-section-3 {
    width: 100%;
    padding: 15px 20px;
    border-top: 1px solid var(--dacor-border);
    box-sizing: border-box;
}

.option-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.option-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dacor-text-muted);
    transition: color var(--dacor-transition-fast);
}

.option-checkbox-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--dacor-primary);
    letter-spacing: 0.5px;
}

/* Legacy button style (for backwards compatibility) */
.option-action-btn {
    width: 100%;
    padding: 10px 20px;
    background: var(--dacor-primary);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.option-action-btn:hover {
    background: var(--dacor-primary-dark);
}

/* Selected state indicator (no overlay needed with new design) */
.option-selected-overlay {
    display: none;
}

/* Grid Layout for Cards - 3 pro Reihe */
.modem-grid,
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

@media (max-width: 1140px) {
    .modem-grid,
    .options-grid {
        grid-template-columns: repeat(2, 340px);
    }
}

@media (max-width: 768px) {
    .modem-grid,
    .options-grid {
        flex-direction: column;
        align-items: center;
    }

    .dacor-modem-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .dacor-option-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ================================================
   19. CUSTOMER DATA FORM (Step 5)
   ================================================ */

.dacor-customer-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Step Title */
.dacor-customer-form-wrapper .step-title {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin-bottom: 10px;
}

.dacor-customer-form-wrapper .step-title .step-number {
    color: var(--dacor-primary);
    font-weight: 700;
    font-size: 20px;
    margin-right: 5px;
}

.dacor-customer-form-wrapper .step-title h3 {
    color: var(--dacor-primary);
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
}

.dacor-customer-form-wrapper .form-intro {
    font-size: 14px;
    color: var(--dacor-text);
    margin-bottom: 25px;
    line-height: 1.6;
}

.dacor-customer-form-wrapper .form-intro .required-note {
    color: var(--dacor-text-muted);
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

/* Form Section Fieldsets */
.dacor-customer-form .form-section {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.dacor-customer-form .form-section legend {
    font-size: 16px;
    font-weight: 700;
    color: var(--dacor-text);
    margin-bottom: 20px;
    padding: 0;
}

/* Two-column form row: label left, input right */
.dacor-customer-form .form-row-2col {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.dacor-customer-form .form-row-2col .form-label {
    flex: 0 0 250px;
    padding-top: 12px;
    font-size: 14px;
    color: var(--dacor-text);
}

.dacor-customer-form .form-row-2col .form-input-wrapper {
    flex: 1;
    max-width: 450px;
}

/* Input styling - green underline like address form */
.dacor-customer-form .dacor-input,
.dacor-customer-form select,
.dacor-customer-form input[type="text"],
.dacor-customer-form input[type="email"],
.dacor-customer-form input[type="tel"],
.dacor-customer-form input[type="date"],
.dacor-customer-form input[type="number"],
.dacor-customer-form textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--dacor-primary);
    background: transparent;
    font-size: 15px;
    color: var(--dacor-text);
    font-family: var(--dacor-font-family);
    box-sizing: border-box;
}

.dacor-customer-form textarea {
    resize: vertical;
    min-height: 80px;
    border: 1px solid var(--dacor-primary);
    padding: 10px;
}

.dacor-customer-form .dacor-input:focus,
.dacor-customer-form select:focus,
.dacor-customer-form input:focus {
    outline: none;
    border-bottom-color: var(--dacor-primary-dark);
}

.dacor-customer-form .dacor-input::placeholder,
.dacor-customer-form input::placeholder {
    color: var(--dacor-text-muted);
    font-style: normal;
}

/* Select styling */
.dacor-customer-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2384b414' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 25px;
    cursor: pointer;
}

/* Radio buttons - styled as simple options */
.dacor-customer-form .radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dacor-customer-form .radio-group .radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.dacor-customer-form .radio-group .radio-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.dacor-customer-form .radio-group .radio-option input[type="radio"]:checked {
    border-color: var(--dacor-primary);
    background: var(--dacor-primary);
}

.dacor-customer-form .radio-group .radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.dacor-customer-form .radio-group .radio-option span {
    font-size: 14px;
    color: var(--dacor-text);
}

/* Radio option outside radio-group (e.g. Portierungstermin) */
.dacor-customer-form .form-input-wrapper > .radio-option span {
    font-size: 14px;
    color: var(--dacor-text);
}

/* Checkbox styling */
.dacor-customer-form .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dacor-customer-form .checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dacor-primary);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.dacor-customer-form .checkbox-wrapper label {
    font-size: 14px;
    color: var(--dacor-text);
    cursor: pointer;
    line-height: 1.5;
}

.dacor-customer-form .checkbox-wrapper a {
    color: var(--dacor-primary);
}

/* IBAN Validation Message */
.dacor-customer-form .iban-validation {
    margin-top: 5px;
    font-size: 13px;
}

.dacor-customer-form .iban-validation.valid {
    color: var(--dacor-primary);
}

.dacor-customer-form .iban-validation.invalid {
    color: var(--dacor-error);
}

/* Error messages */
.dacor-customer-form .dacor-error {
    display: block;
    font-size: 12px;
    color: var(--dacor-error);
    margin-top: 3px;
    min-height: 0;
}

/* Conditional fields - indented sub-fields */
.dacor-customer-form .conditional-fields {
    margin-left: 250px;
    padding-left: 20px;
    border-left: 2px solid var(--dacor-border);
    margin-top: 15px;
    margin-bottom: 15px;
}

.dacor-customer-form .conditional-fields .form-row-2col .form-label {
    flex: 0 0 150px;
}

/* Small text notes */
.dacor-customer-form .form-note {
    font-size: 12px;
    color: var(--dacor-text-muted);
    margin-top: 3px;
    line-height: 1.4;
}

/* SEPA mandate text */
.dacor-customer-form .mandate-text {
    display: block;
    font-size: 12px;
    color: var(--dacor-text-muted);
    margin-top: 8px;
    line-height: 1.5;
    padding-left: 28px;
}

/* Navigation Buttons Container */
.dacor-customer-form .form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--dacor-border);
}

.dacor-customer-form .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--dacor-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.dacor-customer-form .btn-back:hover {
    opacity: 0.7;
}

.dacor-customer-form .btn-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--dacor-primary);
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.dacor-customer-form .btn-next:hover {
    background: var(--dacor-primary-dark);
}

.dacor-customer-form .btn-next svg {
    flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .dacor-customer-form .form-row-2col {
        flex-direction: column;
        gap: 5px;
    }

    .dacor-customer-form .form-row-2col .form-label {
        flex: none;
        padding-top: 0;
        font-weight: 600;
    }

    .dacor-customer-form .form-row-2col .form-input-wrapper {
        max-width: none;
        width: 100%;
    }

    /* Eingabefelder volle Breite auf Mobile */
    .dacor-customer-form .dacor-input,
    .dacor-customer-form select,
    .dacor-customer-form input[type="text"],
    .dacor-customer-form input[type="email"],
    .dacor-customer-form input[type="tel"],
    .dacor-customer-form input[type="date"],
    .dacor-customer-form input[type="number"],
    .dacor-customer-form textarea {
        width: 100%;
        min-width: 100%;
    }

    .dacor-customer-form .conditional-fields {
        margin-left: 0;
        padding-left: 15px;
    }

    .dacor-customer-form .form-navigation {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .dacor-customer-form .btn-next {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   20. ORDER SUMMARY (Step 6) - Final Review
   ================================================ */

.order-summary-final {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Box */
.summary-header-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.summary-header-icon {
    flex-shrink: 0;
}

.summary-header-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dacor-primary);
    margin: 0;
    text-transform: uppercase;
}

/* 3-Column Address Grid */
.summary-address-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.address-column {
    min-width: 0;
}

.address-column-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dacor-blue);
    margin: 0 0 10px 0;
}

.address-column p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dacor-text);
}

.contact-icon {
    display: inline-block;
    width: 20px;
}

/* Section Blocks */
.summary-section-block {
    margin-bottom: 25px;
}

.section-title-green {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dacor-primary);
    margin: 0 0 12px 0;
}

/* Future Connection List */
.future-connection-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.future-connection-list li {
    font-size: 0.95rem;
    color: var(--dacor-text);
    margin-bottom: 5px;
}

/* Order Table */
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.order-table thead {
    background: var(--dacor-bg-light);
}

.order-table th {
    padding: 12px 15px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dacor-blue);
    text-align: left;
    border-bottom: 2px solid var(--dacor-border);
}

.order-table th.col-onetime,
.order-table th.col-monthly {
    text-align: right;
}

.order-table td {
    padding: 12px 15px;
    font-size: 0.95rem;
    color: var(--dacor-text);
    border-bottom: 1px solid var(--dacor-border);
}

.order-table td.col-onetime,
.order-table td.col-monthly {
    text-align: right;
    white-space: nowrap;
}

/* Discount Row in Order Table */
.order-table tr.discount-row {
    background: rgba(132, 180, 20, 0.08);
}

.order-table tr.discount-row td {
    color: var(--dacor-primary);
    font-weight: 600;
}

.order-table tfoot {
    background: var(--dacor-bg-light);
}

.order-table tfoot td {
    padding: 15px;
    font-weight: 600;
    border-bottom: none;
    border-top: 2px solid var(--dacor-border);
}

/* Bank Info */
.bank-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bank-row {
    display: flex;
    gap: 15px;
}

.bank-label {
    min-width: 120px;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--dacor-text);
}

.bank-value {
    font-size: 0.95rem;
    color: var(--dacor-text);
}

/* Download Button */
.download-info {
    font-size: 0.95rem;
    color: var(--dacor-text);
    margin-bottom: 15px;
}

.dacor-btn-download {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--dacor-primary);
    border: none;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
}

.dacor-btn-download:hover {
    background: var(--dacor-primary-dark);
}

/* AGB Section */
.agb-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--dacor-border);
}

.agb-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dacor-text);
    margin-bottom: 20px;
}

.agb-text p {
    margin-bottom: 15px;
}

.confirmation-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.confirmation-checkboxes .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.confirmation-checkboxes .checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.confirmation-checkboxes .checkbox-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--dacor-text);
}

.confirmation-checkboxes .checkbox-text a {
    color: var(--dacor-blue);
    text-decoration: underline;
}

.confirmation-checkboxes .checkbox-text a:hover {
    color: var(--dacor-primary);
}

/* Action Buttons */
.summary-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--dacor-border);
    gap: 20px;
}

.dacor-btn-order {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: #CC0071;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--dacor-transition-fast);
    flex: 1;
    justify-content: center;
    max-width: none;
}

.dacor-btn-order:hover {
    background: #a30059;
}

.summary-actions .dacor-btn-secondary {
    padding: 15px 25px;
    background: var(--dacor-primary);
    color: #fff;
    border: none;
}

.summary-actions .dacor-btn-secondary:hover {
    background: var(--dacor-primary-dark);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .summary-address-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .order-table {
        font-size: 0.85rem;
    }

    .order-table th,
    .order-table td {
        padding: 10px 8px;
    }

    .order-table .col-product {
        width: 50%;
    }

    .summary-actions {
        flex-direction: column-reverse;
    }

    .dacor-btn-order,
    .summary-actions .dacor-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .bank-row {
        flex-direction: column;
        gap: 5px;
    }

    .bank-label {
        min-width: auto;
    }
}

/* ================================================
   21. STICKY SELECTION BANNER
   ================================================ */

.dacor-selection-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #E8E8E8;
    z-index: 9999;
    padding: 12px 0;
}

.selection-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selection-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.selection-banner-left .cart-icon {
    color: var(--dacor-blue);
    flex-shrink: 0;
}

.selection-banner-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dacor-blue);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.selection-banner-right {
    display: flex;
    align-items: center;
    gap: 50px;
}

.selection-banner-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.selection-banner-price .price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--dacor-text);
}

.selection-banner-price .price-label {
    font-size: 14px;
    color: var(--dacor-text);
    font-weight: 400;
}

.selection-banner-price .price-subtext {
    font-size: 12px;
    color: var(--dacor-text-muted);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .selection-banner-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .selection-banner-left {
        width: 100%;
        justify-content: center;
    }

    .selection-banner-right {
        width: 100%;
        justify-content: center;
        gap: 30px;
    }

    .selection-banner-price .price-amount {
        font-size: 20px;
    }

    .selection-banner-title {
        font-size: 14px;
    }
}

/* Add padding to body when banner is visible */
body.has-selection-banner {
    padding-bottom: 70px;
}

@media (max-width: 768px) {
    body.has-selection-banner {
        padding-bottom: 100px;
    }
}

/* Banner Discount Row */
.banner-discount-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 15px;
    background: rgba(132, 180, 20, 0.1);
    border-top: 1px solid rgba(132, 180, 20, 0.3);
    font-size: 0.85rem;
}

.banner-discount-row .discount-label {
    color: var(--dacor-primary);
    font-weight: 600;
}

.banner-discount-row .discount-value {
    color: var(--dacor-primary);
    font-weight: 700;
}

/* ================================================
   22. MODAL STYLES
   ================================================ */

.dacor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.dacor-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 10000;
}

.dacor-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease;
    z-index: 10001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.dacor-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    z-index: 10;
}

.dacor-modal-close:hover {
    background: #f5f5f5;
    transform: scale(1.1);
}

.dacor-modal-close svg {
    color: #333;
}

.dacor-modal-content {
    padding: 40px;
}

/* Modal Typography */
.dacor-modal-content .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dacor-blue);
    margin: 0 0 5px 0;
}

.dacor-modal-content .modal-subtitle {
    font-size: 18px;
    color: var(--dacor-blue);
    margin: 0 0 25px 0;
}

.dacor-modal-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dacor-blue);
    margin: 25px 0 15px 0;
}

.dacor-modal-content .modal-benefits,
.dacor-modal-content .modal-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.dacor-modal-content .modal-benefits li,
.dacor-modal-content .modal-steps li {
    font-size: 14px;
    color: var(--dacor-text);
    padding: 8px 0;
    padding-left: 5px;
    line-height: 1.5;
}

.dacor-modal-content .modal-highlight {
    font-size: 16px;
    font-weight: 700;
    color: var(--dacor-text);
    margin: 20px 0;
}

/* Modal Table */
.dacor-modal-content .modal-combinations {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    margin: 15px 0 25px 0;
}

.dacor-modal-content .modal-combinations th,
.dacor-modal-content .modal-combinations td {
    padding: 10px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.dacor-modal-content .modal-combinations th {
    font-weight: 700;
    color: var(--dacor-text);
    background: #f9f9f9;
}

.dacor-modal-content .modal-combinations td:last-child {
    font-weight: 600;
    color: var(--dacor-primary);
}

/* Modal Tip Box */
.dacor-modal-content .modal-tip {
    font-size: 14px;
    color: var(--dacor-text);
    background: #f0f6e8;
    padding: 15px 20px;
    border-left: 4px solid var(--dacor-primary);
    margin: 25px 0 0 0;
    line-height: 1.5;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .dacor-modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .dacor-modal-content {
        padding: 25px 20px;
    }

    .dacor-modal-content .modal-title {
        font-size: 20px;
        padding-right: 30px;
    }

    .dacor-modal-content .modal-subtitle {
        font-size: 16px;
    }

    .dacor-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

/* ================================================
   23. PRINT STYLES
   ================================================ */

@media print {
    .carousel-nav,
    .carousel-indicators,
    .dacor-btn-back,
    #dacor-overlay,
    .summary-actions,
    .dacor-btn-download,
    .dacor-modal {
        display: none !important;
    }

    .dacor-module {
        page-break-inside: avoid;
    }

    .order-summary-final {
        max-width: 100%;
        padding: 0;
    }
}

/* ================================================
   24. SUCCESS PAGE - FULLWIDTH LAYOUT
   ================================================ */

.dacor-success-fullwidth {
    /* Vollbreite */
    width: 100%;
    position: relative;
    overflow: visible;
    /* Visuelle Styles */
    background: radial-gradient(61.24% 61.21% at 50.98% 50.3%, #FFEC01 0%, #FCBD00 100%);
    padding: 0;
    height: 1000px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* Wenn Success-Screen angezeigt wird, alle Container transparent/unsichtbar machen */
.dacor-module-bottom:has(.dacor-success-fullwidth) {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.dacor-module-bottom:has(.dacor-success-fullwidth) .dacor-module-content {
    padding: 0;
}

/* Success-State: Container-Limits aufheben */
.dacor-shop-flow-wrapper:has(.dacor-success-fullwidth) .dacor-modules-constrained {
    max-width: none;
    padding: 0;
}

.dacor-shop-flow-wrapper:has(.dacor-success-fullwidth) .dacor-modules-container {
    gap: 0;
}

/* Module-Top und Middle bei Success ausblenden */
.dacor-shop-flow-wrapper:has(.dacor-success-fullwidth) .dacor-module-top,
.dacor-shop-flow-wrapper:has(.dacor-success-fullwidth) .dacor-module-middle,
.dacor-shop-flow-wrapper:has(.dacor-success-fullwidth) .dacor-modules-full-width {
    display: none;
}

.dacor-success-container {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
}

.dacor-success-content-box {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.dacor-success-content-box h2 {
    font-size: 50px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px 0;
}

.dacor-success-text {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.dacor-success-info {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin: 0 0 40px 0;
}

.dacor-success-order-number {
    font-size: 16px;
    color: #666;
    margin: 0 0 12px 0;
    background: rgba(132, 180, 20, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
}

.dacor-success-order-number strong {
    color: var(--dacor-primary-dark);
    font-size: 18px;
}

.dacor-btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
}

.dacor-btn-back-home .material-symbols-sharp {
    font-size: 20px;
}

.dacor-success-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 600px;
    height: 100%;
    z-index: 10;
    overflow: hidden;
}

.dacor-success-image img {
    position: absolute;
    bottom: -150px;
    right: 0;
    width: 100%;
    height: auto;
    display: block;
}

/* Success Page Responsive */
@media (max-width: 900px) {
    .dacor-success-content-box {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Mann auf Mobile ausblenden */
    .dacor-success-image {
        display: none;
    }

    .dacor-success-fullwidth {
        padding: 60px 20px;
    }
}

@media (max-width: 576px) {
    .dacor-success-fullwidth {
        padding: 40px 16px;
        min-height: auto;
    }

    .dacor-success-content-box h2 {
        font-size: 24px;
    }

    .dacor-success-text {
        font-size: 16px;
    }
}
