/* Fiber Connect Service — shared site styles */

:root {
  --ink: #1A1A1A;
  --ink-soft: #5b6472;
  --bg: #F8FAFC;
  --bg-alt: #ffffff;
  --accent: #0F62FE;
  --accent-dark: #0B2545;
  --font-display: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 64px); }

/* ---- Topbar ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { height: 32px; width: auto; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-size: .92rem; font-weight: 600;
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }
.topbar__cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 860px) {
  .nav { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; transition: transform .2s, background .2s;
  white-space: nowrap; border: none; cursor: pointer;
}
.btn--primary { color: #fff; background: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); background: transparent; }
.btn--ghost:hover { transform: translateY(-2px); }
.btn--accent { color: #fff; background: var(--accent); }
.btn--accent:hover { transform: translateY(-2px); }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 9vh, 96px) clamp(18px, 5vw, 64px) clamp(56px, 10vh, 110px);
  max-width: 1160px; margin: 0 auto;
}
.hero__eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.hero__title {
  font-family: var(--font-display); font-weight: 700; margin: 14px 0 0;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__body {
  margin: 20px 0 0; max-width: 52ch; font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  color: color-mix(in srgb, var(--ink) 78%, var(--ink-soft)); text-wrap: pretty;
}
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--accent-dark) 22%, transparent);
  aspect-ratio: 4 / 3.1;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Trust strip ---- */
.trust {
  background: var(--bg-alt);
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: clamp(36px, 6vh, 56px) 0;
}
.trust__item h3 {
  margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.trust__item p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.trust__icon {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-family: var(--font-display);
}

/* ---- Section shell ---- */
section.block { padding: clamp(64px, 10vh, 110px) 0; }
.block__header { max-width: 640px; margin: 0 0 clamp(36px, 5vh, 56px); }
.block__eyebrow {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.block__title {
  font-family: var(--font-display); font-weight: 700; margin: 12px 0 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em;
  text-wrap: balance;
}
.block__body {
  margin: 16px 0 0; font-size: 1.05rem; color: color-mix(in srgb, var(--ink) 78%, var(--ink-soft));
  text-wrap: pretty;
}

/* ---- Steps (Ablauf) ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--bg-alt); border-radius: 22px; overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.step__media { aspect-ratio: 4/3; overflow: hidden; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 20px 20px 24px; }
.step__num {
  font-family: ui-monospace, Menlo, monospace; font-size: .74rem; letter-spacing: .12em;
  color: var(--ink-soft);
}
.step__title { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.step__text { margin: 8px 0 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }

/* ---- Pricing (teaser + full grid share this) ---- */
.price-teaser, .price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card {
  position: relative; padding: 24px 20px; border-radius: 22px;
  background: var(--bg-alt);
  border: 1.5px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.price-grid .price-card { padding: 26px 22px; }
.price-card--highlight {
  background: color-mix(in srgb, var(--accent) 6%, #fff);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 16%, transparent);
}
.price-card__badge {
  position: absolute; top: -13px; left: 20px; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent);
  padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.price-card__price {
  margin: 10px 0 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; letter-spacing: -.01em;
}
.price-card__note { display: block; margin-top: 2px; font-size: .76rem; font-weight: 600; color: var(--accent); }
.price-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.price-card li {
  font-size: .9rem; line-height: 1.4; color: color-mix(in srgb, var(--ink) 78%, var(--ink-soft));
  padding-left: 18px; position: relative;
}
.price-card li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 999px; background: color-mix(in srgb, var(--accent) 55%, transparent);
}
.price-teaser__foot { margin-top: 32px; text-align: center; }

.extra-list {
  margin-top: clamp(40px, 6vh, 64px); padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.extra-list summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--accent);
  padding: 4px 0;
}
.extra-list summary::-webkit-details-marker { display: none; }
.extra-list summary::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s;
  margin-top: -2px;
}
.extra-list[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.extra-list h3 { margin: 24px 0 16px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.extra-list ul {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; max-width: 720px;
}
.extra-list li {
  display: flex; justify-content: space-between; gap: 12px; font-size: .92rem;
  padding: 10px 0; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 12%, transparent);
}
.extra-list li span:first-child { color: var(--ink); }
.extra-list li span:last-child { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }

.back-link {
  text-decoration: none; color: var(--ink-soft); font-size: .9rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.back-link:hover { color: var(--ink); }

/* ---- Contact / CTA band ---- */
.cta-band {
  background: var(--accent-dark); color: #fff; border-radius: 28px;
  padding: clamp(40px, 6vh, 64px) clamp(24px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 700; margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; text-wrap: balance;
}
.cta-band p { margin: 10px 0 0; color: color-mix(in srgb, #fff 78%, transparent); max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--primary { background: #fff; color: var(--accent-dark); }
.cta-band .btn--ghost { color: #fff; border-color: color-mix(in srgb, #fff 40%, transparent); }

/* ---- Footer ---- */
footer.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  padding: 32px 0; margin-top: clamp(48px, 8vh, 80px);
}
.footer__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.footer__brand img { height: 26px; width: auto; }
.footer__brand span { font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.footer__meta { font-size: .85rem; color: var(--ink-soft); display: flex; gap: 18px; flex-wrap: wrap; }
.footer__meta a { text-decoration: none; color: var(--ink-soft); }
.footer__meta a:hover { color: var(--ink); }
.footer__credit { opacity: .55; font-size: .78rem; text-decoration: none; color: var(--ink-soft); }
.footer__credit:hover { opacity: .85; color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16/10; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-teaser, .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .price-teaser, .price-grid { grid-template-columns: 1fr; }
  .extra-list ul { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
