/* neXcon – Servicenummern. Statische Website. */
:root {
  --ink: #10304a;        /* Kabelblau */
  --ink-2: #1b4466;
  --paper: #f5f7f9;
  --white: #ffffff;
  --signal: #ffc629;     /* Hotline-Gelb */
  --steel: #5e7184;
  --line: #d5dde5;
  --text: #17222c;
  --display: "Bahnschrift", "DIN Alternate", "DIN Next LT Pro", "D-DIN", "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; }
a { color: var(--ink-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }

/* Kopf */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.logo { display: block; line-height: 0; }
.logo svg { display: block; height: 30px; width: auto; }
.foot-logo svg { display: block; height: 24px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 4px; font-weight: 500; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); border-radius: 0; }
.head-call { font-family: var(--display); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font: inherit; color: var(--ink); }
@media (max-width: 900px) {
  .head-call { display: none; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
}

/* Startseite: Hero */
.hero { background: var(--ink); color: var(--white); padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p { color: #c9d6e2; font-size: 1.1rem; }
.dial { border-left: 4px solid var(--signal); padding-left: 24px; }
.dial-row { display: block; text-decoration: none; color: var(--white); padding: 10px 0; }
.dial-row + .dial-row { border-top: 1px solid rgba(255,255,255,.14); }
.dial-label { display: block; font-size: .95rem; color: #c9d6e2; }
.dial-number { display: block; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; color: var(--signal); line-height: 1.05; }
.dial-row:hover .dial-number { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.dial-note { font-size: .9rem; color: #9fb3c6; margin-top: 12px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 44px 0 40px; } }

/* Abschnitte */
.section { padding: 64px 0; }
.section + .section:not(.section-white) { padding-top: 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-white + .section:not(.section-white) { padding-top: 64px; }
.intro { max-width: 68ch; margin-bottom: 28px; }
.intro p { color: var(--steel); }

/* Vorwahl-Tafel */
.board { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.board th, .board td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.board thead th { font-size: .85rem; font-weight: 600; color: var(--steel); background: var(--paper); }
.board tbody tr { cursor: pointer; }
.board tbody tr:hover { background: #fffaea; }
.board .pfx { font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; width: 9.5rem; white-space: nowrap; }
.board .pfx small { display: block; font-size: .8rem; font-weight: 400; color: var(--steel); font-family: var(--body); }
.board .prod a { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.board .prod a::after { content: ""; }
.board .prod a:hover { text-decoration: underline; }
.board .prod span { display: block; color: var(--steel); font-size: .95rem; }
.board .pay { color: var(--text); font-size: .95rem; }
@media (max-width: 700px) {
  .board thead { display: none; }
  .board, .board tbody, .board tr, .board td { display: block; width: 100%; }
  .board tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .board td { padding: 0; border: 0; }
  .board .pfx { font-size: 1.6rem; width: auto; }
  .board .pay { margin-top: 4px; }
}

/* Vorteile als Definitionsliste */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; margin: 0; }
.facts div { padding: 20px 0; border-top: 2px solid var(--ink); }
.facts dt { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--text); }

/* Produktseite */
.masthead { background: var(--white); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.masthead .wrap { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.masthead .big-pfx { font-family: var(--display); font-weight: 700; font-size: clamp(3.6rem, 11vw, 7.5rem); line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; padding: 18px 22px 14px; background: var(--signal); white-space: nowrap; }
.masthead .big-pfx.small-txt { font-size: clamp(2.6rem, 7vw, 5rem); }
.crumb { font-size: .9rem; color: var(--steel); margin-bottom: 8px; }
.crumb a { color: var(--steel); }
.masthead .lead { font-size: 1.1rem; color: var(--text); margin: 0; }
.masthead .variants { color: var(--steel); font-size: .95rem; margin: 10px 0 0; }
@media (max-width: 760px) { .masthead .wrap { grid-template-columns: 1fr; gap: 20px; } .masthead { padding: 32px 0; } }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.article section { margin-bottom: 36px; }
.aside { align-self: start; position: sticky; top: 92px; }
.aside .box { background: var(--white); border: 1px solid var(--line); padding: 20px; margin-bottom: 16px; }
.aside h3 { font-size: 1rem; margin-bottom: 10px; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li + li { margin-top: 8px; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; gap: 24px; } .aside { position: static; } }

/* Ruf-uns-an-Streifen */
.callbar { background: var(--signal); color: var(--ink); padding: 36px 0; }
.callbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; }
.callbar h2 { margin: 0; font-size: 1.5rem; }
.callbar p { margin: 0; }
.callbar .nums { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-left: auto; }
.callbar a { color: var(--ink); text-decoration: none; }
.callbar a .num { font-size: 1.8rem; font-weight: 700; display: block; line-height: 1.1; }
.callbar a span { font-size: .9rem; }
.callbar a:hover .num { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 700px) { .callbar .nums { margin-left: 0; } }

/* Länder */
.filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.filter input { font: inherit; padding: 10px 14px; border: 1px solid #b8c4cf; border-radius: 4px; min-width: 260px; background: var(--white); }
.filter .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { font: inherit; font-size: .9rem; border: 1px solid #b8c4cf; background: var(--white); color: var(--ink); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.countries { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); }
.countries li { display: grid; grid-template-columns: 3rem minmax(10rem, 16rem) 1fr; gap: 12px; align-items: baseline; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.countries li:last-child { border-bottom: 0; }
.countries .cc { font-family: var(--display); font-weight: 700; color: var(--steel); }
.countries .cn { font-weight: 600; color: var(--ink); }
.countries .pl { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--display); font-size: .95rem; padding: 1px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); text-decoration: none; white-space: nowrap; }
a.tag:hover { border-color: var(--ink); }
.countries li[hidden] { display: none; }
@media (max-width: 640px) { .countries li { grid-template-columns: 2.5rem 1fr; } .countries .pl { grid-column: 2; } }
.count { color: var(--steel); font-size: .95rem; }

/* Downloads */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.docs h2 { font-size: 1.2rem; border-top: 2px solid var(--ink); padding-top: 12px; }
.docs ul { list-style: none; padding: 0; margin: 0; }
.docs li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.docs a { text-decoration: none; font-weight: 500; }
.docs a:hover { text-decoration: underline; }
.docs .type { font-size: .8rem; color: var(--steel); margin-left: 6px; }

/* Textseiten */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-grid .box { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.contact-grid .box .num { font-size: 1.7rem; font-weight: 700; color: var(--ink); display: block; }
.contact-grid a { text-decoration: none; }
.address { font-style: normal; }

/* Fuß */
.site-foot { background: var(--ink); color: #c9d6e2; padding: 40px 0; font-size: .95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.site-foot a { color: var(--white); }
.site-foot nav a { margin-right: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .dial-row .dial-number { transition: color .15s; }
}
@media print {
  .site-head, .callbar, .menu-btn { display: none; }
}

/* FAQ */
.faq { max-width: 80ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--steel); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }
