﻿/* ============================================================
   Walosa Bestellprozess – Design System
   Light, water/health brand: Walosa-Blau + Weiß, ruhig & modern
   ============================================================ */
:root{
  /* Brand */
  --blue:        #1ba0dd;   /* primary – aus Logo/Buttons */
  --blue-600:    #1486bd;   /* hover */
  --blue-700:    #0f6c9b;
  --blue-ink:    #0b5778;   /* dark blue for headings */
  --blue-tint:   #eaf6fc;   /* selected/soft fill */
  --blue-tint-2: #f4fafd;   /* page-soft */

  /* Neutrals (cool) */
  --ink:    #1d2a30;
  --body:   #44565d;
  --muted:  #7b8a90;
  --line:   #e4edf1;
  --line-2: #d4e2e9;
  --white:  #ffffff;
  --paper:  #f6fafc;

  /* Status */
  --success:   #1f9d6b;
  --success-bg:#e7f6ef;
  --danger:    #d9534f;
  --danger-bg: #fcebea;
  --warn:      #c98a17;

  /* Form */
  --field-bg:   #fff;
  --field-line: #cddbe2;
  --focus:      rgba(27,160,221,.18);

  /* Geometry */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13,55,78,.06), 0 1px 3px rgba(13,55,78,.05);
  --shadow:    0 6px 20px rgba(13,55,78,.08);
  --shadow-lg: 0 18px 50px rgba(13,55,78,.14);

  --maxw: 1180px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family:"Mulish", system-ui, -apple-system, sans-serif;
  color:var(--body);
  background:var(--blue-tint-2);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
h1,h2,h3,h4{ font-family:"Poppins", system-ui, sans-serif; color:var(--ink); margin:0; line-height:1.2; font-weight:600; }
p{ margin:0; }
a{ color:var(--blue-700); text-decoration:none; }
a:hover{ text-decoration:underline; }
button{ font-family:inherit; }
img{ max-width:100%; display:block; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:var(--maxw); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; flex-direction:column; line-height:1; user-select:none; }
.brand .wordmark{
  font-family:"Poppins",sans-serif; font-weight:700; font-size:30px; letter-spacing:-.5px;
  color:var(--blue); font-style:italic;
}
.brand .sub{ font-size:10.5px; letter-spacing:3.5px; text-transform:uppercase; color:var(--blue-700); margin-top:3px; padding-left:2px; }
.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{ color:var(--muted); font-size:14.5px; font-weight:600; }
.main-nav a:hover{ color:var(--blue-700); text-decoration:none; }
.nav-secure{ display:flex; align-items:center; gap:7px; color:var(--success); font-size:13px; font-weight:700; }
.nav-secure svg{ width:15px; height:15px; }
.nav-toggle{ display:none; align-items:center; justify-content:center; width:42px; height:42px; border:1px solid var(--line-2); background:#fff; border-radius:12px; cursor:pointer; color:var(--blue-ink); }
.nav-toggle svg{ width:22px; height:22px; }
.nav-toggle .i-close{ display:none; }
.site-header.menu-open .nav-toggle .i-open{ display:none; }
.site-header.menu-open .nav-toggle .i-close{ display:block; }

/* ---------- Footer ---------- */
.site-footer{ border-top:1px solid var(--line); background:#fff; }
.f-inner{ max-width:var(--maxw); margin:0 auto; padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.f-links{ display:flex; flex-wrap:wrap; gap:6px 22px; }
.f-links a{ color:var(--muted); font-size:13.5px; font-weight:600; }
.f-links a:hover{ color:var(--blue-700); text-decoration:none; }
.f-copy{ color:var(--muted); font-size:12.5px; }

/* ---------- Step indicator ---------- */
.stepbar-wrap{ background:transparent; }
.stepbar{
  max-width:760px; margin:26px auto 6px; padding:0 24px;
  display:flex; align-items:flex-start; justify-content:space-between; position:relative;
}
.stepbar .track{
  position:absolute; left:24px; right:24px; top:19px; height:3px;
  background:var(--line-2); border-radius:var(--r-pill); z-index:0;
}
.stepbar .track-fill{
  position:absolute; left:24px; top:19px; height:3px; width:0;
  background:var(--blue); border-radius:var(--r-pill); z-index:1;
  transition:width .45s cubic-bezier(.4,0,.2,1);
}
.step{
  position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:9px;
  flex:1; text-align:center; cursor:default;
}
.step .dot{
  width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--white); border:3px solid var(--line-2);
  color:var(--muted); font-family:"Poppins"; font-weight:600; font-size:16px;
  transition:.3s; box-shadow:0 0 0 4px var(--blue-tint-2);
}
.step .label{ font-size:13px; font-weight:700; color:var(--muted); max-width:130px; transition:.3s; }
.step.active .dot{ background:var(--blue); border-color:var(--blue); color:#fff; box-shadow:0 0 0 5px var(--blue-tint); }
.step.active .label{ color:var(--blue-ink); }
.step.done .dot{ background:var(--blue); border-color:var(--blue); color:#fff; }
.step.done .label{ color:var(--body); }
.step.done .dot svg{ width:18px; height:18px; }

/* ---------- Layout ---------- */
.shell{ max-width:var(--maxw); margin:0 auto; padding:18px 24px 140px; }
.flow{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:26px; align-items:start; }
.col-main{ min-width:0; }
.col-side{ position:sticky; top:96px; }

/* ---------- Step panels ---------- */
.panel{ display:none; }
.panel.is-active{ display:block; }
.panel.is-active.anim{ animation:fade .4s ease both; }
@keyframes fade{ from{ transform:translateY(10px);} to{ transform:none;} }

.step-head{ margin:6px 2px 22px; }
.step-head .eyebrow{ font-size:12.5px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; color:var(--blue); }
.step-head h1{ font-size:30px; font-weight:600; margin-top:6px; letter-spacing:-.4px; }
.step-head p{ margin-top:8px; color:var(--muted); max-width:60ch; }

/* card / section */
.card{
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-lg); box-shadow:var(--shadow-sm);
  padding:24px; margin-bottom:20px;
}
.sec-title{ display:flex; align-items:center; gap:12px; margin-bottom:4px; }
.sec-title .num{
  width:26px; height:26px; border-radius:50%; background:var(--blue-tint); color:var(--blue-700);
  display:grid; place-items:center; font-family:"Poppins"; font-weight:600; font-size:13px; flex:none;
}
.sec-title h2{ font-size:19px; font-weight:600; }
.sec-sub{ color:var(--muted); font-size:14px; margin:2px 0 18px 38px; }
@media (max-width:560px){ .sec-sub{ margin-left:0; } }

/* ---------- Selectable cards (Paket) ---------- */
.pakete{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.opt{
  position:relative; background:var(--white); border:1.5px solid var(--line-2);
  border-radius:var(--r); padding:20px 18px; cursor:pointer; transition:.2s;
  display:flex; flex-direction:column;
}
.opt:hover{ border-color:var(--blue); box-shadow:var(--shadow); transform:translateY(-2px); }
.opt.selected{ border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-tint), var(--shadow); }
.opt .check{
  position:absolute; top:14px; right:14px; width:24px; height:24px; border-radius:50%;
  border:2px solid var(--line-2); background:#fff; display:grid; place-items:center; transition:.2s;
}
.opt .check svg{ width:14px; height:14px; opacity:0; transform:scale(.4); transition:.2s; color:#fff; }
.opt.selected .check{ background:var(--blue); border-color:var(--blue); }
.opt.selected .check svg{ opacity:1; transform:scale(1); }
.opt .badge{
  position:absolute; top:-11px; left:18px; background:var(--blue-ink); color:#fff;
  font-size:11px; font-weight:800; letter-spacing:.4px; text-transform:uppercase;
  padding:4px 11px; border-radius:var(--r-pill); box-shadow:var(--shadow-sm);
}
.opt .o-name{ font-family:"Poppins"; font-weight:600; font-size:17px; color:var(--ink); padding-right:30px; overflow-wrap:anywhere; }
.opt{ min-width:0; }
.opt .o-desc, .opt .feats li{ overflow-wrap:anywhere; }
.opt .o-img{ margin:14px 0 12px; }
.opt .o-desc{ font-size:13.5px; color:var(--body); }
.opt .feats{ list-style:none; padding:0; margin:14px 0 0; display:flex; flex-direction:column; gap:7px; }
.opt .feats li{ display:flex; gap:8px; font-size:13px; color:var(--body); align-items:flex-start; }
.opt .feats li svg{ width:15px; height:15px; color:var(--blue); flex:none; margin-top:2px; }
.opt .feats li.free{ color:var(--success); font-weight:700; }
.opt .feats li.free svg{ color:var(--success); }
.opt .price{ margin-top:auto; padding-top:16px; }
.opt .price .pm{ font-family:"Poppins"; font-weight:600; font-size:24px; color:var(--blue-ink); }
.opt .price .pm small{ font-size:13px; font-weight:600; color:var(--muted); }
.opt .price .extra{ font-size:12.5px; color:var(--muted); margin-top:3px; }

/* Einbau cards */
.einbau-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.opt.einbau{ padding:18px 16px; }
.opt.einbau .num{
  width:34px; height:34px; border-radius:10px; background:var(--blue-tint); color:var(--blue-700);
  display:grid; place-items:center; font-family:"Poppins"; font-weight:700; font-size:17px; margin-bottom:12px;
}
.opt.einbau .o-name{ font-size:15px; }
.opt.einbau .o-desc{ font-size:12.5px; margin-top:7px; }
.opt.einbau .e-price{ margin-top:14px; font-family:"Poppins"; font-weight:600; color:var(--blue-ink); font-size:16px; }
.opt.einbau .e-price small{ color:var(--muted); font-size:12px; font-weight:600; }
.tag-new{ display:inline-block; background:var(--success-bg); color:var(--success); font-size:10.5px; font-weight:800; letter-spacing:.4px; padding:2px 8px; border-radius:var(--r-pill); margin-bottom:8px; text-transform:uppercase; }

/* Zusatzprodukte */
.zusatz-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.zopt{
  display:flex; gap:14px; align-items:flex-start; background:var(--white);
  border:1.5px solid var(--line-2); border-radius:var(--r); padding:14px; transition:.2s;
  min-width:0;
}
.zopt.selected{ border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-tint); background:var(--blue-tint-2); }
.zopt .z-body{ flex:1; min-width:0; }
.zopt .z-name{ font-family:"Poppins"; font-weight:600; font-size:14.5px; color:var(--ink); overflow-wrap:anywhere; }
.zopt .z-desc{ font-size:12px; color:var(--muted); margin-top:3px; overflow-wrap:anywhere; }
.zopt .z-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:11px; gap:10px; flex-wrap:wrap; }
.zopt .z-add{ white-space:nowrap; }
.zopt .z-price{ font-family:"Poppins"; font-weight:700; color:var(--blue-ink); font-size:14.5px; white-space:nowrap; }
.zopt .z-price small{ font-weight:600; color:var(--muted); font-size:11.5px; }

/* placeholder image */
.ph{
  --c:#cfe6f2;
  background:
    repeating-linear-gradient(45deg, var(--blue-tint) 0 9px, #fff 9px 18px);
  border:1px dashed var(--line-2); border-radius:var(--r-sm);
  display:grid; place-items:center; color:var(--blue-700);
  font-family:"Mulish",monospace; font-size:10.5px; letter-spacing:.3px; text-align:center;
}
.ph.sq{ width:100%; aspect-ratio:1/1; }
.ph.thumb{ width:62px; height:62px; flex:none; font-size:8.5px; }

/* ---------- Promo ---------- */
.promo-box{
  display:flex; gap:12px; align-items:center; background:var(--paper);
  border:1px solid var(--line); border-radius:var(--r); padding:14px 16px; flex-wrap:wrap;
}
.promo-box .lbl{ font-weight:700; color:var(--ink); font-size:14px; display:flex; align-items:center; gap:8px; }
.promo-box .lbl svg{ width:17px; height:17px; color:var(--blue); }
.promo-box input{ flex:1; min-width:160px; }
.promo-note{ font-size:12.5px; margin:10px 2px 0; display:none; }
.promo-note.ok{ display:block; color:var(--success); font-weight:700; }
.promo-note.err{ display:block; color:var(--danger); font-weight:700; }

/* ---------- Forms ---------- */
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:2px; }
.field > label{ font-size:13px; font-weight:700; color:var(--ink); }
.field .req{ color:var(--blue); }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; }
.grid-3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px 16px; }
.row-addr{ display:grid; grid-template-columns:2fr .8fr .9fr 1.6fr; gap:14px 16px; }
input, select, textarea{
  width:100%; font-family:inherit; font-size:15px; color:var(--ink);
  background:var(--field-bg); border:1.5px solid var(--field-line);
  border-radius:var(--r-sm); padding:11px 13px; transition:.15s; outline:none;
}
input::placeholder, textarea::placeholder{ color:#9fb1b8; }
input:focus, select:focus, textarea:focus{ border-color:var(--blue); box-shadow:0 0 0 3px var(--focus); }
input:disabled, select:disabled{ background:#eef3f5; color:var(--muted); cursor:not-allowed; }
textarea{ resize:vertical; min-height:84px; }
select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b8a90' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 13px center; padding-right:34px; }
.hint{ font-size:12px; color:var(--muted); }

/* segmented / radio choices */
.choice-group{ display:flex; flex-direction:column; gap:12px; }
.choice{
  display:flex; gap:13px; align-items:flex-start; padding:15px 16px; cursor:pointer;
  border:1.5px solid var(--line-2); border-radius:var(--r); background:#fff; transition:.18s;
}
.choice:hover{ border-color:var(--blue); }
.choice.selected{ border-color:var(--blue); background:var(--blue-tint-2); box-shadow:0 0 0 3px var(--blue-tint); }
.choice .radio{ width:21px; height:21px; border-radius:50%; border:2px solid var(--line-2); flex:none; margin-top:1px; display:grid; place-items:center; transition:.18s; }
.choice .radio::after{ content:""; width:10px; height:10px; border-radius:50%; background:var(--blue); transform:scale(0); transition:.18s; }
.choice.selected .radio{ border-color:var(--blue); }
.choice.selected .radio::after{ transform:scale(1); }
.choice .c-title{ font-weight:700; color:var(--ink); font-size:14.5px; }
.choice .c-desc{ font-size:13px; color:var(--muted); margin-top:3px; }
.choice.locked{ opacity:.55; cursor:not-allowed; }

/* checkbox */
.check-line{ display:flex; gap:11px; align-items:flex-start; cursor:pointer; font-size:14px; color:var(--body); }
.check-line input{ width:auto; }
.cbx{ width:20px; height:20px; border-radius:5px; border:2px solid var(--field-line); flex:none; margin-top:1px; display:grid; place-items:center; background:#fff; transition:.15s; }
.cbx svg{ width:13px; height:13px; color:#fff; opacity:0; transform:scale(.4); transition:.15s; }
.check-line.on .cbx{ background:var(--blue); border-color:var(--blue); }
.check-line.on .cbx svg{ opacity:1; transform:scale(1); }

/* collapsible */
.collapse-head{ display:flex; align-items:center; justify-content:space-between; cursor:pointer; }
.collapse-head .chev{ transition:.25s; color:var(--muted); }
.collapse.open .collapse-head .chev{ transform:rotate(180deg); }
.collapse-body{ display:none; padding-top:18px; }
.collapse.open .collapse-body{ display:block; }

/* referral tiers */
.tiers{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:4px 0 4px; }
.tier{ background:var(--blue-tint-2); border:1px solid var(--line); border-radius:var(--r); padding:14px; text-align:center; }
.tier .lvl{ font-size:11.5px; font-weight:800; letter-spacing:.4px; text-transform:uppercase; color:var(--muted); }
.tier .amt{ font-family:"Poppins"; font-weight:600; font-size:23px; color:var(--blue-ink); margin-top:4px; }
.tier .amt small{ font-size:12px; color:var(--muted); font-weight:600; }
.tier .who{ font-size:11.5px; color:var(--muted); margin-top:3px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:"Poppins",sans-serif; font-weight:600; font-size:15.5px;
  border-radius:var(--r-pill); padding:13px 26px; border:1.5px solid transparent;
  cursor:pointer; transition:.18s; white-space:nowrap;
}
.btn svg{ width:18px; height:18px; }
.btn-primary{ background:var(--blue); color:#fff; box-shadow:0 6px 16px rgba(27,160,221,.32); }
.btn-primary:hover{ background:var(--blue-600); box-shadow:0 8px 22px rgba(27,160,221,.4); transform:translateY(-1px); }
.btn-primary:disabled{ background:#bcd6e3; box-shadow:none; cursor:not-allowed; transform:none; }
.btn-success{ background:var(--success); color:#fff; box-shadow:0 6px 16px rgba(31,157,107,.3); }
.btn-success:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.btn-success:disabled{ background:#aed8c6; box-shadow:none; cursor:not-allowed; transform:none; }
.btn-ghost{ background:#fff; color:var(--body); border-color:var(--line-2); }
.btn-ghost:hover{ border-color:var(--muted); color:var(--ink); }
.btn-outline{ background:#fff; color:var(--blue-700); border-color:var(--blue); }
.btn-outline:hover{ background:var(--blue-tint); }
.btn-sm{ padding:9px 16px; font-size:13.5px; }
.btn-block{ width:100%; }

.step-nav{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:8px; }
.step-nav.end{ justify-content:flex-end; }

/* ---------- Order summary ---------- */
.summary{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow); overflow:hidden; }
.summary .s-head{ padding:18px 20px; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:9px; }
.summary .s-head svg{ width:18px; height:18px; color:var(--blue); }
.summary .s-head h3{ font-size:16px; font-weight:600; }
.summary .s-body{ padding:8px 20px; max-height:46vh; overflow:auto; }
.s-line{ display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px dashed var(--line); }
.s-line:last-child{ border-bottom:0; }
.s-line .s-l{ min-width:0; }
.s-line .s-name{ font-size:13.5px; color:var(--ink); font-weight:700; }
.s-line .s-meta{ font-size:11.5px; color:var(--muted); margin-top:1px; }
.s-line .s-val{ font-family:"Poppins"; font-weight:600; font-size:14px; color:var(--ink); white-space:nowrap; }
.s-empty{ color:var(--muted); font-size:13px; padding:18px 0; text-align:center; }
.summary .s-totals{ background:var(--blue-tint-2); border-top:1px solid var(--line); padding:16px 20px; }
.t-row{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:7px; }
.t-row:last-child{ margin-bottom:0; }
.t-row .t-k{ font-size:13px; color:var(--body); font-weight:600; }
.t-row.major .t-k{ font-family:"Poppins"; font-weight:600; color:var(--ink); font-size:14px; }
.t-row .t-v{ font-family:"Poppins"; font-weight:600; color:var(--ink); }
.t-row.major .t-v{ font-size:22px; color:var(--blue-ink); }
.s-foot-note{ font-size:11px; color:var(--muted); padding:0 20px 16px; }

/* mobile summary bar */
.msum{ display:none; }

/* ---------- Summary on step 3 ---------- */
.otable{ width:100%; border-collapse:collapse; }
.otable th{ text-align:left; font-size:11.5px; letter-spacing:.4px; text-transform:uppercase; color:var(--muted); font-weight:800; padding:10px 12px; border-bottom:2px solid var(--line-2); }
.otable th.r, .otable td.r{ text-align:right; }
.otable td{ padding:13px 12px; border-bottom:1px solid var(--line); font-size:14px; color:var(--body); }
.otable td .pn{ font-weight:700; color:var(--ink); }
.otable tr.sum td{ background:var(--blue-tint-2); font-weight:700; color:var(--ink); border-bottom:1px solid var(--line); }
.otable tr.sum.major td{ font-family:"Poppins"; font-size:15px; color:var(--blue-ink); }
.ocards{ display:none; }
.readout{ display:grid; grid-template-columns:1fr 1fr; gap:8px 26px; }
.ro{ display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px dashed var(--line); font-size:14px; }
.ro .k{ color:var(--muted); }
.ro .v{ color:var(--ink); font-weight:700; text-align:right; }

/* alert */
.alert{ display:flex; gap:11px; padding:13px 15px; border-radius:var(--r); font-size:13.5px; align-items:flex-start; }
.alert svg{ width:18px; height:18px; flex:none; margin-top:1px; }
.alert.info{ background:var(--blue-tint); color:var(--blue-ink); }
.alert.success{ background:var(--success-bg); color:#137a51; }
.alert.warn{ background:#fdf4e3; color:#8a6113; }
.alert.danger{ background:var(--danger-bg); color:#a23734; }
.alert.hidden{ display:none; }

.divider{ height:1px; background:var(--line); margin:22px 0; border:0; }

/* ---------- Component preview ---------- */
.opt .feats li.has-prev{ cursor:pointer; }
.opt .feats li.has-prev .cl{ border-bottom:1px dashed var(--line-2); transition:.15s; }
.opt .feats li.has-prev:hover .cl{ color:var(--blue-700); border-bottom-color:var(--blue); }
.opt .feats li .info{ width:14px; height:14px; color:var(--muted); flex:none; margin-top:2px; opacity:.7; }
.opt .feats li.has-prev:hover .info{ color:var(--blue); opacity:1; }
.comp-overlay{ position:fixed; inset:0; z-index:69; background:rgba(11,87,120,.18); display:none; }
.comp-overlay.show{ display:block; }
.comp-pop{
  position:fixed; z-index:70; width:280px; max-width:calc(100vw - 32px);
  background:#fff; border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--shadow-lg);
  padding:16px; display:none;
}
.comp-pop.show{ display:block; animation:pop .18s ease both; }
@keyframes pop{ from{ opacity:0; transform:translateY(6px) scale(.98);} to{ opacity:1; transform:none;} }
.comp-pop .comp-close{ position:absolute; top:8px; right:8px; border:0; background:var(--paper); width:28px; height:28px; border-radius:50%; cursor:pointer; color:var(--muted); font-size:18px; line-height:1; }
.comp-pop .comp-img{ width:100%; aspect-ratio:16/10; margin-bottom:12px; }
.comp-pop .comp-name{ font-family:"Poppins"; font-weight:600; font-size:15px; color:var(--ink); padding-right:24px; }
.comp-pop .comp-desc{ font-size:13px; color:var(--body); margin-top:6px; }
.comp-pop .comp-price{ font-family:"Poppins"; font-weight:700; font-size:13.5px; color:var(--blue-ink); margin-top:10px; }

/* ---------- Invalid fields ---------- */
input.invalid, select.invalid{ border-color:var(--danger) !important; box-shadow:0 0 0 3px var(--danger-bg) !important; }
.check-line.invalid .cbx{ border-color:var(--danger); box-shadow:0 0 0 3px var(--danger-bg); }

/* lock chip */
.lockchip{ display:inline-flex; align-items:center; gap:6px; background:var(--blue-tint); color:var(--blue-700); font-size:12px; font-weight:700; padding:4px 10px; border-radius:var(--r-pill); }
.lockchip svg{ width:13px; height:13px; }

/* ---------- Danke overlay ---------- */
.danke{ position:fixed; inset:0; z-index:80; background:rgba(11,87,120,.55); backdrop-filter:blur(4px); display:none; place-items:center; padding:24px; animation:fade .3s both; }
.danke.show{ display:grid; }
.danke .box{ background:#fff; border-radius:var(--r-lg); max-width:460px; width:100%; padding:40px 34px; text-align:center; box-shadow:var(--shadow-lg); }
.danke .ic{ width:74px; height:74px; border-radius:50%; background:var(--success-bg); color:var(--success); display:grid; place-items:center; margin:0 auto 20px; }
.danke .ic svg{ width:38px; height:38px; }
.danke h2{ font-size:25px; }
.danke p{ margin-top:10px; color:var(--body); }

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .flow{ grid-template-columns:1fr; }
  .col-side{ position:static; }
  .col-side .summary{ display:none; }      /* desktop summary hidden, mobile bar used */
  .shell{ padding-bottom:96px; }
  .einbau-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  /* mobile summary bar */
  .msum{
    display:flex; position:fixed; bottom:0; left:0; right:0; z-index:50;
    background:#fff; border-top:1px solid var(--line-2); box-shadow:0 -8px 24px rgba(13,55,78,.1);
    padding:12px 18px env(safe-area-inset-bottom,12px); align-items:center; justify-content:space-between; gap:14px;
  }
  .msum .m-tot{ display:flex; flex-direction:column; }
  .msum .m-tot .m-k{ font-size:11px; color:var(--muted); font-weight:700; text-transform:uppercase; letter-spacing:.4px; }
  .msum .m-tot .m-v{ font-family:"Poppins"; font-weight:600; font-size:17px; color:var(--blue-ink); }
  .msum .m-v small{ font-size:11.5px; color:var(--muted); font-weight:600; }
  .msheet{ position:fixed; inset:0 0 0 auto; z-index:60; display:none; }
  .site-footer{ margin-bottom:74px; }
}
@media (max-width:760px){
  .header-inner{ padding:12px 16px; }
  .nav-toggle{ display:inline-flex; }
  .main-nav{
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    box-shadow:var(--shadow); padding:8px;
  }
  .site-header.menu-open .main-nav{ display:flex; }
  .main-nav a{ padding:13px 14px; font-size:15px; border-radius:8px; }
  .main-nav a:hover{ background:var(--blue-tint-2); }
  .nav-secure{ padding:13px 14px; border-top:1px solid var(--line); margin-top:4px; }
  .f-inner{ flex-direction:column; align-items:flex-start; gap:12px; padding:20px 16px; }
  .shell{ padding:14px 16px 100px; }
  .stepbar{ margin-top:18px; padding:0 16px; }
  .step .label{ font-size:11px; }
  .step-head h1{ font-size:24px; }
  .card{ padding:18px 16px; }
  .pakete{ grid-template-columns:1fr; }
  .einbau-grid{ grid-template-columns:1fr; }
  .zusatz-grid{ grid-template-columns:1fr; }
  .grid-2,.grid-3,.row-addr,.tiers{ grid-template-columns:1fr; }
  .readout{ grid-template-columns:1fr; }
  /* table -> cards */
  .otable{ display:none; }
  .ocards{ display:block; }
  .ocard{ border:1px solid var(--line); border-radius:var(--r); padding:14px; margin-bottom:10px; }
  .ocard .oc-name{ font-weight:700; color:var(--ink); }
  .ocard .oc-row{ display:flex; justify-content:space-between; font-size:13px; margin-top:7px; color:var(--body); }
  .ocard.sum{ background:var(--blue-tint-2); }
}
@media (max-width:420px){
  .stepbar .step .label{ display:none; }
}

/* sheet for mobile expanded summary */
.sheet-overlay{ position:fixed; inset:0; background:rgba(11,87,120,.4); z-index:55; display:none; }
.sheet-overlay.show{ display:block; }
.sheet{
  position:fixed; left:0; right:0; bottom:0; z-index:60; background:#fff;
  border-radius:18px 18px 0 0; box-shadow:0 -16px 40px rgba(13,55,78,.2);
  transform:translateY(100%); transition:.3s; max-height:80vh; overflow:auto;
}
.sheet.show{ transform:translateY(0); }
.sheet .sh-head{ display:flex; align-items:center; justify-content:space-between; padding:18px 20px 6px; }
.sheet .sh-head h3{ font-size:17px; }
.sheet .sh-close{ border:0; background:var(--paper); width:32px; height:32px; border-radius:50%; cursor:pointer; color:var(--muted); font-size:18px; }

/* ============================================================
   Bild-Zoom-Modal (aus v1 uebernommen, fuer .zoomable Bilder)
   ============================================================ */
.img-modal{ position:fixed; inset:0; z-index:75; display:none; place-items:center; padding:24px;
  background:rgba(11,87,120,.6); backdrop-filter:blur(3px); }
.img-modal.show{ display:grid; }
.img-modal img{ max-width:min(92vw,1000px); max-height:86vh; border-radius:12px;
  box-shadow:0 18px 50px rgba(0,0,0,.35); background:#fff; }
.img-modal .img-close{ position:absolute; top:18px; right:22px; width:42px; height:42px; border:0;
  border-radius:50%; background:#fff; color:#0b5778; font-size:24px; line-height:1; cursor:pointer; }
.img-modal #imgCaption{ color:#fff; text-align:center; margin-top:14px; font-size:14px; }

/* ============================================================
   Kuendigungsstrecke (§ 312k BGB)
   Uebernommen aus dem Prototyp "Walosa Kuendigung.html".
   ============================================================ */

/* Der Pflichtlink im Fuss - er soll sich von den uebrigen Links abheben. */
.f-links a.f-cancel{ color:var(--blue-700); font-weight:700; }

/* Ohne Bestelluebersicht braucht die zweite Spalte keinen Platz. */
.flow.no-side{ grid-template-columns:minmax(0,1fr); }

.kbadge{ display:inline-flex; align-items:center; gap:8px; background:var(--blue-tint); color:var(--blue-ink);
  font-size:12.5px; font-weight:800; letter-spacing:.4px; text-transform:uppercase; padding:6px 13px;
  border-radius:var(--r-pill); }
.kbadge svg{ width:15px; height:15px; }

/* Das Code-Feld: gross, mittig, mit Abstand zwischen den Ziffern. */
.code-in{ font-family:"Poppins",sans-serif; font-weight:600; font-size:26px; letter-spacing:10px;
  text-align:center; padding:14px; }

/* Auswahl der Kuendigungsart: die Optik der .choice-Karten, aber mit echten Radiobuttons
   (RadioButtonList, RepeatLayout="UnorderedList") - so kommt die Auswahl auch ohne JavaScript
   beim Server an. */
.kart-list{ list-style:none; display:flex; flex-direction:column; gap:12px; margin:0; padding:0; }
.kart-list li{ display:flex; align-items:flex-start; gap:12px; background:var(--white);
  border:1.5px solid var(--line-2); border-radius:var(--r); padding:14px 16px; transition:.18s; }
.kart-list li:hover{ border-color:var(--blue); }
.kart-list input[type=radio]{ width:auto; margin:2px 0 0; accent-color:var(--blue); flex:none; }
.kart-list label{ font-size:14px; color:var(--body); cursor:pointer; }

.kconf{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow);
  padding:34px 30px; text-align:center; }
.kconf .ic{ width:74px; height:74px; border-radius:50%; background:var(--success-bg); color:var(--success);
  display:grid; place-items:center; margin:0 auto 20px; }
.kconf .ic svg{ width:38px; height:38px; }
.kref{ display:inline-block; margin-top:18px; background:var(--paper); border:1px dashed var(--line-2);
  border-radius:var(--r); padding:12px 20px; font-family:"Poppins"; font-weight:600; color:var(--blue-ink); }
.kref small{ display:block; font-family:"Mulish"; font-weight:700; font-size:11px; letter-spacing:1px;
  text-transform:uppercase; color:var(--muted); }
.kacts{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:24px; }

/* Ausdruck der Bestaetigung: nur der Beleg, keine Navigation. */
@media print{
  .site-header, .site-footer, .stepbar-wrap, .kacts, .step-head, .msum{ display:none; }
  .shell{ padding:0; }
  .kconf{ box-shadow:none; border:0; }
}
