/* Morefon Konfigurator – Styles nach referenz/mockups/Konfigurator.html */
:root {
  --accent: #40bc97;
  --accent-dark: #1e8a68;
  --accent-darker: #166b50;
  --lime: #b8dd20;
  --ink: #101a1d;
  --muted: #5a6665;
  --muted-2: #8a9593;
  --panel: #f4faf7;
  --ipa: #2f5d8a; /* Leistungen, die IP Austria verrechnet */
  --line: #e3efe9;
  --line-2: #c5dfd3;
  --line-3: #b3cdc2;
  --mint: #e6f6ed;
  --foot-text: #cfe3da;
  --font: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --display: Strawford, 'DM Sans', sans-serif;
}
/* DM Sans lokal (variable Schrift 100–900, Google-Fonts-Dateien v17; kein Abruf von Google) */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/DMSans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/DMSans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Strawford'; src: url('/fonts/Strawford-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: #fff; color: var(--ink); } /* Font-Smoothing wie morefon.com (Standard, nicht „antialiased") */
a { color: var(--accent-dark); }
a:hover { color: var(--accent-darker); }
button { font-family: inherit; cursor: pointer; color: inherit; touch-action: manipulation; } /* kein Doppeltipp-Zoom auf iOS bei + / − */
a, label, input[type=range], input[type=checkbox], .choice, .slot, .chip { touch-action: manipulation; }
input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, html { transition: none !important; scroll-behavior: auto; } }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Website-Kopf: pixelgleich mit morefon.com (Heinrich, 19.11.2026) – Maße dort am 19.11.2026 ausgemessen.
   Topbar 48 + 1px, Header 112 + 1px, Innenabstand 5 %, Markierungsbalken 3px, Umbruch auf den Handy-Kopf bei 990px.
   Die Website setzt die statischen DM-Sans-Schnitte (Regular mit künstlichem Fett in der Topbar), deshalb hier dieselben Dateien. */
@font-face { font-family: 'DM-Sans-Regular'; src: url('/fonts/DMSans-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM-Sans-Bold'; src: url('/fonts/DMSans-Bold.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
.topbar { height: 49px; border-bottom: 1px solid transparent; background: #0e181a; color: #cfcc00; font-family: 'DM-Sans-Regular', var(--font); font-size: 12px; font-weight: 700; line-height: 48px; text-align: right; white-space: pre; padding: 0 30px; }
.topbar a { color: #cfcc00; text-decoration: none; }
.topbar .sep { padding: 0 6px; }
.site-header { height: 113px; padding: 0 5%; display: flex; align-items: flex-start; justify-content: space-between; background: #fff; }
.brand { display: flex; align-items: center; margin-top: 20px; text-decoration: none; }
.brand img { width: 259px; height: 70px; display: block; }
.site-nav { display: flex; align-items: flex-start; gap: 25px; margin-right: 25px; font-family: 'Strawford', var(--font); font-size: 18px; line-height: 18px; font-weight: 400; color: #0e181a; }
.back-link { display: none; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.site-nav a, .site-nav .current { height: 112px; border-top: 3px solid transparent; display: flex; align-items: center; color: inherit; text-decoration: none; transition: color .2s linear, border-color .2s linear; }
.site-nav a:hover, .site-nav .current { color: #18ae97; border-top-color: #18ae97; }
.site-nav a.btn-pill:hover { border-top-color: transparent; }
.btn-pill span { padding: 9px 20px; border-radius: 100px; background: #18ae97; color: #fff; font-family: 'DM-Sans-Bold', var(--font); font-size: 12px; line-height: 14px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; transition: background-color .2s; }
.btn-pill:hover span { background: #0e181a; }
/* morefon.com macht den Beratungsknopf bis 1200px breiter */
@media (max-width: 1200px) { .btn-pill span { padding: 10px 50px; } }
/* Handy-Kopf wie bisher (nur Logo und Rückweg), aber schon ab 990px wie der Umbruch auf morefon.com */
@media (max-width: 990px) {
  .topbar, .site-nav { display: none; }
  .site-header { height: 64px; padding: 0 16px; align-items: center; }
  .brand { margin-top: 0; }
  .brand img { width: 130px; height: 35px; }
  .back-link { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); }
}

/* Sticky Konfigurator-Leiste */
.konf-bar { position: sticky; top: 0; z-index: 20; min-height: 48px; padding: 6px 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.konf-bar .left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.admin-info { font-size: 13px; color: var(--muted); margin-right: 6px; }
.admin-info code { font-family: monospace; color: var(--ink); font-weight: 700; }

/* Buttons */
.btn { height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-primary { border: 0; background: var(--accent); color: #fff; font-weight: 700; }
.btn-dark { border: 0; background: var(--ink); color: #fff; font-weight: 700; }
.btn-admin { height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 700; }
.btn-admin.on { border-color: var(--lime); background: var(--lime); }
.btn-dashed { align-self: flex-start; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px dashed var(--line-3); background: #fff; color: var(--accent-dark); font-weight: 600; font-size: 14px; }
.btn-cta { height: 56px; padding: 0 28px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 0; }
.btn-cta.big { height: 60px; padding: 0 32px; font-size: 18px; }
.btn-cta[disabled] { opacity: 0.6; cursor: wait; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; font-size: 20px; }
.stepper .dec { border: 1px solid var(--line-2); background: #fff; }
.stepper .inc { border: 0; background: var(--accent); color: #fff; }
.stepper .val { min-width: 28px; text-align: center; font-weight: 600; }
.stepper.small button { width: 40px; height: 40px; }
.stepper.small .val { font-weight: 700; font-size: 18px; }
.stepper input.val { width: 44px; min-width: 0; padding: 2px 0; font-family: inherit; color: inherit; background: transparent; border: 0; border-bottom: 2px dashed transparent; border-radius: 0; cursor: text; }
.stepper input.val:hover, .stepper input.val:focus { border-bottom-color: var(--accent); outline: none; }
.chip { height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; background: #fff; color: var(--muted); border: 1px solid var(--line-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.switch { width: 52px; height: 30px; border-radius: 999px; border: 0; padding: 3px; display: flex; align-items: center; flex-shrink: 0; background: var(--line-2); justify-content: flex-start; }
.switch.on { background: var(--accent); justify-content: flex-end; }
.switch span { width: 24px; height: 24px; border-radius: 999px; background: #fff; display: block; }

/* Seitenaufbau */
.page { display: flex; justify-content: center; padding: 40px 56px 56px; position: relative; }
/* Inhalt nutzt die ganze Fensterbreite (Heinrich, 16.11.2026); die Kostenkarte schwebt darüber */
.main { width: 100%; display: flex; flex-direction: column; gap: 36px; }
.hero { display: flex; flex-direction: column; gap: 14px; padding: 8px 0 12px; }
@media (min-width: 901px) {
  .hero { align-items: center; text-align: center; }
  .partners { justify-content: center; }
}
.kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-dark); }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 44px; letter-spacing: -1.2px; line-height: 1.08; max-width: 820px; }
.hero .sub { margin: 0; font-size: 18px; color: var(--muted); max-width: 720px; line-height: 1.5; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.promises { list-style: none; margin: 4px 0 0; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; flex-wrap: wrap; }
.promises li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.partners { display: flex; align-items: center; gap: 18px; padding: 4px 6px 0; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.partners img { height: 18px; width: auto; max-width: 140px; opacity: 0.85; }
.partners .sep { color: var(--line-2); }
/* Kopf gestrafft (Heinrich, 14.11.2026): Schritt 1 soll ohne Scrollen sichtbar sein */
@media (min-width: 901px) {
  .hero { gap: 10px; padding: 0; }
  .hero h1 { font-size: 30px; letter-spacing: -0.6px; max-width: none; }
  .hero .sub { font-size: 16px; max-width: none; }
  .promises { width: 100%; justify-content: center; gap: 28px; margin-top: 6px; padding: 0; background: none; border: 0; }
  .promises li { font-size: 13px; color: var(--muted); }
  .promises svg { width: 16px; height: 16px; }
  .page { padding-top: 28px; }
  .main { gap: 24px; }
}

.section { background: var(--panel); border-radius: 24px; border: 1px solid var(--panel); padding: 36px 40px; display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; gap: 16px; align-items: flex-start; }
.section-no { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--accent-dark); font-family: var(--display); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.5px; }
.section-head p { margin: 2px 0 0; font-size: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.grid-addr { display: grid; grid-template-columns: 3fr 1fr 2fr 2fr; gap: 16px; }
.card { background: #fff; border: 1px solid #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card.sel { border: 2px solid var(--accent); }
.note { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; padding: 12px 14px; border-radius: 12px; background: #fff; }

/* Paket */
.users-row { display: flex; align-items: center; justify-content: center; gap: 20px; }
.users-row button { width: 52px; height: 52px; border-radius: 14px; font-size: 26px; }
.users-num { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.users-num input { font-family: var(--display); font-weight: 700; font-size: 56px; letter-spacing: -2px; line-height: 1; width: 2.4em; padding: 0; text-align: center; color: inherit; background: transparent; border: 0; border-bottom: 2px dashed transparent; border-radius: 0; cursor: text; }
.users-num input:hover, .users-num input:focus { border-bottom-color: var(--accent); outline: none; }
.users-num span { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.6px; text-transform: uppercase; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.marks { position: relative; height: 16px; font-size: 12px; color: var(--muted); }
.marks span { position: absolute; transform: translateX(-50%); }
.sites-row { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line-2); gap: 12px; flex-wrap: wrap; }
.sites-row .label { font-size: 14px; font-weight: 600; color: var(--muted); }
.pbx-card { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; border-radius: 16px; background: #fff; border: 2px solid var(--accent); box-shadow: 0 6px 20px rgba(64,188,151,0.18); }
.pbx-card .label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-dark); }
.pbx-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pbx-card .name { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.5px; }
.pbx-card .price { font-family: var(--display); font-weight: 700; font-size: 30px; white-space: nowrap; }
.pbx-card .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.pbx-card .feats { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tier { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 12px 14px; border-radius: 14px; text-align: left; background: #fff; border: 1px solid #fff; min-height: 132px; }
.tier.sel { border: 2px solid var(--accent); }
.tier .badge { position: absolute; top: -11px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; }
.tier .badge.rec { left: 12px; background: var(--lime); color: var(--ink); }
.tier .badge.best { right: 12px; background: var(--accent); color: #fff; }
.tier .name { font-size: 12px; font-weight: 600; color: var(--accent-dark); letter-spacing: 0.3px; }
.tier .ch { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1; }
.tier .sub { font-size: 12px; color: var(--muted); line-height: 1.3; }
.tier .price { margin-top: auto; font-weight: 700; font-size: 18px; }
.tier .price small { font-weight: 400; font-size: 12px; color: var(--muted); }
.hint { margin: 0; font-size: 14px; color: var(--muted); }

/* Apps-Streifen */
.apps-strip { display: flex; flex-direction: column; gap: 10px; padding: 22px 28px; border-radius: 24px; background: var(--panel); border: 2px solid var(--lime); }
.apps-strip .head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.4px; white-space: nowrap; }
.apps-strip .list { display: flex; gap: 10px; flex-wrap: wrap; }
.app { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; flex: 1; min-width: 200px; }
.app .ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.app b { font-size: 14px; display: block; }
.app small { font-size: 12px; color: var(--muted); }

/* Hardware */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #fff; color: var(--muted); border: 1px solid var(--line-2); }
.tabs button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.row-opt .fixed-tag { font-size: 12px; font-weight: 700; color: var(--accent-dark); background: var(--mint); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.phone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 14px 12px; border-radius: 14px; background: #fff; border: 1px solid #fff; }
.phone { position: relative; }
.phone .info-btn { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--muted); font: 700 13px/1 Georgia, serif; font-style: italic; display: flex; align-items: center; justify-content: center; padding: 0; }
.phone .info-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
/* Info-Fenster je Gerät */
.info-modal { position: fixed; inset: 0; z-index: 60; background: rgba(16,26,29,0.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.info-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(16,26,29,0.25); }
.info-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--panel); font-size: 22px; line-height: 1; color: var(--ink); }
.info-head { display: flex; gap: 18px; align-items: center; }
.info-head img { width: 220px; height: 165px; object-fit: contain; flex: none; }
.info-head b { display: block; font-size: 20px; }
.info-head small { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.info-head .price { font-weight: 700; font-size: 17px; }
.info-head .price em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); }
.info-facts { margin: 18px 0 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.info-facts li { margin: 3px 0; }
.info-opinion { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--mint); border-radius: 0 12px 12px 0; }
.info-opinion p { margin: 0; font-size: 15px; line-height: 1.5; font-style: italic; }
.info-opinion footer { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--accent-dark); }
.info-foot { margin-top: 20px; display: flex; justify-content: flex-end; }
.info-ok { height: 44px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; }
.info-ok:hover { background: var(--accent-dark); }
body.info-open { overflow: hidden; }
@media (max-width: 700px) { .info-modal { align-items: flex-end; padding: 0; } .info-box { border-radius: 20px 20px 0 0; padding: 22px 18px 28px; max-height: 88vh; } .info-head img { width: 130px; height: 98px; } }
.phone.sel { border: 2px solid var(--accent); }
/* Fotos sind 4:3 und füllen die Kartenbreite */
.phone .img { width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.phone .img img { width: 100%; height: 100%; object-fit: contain; }
/* Hardware: immer drei Karten je Reihe, sobald das Fenster breiter als ein Smartphone ist (Heinrich, 16.11.2026) */
@media (min-width: 600px) { #phones { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* schmale Karten: Preis über dem Mengenfeld statt daneben */
@media (min-width: 600px) and (max-width: 1100px) { #phones .phone { padding: 12px 8px 10px; } #phones .phone .foot { flex-direction: column; gap: 6px; } }
.phone .img span { font-size: 11px; color: #636a6c; }
.phone .info { display: flex; flex-direction: column; gap: 1px; text-align: center; }
.phone .info b { font-size: 15px; }
.phone .info small { font-size: 12px; color: var(--muted); }
.phone .stock { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.phone .stock.ok { color: var(--accent-dark); }
.phone .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; }
.phone .price { font-weight: 700; font-size: 19px; white-space: nowrap; }
.row-opt { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #fff; }
.row-opt.on { border: 2px solid var(--accent); }
.row-opt.locked { opacity: 0.45; }
.row-opt.locked .switch { cursor: not-allowed; }
.row-opt .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.row-opt .text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.row-opt .text b { font-weight: 600; font-size: 16px; }
.row-opt .text span { font-size: 14px; color: var(--muted); }
.row-opt .price { display: flex; flex-direction: column; align-items: flex-end; min-width: 120px; }
.row-opt .price b { font-weight: 700; font-size: 20px; white-space: nowrap; }
.row-opt .price span { font-size: 12px; color: var(--muted); text-align: right; }
/* Extras: Preis und Bedienelement (Schalter oder +/−) stehen in allen Zeilen bündig – erst der Preis, ganz rechts das Bedienelement */
#addons .row-opt .price { order: 4; min-width: 150px; }
#addons .row-opt .stepper, #addons .row-opt .switch, #addons .row-opt .fixed-tag { order: 5; }
#addons .row-opt .switch { margin-left: 76px; } /* so breit wie +/− (128 px) */

/* Auswahl-Knöpfe mit Punkt */
.choice { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid #fff; text-align: left; width: 100%; }
.choice.on { border: 2px solid var(--accent); }
.choice .dot { width: 20px; height: 20px; border-radius: 999px; flex-shrink: 0; border: 2px solid var(--line-3); background: #fff; }
.choice.on .dot { border: 6px solid var(--accent); }
.choice .text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.choice .text b { font-weight: 600; font-size: 16px; }
.choice .text span { font-size: 14px; color: var(--muted); }
.choice .amount { font-weight: 700; font-size: 19px; white-space: nowrap; }
.choice.compact { padding: 10px 14px; }
.choice.locked { opacity: 0.55; cursor: not-allowed; }
.choice.static { cursor: default; }
.sub-list { display: flex; flex-direction: column; gap: 10px; }
.minutes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-left: 34px; }
.minute { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; }
.minute .text { flex-grow: 1; display: flex; flex-direction: column; }
.minute .text b { font-size: 15px; font-weight: 600; }
.minute .text span { font-size: 12px; color: var(--muted); }
.bw { flex: 1; min-height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #fff; text-align: left; }
.bw.sel { border: 2px solid var(--accent); }
.bw b { font-weight: 600; font-size: 15px; }
.bw span { font-size: 13px; color: var(--muted); }
/* Bandbreiten-Check */
.bw .mix { font-size: 12px; }
.bw .mix i { font-style: normal; color: var(--ipa); }
.bw.na { background: transparent; border: 1px dashed var(--line-3); }
.bw.na b { color: var(--muted); }
.bw.na.sel { border: 2px solid var(--accent); }
.bw .na-text { font-size: 12px; color: var(--muted); }
.bb-result { font-size: 14px; line-height: 1.5; padding: 12px 16px; border-radius: 14px; background: #fff; }
.bb-result .small { display: block; margin-top: 2px; }
.bb-link { border: 0; background: none; padding: 0; margin-top: 4px; color: var(--accent-dark); font-weight: 600; font-size: 14px; text-decoration: underline; }
.bb-box h3 { margin: 0 34px 8px 0; font-size: 20px; }
.bb-box p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.bb-grid { display: grid; grid-template-columns: 90px 1fr 130px; gap: 12px; margin-bottom: 10px; }
.bb-street { position: relative; }
.bb-sugg { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; margin-top: 4px; max-height: 220px; overflow: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 30px rgba(16,26,29,0.15); display: flex; flex-direction: column; }
.bb-sugg button { border: 0; background: none; text-align: left; padding: 10px 12px; font-size: 15px; }
.bb-sugg button:hover, .bb-sugg button:focus { background: var(--mint); }
.bb-sugg small { color: var(--muted); font-size: 12px; }
.bb-box select { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; padding: 0 10px; font: inherit; }
.bb-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.bb-skip { border: 0; background: none; padding: 0; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: underline; }
.info-ok[disabled] { opacity: 0.45; cursor: default; }
.bb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bb-cards button { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; text-align: left; }
.bb-cards button:hover, .bb-cards button:focus { border-color: var(--accent); background: var(--mint); }
.bb-cards img { width: 100%; height: 130px; object-fit: contain; }
.bb-cards b { font-size: 16px; }
.bb-cards span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.bb-note { margin: 18px 0 0 !important; font-size: 11px !important; color: var(--muted-2); }
@media (max-width: 700px) { .bb-grid { grid-template-columns: 1fr; } .bb-cards img { height: 100px; } }

/* Formulare */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.field input, .field select, .field textarea { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 16px; width: 100%; background: #fff; }
.field textarea { height: auto; min-height: 70px; padding: 10px 12px; resize: vertical; }
.field input.error { border-color: #d9534f; }
.field .err { color: #c0392b; font-weight: 500; }
.numbers { display: flex; flex-direction: column; gap: 10px; }
.number-row { display: flex; gap: 10px; align-items: flex-end; }
.number-row .field.short { width: 100px; flex-shrink: 0; }
.number-row .field.grow { flex-grow: 1; }
.number-row .remove { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-size: 18px; color: var(--muted); flex-shrink: 0; }
.site-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; }
.site-box b { font-size: 15px; }
.check { display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 15px; }
.check.boxed { padding: 14px 16px; border-radius: 12px; background: #fff; border: 2px solid var(--accent); font-weight: 600; }
.check input { width: 20px; height: 20px; flex-shrink: 0; }
.alert { padding: 14px 16px; border-radius: 12px; background: #fdecea; color: #8a1c1c; font-size: 14px; }
.submit-row { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Admin */
.section.admin { border: 2px solid var(--lime); border-radius: 20px; padding: 26px 32px; gap: 16px; }
.section.admin h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.5px; }
.admin-head { display: flex; align-items: center; gap: 12px; }
.section.admin .field input, .section.admin .field select, .section.admin .field textarea { height: 40px; border-color: #fff; font-size: 14px; padding: 0 10px; }
.section.admin .field textarea { height: auto; padding: 10px 12px; }
.manual-row { display: grid; grid-template-columns: 1fr 70px 110px 40px; gap: 8px; align-items: center; }
.manual-row input { height: 40px; padding: 0 10px; border-radius: 9px; border: 1px solid #fff; background: #fff; font-size: 14px; }
.manual-row input.num { text-align: right; }
.manual-row button { width: 40px; height: 40px; border-radius: 9px; border: 1px solid #fff; background: #fff; font-size: 16px; color: var(--muted); }
.manual-col { display: flex; flex-direction: column; gap: 8px; }
.manual-col > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.btn-dashed.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }

/* Kostenkarte */
.aside { width: 300px; position: fixed; right: 28px; bottom: 28px; z-index: 10; display: flex; flex-direction: column; gap: 12px; transition: right 0.25s ease; }
.aside.closed { right: -300px; --tab: 170px; /* eingeklappt steht der Monatspreis auf der Lasche, aufgeklappt nur „Kosten ›" */ }
/* Einfach/Detail hängt senkrecht über der Kosten-Lasche am rechten Rand, am Desktop wie am Handy */
.mode-switch { position: absolute; left: -38px; bottom: calc(var(--tab, 90px) + 8px); width: 38px; display: flex; flex-direction: column-reverse; overflow: hidden; background: #fff; border-radius: 12px 0 0 12px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(16,26,29,0.10); }
.mode-switch button { padding: 14px 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; writing-mode: vertical-rl; transform: rotate(180deg); }
.mode-switch button.on { background: var(--accent); color: #fff; }
.aside-tab { position: absolute; left: -38px; bottom: 0; width: 38px; height: var(--tab, 90px); /* feste Höhe für fünfstellige Beträge, damit der Preis nie in eine zweite Zeile umbricht */ white-space: nowrap; overflow: hidden; border-radius: 0 12px 12px 0; /* um 180° gedreht: die Rundung zeigt damit zur Bildschirmmitte */ border: 0; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg); }
.costs { background: #fff; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; border: 2px solid var(--accent); box-shadow: 0 12px 40px rgba(16,26,29,0.12); }
.costs .head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.costs .head .label { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-dark); }
.costs .tag { padding: 3px 9px; }
.costs .totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.costs .totals span { font-size: 12px; color: var(--muted); display: block; }
.costs .totals b { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -1px; line-height: 1; white-space: nowrap; }
.costs .gross { font-size: 12px; color: var(--muted); }
.costs .lines { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.costs .lines div { display: flex; justify-content: space-between; gap: 12px; }
.costs .lines div span:first-child { color: var(--muted); }
.costs .lines div span:last-child { font-weight: 600; white-space: nowrap; }
.costs .lines div.sum { padding-top: 8px; border-top: 1px solid var(--line); }
.costs .lines div.sum span { font-weight: 700; color: var(--ink); }
.costs .toggle-lines { align-self: flex-start; height: 28px; padding: 0; border: 0; background: transparent; color: var(--accent-dark); font-weight: 600; font-size: 13px; }
.costs .incl { padding: 10px 12px; border-radius: 10px; background: var(--panel); font-size: 12px; color: var(--muted); }
.costs .incl strong { color: var(--ink); }
.costs .cta { height: 56px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.costs .fine { font-size: 12px; color: var(--muted); text-align: center; }
.costs.busy .totals b { opacity: 0.5; }

/* Fuß (Desktop-Maße von morefon.com) */
.cta-band { position: relative; background: #18ae97; min-height: 296px; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; overflow: hidden; }
.band-circle { position: absolute; left: 150px; top: -44px; width: 318px; height: 106px; }
.band-person { position: absolute; right: 150px; bottom: 0; width: 239px; height: 266px; }
.band-text { width: 398px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.band-text h2 { margin: 0 0 30px; font-family: 'Strawford', var(--font); font-weight: 700; font-size: 30px; line-height: 30px; }
.band-text p { margin: 0 0 20px; font-size: 18px; line-height: 32px; font-weight: 500; }
.band-text a { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 44px; border: 1px solid #fff; border-radius: 999px; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 2px; text-decoration: none; }
.site-footer { background: #0e181a; color: #868b8c; padding: 60px 72px 50px; display: flex; flex-direction: column; gap: 0; font-size: 18px; font-weight: 500; line-height: 32px; }
.site-footer .cols { display: grid; grid-template-columns: 163px 153px 378px 388px; justify-content: space-between; gap: 40px; }
.site-footer .col-brand img { width: 163px; height: 37px; display: block; margin: 10px 0 20px; opacity: 0.5; }
.site-footer p { margin: 0; }
.site-footer h4 { margin: 0 0 12px; font-size: 18px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #868b8c; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer .cols div > a { display: block; line-height: 18px; margin-bottom: 18px; font-weight: 700; }
.site-footer .cols div:nth-child(3) p { line-height: 30px; }
.site-footer .contact { text-align: right; }
.site-footer .contact b { display: block; font-family: 'Strawford', var(--font); font-weight: 700; font-size: 36px; line-height: 37px; color: #cfcc00; margin-bottom: 30px; white-space: nowrap; }
.site-footer .contact p { color: #fff; line-height: 30px; }
.site-footer .contact a { color: #fff; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 100px; padding-top: 18px; border-top: 1px solid #868b8c; font-size: 14px; line-height: 32px; }
.site-footer .bottom div { display: flex; gap: 28px; }

/* Responsiv */
/* Kostenkarte schwebt über dem Inhalt (wie im Mockup), der Inhalt nutzt die volle Breite */
@media (max-width: 1240px) and (min-width: 901px) {
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .topbar, .site-header, .konf-bar, .page, .cta-band, .site-footer { padding-left: 16px; padding-right: 16px; }
  .konf-bar { padding: 6px 12px; }
  .hero { padding-top: 0; }
  .hero h1 { font-size: 28px; }
  .hero .sub { font-size: 16px; }
  .btn-cta { height: 50px; padding: 0 20px; font-size: 16px; }
  .promises, .hero .kicker, .hero-cta { display: none; } /* Handy: ohne Kicker-Zeile und ohne Hero-Knopf */
  /* Extras/Schalterzeilen: Text in voller Breite, Zähler/Preis/Schalter in zweiter Zeile */
  .row-opt { flex-wrap: wrap; gap: 10px 12px; padding: 14px; }
  .row-opt .text { flex: 1 1 calc(100% - 56px); }
  .row-opt .stepper { order: 3; }
  .row-opt .price { order: 4; min-width: 0; margin-left: auto; align-items: flex-end; }
  .row-opt .switch { order: 5; }
  #addons .row-opt .price { order: 3; min-width: 0; margin-left: 0; margin-right: auto; align-items: flex-start; }
  #addons .row-opt .price span { text-align: left; }
  #addons .row-opt .switch { margin-left: 0; }
  .minute { flex-wrap: wrap; }
  .minute .text { flex: 1 1 100%; }
  .minute .stepper { margin-left: auto; }
  .sites-row > div { width: 100%; }
  .partners { font-size: 12px; gap: 12px; }
  .partners span { flex: 1 1 100%; } /* Handy: Text oben, Logos gemeinsam darunter */
  .cta-band { padding: 36px 16px; }
  .cta-band h2 { font-size: 24px; }
  /* Handy: kompakter Fuß im Konfigurator-Stil – nur die vier Links */
  .cta-band, .site-footer .cols { display: none; }
  .site-footer { background: var(--panel); color: var(--muted); padding: 20px 16px 28px; gap: 0; }
  .site-footer .bottom { border-top: 0; padding-top: 0; margin-top: 0; justify-content: center; font-size: 14px; }
  .site-footer .bottom div { gap: 18px; justify-content: center; }
  .site-footer .bottom a { color: var(--ink); font-weight: 600; }
  .site-footer .bottom span { display: none; }
  .konf-bar { flex-wrap: wrap; }
  .konf-bar .left { width: 100%; }
  .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
  .section { padding: 22px 16px; border-radius: 18px; }
  .grid-2, .grid-3, .grid-addr, .minutes { grid-template-columns: 1fr; padding-left: 0; }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { flex-wrap: wrap; }
  /* Paketkarte kompakt (Heinrich, 21.10.2026): Name und Preis in einer Zeile, Merkmale eng, Kanal-Hinweis steht unter dem Raster */
  .pbx-card { padding: 14px 16px; gap: 6px; }
  .pbx-card .name { font-size: 20px; }
  .pbx-card .price { font-size: 20px; }
  .pbx-card .feats { gap: 3px; font-size: 13px; color: var(--muted); }
  .pbx-card .feats .small { display: none; }
  .choice .text { flex: 1 1 0; }
  .choice .amount { flex-basis: 100%; padding-left: 34px; } /* Betrag unter den Text, sonst ragt er auf dem Handy hinaus */
  .manual-row { grid-template-columns: 1fr 60px 90px 40px; }
  .promises { justify-content: flex-start; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .site-footer .contact { text-align: left; }
  .page { padding-bottom: 140px; }
  .aside { width: auto; left: 0; right: 0; bottom: 0; transition: transform 0.25s ease; }
  .aside.closed { right: 0; transform: translateY(calc(100% - 0px)); }
  .mode-switch { left: auto; right: 0; bottom: calc(100% + var(--tab, 90px) + 24px); }
  .aside-tab { left: auto; right: 0; bottom: calc(100% + 16px); }
  .costs { border-radius: 18px 18px 0 0; max-height: 70vh; overflow: auto; }
}
.costs .lines s { font-weight: 400; color: var(--muted); margin-right: 4px; }
.costs .lines div span:last-child { display: flex; align-items: center; gap: 8px; }
.costs .lines .ovr-price { padding: 0; border: 0; border-bottom: 1px dashed transparent; background: transparent; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.costs .lines .ovr-price.on { background: #f4fbd9; font-weight: 700; }
.costs .lines .ovr-price:hover, .costs .lines .ovr-price:focus-visible { border-bottom-color: var(--muted); } /* Linie nur beim Darüberfahren (Heinrich, 15.11.2026) */
.costs .lines .ovr-in { width: 84px; height: 26px; padding: 0 6px; border: 1px solid var(--ink); border-radius: 6px; font: inherit; font-weight: 600; text-align: right; background: #fff; color: var(--ink); }
.costs .lines small { font-weight: 400; color: var(--muted); }
.costs .lines .ovr-price.low { color: #c0392b; }
.costs .lines .ovr-price.low:hover, .costs .lines .ovr-in.low { color: #c0392b; border-color: #c0392b; }
.costs .lines .ovr-in.bad { border-color: #c0392b; background: #fdecea; }
/* Preise in den Schritten (Admin-Modus): anklickbar, Feld schwebt über dem Preis */
u.ovr-price { text-decoration: none; border-bottom: 1px dashed transparent; cursor: pointer; }
u.ovr-price:hover { border-bottom-color: currentColor; }
u.ovr-price.on { background: #f4fbd9; color: var(--ink); }
u.ovr-price.low { color: #c0392b; }
.ovr-pop { position: absolute; z-index: 60; width: 100px; height: 32px; padding: 0 8px; border: 1px solid var(--ink); border-radius: 6px; font: inherit; font-size: 15px; font-weight: 600; text-align: right; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ovr-pop.low { color: #c0392b; border-color: #c0392b; }
.ovr-pop.bad { border-color: #c0392b; background: #fdecea; }
.costs .lines .ovr-hint { display: block; font-size: 12px; color: var(--muted); }
