/* Schlanke Fassung (30.11.): mehr Luft, größere Überschriften, eine Kopfleiste */
.sec { padding-block: clamp(5rem, 11vw, 8.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.sec-head .sub { font-size: 1.08rem; }
/* Kopfleiste: links Hallo Zentrale, rechts Demo */
.nav .wrap { justify-content: space-between; }
.nav .brand.home { font-weight: 600; letter-spacing: -.02em; }
/* Unterseiten-Marke klein im Hero */
.sub-brand { display: inline-block; font: 500 .8rem var(--fm, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2rem; }
/* Drei Funktionen */
.bento.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento.three .card { grid-column: auto; }
@media (max-width: 860px) { .bento.three { grid-template-columns: 1fr; } }
/* Ein Tarif, Rest aufklappbar */
.plans.one { display: block; max-width: 460px; margin: 3rem auto 0; overflow: visible; padding: 0; }
.plans.one .plan { flex: none; }
.more-plans { max-width: 760px; margin: 1.6rem auto 0; text-align: center; }
.more-plans > summary { cursor: pointer; display: inline-block; color: var(--ink-2); font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; list-style: none; }
.more-plans > summary::-webkit-details-marker { display: none; }
.more-plans[open] > summary { margin-bottom: 1.2rem; }
.more-plans .mp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
@media (max-width: 620px) { .more-plans .mp { grid-template-columns: 1fr; } }
.more-plans .mp > div { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.more-plans .mp h3 { font-size: 1.05rem; }
.more-plans .mp strong { display: block; font-size: 1.5rem; margin: .3rem 0 .5rem; letter-spacing: -.02em; }
.more-plans .mp p { color: var(--muted); font-size: .9rem; }
/* Formular: Zusatzangaben aufklappbar */
.form details.more { grid-column: 1 / -1; }
.form details.more > summary { cursor: pointer; font-size: .85rem; color: #c9cbd1; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.form details.more > summary::-webkit-details-marker { display: none; }
.form details.more[open] > summary { margin-bottom: .8rem; }
.form details.more .grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .form details.more .grid { grid-template-columns: 1fr; } }
/* Drei Tarife nebeneinander, auf dem Handy wischbar */
@media (min-width: 1101px) { .plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; } }

/* Handy (30.11.): ordentliche Abstände, große Tippflächen, wischbare Auswahl */
@media (max-width: 560px) {
  .hero h1, .va h1 { font-size: clamp(1.85rem, 8.4vw, 2.4rem); hyphens: manual; -webkit-hyphens: manual; }
  .va h1 .grey { font-size: .66em; }
  .hero .sub, .va-sub { font-size: 1.02rem; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-inline: auto; }
  .hero-cta .btn { width: 100%; justify-content: center; min-height: 50px; }
  .pills, .seg { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .pills::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
  .pills { width: calc(100% + 40px); max-width: none; margin-inline: -20px; padding: 2px 20px 6px; }
  .pills button, .seg button { flex: none; min-height: 44px; scroll-snap-align: start; }
  #seg { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
  #seg button { flex: none; }
  section.trust .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; text-align: left; font-size: .86rem; justify-content: stretch; }
  .chips label > span { padding: 0 13px; font-size: .88rem; min-height: 42px; }
  .final { padding: 26px 20px; border-radius: 16px; }
  .form details.more > summary, .bform details.more > summary { display: inline-block; padding-block: 10px; }
  .form .check, .bform .bcheck { padding-block: 4px; }
  .form input[type=checkbox], .bform input[type=checkbox] { width: 20px; height: 20px; flex: none; }
  footer p a, .legal-line a { display: inline-block; padding-block: 5px; }
  .clist { display: none; }
  .faq summary { min-height: 48px; }
}

/* Branchen-Auswahl als Chips statt Systemmenü */
.chips { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: .5rem; font-size: .84rem; font-weight: 500; width: 100%; }
.chips label { position: relative; display: block !important; margin: 0; }
.chips input { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; margin: 0; pointer-events: none; }
.chips label > span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s, color .15s; user-select: none; }
.chips label:hover > span { border-color: var(--ink-2); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chips[aria-invalid="true"] label > span { border-color: #d14343; }
.form .chips legend { color: #c9cbd1; font-weight: 400; font-size: .82rem; }
.form .chips label > span { background: #16171a; border-color: #2e2f35; color: #c9cbd1; }
.form .chips label:hover > span { border-color: #8a8c94; }
.form .chips input:checked + span { background: #fff; border-color: #fff; color: var(--ink); }
.chip-other[hidden] { display: none !important; }

/* Kopfleiste mit ruhigen Links, auf dem Handy als Menü */
.tnav { display: flex; gap: 1.7rem; margin-left: auto; font-size: .93rem; }
.tnav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.tnav a:hover, .tnav a[aria-current="page"] { color: var(--ink); }
.tnav + .nav-cta { margin-left: 1.6rem; }
.mnav { display: none; position: relative; }
.mnav > summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 10px; color: var(--ink); }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary svg { width: 22px; height: 22px; }
.mnav[open] > summary { background: var(--bg-soft); }
.mnav-p { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 220px; z-index: 40; }
.mnav-p a { padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .98rem; }
.mnav-p a:hover, .mnav-p a[aria-current="page"] { background: var(--bg-soft); }
.backlink { display: none; }
@media (max-width: 760px) {
  .tnav { display: none; }
  .mnav { display: block; }
  .nav .wrap { gap: .35rem; }
  .nav-cta { margin-left: auto; }
  .backlink { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; font-size: .9rem; color: var(--muted); text-decoration: none; margin-bottom: .2rem; }
}
