/**
 * ODIGIO – Erweiterung für Managed Services (MSP) und Bereichsumschalter
 * Ergänzt das Arsha-Template, überschreibt style.css nur an wenigen Stellen.
 * Farben: #37517e (dunkelblau), #47b2e4 (hellblau), #f3f5fa (heller Hintergrund)
 */

/* Sichtbarkeit der Bereiche -------------------------------------------------- */
[hidden] {
  display: none !important;
}

/* Hero mit Bereichsumschalter ------------------------------------------------ */
#hero {
  height: auto;
  min-height: 640px;
  padding: 120px 0 70px 0;
}

#hero .container {
  padding-top: 0;
}

#hero h1 {
  font-size: 42px;
  line-height: 1.15;
}

#hero h2 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.track-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 40px;
}

.track-switch-btn {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.75);
  padding: 14px 20px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  font-family: "Jost", sans-serif;
}

.track-switch-btn i {
  font-size: 26px;
  line-height: 1;
}

.track-switch-text {
  display: flex;
  flex-direction: column;
}

.track-switch-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.track-switch-sub {
  font-size: 13px;
  opacity: 0.75;
}

.track-switch-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.track-switch-btn.active {
  background: #47b2e4;
  border-color: #47b2e4;
  color: #fff;
  box-shadow: 0 6px 18px rgba(71, 178, 228, 0.35);
}

.track-switch-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.btn-hero-ghost {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 11px 28px;
  border-radius: 50px;
  transition: 0.4s;
  margin: 10px 0 0 12px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-hero-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.hero-facts li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.hero-facts i {
  color: #47b2e4;
  margin-right: 6px;
}

/* Umschalt-Link in der Navigation -------------------------------------------- */
.nav-track-toggle {
  color: #47b2e4 !important;
  font-weight: 600;
  justify-content: flex-start !important;
  gap: 6px;
}

.nav-track-toggle i {
  font-size: 14px;
}

.nav-track-toggle:hover {
  color: #37517e !important;
}

.navbar-mobile .nav-track-toggle {
  color: #47b2e4 !important;
}

/* Hersteller / Technologien -------------------------------------------------- */
.vendor-box {
  height: 100%;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  padding: 34px 30px;
  transition: all 0.3s ease-in-out;
}

.vendor-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(55, 81, 126, 0.12);
  border-color: #cbe4f3;
}

.vendor-icon i {
  font-size: 34px;
  color: #47b2e4;
}

.vendor-box h4 {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #37517e;
  margin: 12px 0 10px 0;
}

.vendor-box p {
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 0;
  color: #4a5568;
}

.vendor-chips {
  margin-top: 34px;
  text-align: center;
}

.vendor-chips-label {
  color: #6b7a90;
  font-size: 15px;
  margin-right: 8px;
}

.vendor-chips .chip {
  display: inline-block;
  background: #f3f5fa;
  border: 1px solid #e2e8f2;
  border-radius: 30px;
  color: #37517e;
  font-size: 14px;
  padding: 6px 16px;
  margin: 5px 4px;
}

/* Leistungs-Kacheln (nutzen .services aus style.css) ------------------------- */
#msp-services .icon-box,
#services .icon-box {
  min-width: 0;
  padding: 40px 30px;
  border-radius: 6px;
}

#msp-services .icon-box h4,
#services .icon-box h4 {
  color: #37517e;
  font-size: 20px;
}

#msp-services .icon-box p,
#services .icon-box p {
  color: #4a5568;
  font-size: 15px;
  line-height: 26px;
}

/* Ablauf --------------------------------------------------------------------- */
.process-box {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 34px 28px 30px 28px;
  box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.08);
  border-top: 3px solid #47b2e4;
}

.process-step {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #e7f1fa;
  line-height: 1;
}

.process-box h4 {
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #37517e;
  margin: 6px 0 10px 0;
}

.process-box p {
  font-size: 15px;
  line-height: 26px;
  color: #4a5568;
  margin-bottom: 0;
}

/* Pakete --------------------------------------------------------------------- */
#msp-pricing .box,
#dev-models .box {
  position: relative;
  padding: 45px 34px 40px 34px;
}

#msp-pricing h4.price-request,
#dev-models h4.price-request {
  font-size: 30px;
  margin-bottom: 20px;
}

#msp-pricing h4 span,
#dev-models h4 span {
  font-size: 15px;
  margin-top: 6px;
}

#msp-pricing .badge-featured,
#dev-models .badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #47b2e4;
  color: #fff;
  font-size: 13px;
  font-family: "Jost", sans-serif;
  padding: 5px 16px;
  border-radius: 30px;
  white-space: nowrap;
}

#msp-pricing ul,
#dev-models ul {
  color: #52606d;
}

#msp-pricing .btn-wrap,
#dev-models .btn-wrap {
  text-align: center;
  margin-top: 10px;
}

.pricing-note {
  text-align: center;
  color: #6b7a90;
  font-size: 14px;
  margin-top: 35px;
  margin-bottom: 0;
}

/* Preisdarstellung ----------------------------------------------------------- */
.pricing .box-subtitle {
  color: #6b7a90;
  font-size: 14px;
  line-height: 22px;
  margin: -6px 0 18px 0;
  min-height: 44px;
}

.pricing .price-prefix {
  display: inline;
  font-size: 17px;
  color: #6b7a90;
  margin-right: 6px;
  vertical-align: middle;
}

.pricing h4 .price-currency {
  display: inline;
  font-size: 26px;
  color: #37517e;
  margin-left: 3px;
  vertical-align: baseline;
}

/* Zusatzleistungen &amp; Konditionen --------------------------------------------- */
.addons-wrap {
  margin-top: 55px;
}

.addons-title {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #37517e;
  text-align: center;
  margin-bottom: 6px;
}

.addons-sub {
  text-align: center;
  color: #6b7a90;
  font-size: 15px;
  margin-bottom: 26px;
}

.addon-table {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  overflow: hidden;
}

.addon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 16px 26px;
  border-bottom: 1px solid #eef2f8;
}

.addon-row:last-child {
  border-bottom: 0;
}

.addon-row:nth-child(odd) {
  background: #fbfcfe;
}

.addon-name {
  flex: 1 1 300px;
  color: #37517e;
  font-size: 15px;
  font-weight: 500;
}

.addon-name small {
  display: block;
  color: #8b98ab;
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

.addon-price {
  flex: 0 0 auto;
  font-family: "Jost", sans-serif;
  font-size: 17px;
  color: #47b2e4;
  font-weight: 500;
  white-space: nowrap;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: center;
}

.terms-list li {
  color: #52606d;
  font-size: 14px;
}

.terms-list i {
  color: #47b2e4;
  margin-right: 7px;
}

@media (max-width: 575px) {
  .addon-row {
    padding: 14px 18px;
  }

  .pricing .box-subtitle {
    min-height: 0;
  }
}

/* Was uns ausmacht – Werte-Karten -------------------------------------------- */
.values .value-box {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 34px 30px 30px 30px;
  box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.09);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.values .value-box::after {
  content: attr(data-number);
  position: absolute;
  right: 18px;
  bottom: 2px;
  font-family: "Jost", sans-serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: #f1f5fa;
  z-index: 0;
}

.values .value-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px -8px rgba(20, 45, 100, 0.18);
}

.values .value-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #e7f2fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease-in-out;
}

.values .value-icon i {
  font-size: 26px;
  color: #47b2e4;
  transition: all 0.3s ease-in-out;
}

.values .value-box:hover .value-icon {
  background: #47b2e4;
}

.values .value-box:hover .value-icon i {
  color: #fff;
}

.values .value-box h4 {
  position: relative;
  z-index: 1;
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #37517e;
  margin-bottom: 10px;
}

.values .value-box p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 26px;
  color: #4a5568;
  margin-bottom: 0;
}

.values .value-lead {
  max-width: 820px;
  margin: 0 auto 10px auto;
  text-align: center;
  color: #4a5568;
  font-size: 16px;
  line-height: 28px;
}

/* Technologie-Stack (Softwareentwicklung) ------------------------------------ */
.stack-box {
  height: 100%;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  padding: 30px 28px;
  transition: all 0.3s ease-in-out;
}

.stack-box:hover {
  box-shadow: 0 10px 30px rgba(55, 81, 126, 0.1);
  border-color: #cbe4f3;
}

.stack-box h4 {
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #37517e;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stack-box h4 i {
  color: #47b2e4;
  font-size: 22px;
}

.stack-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack-box ul li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 15px;
  color: #4a5568;
  line-height: 24px;
}

.stack-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #47b2e4;
}

/* Typische Projekte ---------------------------------------------------------- */
.case-box {
  height: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 30px 28px;
  box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.08);
  border-left: 3px solid #47b2e4;
  transition: all 0.3s ease-in-out;
}

.case-box:hover {
  transform: translateY(-5px);
}

.case-box .case-icon i {
  font-size: 28px;
  color: #47b2e4;
}

.case-box h4 {
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #37517e;
  margin: 10px 0 10px 0;
}

.case-box p {
  font-size: 15px;
  line-height: 26px;
  color: #4a5568;
  margin-bottom: 0;
}

.case-box .case-tags {
  margin-top: 14px;
}

.case-box .case-tags span {
  display: inline-block;
  background: #f3f5fa;
  border-radius: 30px;
  color: #37517e;
  font-size: 13px;
  padding: 4px 12px;
  margin: 3px 3px 0 0;
}

/* Hinweis auf den anderen Bereich -------------------------------------------- */
.cross-hint {
  padding-bottom: 30px;
}

.cross-hint-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f3f5fa;
  border-left: 4px solid #47b2e4;
  border-radius: 6px;
  padding: 30px 34px;
}

.cross-hint-text h4 {
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #37517e;
  margin-bottom: 8px;
}

.cross-hint-text p {
  margin-bottom: 0;
  color: #4a5568;
  font-size: 15px;
  line-height: 26px;
  max-width: 780px;
}

.cross-hint-btn {
  display: inline-block;
  white-space: nowrap;
  padding: 11px 28px;
  border-radius: 50px;
  border: 1px solid #47b2e4;
  color: #47b2e4;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  transition: 0.3s;
}

.cross-hint-btn:hover {
  background: #47b2e4;
  color: #fff;
}

/* FAQ ------------------------------------------------------------------------ */
.faq .faq-list a {
  font-size: 17px;
}

/* Responsiv ------------------------------------------------------------------ */
@media (max-width: 991px) {
  #hero {
    min-height: auto;
    padding: 110px 0 50px 0;
    text-align: center;
  }

  #hero h1 {
    font-size: 32px;
  }

  #hero h2 {
    font-size: 18px;
  }

  .track-switch {
    margin-bottom: 30px;
  }

  .track-switch-btn {
    justify-content: center;
    text-align: center;
  }

  .hero-facts {
    justify-content: center;
  }

  .btn-hero-ghost {
    margin-left: 0;
  }

  .cross-hint-box {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .track-switch {
    padding: 8px;
  }

  .track-switch-btn {
    flex: 1 1 100%;
    padding: 12px 14px;
  }

  #msp-pricing .box,
#dev-models .box {
    padding: 40px 24px 34px 24px;
  }
}

/* ============================================================================
   Preisrechner / Angebotswizard (angebot.html)
   ========================================================================= */
.page-wizard {
  background: #f7f9fc;
}

.wizard-intro {
  background: #37517e;
  padding: 130px 0 60px 0;
  color: #fff;
}

.wizard-intro h1 {
  font-family: "Jost", sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 14px;
}

.wizard-intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 28px;
  max-width: 760px;
  margin-bottom: 0;
}

.wizard {
  padding: 26px 0 70px 0;
}

.wizard .container {
  max-width: 900px;
}

/* Fortschritt */
.wizard-progress {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 0;
  margin: 0 0 20px 0;
}

.wizard-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8b98ab;
  font-family: "Jost", sans-serif;
  font-size: 15px;
}

.wizard-progress li span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e3e9f2;
  color: #6b7a90;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: 0 0 auto;
}

.wizard-progress li.is-active {
  color: #37517e;
  font-weight: 600;
}

.wizard-progress li.is-active span {
  background: #47b2e4;
  color: #fff;
}

.wizard-progress li.is-done span {
  background: #47b2e4;
  color: #fff;
  opacity: 0.6;
}

/* Live-Summe */
.wizard-live {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  background: #2f4670;
  border-radius: 10px 10px 0 0;
  padding: 18px 30px;
  color: #fff;
}

.wizard-live-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.wizard-live-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.wizard-live-preis {
  text-align: right;
  font-family: "Jost", sans-serif;
}

.wizard-live-preis span {
  font-size: 30px;
  font-weight: 600;
  color: #7fd1ff;
  display: block;
  line-height: 1.1;
}

.wizard-live-preis small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Karte */
.wizard-card {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 40px -12px rgba(20, 45, 100, 0.2);
  padding: 40px 40px 30px 40px;
}

.wizard-step h2 {
  font-family: "Jost", sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: #37517e;
  margin-bottom: 8px;
}

.wizard-step-hint {
  color: #6b7a90;
  font-size: 15px;
  line-height: 25px;
  margin-bottom: 28px;
}

/* Zähler */
.counter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #eef2f8;
}

.counter-row:last-of-type {
  border-bottom: 0;
}

.counter-text strong {
  display: block;
  color: #37517e;
  font-size: 17px;
  font-family: "Jost", sans-serif;
  font-weight: 600;
}

.counter-text small {
  color: #8b98ab;
  font-size: 14px;
}

.counter-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.counter-control button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #d8e1ee;
  background: #fff;
  color: #37517e;
  font-size: 20px;
  line-height: 1;
  transition: 0.2s;
}

.counter-control button:hover {
  background: #47b2e4;
  border-color: #47b2e4;
  color: #fff;
}

.counter-control input {
  width: 78px;
  height: 40px;
  text-align: center;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  color: #37517e;
  -moz-appearance: textfield;
}

.counter-control input::-webkit-outer-spin-button,
.counter-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Leistungs-Kacheln */
.leistungs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.leistung-kachel {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 10px;
  padding: 20px 22px 18px 22px;
  transition: 0.25s;
}

.leistung-kachel i {
  font-size: 22px;
  color: #47b2e4;
  display: block;
  margin-bottom: 8px;
}

.leistung-kachel strong {
  display: block;
  color: #37517e;
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  padding-right: 26px;
}

.leistung-kachel small {
  color: #8b98ab;
  font-size: 13.5px;
  line-height: 20px;
  display: block;
}

.leistung-kachel:hover {
  border-color: #9fd3ee;
}

.leistung-kachel.is-selected {
  border-color: #47b2e4;
  background: #f4fbff;
  box-shadow: 0 6px 18px -8px rgba(71, 178, 228, 0.6);
}

.leistung-kachel::after {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #d8e1ee;
  color: transparent;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.leistung-kachel.is-selected::after {
  background: #47b2e4;
  border-color: #47b2e4;
  color: #fff;
}

/* Optionen */
.option-block {
  padding: 22px 0;
  border-bottom: 1px solid #eef2f8;
}

.option-block:last-of-type {
  border-bottom: 0;
}

.option-block h3 {
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #37517e;
  margin-bottom: 4px;
}

.option-hint {
  color: #8b98ab;
  font-size: 14px;
  margin-bottom: 14px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-row button {
  border: 1px solid #d8e1ee;
  background: #fff;
  color: #37517e;
  border-radius: 30px;
  padding: 9px 20px;
  font-size: 15px;
  font-family: "Jost", sans-serif;
  transition: 0.2s;
}

.option-row button:hover {
  border-color: #9fd3ee;
}

.option-row button.is-selected {
  background: #47b2e4;
  border-color: #47b2e4;
  color: #fff;
}

/* Ergebnis */
.ergebnis-empfehlung {
  background: #f4fbff;
  border: 1px solid #cbe8f8;
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 26px;
}

.ergebnis-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #7d8ca3;
  margin-bottom: 2px;
}

.ergebnis-empfehlung strong {
  font-family: "Jost", sans-serif;
  font-size: 24px;
  color: #37517e;
  display: block;
  margin-bottom: 8px;
}

.ergebnis-empfehlung p {
  margin-bottom: 0;
  color: #4a5568;
  font-size: 15px;
  line-height: 25px;
}

.kalk-table {
  border: 1px solid #e8edf5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 26px;
}

.kalk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid #eef2f8;
}

.kalk-row:last-child {
  border-bottom: 0;
}

.kalk-name {
  flex: 1 1 260px;
  color: #37517e;
  font-size: 15px;
  font-weight: 500;
}

.kalk-name small {
  display: block;
  color: #8b98ab;
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

.kalk-betrag {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  color: #37517e;
  white-space: nowrap;
}

.kalk-row-rabatt {
  background: #f7fbf8;
}

.kalk-row-rabatt .kalk-name,
.kalk-row-rabatt .kalk-betrag {
  color: #2f9e5f;
}

.ergebnis-summen {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}

.ergebnis-haupt {
  flex: 1 1 280px;
  background: #37517e;
  color: #fff;
  border-radius: 10px;
  padding: 24px 28px;
}

.ergebnis-haupt .ergebnis-label {
  color: rgba(255, 255, 255, 0.6);
}

.ergebnis-haupt strong {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 40px;
  line-height: 1.1;
  color: #7fd1ff;
}

.ergebnis-haupt small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.ergebnis-neben {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ergebnis-neben div {
  background: #f3f6fb;
  border-radius: 10px;
  padding: 16px 22px;
  flex: 1;
}

.ergebnis-neben strong {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  color: #37517e;
}

.ergebnis-disclaimer {
  color: #8b98ab;
  font-size: 13.5px;
  line-height: 22px;
  background: #f7f9fc;
  border-radius: 8px;
  padding: 16px 20px;
}

.ergebnis-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 26px 0 14px 0;
}

.ergebnis-kontakt {
  color: #6b7a90;
  font-size: 15px;
  margin-bottom: 0;
}

.ergebnis-kontakt a {
  color: #47b2e4;
}

/* Warnung */
.wizard-warnung {
  background: #fff8e8;
  border: 1px solid #f4e2b8;
  border-radius: 8px;
  color: #8a6d2f;
  font-size: 14.5px;
  line-height: 23px;
  padding: 14px 18px;
  margin-top: 20px;
}

.wizard-warnung i {
  margin-right: 6px;
}

/* Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #eef2f8;
}

.btn-primary-odigio {
  display: inline-block;
  background: #47b2e4;
  color: #fff;
  border: 1px solid #47b2e4;
  border-radius: 30px;
  padding: 11px 32px;
  font-family: "Jost", sans-serif;
  font-size: 16px;
  transition: 0.3s;
}

.btn-primary-odigio:hover {
  background: #2ba0d8;
  border-color: #2ba0d8;
  color: #fff;
}

.btn-ghost-odigio {
  display: inline-block;
  background: #fff;
  color: #37517e;
  border: 1px solid #d8e1ee;
  border-radius: 30px;
  padding: 11px 28px;
  font-family: "Jost", sans-serif;
  font-size: 16px;
  transition: 0.3s;
}

.btn-ghost-odigio:hover {
  border-color: #37517e;
}

.btn-text-odigio {
  background: none;
  border: 0;
  color: #6b7a90;
  font-size: 15px;
  text-decoration: underline;
}

.btn-text-odigio:hover {
  color: #37517e;
}

.wizard-nav #btn-zurueck[hidden] {
  display: none !important;
}

.wizard-nav #btn-weiter {
  margin-left: auto;
}

.wizard-fuss {
  color: #8b98ab;
  font-size: 13.5px;
  line-height: 22px;
  text-align: center;
  margin: 22px auto 0 auto;
  max-width: 700px;
}

@media (max-width: 767px) {
  .wizard-intro {
    padding: 110px 0 50px 0;
  }

  .wizard-intro h1 {
    font-size: 28px;
  }

  .wizard-card {
    padding: 28px 22px 24px 22px;
  }

  .wizard-live {
    padding: 16px 22px;
  }

  .wizard-live-preis {
    text-align: left;
  }

  .counter-row {
    justify-content: space-between;
  }

  .ergebnis-haupt strong {
    font-size: 32px;
  }
}

/* Startangebot-Hinweis auf der Startseite */
.pricing-start {
  text-align: center;
  background: #f4fbff;
  border: 1px solid #cbe8f8;
  border-radius: 30px;
  color: #37517e;
  font-size: 15px;
  padding: 12px 26px;
  margin: 34px auto 0 auto;
  max-width: 720px;
}

.pricing-start i {
  color: #47b2e4;
  margin-right: 6px;
}

/* Startangebot-Kachel im Rechner */
.ergebnis-neben .ergebnis-start {
  background: #eaf7ff;
  border: 1px solid #cbe8f8;
}

.ergebnis-neben small {
  display: block;
  color: #8b98ab;
  font-size: 12.5px;
  line-height: 18px;
  margin-top: 2px;
}

/* Preis-Badge in den Auswahlkacheln */
.leistung-kachel .kachel-preis {
  display: inline-block;
  background: #eaf4fb;
  color: #2b8fc4;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 2px 9px;
  margin-left: 6px;
  vertical-align: middle;
}

.leistung-kachel.is-selected .kachel-preis {
  background: #47b2e4;
  color: #fff;
}

/* Gruppenüberschrift in der Ergebnisaufstellung */
.kalk-gruppe {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: #f3f6fb;
  padding: 10px 22px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #37517e;
  border-bottom: 1px solid #e4eaf3;
}

.option-block .leistungs-grid {
  margin-top: 6px;
}

/* Gruppenüberschrift in der Zusatzleistungen-Tabelle */
.addon-gruppe {
  background: #37517e;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 9px 26px;
}

/* Bausteine, die nur im Ausdruck erscheinen (Briefkopf, Angaben, Fußzeile) */
.print-only {
  display: none;
}

/* Druckansicht ---------------------------------------------------------------
   Ziel: ein sauberes A4-Dokument statt eines Screenshots der Website.
   Dezent farbig – ODIGIO-Blau als Akzent, keine großen Farbflächen.        */
@media print {

  @page {
    size: A4;
    margin: 15mm 14mm;
  }

  /* Alles, was zur Bedienung gehört, fliegt raus */
  #header,
  .wizard-intro,
  .wizard-progress,
  .wizard-live,
  .wizard-nav,
  .ergebnis-aktionen,
  .back-to-top,
  #footer,
  .wizard-fuss {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  body,
  .page-wizard {
    background: #fff;
    color: #333;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  #main {
    padding: 0;
  }

  .wizard {
    padding: 0;
  }

  .wizard .container,
  .wizard-card {
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  a {
    color: #37517e;
    text-decoration: none;
  }

  /* Briefkopf */
  .print-kopf {
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #37517e;
    break-after: avoid;
    page-break-after: avoid;
  }

  .print-kopf-zeile {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
  }

  .print-logo {
    height: 16mm;
    width: auto;
  }

  .print-kopf-titel {
    text-align: right;
  }

  .print-kopf-titel strong {
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 13pt;
    color: #37517e;
  }

  .print-kopf-titel span {
    font-size: 8.5pt;
    color: #7d8ca3;
  }

  .print-kopf-absender {
    margin: 6px 0 0 0;
    font-size: 8.5pt;
    color: #7d8ca3;
  }

  /* Dokumenttitel */
  .wizard-step h2 {
    font-size: 15pt;
    color: #37517e;
    margin: 0 0 12px 0;
  }

  /* Paketempfehlung */
  .ergebnis-empfehlung {
    background: #f4fbff;
    border: 1px solid #cbe8f8;
    padding: 12px 16px;
    margin-bottom: 14px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .ergebnis-empfehlung strong {
    font-size: 14pt;
    margin-bottom: 4px;
  }

  .ergebnis-empfehlung p {
    font-size: 9.5pt;
    line-height: 1.4;
  }

  .ergebnis-label {
    font-size: 7.5pt;
    margin-bottom: 1px;
  }

  /* Ihre Angaben */
  .print-angaben {
    margin-bottom: 14px;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .print-angaben h3 {
    font-family: "Jost", sans-serif;
    font-size: 11pt;
    color: #37517e;
    margin: 0 0 6px 0;
  }

  .print-angaben dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #e8edf5;
  }

  .print-angabe-breit {
    grid-column: 1 / -1;
  }

  .print-angaben dt {
    font-size: 7.5pt;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #7d8ca3;
    font-weight: 400;
  }

  .print-angaben dd {
    margin: 0;
    font-size: 9.5pt;
    color: #37517e;
  }

  /* Aufstellung */
  .kalk-table {
    border: 1px solid #e8edf5;
    border-radius: 0;
    margin-bottom: 14px;
  }

  .kalk-gruppe {
    background: #f3f6fb;
    font-size: 9.5pt;
    padding: 6px 14px;
    break-inside: avoid;
    page-break-inside: avoid;
    break-after: avoid;
    page-break-after: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .kalk-row {
    padding: 6px 14px;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .kalk-name {
    font-size: 9.5pt;
  }

  .kalk-name small {
    font-size: 8pt;
  }

  .kalk-betrag {
    font-size: 10pt;
  }

  .kalk-row-rabatt {
    background: #f7fbf8;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Summen – Rahmen statt Farbfläche, spart Toner */
  .ergebnis-summen {
    gap: 12px;
    margin-bottom: 14px;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .ergebnis-haupt {
    background: #fff;
    color: #37517e;
    border: 2px solid #37517e;
    border-radius: 0;
    padding: 12px 16px;
  }

  .ergebnis-haupt strong {
    font-size: 24pt;
    color: #37517e;
  }

  .ergebnis-haupt small,
  .ergebnis-haupt .ergebnis-label {
    color: #7d8ca3;
    font-size: 8.5pt;
  }

  .ergebnis-neben {
    gap: 8px;
  }

  .ergebnis-neben div,
  .ergebnis-neben .ergebnis-start {
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 0;
    padding: 8px 14px;
  }

  .ergebnis-neben strong {
    font-size: 13pt;
  }

  .ergebnis-neben small {
    font-size: 8pt;
    line-height: 1.3;
  }

  /* Hinweise und Fuß */
  .wizard-warnung {
    font-size: 9pt;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 0;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .ergebnis-disclaimer {
    background: none;
    border-top: 1px solid #e8edf5;
    border-radius: 0;
    padding: 8px 0 0 0;
    font-size: 8.5pt;
    line-height: 1.4;
    color: #6b7a90;
  }

  .ergebnis-kontakt {
    display: none;
  }

  .print-fuss {
    margin: 6px 0 0 0;
    font-size: 8pt;
    line-height: 1.4;
    color: #8b98ab;
  }
}

