:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#5a5a5a;
  --line:#e9e9e9;
  --soft:#f6f6f6;
  --btn:#000000;
  --btnText:#ffffff;
  --radius:5px;
  --max:1100px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:"Gibson","Century Gothic",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{ color:inherit; }

/* Header */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:150px;
}

.brand img{
  height:22px;
  width:auto;
  display:block;
}

.header-meta{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
}

.pill{
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:999px;
  background:#fff;
  line-height:1;
}

/* Layout */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

/* Buttons (semi-bold + keine Uppercase-Regel) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--btn);
  color:var(--btnText);
  text-decoration:none;
  font-weight:600; /* semi-bold */
  padding:14px 18px;
  border-radius:5px;
  border:1px solid var(--btn);
  transition: transform .08s ease, opacity .12s ease;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}

.btn:hover{ opacity:.92; }
.btn:active{ transform:translateY(1px); }

.btn.secondary{
  background:transparent;
  color:var(--btn);
  border:1px solid var(--btn);
}

/* Hero */
.hero{ padding:44px 0 24px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:stretch;
}

/* Nur H1 bold + ALL CAPS */
h1{
  margin:0 0 12px;
  font-weight:700;              /* old */
  text-transform: uppercase;    /* only H1 */
  letter-spacing:-0.4px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height:1.08;
}

/* Alle anderen Überschriften semi-bold + normale Schreibweise */
.section h2{
  margin:0 0 12px;
  font-weight:600;              /* semi-bold */
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing:-0.2px;
  text-transform:none;          
}

.lead{
  margin:0 0 14px;
  color:var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height:1.55;
  max-width: 68ch;
}

.checklist{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  color:#222;
  display:grid;
  gap:8px;
  font-size:14px;
}

.checklist li{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.check{
  font-weight:600; /* nur semi-bold */
  line-height:1;
  margin-top:1px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
  align-items:center;
}

.hero-note{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
  line-height:1.4;
}

/* Cards */
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow: var(--shadow);
}

.card.pad{ padding:18px; }

/* Hero Media */
.media{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--soft);
  min-height: 280px;
  display:flex;
  align-items:stretch;
}

.media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.media .caption{
  position:absolute;
  left:12px;
  bottom:12px;
  font-size:12px;
  color:#fff;
  background:rgba(0,0,0,.55);
  padding:6px 10px;
  border-radius:999px;
  display:none;
}

/* Sections */
.section{
  padding:44px 0;
  border-top:1px solid var(--line);
}

.subhead{
  margin: -6px 0 14px;
  color:var(--muted);
  line-height:1.5;
  font-size:14px;
  max-width: 80ch;
}

/* utilities that replaced inline styles (no visual change) */
.subhead-tight{ margin:2px 0 0; }
.subhead-mt-8{ margin:8px 0 0; }
.mt-12{ margin-top:12px; }
.mt-14{ margin-top:14px; }
.mt-16{ margin-top:16px; }
.m-0{ margin:0; }
.checklist-mt-10{ margin:10px 0 0; }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:stretch;
}

.soft{
  background:var(--soft);
  border-radius:5px;
  padding:16px;
  border:1px solid transparent;
}

.soft strong{
  display:block;
  margin-bottom:6px;
  font-weight:600; /* semi-bold */
}

.soft-white{
  background:#fff;
  border:1px solid var(--line);
}

/* Big KPI strip */
.kpi{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-top:14px;
}

.kpi .pill{
  background:var(--soft);
  border-color:transparent;
  color:#222;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  text-align:center;
  font-weight:600; 
}

/* Inline image blocks */
.imgblock{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--soft);
  min-height: 220px;
}

.imgblock img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Quote */
.quote{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:#fff;
}

.quote p{
  margin:0 0 10px;
  line-height:1.55;
}

.quote .by{
  font-size:13px;
  color:var(--muted);
}

/* Countdown */
.countdown{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:5px;
  border:1px solid var(--line);
  background:#fff;
  margin-top:14px;
}

.countdown .label{
  font-weight:600; 
  font-size:13px;
}

.countdown .time{
  font-variant-numeric: tabular-nums;
  font-weight:600; 
  font-size:14px;
  white-space:nowrap;
}

/* Price number */
.price{
  font-size:22px;
  font-weight:600; /* previously 900, now semi-bold per requirement */
  margin-top:6px;
}

/* Form */
.form-wrap{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  margin-top:14px;
}

iframe{
  width:100%;
  height:980px;
  border:0;
  display:block;
}

/* FAQ */
.faq{
  display:grid;
  gap:10px;
  margin-top:14px;
}

details{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:600;  
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

summary::-webkit-details-marker{ display:none; }

.faq-body{
  padding:0 16px 14px;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.chev{
  font-weight:600; 
  color:#000;
  transition: transform .15s ease;
}

details[open] .chev{ transform: rotate(180deg); }

/* Footer */
footer{
  padding:48px 0 90px; /* space for sticky */
  text-align:center;
  color:var(--muted);
  font-size:12px;
  border-top:1px solid var(--line);
  margin-top:44px;
}

/* Sticky CTA (untere Leiste) – vollständiges Styling */
.sticky{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:60;
  background:rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
}

.sticky-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:10px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.sticky-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.sticky-copy .t1{
  font-weight:600; 
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sticky-copy .t2{
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Mobile */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .header-meta{ display:none; }
  .kpi{ grid-template-columns: 1fr 1fr; }
  iframe{ height: 1100px; }
}

@media (max-width: 640px){
  .hero{ padding-top:28px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .btn{ width:100%; }
  .grid-2{ grid-template-columns: 1fr; }
  .sticky-inner{ flex-direction:column; align-items:stretch; }
  .sticky-copy .t1, .sticky-copy .t2{ white-space:normal; }
  iframe{ height: 1200px; }
}



/* Bild 2 – Dometic clean & dynamisch */
.imgblock.img-half{
  aspect-ratio: 16 / 6;                 /* ausgewogenes Verhältnis */
  max-width: min(980px, 100%);           /*  dynamische Breite */
  margin: 14px auto 0;                  /*  zentriert */
  overflow:hidden;
}

.imgblock.img-half img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile Optimierung */
@media (max-width: 640px){
  .imgblock.img-half{
    aspect-ratio: 16 / 9;              /* höher → bessere Wirkung */
    max-width: 100%;                   /* full width auf mobile */
  }
}

.form-helper {
  display: none;
}

/* =========================
   PRO-LEVEL FORM STYLING
========================= */

.form-wrap {
  padding: 0;
}

#lead-form {
  padding: 22px;
}

.form-section-title {
  margin: 18px 0 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.1px;
}

.form-status {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}

.form-status.is-show {
  display: block;
}

.form-status.is-error {
  border-color: rgba(0,0,0,0.25);
  background: #fff;
}

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

.form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.req {
  font-weight: 600;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

#lead-form input,
#lead-form select,
#lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#lead-form textarea {
  resize: vertical;
  min-height: 44px;
}

#lead-form input:focus,
#lead-form select:focus,
#lead-form textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

#lead-form input.is-invalid,
#lead-form select.is-invalid,
#lead-form textarea.is-invalid {
  border-color: rgba(0,0,0,0.35);
  box-shadow: none;
}

.form-group.checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  column-gap: 8px;
}

.form-group.checkbox input {
  margin: 3px 0 0 0;
  width: 16px;
  height: 16px;
}

.form-group.checkbox label {
  display: block;
  margin: 0;
}
.fomo {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 14px;
  background: var(--soft);
  margin: 4px 0 14px;
  font-size: 13px;
  line-height: 1.35;
}

.fomo.is-warning {
  background: #fff3cd;
}

.fomo.is-critical {
  background: #ffe6e6;
}

.btn-submit {
  width: 100%;
  margin-top: 6px;
}

.btn-submit[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.fineprint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 640px) {
  #lead-form {
    padding: 18px;
  }

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

/* =========================
   PRICING + DISABLE STYLES
========================= */

.price-box {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 14px;
  background: var(--soft);
  margin: 6px 0 16px;
}

.price-line,
.price-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.price-line {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.price-total {
  padding-top: 10px;
  font-size: 14px;
  color: var(--text);
}

.price-total strong {
  font-weight: 600;
}

#availabilityHint {
  margin-top: 10px;
}

/* Disabled option hint (browser-dependent, but helps) */
select option:disabled {
  color: #999;
}

/* =========================
   SUCCESS POPUP
========================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 8px;
  text-align: center;
}

.popup h3 {
  margin-bottom: 15px;
}

.popup p {
  font-size: 14px;
  margin-bottom: 20px;
}

.popup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
