/* FMC Rechner */
  
  /* Wrapper */
  .fmc-rechner {
    padding: 3rem 1.5rem 5rem;
    font-family: 'TeleNeo Var', "TeleNeo Web", Arial, Helvetica, sans-serif;
    font-size: 16px;
  }
  @media (max-width: 767px) {
    .fmc-rechner {
      padding-left: 0;
      padding-right: 0;
      padding-bottom: 7rem;
    }
  }
  
  /* Layout */
  .fmc-rechner__layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 24px;
    align-items: start;
  }
  @media (max-width: 740px) {
    .fmc-rechner__layout { grid-template-columns: 1fr; }
  }
  
  @media (max-width: 767px) {
    .fmc-rechner__layout > aside { display: none; }
  }

  /* Mobile summary */
  .fmc-mobile-summary {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    font-family: 'TeleNeo Var', "TeleNeo Web", Arial, Helvetica, sans-serif;
    box-shadow: 0 -6px 24px rgba(0,0,0,.12);
  }
  @media (min-width: 768px) {
    .fmc-mobile-summary { display: none !important; }
  }

  
  .fmc-mobile-summary__bar {
    display: flex;
    align-items: center;
    padding: 0 16px 0 20px;
    height: 68px;
    cursor: pointer;
    gap: 12px;
  }

  
  .fmc-mobile-summary__price-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
  }
  .fmc-mobile-summary__per-month {
    font-size: 14px;
    font-weight: 400;
    color: #949494;
    line-height: 1;
    margin-bottom: 4px;
  }
  .fmc-mobile-summary__price {
    font-size: 22px !important;
    font-weight: 800;
    line-height: 1;
    color: #222;
    white-space: nowrap;
  }

  
  .fmc-mobile-summary__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex-shrink: 0;
  }
  .fmc-mobile-summary__saving {
    display: inline-flex;
    align-items: center;
    background: #e6f5ef;
    color: #0a6b3e;
    font-size: 16px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
  }
  .fmc-mobile-summary__count {
    font-size: 14px !important;
    font-weight: 400;
    color: #949494;
    line-height: 1;
  }

  
  .fmc-mobile-summary__expand {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    visibility: hidden;
  }
  .fmc-mobile-summary__expand-icon {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    font-size: 20px;
    color: #222;
    transition: transform .25s;
    display: block;
  }
  .fmc-mobile-summary--open .fmc-mobile-summary__expand-icon {
    transform: rotate(180deg);
  }

  
  .fmc-mobile-summary__drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s cubic-bezier(.4,0,.2,1);
    border-top: 1px solid #f0f0f0;
  }
  .fmc-mobile-summary--open .fmc-mobile-summary__drawer {
    max-height: 72vh;
    overflow-y: auto;
  }
  .fmc-mobile-summary__drawer-inner {
    padding: 20px 20px 28px;
  }
  
  @keyframes fmc-section-pulse {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.03); }
    65%  { transform: scale(0.99); }
    100% { transform: scale(1); }
  }
  .fmc-rechner__section--pulse {
    animation: fmc-section-pulse .55s ease-out both;
  }

  /* Titles */
  .fmc-rechner__title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: #222;
  }
  .fmc-rechner__subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 2.5rem;
  }
  .fmc-rechner__subtitle a { color: #e20074; text-decoration: none; font-weight: 700; }
  
  /* Sections */
  .fmc-rechner__section {
    margin-bottom: 18px;
    padding: 1.875rem;
    background: #fff;
    border-radius: 24px;
  }
  
  @media screen and (max-width: 767px) {
    .fmc-rechner__section {
      padding: 1.5rem 0.8rem;
    }
  }
  
  .fmc-rechner__section-question {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.15;
    color: #222;
  }
  .fmc-rechner__section-question a {
    color: #e20074;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .fmc-rechner__section-icon {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    font-size: 26px;
    color: #e20074;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
    top: -1px;
  }
  .magenta-icon-internet:before   { content: "\e93f"; }
  .magenta-icon-smartphone:before { content: "\e9ce"; }
  .magenta-icon-tv:before         { content: "\e951"; }
  
  .fmc-rechner__section-hint {
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  
  /* Tiles */
  .fmc-rechner__tariff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
    gap: 10px;
  }

  
  .fmc-tariff-tile {
    display: flex;
    flex-direction: column;
    border: 1.5px solid #c5c5c5;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    user-select: none;
    position: relative;
    min-height: 110px;
  }
  .fmc-tariff-tile:hover {
    border-color: #c8c8c8;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
  }

  
  .fmc-tariff-tile__body {
    flex: 1;
    padding: 14px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  
  .fmc-tariff-tile--selected,
  .fmc-tariff-tile.cmp-form-options__checked {
    border: 2px solid #e20074;
    box-shadow: 0 2px 10px rgba(226,0,116,.1);
  } 

  
  .fmc-tariff-tile__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
  }

  .fmc-tariff-tile__small-text {
    font-size: 12px;
  }
  
  .fmc-tariff-tile__highlight {
    font-size: 22px;
    font-weight: 800;
    color: #222;
    line-height: 1.1;
  }
  .fmc-tariff-tile--selected .fmc-tariff-tile__highlight,
  .fmc-tariff-tile.cmp-form-options__checked .fmc-tariff-tile__highlight {
    color: #222;
  }

  
  .fmc-tariff-tile__sub {
    font-size: 12px;
    color: #949494;
    line-height: 1.4;
    margin-top: 1px;
  }

  
  .fmc-tariff-tile__price-row {
    border-top: 1px solid #c5c5c5;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    transition: background .15s, border-color .15s;
    margin: 0 14px;
  }
  .fmc-tariff-tile__price--gross {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    text-decoration: line-through;
    line-height: 1;
  }
  .fmc-tariff-tile--selected .fmc-tariff-tile__price--gross,
  .fmc-tariff-tile.cmp-form-options__checked .fmc-tariff-tile__price--gross {
    color: #c47a99;
  }
  .fmc-tariff-tile__price--final-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .fmc-tariff-tile__price--final {
    font-size: 22px;
    font-weight: 800;
    color: #e20074;
    transition: color .15s;
    line-height: 1;
  }
  .fmc-tariff-tile__price--monthly {
    font-size: 12px;
    font-weight: 400;
    color: #949494;
    margin-left: 1px;
  }
  .fmc-tariff-tile--selected .fmc-tariff-tile__price--monthly,
  .fmc-tariff-tile.cmp-form-options__checked .fmc-tariff-tile__price--monthly {
    color: #b5005f;
  }

  
  .fmc-tariff-tile__check {
    position: absolute;
    top: 10px; right: 10px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #e20074;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .fmc-tariff-tile--selected .fmc-tariff-tile__check,
  .fmc-tariff-tile.cmp-form-options__checked .fmc-tariff-tile__check {
    display: flex;
  }
  .fmc-tariff-tile__check svg {
    width: 10px; height: 10px;
    stroke: #fff; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round; fill: none;
  }
  
  
  .fmc-rechner__tv-bonus {
    font-size: 14px;
    color: #0a6b3e;
    background: #e6f5ef;
    border-radius: 8px;
    padding: 9px 13px;
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
    font-weight: 600;
  }
  .fmc-rechner__tv-bonus svg {
    width: 14px; height: 14px;
    stroke: #0a6b3e; fill: none;
    stroke-width: 2; stroke-linecap: round;
    flex-shrink: 0; margin-top: 2px;
  }

  /* Mobile CTA below TV section */
  .fmc-rechner__mobile-cta {
    display: none;
    margin-top: 18px;
    padding: 0 0.8rem;
  }
  @media (max-width: 767px) {
    .fmc-rechner__mobile-cta {
      display: block;
    }
  }
  
  .fmc-summary {
    padding: 1.875rem;
    background: #fff;
    border-radius: 24px;
  }
  .fmc-summary--fixed {
    position: fixed;
    width: 330px;
    max-height: calc(100vh - 162px - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  
  .fmc-summary__header {
    margin-bottom: 1.25rem;
  }
  .fmc-summary__discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
  }
  .fmc-summary__discount-badge--family {
    background: #95a5f3;
    color: #222222;
  }
  .fmc-summary__discount-badge--plus {
    background: #74e281;
    color: #222222;
  }
  .fmc-summary__discount-badge svg {
    width: 14px; height: 14px;
    flex-shrink: 0;
  }
  
  .fmc-summary__lines { margin-bottom: 1rem; }
  .fmc-summary__line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
  }
  .fmc-summary__line:last-child { border-bottom: none; }
  
  .fmc-summary__line-left { display: flex; align-items: flex-start; gap: 10px; }
  .fmc-summary__line-icon {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: #f5f5f5;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 1px;
  }
  .fmc-summary__line-icon svg {
    width: 14px; height: 14px;
    stroke: #888; fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  }
  .fmc-summary__line-name  { font-size: 16px; font-weight: 800; color: #222; }
  .fmc-summary__line-badge { font-size: 13px; margin-top: 2px; font-weight: 400; }
  .fmc-summary__line-badge--family { color: #222222; }
  .fmc-summary__line-badge--plus   { color: #222222; }
  .fmc-summary__line-badge--none   { color: #aaa; }
  
  .fmc-summary__line-prices { text-align: right; flex-shrink: 0; }
  .fmc-summary__price-gross { font-size: 13px; color: #aaa; text-decoration: line-through; }
  .fmc-summary__price-final { font-size: 16px; font-weight: 800; color: #222; }
  
  
  .fmc-summary__savings {
    border: 1px dashed #d8d8d8;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 1rem;
    background: #fafafa;
  }
  .fmc-summary__savings-label {
    font-size: 14px; 
    color: #222222;
    margin-bottom: 10px;
    font-weight: 600; 
  }
  .fmc-summary__savings-item { font-size: 16px;
    color: #222222;
    font-weight: 400;
    margin-bottom: 2px;
  }
  .fmc-summary__savings-item span {
    color: #e20074;
    font-weight: 700;
  }
  
  .fmc-summary__totals { padding-top: 14px; border-top: 1px solid #e6e6e6; }
  .fmc-summary__totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }
  .fmc-summary__totals-label     { font-size: 16px; color: #666; font-weight: 400; }
  .fmc-summary__totals-value--old { font-size: 16px; color: #666; text-decoration: line-through; }
  .fmc-summary__totals-main      { display: flex; justify-content: space-between; align-items: baseline; }
  .fmc-summary__totals-main-label { font-size: 16px; font-weight: 800; color: #222; }
  .fmc-summary__totals-main-price { font-size: 22px !important; font-weight: 800; color: #e20074; line-height: initial; }
  
  
  .fmc-summary__empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
  }
  .fmc-summary__empty-icon {
    width: 44px; height: 44px;
    border: 1.5px solid #e6e6e6;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
  }
  
  
  .fmc-summary__nudge {
    border: 1.5px solid #b5d4f4;
    background: #eef5fb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 1.25rem;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .fmc-summary__nudge svg {
    width: 20px; height: 20px;
    stroke: #185fa5; fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0; margin-top: 1px;
  }
  .fmc-summary__nudge-text { font-size: 14px; color: #0c447c; line-height: 1.55; font-weight: 600; }
  .fmc-summary__nudge-text strong { font-weight: 800; display: block; margin-bottom: 3px; }
  .fmc-summary__nudge-text em { font-style: normal; font-weight: 800; }
