/* Schriften lokal eingebunden (keine Verbindung zu Google) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }

/* =========================================================
   Ankab Kommunikations AG – Entwurf 2 (Corporate, hell & clean)
   Farben und Schriften zentral hier oben anpassen.
   ========================================================= */
:root {
  --ink: #0f1417;          /* Haupttext, dunkle Flächen */
  --ink-2: #33423e;        /* Fliesstext */
  --muted: #6b7874;        /* Nebentext */
  --line: #e4e9e7;         /* Linien */
  --bg: #ffffff;
  --bg-soft: #f5f7f6;      /* helle Abschnitte */
  --accent: #5bc9b1;       /* Ankab-Türkis (Logo) */
  --accent-strong: #1d8f77;/* Türkis für Text/Links */
  --accent-tint: #e8f6f2;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13,26,23,.04), 0 8px 28px rgba(13,26,23,.06);
  --display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--body); color: var(--ink-2); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Typografie-Helfer ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow-light { color: var(--accent); }
.label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.label.center { text-align: center; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.accent-text { color: var(--accent-strong); }
.pill { display: inline-block; font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-tint); padding: 3px 9px; border-radius: 99px; margin-left: 8px; vertical-align: 1px; }
.pill-lg { font-size: .75rem; padding: 5px 12px; margin: 0 0 18px; }

/* ---------- Buttons & Links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 .98rem/1 var(--body); padding: 16px 26px; border-radius: 99px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn-sm { padding: 11px 20px; font-size: .92rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(29,143,119,.25); }
.btn-outline { border-color: #cfd8d5; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); }
.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }
.text-link { align-self: flex-start; display: inline-flex; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--accent-strong); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(13,26,23,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle.open span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(61,191,163,.14), transparent 60%),
    linear-gradient(to right, rgba(13,26,23,.045) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(to bottom, rgba(13,26,23,.045) 1px, transparent 1px) 0 0 / 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; max-width: 17ch; }
.nowrap { white-space: nowrap; }
.hero-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-top: 44px; }
.lead { font-size: 1.22rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.timeline { list-style: none; padding: 0; margin: 88px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline li { padding: 28px 28px 30px; position: relative; }
.timeline li + li { border-left: 1px solid var(--line); }
.timeline .t-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-strong); font-size: .8rem; font-weight: 600; margin-bottom: 16px; }
.timeline strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.timeline li > span:last-child { color: var(--muted); font-size: .93rem; }

/* ---------- Kennzahlen ---------- */
.stats { padding: 40px 0 72px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 8px 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 3.8rem); letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: .95rem; display: block; max-width: 22ch; }

/* ---------- Logos ---------- */
.logos { padding: 48px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-grid { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.logo-grid li { height: 64px; display: flex; align-items: center; gap: 12px; }
.logo-grid img { max-height: 56px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid { gap: 28px 88px; }
.logo-grid a { display: flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 6px; }
.logo-grid a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.logo-combo img { max-height: 40px; }
.logo-grid img[data-logo="colt"] { max-height: 32px; }
.logo-grid img[data-logo="sunrise"] { max-height: 64px; }
.logo-word { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; color: #8a9692; transition: color .25s; }
.logo-combo:hover .logo-word { color: #c8102e; }
.logo-combo:has(.logo-text) .logo-word { display: none; }
.logo-text { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; color: #8a9692; transition: color .2s; }
.logo-text:hover { color: var(--ink); }

/* ---------- Sektionen ---------- */
.section { padding: 128px 0; }
.section-tight { padding: 32px 0 96px; }
.section-soft { background: var(--bg-soft); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2 { max-width: 16ch; }
.section-intro { color: var(--muted); font-size: 1.08rem; max-width: 34em; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service { padding: 36px 28px 44px 0; border-bottom: 1px solid var(--line); position: relative; }
.service:not(:nth-child(4n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.service::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .35s ease; }
.service:hover::before { width: 100%; }
.s-num { display: block; font-size: .82rem; font-weight: 600; color: var(--accent-strong); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.service h3 { font-size: 1.22rem; margin-bottom: 12px; letter-spacing: -.015em; }
.service p { color: var(--muted); font-size: .96rem; }

/* External Resource Management */
.erm { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.erm-head { position: sticky; top: 120px; }
.erm-head h2 { margin-bottom: 24px; }
.erm-head p:not(.eyebrow) { font-size: 1.08rem; color: var(--ink-2); }
.erm-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.erm-steps li { display: flex; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.erm-steps .s-num { margin: 4px 0 0; }
.erm-steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.erm-steps p { color: var(--muted); }

.ai { margin-top: 96px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; background: var(--ink); color: #c9d4d0; border-radius: 20px; padding: 64px; position: relative; overflow: hidden; }
.ai::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(61,191,163,.28), transparent 65%); pointer-events: none; }
.ai h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.ai .pill { background: rgba(61,191,163,.16); color: var(--accent); }
.ai-text p { font-size: 1.05rem; }
.ai-flow { list-style: none; margin: 0; padding: 0; counter-reset: f; position: relative; z-index: 1; }
.ai-flow li { counter-increment: f; position: relative; padding: 0 0 26px 58px; }
.ai-flow li::before { content: "0" counter(f); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(61,191,163,.6); color: var(--accent); font-size: .8rem; font-weight: 600; display: grid; place-items: center; }
.ai-flow li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 2px; width: 1px; background: rgba(255,255,255,.14); }
.ai-flow li:last-child { padding-bottom: 0; }
.ai-flow li:last-child::before { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.ai-flow strong { display: block; color: #fff; padding-top: 7px; font-weight: 600; }
.ai-flow span { font-size: .94rem; color: #9fb0ab; }

/* Referenzen */
.ref { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.ref:last-child { border-bottom: 1px solid var(--line); }
.ref-flip .ref-img { order: 2; }
.ref-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); box-shadow: var(--shadow); }
.ref-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ref:hover .ref-img img { transform: scale(1.03); }
.ref-body h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 18px 0 24px; }
.ref-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ref-facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ref-facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.ref-body > p { color: var(--ink-2); margin-bottom: 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.status-live { background: var(--accent-tint); color: var(--accent-strong); border-color: transparent; }
.status-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(61,191,163,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,191,163,.55); } 70% { box-shadow: 0 0 0 8px rgba(61,191,163,0); } 100% { box-shadow: 0 0 0 0 rgba(61,191,163,0); } }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .83rem; color: var(--ink-2); background: var(--bg-soft); border-radius: 99px; padding: 6px 13px; }

/* Zwei Bereiche */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; display: flex; flex-direction: column; gap: 18px; transition: box-shadow .25s, transform .25s; }
.panel:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.panel h3 { font-size: 1.8rem; }
.panel p { color: var(--muted); flex: 1; }
.panel .text-link { margin-top: auto; }
.panel-primary { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.panel-primary .label { color: var(--accent-strong); }

/* Karriere */
.career { background: var(--ink); border-radius: 20px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background-image: radial-gradient(600px 300px at 100% 100%, rgba(61,191,163,.22), transparent 60%); }
.career h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.career p:not(.eyebrow) { color: #b9c6c2; font-size: 1.08rem; max-width: 36em; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 26em; }
.contact-data { margin: 40px 0 0; display: grid; gap: 18px; }
.contact-data dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-data dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.contact-data a { text-decoration: none; }
.contact-data a:hover { color: var(--accent-strong); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px; display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 8px; }
.form label > span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; padding: 13px 15px; border: 1px solid #d5dddA; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--ink); width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61,191,163,.15); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 26em; }
.site-footer h4 { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer p { color: var(--muted); line-height: 1.9; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-strong); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 24px; }

/* ---------- Scroll-Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .status-live::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service, .service:not(:nth-child(4n+1)) { padding: 32px 24px 36px; border-left: 0; }
  .service:nth-child(2n) { border-left: 1px solid var(--line); }
  .service:nth-child(2n+1) { padding-left: 0; }
  .erm, .ai, .contact { grid-template-columns: 1fr; gap: 48px; }
  .erm-head { position: static; }
  .ai { padding: 48px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(13,26,23,.06); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 20px; justify-content: center; }
  .hero-row, .section-head, .ref, .split { grid-template-columns: 1fr; gap: 32px; }
  .actions { justify-content: flex-start; }
  .ref-flip .ref-img { order: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li:nth-child(3) { border-left: 0; }
  .timeline li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .career { flex-direction: column; align-items: flex-start; padding: 48px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 72px 0 56px; }
  .hero h1 br { display: none; }
  .section { padding: 88px 0; }
  .timeline, .services, .form-row { grid-template-columns: 1fr; }
  .timeline li + li { border-left: 0; border-top: 1px solid var(--line); }
  .service, .service:nth-child(2n), .service:nth-child(2n+1) { padding: 28px 0 32px; border-left: 0; }
  .stat { padding: 0 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ref-facts { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .ai, .career, .form, .panel { padding: 32px 24px; }
  .erm-steps li { padding: 24px; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 42px; }
  .logo-grid { gap: 20px 32px; }
}

/* stats centered */
.stat, .stat:first-child { text-align: center; padding: 8px 32px; }
.stat > span { margin-inline: auto; max-width: 30ch; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat, .stat:first-child, .stat:nth-child(3) { padding: 8px 12px; }
  .stat:nth-child(3) { border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .stat, .stat:first-child, .stat:nth-child(3) { border-left: 0; padding: 0; }
}

