/* ==========================================================================
   Digitales KI Team – styles.css
   Mobile-First · System-Fonts · Helles Design, dunkler Hero & Footer (Branding)
   ========================================================================== */

:root {
  /* Light Theme (Standard) */
  --bg: #f6f8fb;
  --surface: #ffffff;
  --border: #e2e8f2;
  --text: #16233a;
  --text-muted: #55677f;
  --accent: #2f6db8;
  --accent-strong: #1d4f8f;
  --accent-soft: #e8f1fb;

  /* Dark Tokens (Hero, Footer, CTA-Band) */
  --navy: #0a1830;
  --navy-2: #0e2142;
  --navy-card: #12294f;
  --navy-border: #1e3a66;
  --sky: #6aa9e9;
  --sky-strong: #8fc1f5;
  --on-navy: #f2f6fc;
  --on-navy-muted: #a8bdd8;

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 2px 10px rgba(22, 35, 58, 0.06);
  --shadow-hover: 0 10px 28px rgba(22, 35, 58, 0.12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Basis ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

section { padding-block: 64px; }
section:nth-of-type(even):not(.hero):not(.cta-band) { background: var(--surface); }

.section-intro { max-width: 640px; color: var(--text-muted); }

/* Skip-Link -------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Header / Navigation (dunkel – Branding) --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 24, 48, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  min-height: 44px;
}
.brand svg { flex: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--on-navy);
  cursor: pointer;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--navy-2);
  border-bottom: 1px solid var(--navy-border);
  padding-block: 8px;
}
.nav-list.open { display: flex; }

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  color: var(--on-navy);
  text-decoration: none;
  font-weight: 500;
}
.nav-list a:hover { color: var(--sky-strong); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 109, 184, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-strong); }

/* Buttons im dunklen Kontext (Hero, CTA-Band) */
.hero .btn-primary, .cta-band .btn-primary { background: var(--sky); color: #06122a; }
.hero .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--sky-strong); box-shadow: 0 8px 24px rgba(106, 169, 233, 0.3); }
.hero .btn-secondary { color: var(--on-navy); border-color: var(--navy-border); }
.hero .btn-secondary:hover { border-color: var(--sky); color: var(--sky-strong); }

/* Hero (dunkel – Branding) -------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 88px 72px;
  color: var(--on-navy);
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, #16305c 0%, var(--navy) 70%);
  overflow: hidden;
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

/* Hero-Animation: schwebende Cluster, pulsierende Knoten, wandernde Datenpunkte */
.hero-net .cluster { animation: drift 16s ease-in-out infinite alternate; }
.hero-net .cluster.c2 { animation-duration: 20s; animation-delay: -6s; }
.hero-net .cluster.c3 { animation-duration: 14s; animation-delay: -3s; }
.hero-net .cluster.c4 { animation-duration: 18s; animation-delay: -9s; }

.hero-net .dot {
  animation: pulse 3.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-net .dot.d2 { animation-delay: -1.2s; }
.hero-net .dot.d3 { animation-delay: -2.4s; }

.hero-net .packet {
  animation: travel1 7s linear infinite;
  opacity: 0;
}
.hero-net .packet.p2 { animation-name: travel2; animation-duration: 9s; animation-delay: -3s; }
.hero-net .packet.p3 { animation-name: travel3; animation-duration: 8s; animation-delay: -5s; }

@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(14px, -18px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.45); opacity: 0.65; }
}

@keyframes travel1 {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { transform: translate(120px, 70px); opacity: 0; }
  100% { transform: translate(120px, 70px); opacity: 0; }
}
@keyframes travel2 {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { transform: translate(-90px, 110px); opacity: 0; }
  100% { transform: translate(-90px, 110px); opacity: 0; }
}
@keyframes travel3 {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { transform: translate(120px, -50px); opacity: 0; }
  100% { transform: translate(120px, -50px); opacity: 0; }
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--navy-border);
  background: rgba(18, 41, 79, 0.7);
  color: var(--sky-strong);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--on-navy-muted);
  max-width: 620px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

/* Karten ---------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #c8d8ec; }

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.card p { color: var(--text-muted); margin-bottom: 0; }

/* Organigramm ---------------------------------------------------------------- */
.org { margin-top: 48px; }

.org-node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  height: 100%;
}

.org-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.org-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.org-node .btn-sm { margin-top: auto; }

.btn-sm {
  min-height: 44px;
  padding: 9px 18px;
  font-size: 0.9rem;
  width: 100%;
}

.org-node .avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 2px solid #cfe2f6;
}

.org-node .info .name { font-weight: 700; line-height: 1.25; }
.org-node .info .role-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.org-top {
  max-width: 340px;
  margin-inline: auto;
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(135deg, #0e2142 0%, #12294f 100%);
  color: var(--on-navy);
  flex-direction: row;
  align-items: center;
  gap: 14px;
  height: auto;
}
.org-top .avatar { background: var(--sky); color: #06122a; border-color: var(--sky-strong); }
.org-top .info .role-label { color: var(--on-navy-muted); }

.org-lead { max-width: 340px; margin-inline: auto; border-color: #b9d3ee; height: auto; }

.org-connector {
  width: 2px;
  height: 28px;
  background: #c3d3e8;
  margin-inline: auto;
}

.org-branch { position: relative; padding-top: 28px; }
.org-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 28px;
  background: #c3d3e8;
}

.org-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.org-grid .avatar { width: 42px; height: 42px; font-size: 0.9rem; }

.org-node { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.org-grid .org-node:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.org-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Ablauf / Steps ----------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 40px; }

.step {
  position: relative;
  padding: 24px 0 24px 76px;
  border-left: 2px solid var(--border);
  margin-left: 27px;
}
.step:last-child { border-left-color: transparent; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -28px;
  top: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.step p { color: var(--text-muted); margin-bottom: 0; max-width: 560px; }

/* Video-Sektion (Facades bleiben dunkel – Video-Optik) ----------------------- */
.videos-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 40px;
}

.video-facade {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 40%, #16305c 0%, var(--navy-card) 75%);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--on-navy);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.video-facade .play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sky);
  color: #06122a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.video-facade:hover .play { transform: scale(1.08); }

.video-facade .video-title { font-weight: 600; font-size: 0.95rem; }
.video-facade .consent-hint { font-size: 0.75rem; color: var(--on-navy-muted); margin: 0; }

.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.videos-cta { text-align: center; margin-top: 36px; }

/* Featured-Video (16:9, Long-Form) */
.video-facade.video-featured {
  aspect-ratio: 16 / 9;
  max-height: none;
  max-width: 860px;
  margin: 40px auto 12px;
}
.video-facade.video-featured .video-title { font-size: 1.15rem; max-width: 480px; }
.video-facade.video-featured .play { width: 80px; height: 80px; }

/* FAQ ----------------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer { padding: 0 20px 18px; color: var(--text-muted); }

/* CTA-Band (dunkel – Kontrast-Akzent) -------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-card) 0%, var(--navy-2) 100%);
  border-block: 1px solid var(--navy-border);
  text-align: center;
  color: var(--on-navy);
}
.cta-band p { color: var(--on-navy-muted); max-width: 560px; margin-inline: auto; }
.cta-band .btn { margin-top: 20px; }

/* Footer (dunkel – Rahmen) ------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
  padding-block: 48px 32px;
  color: var(--on-navy-muted);
  font-size: 0.95rem;
}

.site-footer a { color: var(--sky-strong); }

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.footer-grid h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-navy);
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--on-navy-muted);
  text-decoration: none;
}
.footer-grid li a:hover { color: var(--sky-strong); }

.footer-bottom {
  border-top: 1px solid var(--navy-border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

/* Blog ---------------------------------------------------------------------------- */
.post-list { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 40px; }

.post-card { display: block; text-decoration: none; }
.post-card .meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.post-card h3 { color: var(--text); }
.post-card:hover h3 { color: var(--accent-strong); }

.article {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 56px;
}
.article h2 { margin-top: 1.6em; }
.article .meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2em; }
.article ul { color: var(--text-muted); }
.article p { color: #33455f; }

/* Legal ----------------------------------------------------------------------------- */
.legal { max-width: 720px; margin-inline: auto; padding-block: 56px; }
.legal h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal p, .legal ul { color: var(--text-muted); }

/* Mitarbeiter-Profilseite -------------------------------------------------------------- */
.profile-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--on-navy);
  padding-block: 64px;
}

.profile-hero .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.profile-hero .avatar-xl {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--sky);
  color: #06122a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  border: 3px solid var(--sky-strong);
}

.profile-hero .role-tag {
  display: inline-block;
  background: rgba(106, 169, 233, 0.15);
  border: 1px solid var(--navy-border);
  color: var(--sky-strong);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-hero p.lead { color: var(--on-navy-muted); max-width: 640px; }

/* Dashboard-Demo ------------------------------------------------------------------------ */
.dash {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-top: 32px;
}

.dash-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.dash-header .dash-title { font-weight: 700; }
.dash-header .dash-sub { font-size: 0.85rem; color: var(--text-muted); }

.kpis {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 24px;
}

.kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.kpi .kpi-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.kpi .kpi-value { font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.kpi .kpi-trend { font-size: 0.85rem; font-weight: 600; }
.kpi .up { color: #1a7f4f; }
.kpi .down { color: #b3392f; }

.dash h3 { font-size: 1rem; margin: 24px 0 12px; }

.rank-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.rank-table th, .rank-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.rank-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.rank-table .pos { font-weight: 700; }
.rank-table .delta-up { color: #1a7f4f; font-weight: 600; white-space: nowrap; }
.rank-table .delta-new { color: var(--accent); font-weight: 600; white-space: nowrap; }

.table-scroll { overflow-x: auto; }

/* Zweispaltiges Profil-Layout */
.profile-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 40px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 6px 0 6px 32px;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232f6db8" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 12px no-repeat;
}

/* Setup-Box: "Schnell eingerichtet" ---------------------------------------------------- */
.setup-box {
  background: var(--accent-soft);
  border: 1px solid #c9def4;
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-top: 40px;
}
.setup-box h3 { margin-top: 0; }
.setup-box p { color: var(--text-muted); }
.setup-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  counter-reset: sstep;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.setup-steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 52px;
  color: var(--text-muted);
}
.setup-steps li::before {
  counter-increment: sstep;
  content: counter(sstep);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.setup-steps li strong { color: var(--text); }

/* Farb-Swatches (Design-Beispiel Mia) */
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 4px; }
.swatch {
  width: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
}
.swatch .chip { height: 52px; }
.swatch .label { padding: 5px 4px; display: block; }

/* Datei-Baum (Beispiel Lena/Clara) */
.file-tree {
  background: #0e2142;
  color: #d4e0f0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

.breadcrumb { font-size: 0.9rem; margin-bottom: 8px; }
.breadcrumb a { color: var(--sky-strong); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Reduced Motion ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-net .packet { display: none; }
}

/* Breakpoints -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  section { padding-block: 88px; }
  .nav-toggle { display: none; }
  .nav-list {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
  }
  .nav-list a { padding: 0 14px; min-height: 44px; border-radius: var(--radius-sm); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .post-list { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-hero .container { flex-direction: row; align-items: center; gap: 32px; }
}

@media (min-width: 1024px) {
  .cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
}
