/* Adler Net — IT-Support und Consulting, Berlin.
   Direction: the category standard, executed properly (chosen 2026-09-20).
   Navy #0F172A, blue CTA #0369A1, system typeface, no third-party requests. */

:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --slate: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --blue: #0369a1;
  --blue-dark: #075985;
  --white: #ffffff;
  --radius: 10px;
  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step: clamp(64px, 9vw, 116px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

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

/* ── header ─────────────────────────────────────────────────────────── */
.top { background: var(--navy); color: #cbd5e1; font-size: 14px; }
.top__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.top a { color: #cbd5e1; text-decoration: none; }
.top a:hover { color: #fff; text-decoration: underline; }
.top__right { display: flex; gap: 18px; align-items: center; }

.head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 40px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.nav a {
  color: var(--navy); text-decoration: none; font-weight: 650; font-size: 15px;
  padding: 10px 2px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue-dark); }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: #e2e8f0;
  padding-block: clamp(84px, 13vw, 150px);
  overflow: hidden;
}
/* Adler Net's own banner image. The copy sits on the left, where the photograph
   is darkest; the gradient guarantees contrast there whatever the crop does. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,16,30,.92) 0%, rgba(10,16,30,.80) 40%, rgba(10,16,30,.34) 70%, rgba(10,16,30,.14) 100%),
    linear-gradient(180deg, rgba(10,16,30,.35) 0%, transparent 40%);
}
.hero__in { position: relative; max-width: 46rem; }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero__sub { font-size: clamp(18px, 2vw, 21px); color: #e6eefa; margin-bottom: 2rem; max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 720px) {
  .hero__bg img { object-position: 64% center; }
  .hero::before {
    background: linear-gradient(180deg, rgba(10,16,30,.82) 0%, rgba(10,16,30,.9) 100%);
  }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: var(--radius);
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .16s, color .16s, border-color .16s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ── sections ───────────────────────────────────────────────────────── */
.section { padding-block: var(--step); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section__lead { max-width: 60ch; font-size: clamp(18px, 1.7vw, 20px); color: var(--muted); }

.pillars { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.pillar { border-top: 2px solid var(--blue); padding-top: 18px; }
.pillar p { color: var(--muted); margin-bottom: 0; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split p:last-child { margin-bottom: 0; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li {
  display: grid; grid-template-columns: minmax(120px, 170px) minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts dt, .facts b { color: var(--muted); font-weight: 600; font-size: 15px; }
.facts span { color: var(--navy); font-weight: 600; }

.cta { background: var(--navy); color: #e2e8f0; }
.cta h2 { color: #fff; }
.cta p { color: #bfd0e4; max-width: 52ch; }
.cta__row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ── footer ─────────────────────────────────────────────────────────── */
.foot { background: #0b1220; color: #94a3b8; padding-block: 56px 32px; font-size: 15px; }
.foot__cols { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot__cols { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.foot img { height: 34px; width: auto; margin-bottom: 14px; }
.foot h3 { color: #e2e8f0; font-size: 14px; letter-spacing: .04em; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: #cbd5e1; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 14px;
}

/* ── legal pages ────────────────────────────────────────────────────── */
.legal { padding-block: clamp(48px, 7vw, 84px); }
.legal__body { max-width: 74ch; }
.legal__body h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 2em; }
.legal__body h2:first-of-type { margin-top: 1em; }
.legal__body h3 { margin-top: 1.6em; }
.legal__body ul { padding-left: 1.2em; }
.legal__body li { margin-bottom: .4em; }
.legal__body code {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 5px; font-size: .92em;
}
.legal__meta { color: var(--muted); font-size: 15px; }

/* ── cookie consent ─────────────────────────────────────────────────── */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #fff; color: var(--slate);
  border-top: 1px solid var(--line); box-shadow: 0 -16px 40px rgba(15,23,42,.18);
  padding: 18px 0;
}
.consent[hidden] { display: none; }
.consent__in { display: grid; gap: 16px; align-items: center; }
@media (min-width: 860px) { .consent__in { grid-template-columns: minmax(0,1fr) auto; gap: 32px; } }
.consent h2 { font-size: 17px; margin-bottom: 6px; }
.consent p { font-size: 14.5px; color: var(--muted); margin: 0; max-width: 78ch; }
.consent__more { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-dark); text-decoration: underline; cursor: pointer; }
.consent__det { margin-top: 10px; font-size: 13.5px; color: var(--muted); max-width: 78ch; }
.consent__det[hidden] { display: none; }
.consent__act { display: flex; gap: 12px; flex-wrap: wrap; }
.consent__act .btn { flex: 1 1 auto; min-width: 148px; }
.consent__act .btn--reject { border-color: var(--navy); color: var(--navy); background: #fff; }
.consent__act .btn--reject:hover { background: var(--bg-soft); }


/* Narrow screens: the logo keeps its row and the nav takes the one below,
   rather than the last item sliding off the edge. */
@media (max-width: 800px) {
  .head__in { flex-wrap: wrap; min-height: 0; padding-block: 12px; gap: 6px 16px; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 6px; }
  .nav a { font-size: 14.5px; padding: 8px 0; }
}
@media (max-width: 420px) {
  .top { font-size: 13px; }
  .top__in { flex-wrap: wrap; gap: 4px 14px; padding-block: 8px; }
  .nav a { font-size: 13.5px; }
}

/* Services list: description column reads as body text, not as a value. */
.facts--services { margin-top: 32px; }
.facts--services span { font-weight: 400; color: var(--muted); }

/* 404 */
.nf__btn { margin-top: 12px; }
.nf__alt { margin-top: 28px; }

/* ── fixes from the 2026-09-20 fresh-eyes review ─────────────────────── */

/* Anchor links land under the sticky header without this. */
html { scroll-padding-top: 96px; }
#leistungen, #ueber-uns, #kontakt { scroll-margin-top: 96px; }

/* The focus ring was #0369a1 on navy: 3.0:1, right on the WCAG limit.
   On dark sections it is white. */
.hero :focus-visible,
.cta :focus-visible,
.foot :focus-visible,
.top :focus-visible { outline-color: #fff; }


/* Services list: the service name is the thing to read first. */
.facts--services b { color: var(--navy); font-weight: 650; font-size: 17px; }

/* Reopen control: a normal footer link, not a pill floating over the copy. */
.consent-reopen {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: #cbd5e1; text-decoration: none; cursor: pointer; text-align: left;
}
.consent-reopen:hover { color: #fff; text-decoration: underline; }
.consent-reopen[hidden] { display: none; }
.consent-reopen--float {
  position: fixed; left: 14px; bottom: 14px; z-index: 199;
  background: var(--navy); color: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13px;
}
