/* ==========================================================================
   Berufswahlagenda – Booking Portal Styles
   Swiss Editorial & Modern SaaS Aesthetics
   ========================================================================== */

:root {
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-subtle: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-dark-surface: #1e293b;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --brand-blue: #0284c7;
    --brand-cyan: #06b6d4;
    --brand-cyan-light: #e0f2fe;
    --brand-emerald: #10b981;
    --brand-emerald-light: #ecfdf5;
    --brand-rose: #f43f5e;
    --brand-border: #e2e8f0;
    --brand-border-focus: #38bdf8;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-subtle: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 25px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.05);
    --shadow-xl: 0 20px 35px -5px rgb(15 23 42 / 0.12);

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header & Announcements
   ========================================================================== */

.top-announcement {
    background: #090d16;
    color: var(--text-light);
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.badge-live {
    background: rgba(14, 165, 233, 0.18);
    color: #38bdf8;
    padding: 3px 9px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.announcement-text {
    font-weight: 500;
    color: #e2e8f0;
}

.announcement-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-stats strong {
    color: #ffffff;
}

.separator {
    opacity: 0.3;
}

/* Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
}

.brand-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.brand-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link-phone:hover {
    color: var(--brand-blue);
}

.btn-sm-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text-primary);
    color: var(--text-white);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-sm-primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--brand-border);
}

.hero-inner {
    text-align: center;
    max-width: 920px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.highlight-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 36px;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.metric-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.metric-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.1;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 3px;
}

.metric-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   Layout Grid & Configurator
   ========================================================================== */

.main-content {
    padding: 24px 0 60px;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 32px;
    align-items: stretch;
}

.config-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.config-step-card {
    background: var(--bg-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-xl);
    padding: 22px 24px;
    box-shadow: var(--shadow-subtle);
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.step-indicator {
    width: 32px;
    height: 32px;
    background: var(--text-primary);
    color: var(--text-white);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.step-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin-bottom: 2px;
}

.step-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================================================
   Step 1: Format Selection
   ========================================================================== */

.format-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.format-card {
    background: #ffffff;
    border: 2px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.format-card:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.format-card.active {
    border-color: var(--brand-blue);
    background: #fafcfe;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.format-badge-rec {
    position: absolute;
    top: -11px;
    right: 20px;
    background: var(--brand-rose);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.format-preview-box {
    background: #f1f5f9;
    border-radius: var(--radius-md);
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.page-visual {
    width: 82px;
    height: 96px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    padding: 6px;
    display: flex;
    flex-direction: column;
}

.page-ad-area {
    background: rgba(2, 132, 199, 0.14);
    border: 1.5px dashed var(--brand-blue);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
}

.ad-full {
    height: 100%;
    font-size: 11px;
}

.ad-full small {
    font-size: 8.5px;
    font-weight: 500;
    color: var(--text-muted);
}

.page-editorial-dummy {
    height: 36px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 4px;
    opacity: 0.6;
}

.ad-half {
    height: 42px;
    font-size: 10px;
}

.ad-half small {
    font-size: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.format-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.format-dimensions {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--brand-blue);
    font-weight: 600;
    margin-bottom: 6px;
}

.format-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
}

.format-pricing-hint {
    background: #f8fafc;
    border: 1px solid var(--brand-border);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
}

.format-pricing-hint .label {
    color: var(--text-muted);
}

.format-pricing-hint .price-accent {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
}

.selection-check {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: var(--transition);
}

.format-card.active .selection-check {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

/* ==========================================================================
   Step 2: Cantons / Editions Selection
   ========================================================================== */

.package-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.mode-btn {
    background: #ffffff;
    border: 2px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 148px;
    transition: var(--transition);
    position: relative;
}

.mode-btn:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mode-btn.active {
    border-color: var(--brand-blue);
    background: #f8fbfe;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.mode-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mode-tag-pill {
    display: inline-block;
    background: #e0f2fe;
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mode-tag-gray {
    background: #f1f5f9;
    color: var(--text-secondary);
}

.mode-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.mode-btn.active .mode-radio-circle {
    border-color: var(--brand-blue);
    background: var(--brand-blue);
    box-shadow: inset 0 0 0 3px #ffffff;
}

.mode-btn-title {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.mode-btn-sub {
    display: block;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mode-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    gap: 8px;
}

.mode-price-label {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mode-price-tag {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-blue);
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

/* Cantons Grid (2-Column Pro-SaaS Layout) */
.cantons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.canton-card {
    background: #ffffff;
    border: 2px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.canton-card:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.canton-card.selected {
    border-color: var(--brand-blue);
    background: #f8fbfe;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
}

.canton-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.canton-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.canton-code {
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.canton-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.canton-circ-pill {
    font-size: 11.5px;
    font-family: var(--font-mono);
    color: var(--brand-blue);
    background: #e0f2fe;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.canton-price-highlight {
    background: #f8fafc;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: var(--transition);
}

.canton-card.selected .canton-price-highlight {
    background: #ffffff;
    border-color: #bae6fd;
}

.price-main-wrap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.canton-price-current {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.canton-card.selected .canton-price-current {
    color: var(--brand-blue);
}

.canton-price-format {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
}

.canton-card.selected .canton-price-format {
    background: #e0f2fe;
    color: var(--brand-blue);
}

.canton-price-sub {
    font-size: 11.5px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.canton-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.canton-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.canton-checkbox {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.canton-checkbox:checked + .custom-checkbox {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.canton-checkbox:checked + .custom-checkbox::after {
    content: '';
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Canton Toolbar */
.canton-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid var(--brand-border);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-size: 13.5px;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-text-action {
    background: none;
    border: none;
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.btn-text-action:hover {
    color: #0369a1;
}

.discount-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--brand-emerald-light);
    border: 1.5px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: #065f46;
}

.discount-icon {
    color: var(--brand-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.discount-content strong {
    display: block;
    font-size: 14.5px;
    margin-bottom: 3px;
    color: #064e3b;
}

.discount-content p {
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   Step 3: Add-ons & Placement
   ========================================================================== */

.addons-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
}

.addon-info {
    flex-grow: 1;
}

.addon-label-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
    display: block;
}

.addon-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.addon-control {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.form-select {
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13.5px;
    background: #ffffff;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.addon-price-label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
}

.badge-free {
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid #a7f3d0;
}

/* Switch toggle */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--brand-blue);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* ==========================================================================
   Step 4: Upload & Specs
   ========================================================================== */

.dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    background: #fafafa;
    padding: 36px 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 24px;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--brand-blue);
    background: #f0f9ff;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropzone-icon {
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.dropzone-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.link-browse {
    color: var(--brand-blue);
    text-decoration: underline;
}

.dropzone-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.file-preview-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.file-preview-area.hidden {
    display: none;
}

.file-info-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-align: left;
}

.file-info-badge strong {
    display: block;
    font-size: 14px;
}

.file-info-badge span {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-remove-file {
    background: none;
    border: none;
    font-size: 22px;
    color: #ef4444;
    cursor: pointer;
    padding: 4px 8px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 18px;
}

.spec-item {
    font-size: 12.5px;
    line-height: 1.4;
}

.spec-label {
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.spec-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   Step 5: Form Fields
   ========================================================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
    background: #ffffff;
    outline: none;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--text-secondary);
    user-select: none;
    margin-top: 8px;
}

.checkbox-container input {
    margin-top: 3px;
}

/* ==========================================================================
   Sticky Sidebar & Calculator (Standard Grosser Bildschirm)
   ========================================================================== */

.calc-sidebar {
    position: relative;
    height: 100%;
    align-self: stretch;
}

.sticky-calc {
    position: -webkit-sticky;
    position: sticky;
    top: 84px;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.12);
    padding: 22px 22px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    z-index: 20;
}

.sticky-calc::-webkit-scrollbar {
    width: 4px;
}

.sticky-calc::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 9999px;
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--brand-border);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.calc-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calc-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    margin: 0;
}

.calc-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

.calc-badge {
    display: inline-block;
    background: #e0f2fe;
    color: var(--brand-blue);
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 2px;
    white-space: nowrap;
}

.calc-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    line-height: 1.35;
}

.row-label {
    color: var(--text-secondary);
}

.row-val {
    color: var(--text-primary);
    font-weight: 700;
    text-align: right;
}

.text-cyan {
    color: var(--brand-blue) !important;
}

.cantons-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
    margin-bottom: 4px;
}

.mini-pill {
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6.5px;
    border-radius: 3.5px;
    line-height: 1.2;
}

.breakdown-divider {
    height: 1px;
    background: var(--brand-border);
    margin: 7px 0;
}

.price-line-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    line-height: 1.35;
    color: var(--text-secondary);
}

.mono-num {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.discount-row {
    color: #059669;
}

.discount-val {
    color: #059669 !important;
    font-weight: 700;
}

.subtotal-row {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-primary);
}

.vat-row {
    font-size: 12px;
    color: var(--text-muted);
}

.breakdown-total {
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.total-content-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.total-label {
    font-size: 11.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
    margin: 0;
}

.total-sub {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 400;
    display: block;
}

.total-price-large {
    font-size: 23px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #38bdf8;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

/* Action Buttons */
.calc-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.btn-primary-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--brand-blue);
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

.btn-primary-booking:hover {
    background: #0274b3;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.36);
}

.btn-secondary-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #ffffff;
    color: var(--text-primary);
    border: 1.5px solid #cbd5e1;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-quote:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.trust-signals {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--brand-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted);
}

.trust-item svg {
    color: #10b981;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Kompakte Version der Buchungsübersicht (nur auf kleineren Bildschirmen / Laptops)
   Aktiviert bei Viewport-Breite <= 1366px ODER Viewport-Höhe <= 850px
   ========================================================================== */
@media (max-width: 1366px), (max-height: 850px) {
    .layout-grid {
        grid-template-columns: 1fr 345px;
        gap: 20px;
    }

    .sticky-calc {
        top: 72px;
        padding: 14px 16px;
        border-radius: var(--radius-lg);
        box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.12);
        max-height: calc(100vh - 84px);
    }

    .calc-header {
        align-items: center;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .calc-title {
        font-size: 15.5px;
    }

    .calc-sub {
        font-size: 11px;
    }

    .calc-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .calc-breakdown {
        gap: 4.5px;
    }

    .breakdown-row {
        font-size: 12px;
        line-height: 1.25;
    }

    .cantons-pill-list {
        gap: 4px;
        margin-top: 1px;
        margin-bottom: 2px;
    }

    .mini-pill {
        font-size: 9.5px;
        padding: 1.5px 5px;
    }

    .breakdown-divider {
        margin: 4px 0;
    }

    .price-line-row {
        font-size: 12px;
        line-height: 1.25;
    }

    .subtotal-row {
        font-size: 12.5px;
    }

    .vat-row {
        font-size: 11px;
    }

    .breakdown-total {
        padding: 8px 12px;
        margin-top: 4px;
    }

    .total-label {
        font-size: 11px;
    }

    .total-sub {
        display: none;
    }

    .total-price-large {
        font-size: 19.5px;
    }

    .calc-actions {
        gap: 6px;
        margin-top: 8px;
    }

    .btn-primary-booking {
        padding: 9px 12px;
        font-size: 13px;
    }

    .btn-secondary-quote {
        padding: 7px 10px;
        font-size: 12px;
    }

    .trust-signals {
        margin-top: 8px;
        padding-top: 8px;
        gap: 6px;
    }

    .trust-item {
        font-size: 10.5px;
        gap: 4px;
    }

    .trust-item svg {
        width: 13px;
        height: 13px;
    }
}

/* ==========================================================================
   Modal Overlay
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
    opacity: 1;
    transition: var(--transition);
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    padding: 36px;
    box-shadow: var(--shadow-xl);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.booking-ref-box {
    background: #f8fafc;
    border: 1px dashed var(--brand-border);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.ref-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.ref-code {
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--brand-blue);
    letter-spacing: 1px;
}

.modal-summary-box {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.modal-row:last-child {
    border-bottom: none;
}

.modal-row.highlight-row {
    font-size: 15px;
    font-weight: 700;
    padding-top: 10px;
    border-top: 1px solid var(--brand-border);
}

.next-steps-card {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 26px;
}

.next-steps-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.next-steps-card ul {
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.page-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 440px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-line {
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
}

/* ==========================================================================
   Print Styles (Offerte PDF)
   ========================================================================== */

.print-only {
    display: none;
}

@page {
    size: A4 portrait;
    margin: 12mm 15mm 12mm 15mm;
}

@media print {
    /* Hide all web interface sections completely from layout flow */
    header,
    nav,
    main,
    footer,
    .modal-overlay,
    .top-announcement,
    .main-nav,
    .hero-section,
    .main-content,
    .page-footer {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
    }

    html, body {
        background: #ffffff !important;
        color: #0f172a !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }

    #print-quote-container {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        page-break-before: avoid !important;
        page-break-after: avoid !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    #print-quote-container * {
        visibility: visible !important;
    }

    .print-page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        border-bottom: 2px solid #0f172a !important;
        padding-bottom: 12px !important;
        margin-bottom: 16px !important;
    }

    .print-title {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-bottom: 2px !important;
        letter-spacing: -0.3px !important;
    }

    .print-subtitle {
        font-size: 12px !important;
        color: #475569 !important;
    }

    .print-date {
        font-size: 11.5px !important;
        color: #64748b !important;
        margin-top: 4px !important;
    }

    .print-logo-box {
        text-align: right !important;
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        color: #1e293b !important;
    }

    .print-recipient {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        padding: 10px 14px !important;
        border-radius: 6px !important;
        margin-bottom: 16px !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
        color: #0f172a !important;
    }

    .print-section-title {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin-bottom: 8px !important;
    }

    .print-table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin-bottom: 16px !important;
        font-size: 11.5px !important;
    }

    .print-table th, .print-table td {
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 6px 8px !important;
        text-align: left !important;
    }

    .print-table th {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        font-weight: 700 !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
    }

    .print-total-row td {
        border-top: 2px solid #0f172a !important;
        border-bottom: 2px solid #0f172a !important;
        font-weight: 800 !important;
    }

    .print-notes {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        padding: 10px 12px !important;
        border-radius: 6px !important;
        font-size: 11px !important;
        line-height: 1.45 !important;
        margin-bottom: 14px !important;
    }

    .print-notes h4 {
        font-size: 11px !important;
        margin-bottom: 3px !important;
        color: #0f172a !important;
    }

    .print-footer {
        text-align: center !important;
        font-size: 10px !important;
        color: #64748b !important;
        border-top: 1px solid #e2e8f0 !important;
        padding-top: 8px !important;
    }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }

    .calc-sidebar {
        order: -1;
        height: auto;
        align-self: auto;
    }

    .sticky-calc {
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }

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

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

@media (max-width: 680px) {
    .hero-title {
        font-size: 28px;
    }

    .format-grid, .package-modes {
        grid-template-columns: 1fr;
    }

    .cantons-grid {
        grid-template-columns: 1fr;
    }

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

    .col-12, .col-8, .col-6, .col-4 {
        grid-column: span 1;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-contact .nav-link-phone {
        display: none;
    }
}
