/* network.de – Entwurf 2 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk.woff2') format('woff2-variations');
}

:root {
  --ink:      #0c1322;
  --ink-2:    #172036;
  --bg:       #ffffff;
  --soft:     #f3f5f8;
  --text:     #121722;
  --muted:    #586072;
  --muted-d:  #9aa4b8;
  --line:     #e2e5ea;
  --line-d:   rgba(255, 255, 255, .12);
  --blue:     #1d6cf0;
  --blue-d:   #1557c7;
  --blue-l:   #8ab8ff;
  --sans:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display:  'Space Grotesk', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-d); }
a:hover { color: var(--text); }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h2, h3 { text-wrap: balance; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}
.nav__brand img { height: 28px; width: auto; }
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a,
.nav__phone {
  color: var(--text);
  text-decoration: none;
}
.nav__links a:hover { color: var(--blue-d); }
.nav__phone {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.nav__phone:hover { border-color: var(--text); color: var(--text); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .2s, opacity .2s;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bausteine */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--blue-d); color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }

.link-arrow {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .15s;
}
.link-arrow::after { content: ' →'; content: ' →' / ''; }
.link-arrow:hover { color: var(--text); border-color: var(--blue); }
.link-arrow--light { color: #fff; border-color: rgba(255, 255, 255, .25); }
.link-arrow--light:hover { color: #fff; border-color: var(--blue-l); }

.section { padding: 112px 0; }
.section__head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}
.section__head h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.section__head h2:only-child { grid-column: 1 / -1; }
.section__head p {
  max-width: 560px;
  color: var(--muted);
}

/* Einstieg */
.intro { padding: 88px 0 104px; }
.intro__dateline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.intro__dateline::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--blue);
}
.intro h1 {
  max-width: 1080px;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.intro h1 span { color: var(--blue); }
.intro__grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 64px;
  align-items: end;
  margin-top: 56px;
}
.intro__body p:first-child {
  max-width: 520px;
  font-size: 19px;
  color: var(--muted);
}
.intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 32px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 2px;
  padding: 20px 20px 0 0;
}
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dd {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stats dt { font-size: 14px; color: var(--muted); }

/* Portale */
.portals-section {
  padding: 112px 0;
  background: var(--soft);
}
.portals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 40px;
}
.portal {
  --tint: #e8ecf3;
  --accent: var(--blue);
}
.portal--wetter    { --tint: #fbeccb; --accent: #e09a00; }
.portal--berufe    { --tint: #d8efdf; --accent: #0a8f35; }
.portal--verkehr   { --tint: #dbe2f1; --accent: #0b2f75; }
.portal--holiday   { --tint: #d6eaf6; --accent: #0f5f9e; }
.portal--babelfish { --tint: #d3eeee; --accent: #128a95; }
.portal--map       { --tint: #f9e0da; --accent: #d42a1a; }

.portal a {
  display: block;
  color: var(--text);
  text-decoration: none;
}
.portal__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 40px 0 0 40px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--tint);
}
.portal__stage img {
  width: 118%;
  max-width: none;
  border-radius: 6px 0 0 0;
  box-shadow: 0 20px 40px -18px rgba(12, 19, 34, .35), 0 0 0 1px rgba(12, 19, 34, .06);
  transition: transform .35s ease;
}
.portal a:hover .portal__stage img { transform: translate(-6px, -6px); }
.portal__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.portal h3 {
  font-size: 24px;
  letter-spacing: -0.015em;
}
.portal h3::after {
  content: '↗';
  content: '↗' / '';
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  transition: color .15s;
}
.portal a:hover h3::after { color: var(--accent); }
.portal p {
  margin-top: 6px;
  max-width: 500px;
  font-size: 16px;
  color: var(--muted);
}
.portals__note {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--muted);
}

/* Leistungen */
.services-section {
  padding: 112px 0;
  background: var(--ink);
  color: #fff;
}
.section__head--dark p { color: var(--muted-d); }
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-d);
}
.services li {
  padding: 32px 32px 40px 0;
  border-bottom: 1px solid var(--line-d);
}
.services li:not(:nth-child(3n + 1)) {
  padding-left: 32px;
  border-left: 1px solid var(--line-d);
}
.services h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.services p {
  font-size: 16px;
  color: var(--muted-d);
}
.services__ask { background: var(--ink-2); }
.services li.services__ask { padding-left: 32px; }
.services__ask .link-arrow { display: inline-block; margin-top: 20px; }

/* Über uns */
.about {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 72px;
  align-items: start;
}
.about__lead {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 20px;
}
.about__text > p:not(.about__lead) { color: var(--muted); }
.status { border-top: 1px solid var(--line); }
.status li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.status a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.status__icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.status__you .status__icon {
  background: transparent;
  border: 1.5px dashed var(--blue);
  color: var(--blue);
}
.status a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.status li > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: #15803d;
  white-space: nowrap;
}
.status li > span::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}
.status li.status__you > span { color: var(--blue); }
.status li.status__you > span::before {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 2px solid rgba(29, 108, 240, .2);
  border-top-color: var(--blue);
  animation: status-spin .9s linear infinite;
}
@keyframes status-spin { to { transform: rotate(360deg); } }
.about__text h3 {
  margin: 56px 0 24px;
  font-size: 22px;
}
.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 56px;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  background: var(--bg);
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.steps li:last-child { padding-bottom: 0; }
.steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 650;
}

.place { position: sticky; top: 104px; }
.place__map {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.place__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75);
}
.place__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--blue);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px rgba(12, 19, 34, .2), 0 6px 16px rgba(12, 19, 34, .35);
}
.place__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48px);
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}
.place__label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom: 0;
  border-top-color: var(--ink);
}
.place figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* Kontakt */
.contact-section {
  padding: 112px 0;
  background: var(--soft);
}
.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}
.contact h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.contact__lead {
  margin: 16px 0 40px;
  max-width: 400px;
  color: var(--muted);
}
.contact__phone {
  display: block;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.contact__phone:hover { color: var(--blue-d); }
.contact__mail {
  display: inline-block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 500;
}
.contact address {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(12, 19, 34, .06), 0 0 0 1px var(--line);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}
.form label em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  transition: border-color .15s, background .15s;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 108, 240, .15);
}
.form textarea { resize: vertical; min-height: 150px; }
.form ::placeholder { color: #646c7d; opacity: 1; }
.form .btn { align-self: flex-start; }
.form__success,
.form__error {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 15px;
}
.form__success { background: #e8f5ec; color: #1d5c32; }
.form__error   { background: #fbeaea; color: #8a1f1f; }
.form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--ink);
  color: var(--muted-d);
  font-size: 14px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
}
.footer img { height: 22px; width: auto; }
.footer__links { display: flex; gap: 24px; margin-left: auto; }
.footer a { color: var(--muted-d); }
.footer a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Responsive */
@media (max-width: 1000px) {
  .nav__links { gap: 22px; }
  .nav__phone { display: none; }
  .intro__grid,
  .section__head,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section__head { gap: 16px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .services li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .services li:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line-d); }
  .place { position: static; }
  .place__map { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__inner { height: 60px; }
  .nav__brand img { height: 24px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 16px 8px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .intro { padding: 48px 0 64px; }
  .intro__dateline { font-size: 14px; margin-bottom: 20px; }
  .intro__grid { margin-top: 32px; }
  .intro__body p:first-child { font-size: 17px; }
  .stats > div { padding: 16px 12px 0 0; }
  .stats > div + div { padding-left: 12px; }
  .stats dt { font-size: 13px; }
  .section,
  .portals-section,
  .services-section,
  .contact-section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .portals { grid-template-columns: 1fr; gap: 48px; }
  .portal__stage { padding: 24px 0 0 24px; }
  .services { grid-template-columns: 1fr; }
  .services li,
  .services li:nth-child(2n),
  .services li.services__ask { padding: 28px 0; border-left: 0; }
  .services li.services__ask { padding: 28px 20px; }
  .about__lead { font-size: 22px; }
  .status li { font-size: 18px; padding: 10px 0; }
  .status a { gap: 12px; }
  .status__icon { width: 34px; height: 34px; padding: 7px; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portal__stage img { transition: none; }
  .status li.status__you > span::before { animation: none; }
  .nav__burger span { transition: none; }
}

@media (max-width: 359px) {
  .stats dd { font-size: 28px; }
}

/* Hauptnummer 01516 1234567, WhatsApp und Kontakt (26.10.2026) */
.contact__alt {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  margin-top: 14px; font-size: 16px; color: var(--muted);
}
.contact__wa {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink); text-decoration: none;
}
.contact__wa svg { width: 20px; height: 20px; flex: none; }
.contact__wa:hover { color: var(--blue-d); }
.nav__contact { display: flex; align-items: center; gap: 8px; }
.nav__wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 6px;
}
.nav__wa svg { width: 22px; height: 22px; }
.nav__wa:hover { border-color: var(--text); }
.nav__phone { white-space: nowrap; }
.nav__brand { flex-shrink: 0; }
@media (max-width: 720px) {
  .nav__inner { gap: 8px; }
  .nav__contact { order: 1; margin-left: auto; gap: 2px; }
  .nav__burger { order: 2; margin-left: 0; }
  .nav__phone { display: inline-block; padding: 8px 2px; border: 0; font-size: 14px; }
  .nav__wa { width: 34px; height: 34px; border: 0; }
}
@media (max-width: 389px) {
  .nav__brand img { height: 20px; }
}
@media (max-width: 359px) {
  .nav__phone { display: none; }
}

/* Kopf: Nummer + WhatsApp als ein Button (ab 721 px) */
@media (min-width: 721px) {
  .nav__contact {
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .15s;
  }
  .nav__contact:hover { border-color: var(--text); }
  .nav__phone { border: 0; border-radius: 0; padding: 9px 14px 9px 16px; }
  .nav__wa {
    width: 42px; height: auto; align-self: stretch;
    border: 0; border-left: 1px solid var(--line); border-radius: 0;
  }
  .nav__phone:hover,
  .nav__wa:hover { background: var(--soft); border-left-color: var(--line); }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .nav__wa { border-left: 0; height: 40px; }
}
