/* ==========================================================================
   AV Software Solutions 360° (AVS) — site stylesheet
   ========================================================================== */

/* ---- Fonts (BechtlePro — used unchanged, per AVS brand direction) ---- */
@font-face {
  font-family: "BechtlePro";
  src: url("../fonts/BechtlePro-Light.woff2") format("woff2"), url("../fonts/BechtlePro-Light.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "BechtlePro";
  src: url("../fonts/BechtlePro.woff2") format("woff2"), url("../fonts/BechtlePro.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "BechtlePro";
  src: url("../fonts/BechtlePro-Italic.woff2") format("woff2"), url("../fonts/BechtlePro-Italic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "BechtlePro";
  src: url("../fonts/BechtlePro-Bold.woff2") format("woff2"), url("../fonts/BechtlePro-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---- Design tokens (source: design-system/tokens/) ---- */
:root {
  /* Every color on this site is picked and tested for a light UI — opt out
     of the browser's "auto dark mode" / "force dark theme" repaint, which
     otherwise tends to wash out already-dark sections (hero, footer). */
  color-scheme: light;
  /* Color */
  --avs-red: #E4032E;
  --avs-red-hover: oklch(0.52 0.24 24);
  --avs-dark-blue: #07141B;
  --avs-alt-blue: #0F2734;
  --avs-dark-gray: #2C353B;
  --avs-gray: #8C9A9F;
  --avs-border-gray: #D2D5D9;
  --avs-light-gray: #F2F4F6;
  --avs-black: #000000;
  --avs-white: #FFFFFF;
  --avs-type-secondary: #383840;
  --avs-type-tertiary: #7C7B7B;

  /* Sekundärfarben AVS (Teal) — Eyebrows, Piktogramme, Striche, Buttons, Links.
     Rot ist ausschließlich dem Logo vorbehalten. */
  --avs-secondary: #146569;
  --avs-secondary-hover: #0F4C4F;
  --avs-secondary-tint: #E4EFEF;
  --avs-secondary-on-dark: #26A69A;
  --avs-secondary-on-dark-hover: #4FBFB4;
  --avs-secondary-ink: var(--avs-white);
  --avs-secondary-on-dark-ink: var(--avs-dark-blue);

  --surface-page: var(--avs-white);
  --surface-subtle: var(--avs-light-gray);
  --surface-card: var(--avs-white);
  --surface-inverse: var(--avs-dark-blue);
  --surface-inverse-alt: var(--avs-alt-blue);
  --surface-footer: var(--avs-black);

  --text-heading: var(--avs-dark-blue);
  --text-body: var(--avs-type-secondary);
  --text-muted: #6B6A6A; /* WCAG AA: 5.4:1 on white, 4.9:1 on light gray */
  --text-on-dark: var(--avs-white);
  --text-on-dark-muted: #A3A2A2; /* WCAG AA: 7.3:1 on dark blue */
  --text-link: var(--avs-secondary);
  --text-link-hover: var(--avs-secondary-hover);

  --border-default: var(--avs-border-gray);
  --divider: var(--avs-border-gray);
  --focus-ring: var(--avs-secondary);

  --btn-primary-bg: var(--avs-dark-blue);
  --btn-primary-bg-hover: var(--avs-secondary-on-dark);
  --btn-primary-text: var(--avs-white);
  --btn-outline-border: var(--avs-dark-blue);
  --btn-outline-text: var(--avs-dark-blue);

  /* Typography */
  --font-sans: "BechtlePro", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fw-regular: 400; --fw-bold: 700;
  --fs-display: 4.209rem; --fs-h1: 3.157rem; --fs-h2: 2.369rem; --fs-h3: 1.777rem; --fs-h4: 1.333rem;
  --fs-body-lg: 1.25rem; --fs-body: 1rem; --fs-small: 0.875rem; --fs-caption: 0.75rem;
  --lh-tight: 1.05; --lh-snug: 1.2; --lh-normal: 1.5;
  --ls-tight: -0.02em; --ls-wide: 0.04em;

  /* Spacing / radius / shadow / layout (4px base) */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem; --space-10: 8rem;
  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(7,20,27,.06);
  --shadow-md: 0 4px 12px rgba(7,20,27,.08);
  --shadow-lg: 0 12px 32px rgba(7,20,27,.12);
  --shadow-focus: 0 0 0 3px rgba(228,3,46,.35);
  --container-max: 1200px;
  --container-narrow: 760px;
  --dur-fast: 120ms; --dur-med: 220ms;
  --ease-standard: cubic-bezier(.2,0,0,1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Icon-sprite <svg><use> elements have no fill of their own — without this,
   every icon renders with the browser default (solid black) instead of
   picking up the color set on the svg/wrapper (e.g. via inline style="color:...").
   Targets <use> directly (fill is inherited into its cloned content) instead
   of svg:has(use), which isn't reliably supported everywhere. */
svg use { fill: currentColor; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  color: var(--text-heading);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin: 0 0 var(--space-4);
}
h1 { font-size: 2.875rem; line-height: 1.05; }
h2 { font-size: 2.125rem; line-height: 1.1; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--space-4); }
a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--text-link-hover); text-decoration: underline; }
/* Links inside running text must not rely on colour alone (WCAG 1.4.1). */
:where(main) :where(p, li, dd, .field-checkbox span) a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
ul { padding-left: var(--space-5); }
hr { border: none; border-top: 1px solid var(--divider); margin: var(--space-6) 0; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
::selection { background: var(--avs-secondary); color: var(--avs-secondary-ink); }
.section--dark ::selection, .hero ::selection { background: var(--avs-secondary-on-dark); color: var(--avs-secondary-on-dark-ink); }
.section--dark, .hero { --text-link: var(--avs-secondary-on-dark); --text-link-hover: var(--avs-secondary-on-dark-hover); --focus-ring: var(--avs-secondary-on-dark); }

/* Skip link (WCAG 2.2 AA — keyboard bypass of repeated nav) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--avs-dark-blue); color: var(--avs-white);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

/* ---- Layout ---- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--space-8) 0; background: var(--surface-page); }
.section--subtle { background: var(--surface-subtle); }
.section--dark { background: var(--surface-inverse); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-muted); }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-small); font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: var(--ls-wide); color: var(--avs-secondary); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; display: block; flex: none; width: 34px; height: 3px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--avs-secondary-on-dark); }
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}
.flex { display: flex; gap: var(--space-4); align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: inherit; font-size: var(--fs-body); font-weight: var(--fw-bold);
  padding: 12px 22px; border-radius: var(--radius-md); border: 2px solid transparent;
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  cursor: pointer; text-decoration: none; transition: background var(--dur-fast) var(--ease-standard);
}
.btn:hover { background: var(--btn-primary-bg-hover); color: var(--avs-secondary-on-dark-ink); text-decoration: none; }
.btn--outline { background: transparent; border-color: var(--btn-outline-border); color: var(--btn-outline-text); }
.btn--outline:hover, .btn--outline:active { background: var(--avs-secondary); border-color: var(--avs-secondary); color: var(--avs-white); } /* buttons: petrol on hover/press, never black */
.btn--ghost { background: transparent; color: var(--avs-dark-blue); }
.btn--ghost:hover { background: var(--avs-light-gray); color: var(--avs-dark-blue); }
.btn--on-dark { border-color: var(--avs-white); color: var(--avs-white); background: transparent; }
.btn--on-dark:hover { background: var(--avs-white); color: var(--avs-dark-blue); }
.btn--sm { padding: 8px 16px; font-size: var(--fs-small); }
.btn--lg { padding: 15px 28px; font-size: var(--fs-body-lg); }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .icon { width: 18px; height: 18px; flex: none; }

/* ---- Cards / Badges / Alerts ---- */
.card {
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm);
}
.card--elevated { box-shadow: var(--shadow-md); }
.badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: var(--ls-wide); padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--surface-subtle); color: var(--text-heading);
}
.badge--solid { background: var(--avs-secondary-on-dark); color: var(--avs-secondary-on-dark-ink); }
.badge--success { background: #E4F4EA; color: #1C7A3D; }
.alert {
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border-default); background: var(--surface-subtle); margin-bottom: var(--space-4);
}
.alert--success { background: #E4F4EA; border-color: #1C7A3D; color: #1C7A3D; }
.alert strong { display: block; margin-bottom: var(--space-1); }

/* ---- Icons / illustrations ---- */
.icon-tile {
  display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center;
  background: var(--surface-subtle); border-radius: var(--radius-md); margin-bottom: var(--space-4);
}
.icon-tile img { width: 26px; height: 26px; }
.illustration { max-width: 100%; height: auto; }

/* ---- Header ----
   Always a dark, blurred bar (never a light/white bar) — on pages with a
   full-bleed hero (home, Standort, Insight-Developer-Day) it starts fully
   transparent, floating over the hero media, and only picks up the dark
   blurred background once the page has scrolled past the hero. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--avs-dark-blue) 94%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .12s var(--ease-standard), border-color .12s var(--ease-standard);
}
.site-header--overlay { position: fixed; left: 0; right: 0; }
.site-header--overlay:not(.is-scrolled) {
  background: transparent; border-bottom-color: transparent;
}
.site-header__bar {
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5);
  height: 72px; display: flex; align-items: center; gap: var(--space-6);
}
.site-header__logo { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.site-header__logo img { height: 24px; width: auto; }
.site-header__logo span { font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--avs-white); }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a {
  padding: 10px 14px; font-size: var(--fs-body); font-weight: var(--fw-regular);
  color: rgba(255,255,255,.82); border-radius: var(--radius-md);
}
.site-nav a:hover { text-decoration: none; background: rgba(255,255,255,.14); color: var(--avs-white); }
.site-nav a[aria-current="page"], .site-nav a.is-active { font-weight: var(--fw-bold); color: var(--avs-white); }
.site-nav .has-submenu { position: relative; }
.site-nav .submenu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--avs-white); border: 1px solid var(--border-default); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: var(--space-2); margin-top: 4px;
}
.site-nav .submenu a { color: var(--text-heading); font-weight: var(--fw-bold); }
.site-nav .submenu a:hover { background: var(--surface-subtle); color: var(--text-heading); }
.site-nav .has-submenu:hover .submenu,
.site-nav .has-submenu:focus-within .submenu,
.site-nav .has-submenu.is-open .submenu { display: block; }
.site-nav .submenu a { display: block; padding: 10px 12px; }
.site-nav .submenu-caret { margin-left: 2px; transition: transform var(--dur-fast) var(--ease-standard); }
.site-nav .has-submenu:hover .submenu-caret,
.site-nav .has-submenu:focus-within .submenu-caret,
.site-nav .has-submenu.is-open .submenu-caret { transform: rotate(180deg); }
.site-nav .submenu-all {
  display: flex; align-items: center; gap: 6px; margin-top: 4px; padding-top: 14px;
  border-top: 1px solid var(--border-default); font-size: var(--fs-small); font-weight: var(--fw-bold);
  color: var(--bechtle-light-blue-s50);
}
.site-nav .submenu-all:hover { background: transparent; color: var(--bechtle-light-blue-s50); text-decoration: underline; }
.site-header__cta {
  flex: none; background: var(--avs-secondary-on-dark); color: var(--avs-secondary-on-dark-ink); border-color: transparent;
}
.site-header__cta:hover { background: var(--avs-secondary-on-dark-hover); color: var(--avs-secondary-on-dark-ink); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle img { width: 24px; height: 24px; filter: invert(1); }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--avs-dark-blue); border-bottom: 1px solid rgba(255,255,255,.14);
    flex-direction: column; align-items: stretch; padding: var(--space-3); gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav .submenu { position: static; box-shadow: none; border: none; padding-left: var(--space-4); margin: 0; background: transparent; }
  .site-nav .submenu a { color: rgba(255,255,255,.82); }
  .site-nav .submenu a:hover { background: rgba(255,255,255,.14); color: var(--avs-white); }
  .site-nav .has-submenu .submenu { display: block; }
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}

/* ---- Footer ---- */
.site-footer { background: var(--surface-footer); color: var(--avs-white); }
.site-footer__grid {
  max-width: var(--container-max); margin: 0 auto; padding: var(--space-8) var(--space-5) var(--space-6);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-6);
}
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer__grid img { height: 26px; width: auto; margin-bottom: var(--space-4); }
.site-footer__grid p { color: var(--text-on-dark-muted); font-size: var(--fs-small); max-width: 260px; }
.site-footer__heading, .site-footer h2, .site-footer h4 { margin-top: 0; font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--avs-white); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer a { font-size: var(--fs-small); color: var(--text-on-dark-muted); }
.site-footer a:hover { color: var(--avs-white); }
.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: var(--space-4) var(--space-5); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: var(--space-3); max-width: var(--container-max); margin: 0 auto;
}
.site-footer__legal, .site-footer__legal a { font-size: var(--fs-caption); color: var(--text-on-dark-muted); }
.site-footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }

/* ---- Hero ---- */
.hero {
  background: var(--surface-inverse); color: var(--text-on-dark); overflow: hidden;
}
.hero .container { padding-top: var(--space-9); padding-bottom: var(--space-9); }
.hero h1 { color: var(--text-on-dark); font-size: var(--fs-display); }
.hero p { color: var(--text-on-dark-muted); font-size: var(--fs-body-lg); }

/* ---- Stats band ---- */
.stats-band { background: var(--surface-inverse-alt); color: var(--avs-white); }
.stats-band .grid { padding: var(--space-7) 0; }
.stats-band .stat-number { font-size: var(--fs-h2); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.stats-band .stat-label { font-size: var(--fs-small); color: var(--text-on-dark-muted); margin-top: 4px; }

/* ---- Tabs ---- */
.tabs { display: flex; gap: var(--space-2); border-bottom: 1px solid var(--border-default); margin-bottom: var(--space-6); }
.tabs button {
  font-family: inherit; font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--text-muted);
  background: none; border: none; border-bottom: 3px solid transparent; padding: var(--space-3) var(--space-4); cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--avs-dark-blue); border-color: var(--avs-secondary); }
.tab-panel[hidden] { display: none; }

/* ---- Forms ---- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); }
.field label { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--text-heading); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: var(--fs-body); padding: 11px 14px;
  border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--avs-white); color: var(--text-body);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.field-checkbox { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--fs-small); color: var(--text-body); }
.field-checkbox input { margin-top: 3px; }

/* ---- Anfahrt (Gebäudefoto + Routen-Links) ---- */
.anfahrt { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-card); border: 1px solid var(--border-default); }
.anfahrt img { display: block; width: 100%; height: 320px; object-fit: cover; }
.anfahrt__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); padding: var(--space-4) var(--space-5); }
.anfahrt--fill img { flex: 1; height: auto; min-height: 300px; }
.map-link .map-photo { display: block; width: 100%; height: 360px; object-fit: cover; }

/* ---- Hero (media/video background) ---- */
.hero--media { position: relative; min-height: min(88vh, 760px); overflow: hidden; background: var(--avs-dark-blue); }
.hero--media .hero-media-bg { position: absolute; inset: 0; overflow: hidden; background-size: cover; background-position: center; }
.hero--media .hero-media-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--media .hero-media-bg video { opacity: 0; transition: opacity .6s ease; }
.hero--media .hero-media-bg.is-playing video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero--media .hero-media-bg video { transition: none; } }
.hero--media .hero-media-bg video { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; pointer-events: none; }
.hero--media .hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,27,.88) 0%, rgba(7,20,27,.6) 46%, rgba(7,20,27,.15) 100%); }
.hero--media .container { position: relative; min-height: min(88vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: var(--space-9); padding-bottom: var(--space-9); }
.hero-panel { max-width: 660px; background: color-mix(in srgb, var(--avs-dark-blue) 62%, transparent); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 36px 40px 40px; }
.hero-panel h1 { color: var(--avs-white); font-size: clamp(2rem, 7.5vw, 3.4rem); line-height: 1.1; margin: var(--space-5) 0 var(--space-5); }
@media (max-width: 560px) { .hero-panel { padding: 24px 22px 26px; } }
.hero-panel p { color: rgba(255,255,255,.92); font-size: var(--fs-body-lg); }

/* ---- Manifest (Wer wir sind / Was wir machen / Mission / Vision) ---- */
.manifest-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-6); }
.stat-360 { background: var(--avs-dark-blue); color: var(--avs-white); border-radius: var(--radius-md); padding: 16px 22px; box-shadow: var(--shadow-md); }
.stat-360 .num { font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat-360 .lab { font-size: var(--fs-caption); opacity: .82; margin-top: 4px; font-weight: 600; }
.manifest-card {
  background: var(--surface-card); border: 1px solid var(--border-default); border-top: 4px solid var(--avs-secondary);
  border-radius: var(--radius-lg); padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 1px 2px rgba(7,20,27,.04), 0 10px 28px rgba(7,20,27,.08);
}
.manifest-card img, .manifest-card svg { width: 48px; height: 48px; padding: 11px; box-sizing: border-box; border-radius: var(--radius-md); background: var(--avs-secondary-tint); color: var(--avs-secondary); }
.manifest-card h3 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 0; }
.manifest-card p { margin: 0; font-size: var(--fs-body); line-height: 1.62; color: var(--text-body); max-width: none; }

/* ---- Lösungen-Teaser (dunkle Kacheln, Home) ---- */
.sol-tile {
  position: relative; display: block; min-height: 208px; overflow: hidden; color: var(--avs-white);
  background: linear-gradient(150deg, color-mix(in srgb, #fff 12%, var(--avs-dark-blue)) 0%, var(--avs-dark-blue) 68%);
  /* Top-aligned with a fixed two-line heading box, so all four headings and
     teasers start on the same line regardless of text length. */
  border-radius: var(--radius-lg); padding: 92px 24px 26px; display: flex; flex-direction: column; justify-content: flex-start;
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.sol-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.sol-tile h3 { color: var(--avs-white); font-size: 1.25rem; line-height: 1.25; margin: 0 0 6px; min-height: 2.5em; }
.sol-tile p { color: rgba(255,255,255,.84); font-size: var(--fs-small); line-height: 1.5; margin: 0; min-height: 65px; max-width: none; }
.sol-tile .sol-tile-icon { position: absolute; right: -22px; top: -18px; opacity: .16; pointer-events: none; }
.sol-tile .sol-tile-icon img, .sol-tile .sol-tile-icon svg { width: 168px; height: 168px; }

/* ---- Page head (Eyebrow + H1 + Sub auf hellem Grund) ---- */
.page-head { padding: 72px 0 60px; background: var(--surface-subtle); }
.page-head h1 { font-size: 2.9rem; line-height: 1.05; }
.page-head p { font-size: var(--fs-body-lg); }

/* ---- Statistik-Grid (AVS in Zahlen) ---- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-grid .num { font-size: 2.75rem; font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--avs-secondary); }
.stat-grid .lab { font-size: var(--fs-small); color: var(--text-body); margin-top: 4px; line-height: 1.4; }

/* ---- Nummerierte Merkmalsliste (Was uns ausmacht) ---- */
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-row {
  display: grid; grid-template-columns: 64px minmax(0,0.8fr) minmax(0,1.5fr); gap: var(--space-6);
  align-items: start; padding: 30px 0; border-top: 1px solid var(--border-default);
}
.feature-list .feature-row:last-child { border-bottom: 1px solid var(--border-default); }
.feature-row .nr { font-size: var(--fs-small); font-weight: var(--fw-bold); letter-spacing: .08em; color: var(--avs-secondary); font-variant-numeric: tabular-nums; padding-top: 6px; }
.feature-row h3 { font-size: 1.6rem; line-height: 1.18; letter-spacing: -0.01em; font-weight: var(--fw-bold); color: var(--text-heading); margin: 0; text-wrap: balance; }
.feature-row p { margin: 0; font-size: var(--fs-body-lg); line-height: 1.62; color: var(--text-body); }
@media (max-width: 700px) { .feature-row { grid-template-columns: 1fr; gap: var(--space-2); } }

/* ---- Organisationseinheiten (Wie wir arbeiten) ---- */
.org-lead { display: flex; align-items: center; gap: var(--space-4); background: var(--avs-dark-blue); color: var(--avs-white); border-radius: var(--radius-lg); padding: 20px 26px; margin-bottom: var(--space-4); }
.org-lead .title { font-size: 1.1rem; font-weight: var(--fw-bold); line-height: 1.2; }
.org-lead .sub { font-size: var(--fs-small); opacity: .82; margin-top: 2px; }
.org-unit {
  display: grid; grid-template-columns: minmax(0,240px) minmax(0,1fr); gap: var(--space-6); align-items: start;
  background: var(--surface-card); border: 1px solid var(--border-default); border-left: 3px solid var(--avs-secondary);
  border-radius: var(--radius-lg); padding: 24px 26px; margin-bottom: var(--space-3);
}
.org-unit-head { display: flex; gap: var(--space-4); align-items: flex-start; }
.org-unit-head h3 { font-size: 1.375rem; margin: 0; line-height: 1.1; }
.org-unit-head p { margin: 4px 0 0; font-size: var(--fs-small); max-width: none; }
.org-unit-count { font-size: 0.72rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 10px; }
.org-unit-practices { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 20px; }
.org-unit-practices li { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-small); line-height: 1.45; color: var(--text-body); }
.org-unit-practices li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--avs-secondary); transform: translateY(-2px); }
@media (max-width: 700px) { .org-unit, .org-unit-practices { grid-template-columns: 1fr; } }

/* ---- Principals ---- */
.principal-rows { display: flex; flex-direction: column; gap: var(--space-4); }
.principal-row { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.principal-card { width: 260px; padding: 0 !important; }
.principal-card .photo { position: relative; }
.principal-photo { display: block; width: 100%; height: 180px; object-fit: cover; object-position: center 25%; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.principal-card .ou--with-role { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.principal-card .info { padding: 16px 18px 20px; }
.principal-card .name { font-size: 1.05rem; font-weight: var(--fw-bold); color: var(--text-heading); line-height: 1.2; }
.principal-card .ou { font-size: var(--fs-small); color: var(--avs-secondary); font-weight: 600; margin-top: 3px; }

/* ---- Fotogalerie (Standort) ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { position: relative; display: block; margin: 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-subtle); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 22px 12px 9px; font-size: var(--fs-caption); font-weight: var(--fw-bold);
  color: var(--avs-white); background: linear-gradient(to top, rgba(7,20,27,.88) 70%, transparent);
}
/* Nur der dunkle Verlauf, ohne Bildtitel (z. B. Galerie SCCON 2026). */
.gallery-item .cap--empty { height: 48px; padding: 0; }

/* ---- Lightbox (gallery click-to-enlarge) ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--avs-dark-blue) 88%, black);
  display: flex; flex-direction: column; padding: var(--space-6) var(--space-5);
}
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: var(--avs-white); margin-bottom: var(--space-4); }
.lightbox__count { font-size: var(--fs-caption); letter-spacing: var(--ls-wide); text-transform: uppercase; opacity: .7; }
.lightbox__close {
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.35); color: var(--avs-white);
  width: 40px; height: 40px; border-radius: 999px; font-size: 22px; line-height: 1; cursor: pointer;
}
.lightbox__stage { flex: 1; display: flex; align-items: center; gap: var(--space-5); min-height: 0; }
.lightbox__img { flex: 1; min-width: 0; max-height: 100%; object-fit: contain; border-radius: var(--radius-md); margin: 0 auto; display: block; }
.lightbox__nav {
  flex: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35); color: var(--avs-white); font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox__caption { text-align: center; margin-top: var(--space-4); color: var(--avs-white); }

/* ---- Impressum ---- */
.legal-row { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-5); padding: 14px 0; border-bottom: 1px solid var(--divider); }
.legal-row .k { font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.legal-row .v { font-size: var(--fs-body); color: var(--text-body); line-height: 1.55; }
.legal-row:last-child { border-bottom: none; }
@media (max-width: 560px) { .legal-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); } }

/* ---- Kontakt-/Info-Zeile (Icon + Titel + Text) ---- */
.info-row { display: flex; gap: var(--space-4); align-items: flex-start; }
.info-row .ic { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; background: var(--surface-subtle); border-radius: var(--radius-md); color: var(--avs-secondary); }
.info-row .t { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--text-heading); margin-bottom: 3px; }
.info-row .d { font-size: var(--fs-small); color: var(--text-body); line-height: 1.5; white-space: pre-line; }

/* ---- Map-Overlay-Link ---- */
.map-link { display: block; position: relative; border-radius: var(--radius-md); overflow: hidden; }
.map-link .map-badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius-md); background: var(--avs-dark-blue); color: var(--avs-white);
  font-size: var(--fs-small); font-weight: var(--fw-bold);
}

/* ---- Lösungs-Detailseiten ---- */
.sol-hero {
  position: relative; background: var(--avs-dark-blue); color: var(--avs-white); overflow: hidden;
  background-image: radial-gradient(circle at 82% 20%, rgba(255,255,255,.06), transparent 60%), radial-gradient(circle at 60% 80%, rgba(255,255,255,.05), transparent 55%);
}
.sol-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--avs-dark-blue) 8%, rgba(9,20,44,.72) 52%, rgba(9,20,44,.35) 100%); pointer-events: none; }
.constellation { position: absolute; inset: 0; display: block; pointer-events: none; }
/* Veranstaltungsfoto neben dem Text (Insight-Detailseiten) */
.event-photo { margin: 0; align-self: center; border-radius: var(--radius-lg); overflow: hidden; }
.event-photo img { display: block; width: 100%; height: auto; }
.sol-hero .container { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 76px; }
.sol-hero .back-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--text-on-dark-muted); margin-bottom: 34px; }
.sol-hero .kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sol-hero .kicker .bar { display: block; height: 3px; width: 34px; background: var(--avs-secondary-on-dark); border-radius: 2px; }
.sol-hero .kicker span { font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .08em; color: var(--avs-secondary-on-dark); }
.sol-hero h1 { font-size: clamp(1.75rem, 7vw, 3.1rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0; color: var(--avs-white); }
.sol-hero p { font-size: var(--fs-body-lg); line-height: 1.55; color: var(--text-on-dark-muted); margin: 22px 0 0; }

.stat-row { display: grid; gap: 24px; }
.stat-row .bar { display: block; height: 4px; width: 28px; background: var(--avs-secondary); border-radius: 2px; margin-bottom: 12px; }
.stat-row .num { font-size: 2.1rem; font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--text-heading); line-height: 1; }
.stat-row .lab { font-size: var(--fs-small); color: var(--text-muted); margin-top: 6px; line-height: 1.4; }

.quote-card { position: relative; background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 34px 36px; overflow: hidden; }
.quote-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--avs-secondary) 50%, var(--avs-dark-blue) 50%); }
.quote-card p { font-size: 1.35rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--text-heading); margin: 6px 0 18px; font-weight: 600; max-width: none; }
.quote-card .author { font-size: var(--fs-small); color: var(--text-muted); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; font-size: var(--fs-body); font-weight: var(--fw-regular); color: var(--avs-dark-blue); background: var(--avs-white); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 6px 10px; }

.feature-cols { display: grid; gap: 28px; }
.feature-col { border-top: 1px solid var(--border-default); padding-top: 16px; }
.feature-col h3 { font-size: 1.125rem; margin: 0 0 6px; letter-spacing: -0.01em; hyphens: auto; }
.feature-col p { font-size: var(--fs-small); line-height: 1.55; margin: 0; max-width: none; }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list .row { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-body-lg); color: var(--text-body); }
.check-list .row svg { flex: none; color: var(--avs-secondary); margin-top: 2px; }

/* ---- Sovereign Appian Cloud (SAC) Microsite ---- */
.sub-nav { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-default); }
.sub-nav .container { display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; }
.sub-nav a { padding: 8px 12px; font-size: var(--fs-small); font-weight: 600; color: var(--text-body); white-space: nowrap; }

.sec-head { text-align: center; margin: 0 auto 44px; }
.sec-head h2 { font-size: 2.1rem; }
.sec-head p { font-size: var(--fs-body-lg); margin: 16px auto 0; }

.tier-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-md); background: rgba(255,255,255,.06); font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--avs-white); }
.tier-pill--bronze { border: 1px solid #B4682B; } .tier-pill--bronze svg { color: #B4682B; }
.tier-pill--silber { border: 1px solid #8C97A2; } .tier-pill--silber svg { color: #8C97A2; }
.tier-pill--gold { border: 1px solid #C0951F; } .tier-pill--gold svg { color: #C0951F; }

.pack-card { position: relative; width: 100%; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 34px 28px 28px; display: flex; flex-direction: column; overflow: hidden; }
.pack-card--std { border-color: var(--avs-secondary); box-shadow: var(--shadow-md); }
.pack-card--std::after { content: "STANDARD"; position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: var(--avs-secondary); color: var(--avs-white); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 5px 42px; }
.pack-card .top { text-align: center; }
.pack-card .icon-circle { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pack-card h3 { font-size: 1.7rem; letter-spacing: -0.02em; margin: 16px 0 8px; }
.pack-card .claim { font-size: var(--fs-small); color: var(--text-muted); margin: 0 0 24px; min-height: 44px; }
.pack-card .price-block { border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); padding: 22px 0; text-align: center; }
.pack-card .price { font-size: 2.1rem; font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--avs-secondary); line-height: 1; }
.pack-card .price-note { font-size: var(--fs-small); color: var(--text-muted); margin-top: 8px; line-height: 1.45; }
.pack-card .price-start { font-size: var(--fs-caption); color: var(--text-muted); margin-top: 6px; }
.pack-card .feats { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pack-card .feats li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; color: var(--text-body); }
.pack-card .feats li svg { flex: none; margin-top: 2px; }

.data-table { border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-page); overflow-x: auto; }
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 16px 20px; font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--avs-white); background: var(--avs-dark-blue); white-space: nowrap; }
.data-table td { padding: 15px 20px; font-size: var(--fs-small); line-height: 1.45; color: var(--text-body); border-top: 1px solid var(--border-default); vertical-align: top; }
.data-table td.label { font-weight: var(--fw-bold); color: var(--avs-dark-blue); white-space: nowrap; }
.data-table td.hi, .data-table tr.hi td { font-weight: var(--fw-bold); color: var(--avs-secondary); }
.data-table tr.alt { background: var(--surface-subtle); }

.detail-tabs .tab-nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--border-default); margin-bottom: 32px; }
.detail-tabs .tab-btn {
  appearance: none; background: none; border: none; border-bottom: 3px solid transparent; padding: 14px 22px;
  font-family: inherit; font-size: var(--fs-body-lg); font-weight: var(--fw-bold); cursor: pointer; color: var(--text-muted); margin-bottom: -1px;
}
.detail-tabs .tab-btn.on { color: var(--avs-secondary); border-bottom-color: var(--avs-secondary); }
.detail-tabs .tab-panel { display: none; }
.detail-tabs .tab-panel.on { display: grid; }
.detail-item { height: 100%; border-left: 3px solid var(--avs-secondary); padding-left: 20px; }
.detail-item .head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.detail-item .head span { font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .07em; color: var(--avs-secondary); }
.detail-item p { margin: 0; font-size: var(--fs-small); line-height: 1.6; }

.numtile { height: 100%; display: flex; align-items: center; gap: 14px; background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 18px 22px; }
.numtile .ic { flex: none; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--avs-secondary-tint); display: inline-flex; align-items: center; justify-content: center; }
.numtile span.label { font-size: var(--fs-small); line-height: 1.35; color: var(--text-heading); font-weight: 600; }

.stat-tile { height: 100%; background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 26px 24px; }
.stat-tile .num { font-size: 1.9rem; font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--avs-secondary); line-height: 1; margin-top: 14px; }
.stat-tile .lab { font-size: var(--fs-small); color: var(--text-muted); margin-top: 8px; line-height: 1.45; }

.tranche-tile { height: 100%; background: var(--surface-page); border: 1px solid var(--border-default); border-top: 3px solid var(--avs-dark-blue); border-radius: var(--radius-lg); padding: 24px 22px; text-align: center; }
.tranche-tile .t { font-size: 1.9rem; font-weight: var(--fw-bold); color: var(--avs-dark-blue); line-height: 1; margin-top: 10px; }
.tranche-tile .cvu { font-size: var(--fs-body); font-weight: 600; color: var(--text-heading); margin-top: 14px; }
.tranche-tile .price { font-size: var(--fs-small); color: var(--avs-secondary); font-weight: var(--fw-bold); margin-top: 8px; }

.cluster-tile { height: 100%; background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 24px 26px; text-align: center; }
.cluster-tile h3 { font-size: 1.25rem; margin: 10px 0 12px; }
.cluster-tile p { margin: 0 0 6px; font-size: var(--fs-small); line-height: 1.5; max-width: none; }

.phase-tile { height: 100%; background: var(--surface-subtle); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 20px 16px; text-align: center; }
.phase-tile .n { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--avs-secondary); color: var(--avs-white); align-items: center; justify-content: center; font-size: var(--fs-small); font-weight: var(--fw-bold); }
.phase-tile .t { font-size: var(--fs-small); font-weight: 600; color: var(--text-heading); margin-top: 12px; line-height: 1.35; }

.sac-note { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 28px 0 56px; font-size: var(--fs-small); color: var(--text-muted); }
.sac-note svg { flex: none; }

/* ---- Floating contact widget (all pages) ---- */
.fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 120; width: 64px; height: 64px; border-radius: 999px;
  border: none; cursor: pointer; background: var(--avs-secondary); color: var(--avs-white);
  box-shadow: 0 10px 30px rgba(7,20,27,.34); display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease-standard);
}
.fab:hover { background: var(--avs-secondary-hover); }
body.fab-open .fab { display: none; }
.fab-panel {
  position: fixed; top: 0; right: 0; z-index: 140; height: 100vh; width: min(460px, 100vw);
  background: var(--surface-card); box-shadow: -18px 0 44px rgba(7,20,27,.26);
  transform: translateX(calc(100% + 40px)); transition: transform .34s cubic-bezier(.22,.8,.24,1);
  display: flex; flex-direction: column;
}
body.fab-open .fab-panel { transform: translateX(0); }
.fab-panel__head { background: var(--avs-dark-blue); color: var(--avs-white); padding: 26px 28px 24px; flex: 0 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.fab-panel__head .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 8px; }
.fab-panel__head h2 { margin: 0; font-size: 1.6rem; line-height: 1.2; color: var(--avs-white); }
.fab-panel__head p { margin: 10px 0 0; font-size: var(--fs-small); color: rgba(255,255,255,.78); }
.fab-panel__close { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--avs-white); }
.fab-panel__body { padding: 24px 28px 28px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.fab-panel__contacts { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--divider); margin-top: 4px; }
.fab-panel__contacts span { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--text-body); }
.fab-panel__contacts svg { color: var(--avs-secondary); }
.fab-backdrop { position: fixed; inset: 0; background: rgba(7,20,27,.35); z-index: 130; opacity: 0; pointer-events: none; transition: opacity .34s ease; }
body.fab-open .fab-backdrop { opacity: 1; pointer-events: auto; }

/* ---- Legal / draft banner ---- */
.legal-notice {
  background: #FFF6E5; border: 1px solid #E6B800; color: #6B5300;
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); margin-bottom: var(--space-6);
  font-size: var(--fs-small);
}
.legal-notice strong { color: #6B5300; }
pre.placeholder { white-space: pre-wrap; font-family: var(--font-sans); background: var(--surface-subtle); padding: var(--space-4); border-radius: var(--radius-md); }

/* ---- Hinweis auf neue Version (update-check.js) ---- */
/* Unten links, damit er den Kontakt-Knopf unten rechts nicht verdeckt. Weiß auf #07141B = 18,9:1. */
.update-notice { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 112px); padding: 12px 12px 12px 18px; border-radius: var(--radius-lg); background: var(--avs-dark-blue); color: var(--avs-white); box-shadow: 0 12px 40px rgba(7,20,27,.3); }
.update-notice__text { margin: 0; font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--avs-white); }
.update-notice .btn { flex: none; background: var(--avs-secondary-on-dark); color: var(--avs-secondary-on-dark-ink); border-color: transparent; }
.update-notice .btn:hover { background: var(--avs-secondary-on-dark-hover); color: var(--avs-secondary-on-dark-ink); }
.update-notice__close { all: unset; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--avs-white); }
.update-notice__close:hover { background: rgba(255,255,255,.14); }
.update-notice__close:focus-visible { outline: 3px solid var(--avs-secondary-on-dark); outline-offset: 2px; }
@media (max-width: 560px) { .update-notice { flex-wrap: wrap; } }


/* ---- Home hero: video first, brand-led (no panel) ---- */
.hero--video-first .hero-scrim { background: linear-gradient(90deg, rgba(7,20,27,.72) 0%, rgba(7,20,27,.32) 45%, rgba(7,20,27,0) 75%), linear-gradient(0deg, rgba(7,20,27,.55) 0%, rgba(7,20,27,0) 40%); }
.hero--video-first .container { justify-content: flex-end; }
.hero-brand { max-width: 620px; }
.hero-brand__kicker { display: block; color: var(--avs-secondary-on-dark); font-size: var(--fs-small); font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; }
.hero-brand h1 { color: var(--avs-white); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 12px 0 10px; }
.hero .hero-brand__claim { color: rgba(255,255,255,.9); font-size: var(--fs-body-lg); margin: 0 0 16px; }

/* ---- Home proof strip ---- */
.proof-strip { background: var(--avs-dark-blue); color: var(--avs-white); border-top: 1px solid rgba(255,255,255,.12); }
.proof-strip__list { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; }
.proof-strip__list li { font-size: var(--fs-small); color: rgba(255,255,255,.8); }
.proof-strip__list strong { display: block; color: var(--avs-secondary-on-dark); font-size: 1.5rem; line-height: 1.15; }
@media (max-width: 640px) { .proof-strip__list li { flex: 1 1 40%; } }

/* ---- Brand tile flying from hero into the manifest (brand-fly.js) ---- */
.hero--video-first { overflow: visible; }
.hero-brand--tile { position: relative; z-index: 45; display: inline-block; max-width: 620px; background: color-mix(in srgb, var(--avs-dark-blue) 62%, transparent); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16); /* same translucent look as .hero-panel */ border-radius: var(--radius-lg); padding: 32px 36px 36px; box-shadow: var(--shadow-md); transform-origin: 0 0; will-change: transform; }
.hero-brand--tile h1 { margin-top: 0; }
/* Manifest head uses the same 2-column grid as the cards below: text left,
   the docked brand tile right, both columns the same height. */
.manifest-head--grid { display: grid; align-items: stretch; justify-content: normal; }
/* The dock only reserves space; the tile keeps its own translucent look when docked. */
.brand-dock { position: relative; }
.hero-brand--tile { transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease; }
@media (max-width: 899px) { .hero-brand--tile { padding: 24px 22px 26px; } }

/* ---- Reflow at 320 px (WCAG 1.4.10) ---- */
.info-row > div, .flex > div { min-width: 0; }
h1, h2, h3, h4, dt, .check-list .row { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p, li, dd { overflow-wrap: break-word; }

/* Screenreader-only text (SAC table corner headers) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Gallery open button (gallery-lightbox.js); inset outline because .gallery-item has overflow:hidden */
.gallery-open { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-open:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; }

/* ---- Referenzliste Appian (nach Auftraggeber gruppiert, ohne Links) ---- */
.ref-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-7, 40px); }
.ref-stats { display: flex; gap: var(--space-6); }
.ref-stats > div { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--avs-secondary); }
.ref-stats__num { font-size: 2.4rem; font-weight: var(--fw-bold); line-height: 1; color: var(--text-heading); letter-spacing: -0.02em; }
.ref-stats__lab { font-size: var(--fs-small); color: var(--text-muted); margin-top: 6px; }
/* Masonry via columns: no gaps between cards of different height. */
.ref-grid { column-width: 300px; column-gap: var(--space-5); }
.ref-card { break-inside: avoid; margin: 0 0 var(--space-5); background: var(--surface-card); border: 1px solid var(--border-default); border-top: 3px solid var(--avs-secondary); border-radius: var(--radius-md); box-shadow: 0 1px 2px rgba(7,20,27,.04), 0 6px 18px rgba(7,20,27,.05); overflow: hidden; }
.ref-card header { position: relative; padding: 18px 22px 14px; background: var(--surface-subtle); border-bottom: 1px solid var(--border-default); }
.ref-card h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 0; padding-right: 90px; color: var(--text-heading); }
.ref-card header p { margin: 4px 0 0; font-size: var(--fs-caption); line-height: 1.4; color: var(--text-muted); max-width: none; }
.ref-card__count { position: absolute; top: 18px; right: 18px; font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--avs-secondary); background: var(--avs-secondary-tint); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.ref-card ul { list-style: none; margin: 0; padding: 4px 22px 10px; }
.ref-card li { position: relative; padding: 10px 0 10px 20px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-body); }
.ref-card li + li { border-top: 1px solid var(--divider); }
.ref-card li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--avs-secondary); }

/* ---- Preisangabe Standort ---- */
.price-row { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); margin-bottom: 24px; }
.price { display: flex; flex-direction: column; }
.price__num { font-size: 2rem; font-weight: var(--fw-bold); line-height: 1.1; color: var(--avs-secondary); letter-spacing: -0.01em; }
.price__unit { font-size: var(--fs-small); color: var(--text-muted); margin-top: 2px; }

/* Long URLs (e.g. LinkedIn on kontakt.html) must wrap at 320 px. */
.info-row a { overflow-wrap: anywhere; }
/* Text in flex rows (icon + text) is an anonymous flex item; let long German compounds break. */
.check-list .row { overflow-wrap: anywhere; }

/* ---- Generic flying hero tile (brand-fly.js), used on home and Developer Day ---- */
.hero--fly { overflow: visible; }
.fly-tile { position: relative; z-index: 45; transform-origin: 0 0; will-change: transform; transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease; }

/* ---- Link lists (Insight event pages) ---- */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li + li { margin-top: 8px; }
.link-list a { font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 2px; }
.link-list a::after { content: " ↗"; text-decoration: none; display: inline-block; margin-left: 2px; }
.link-list--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--space-4); }
.link-list--cards li + li { margin-top: 0; }
.link-list--cards a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--border-default); border-top: 3px solid var(--avs-secondary); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-heading); text-decoration: none; }
.link-list--cards a:hover { border-color: var(--avs-secondary); color: var(--avs-secondary); }

/* ---- Partner banner directly under the solution hero (PMflexONE) ----
   Three equal stat columns (same type size, full-height accent bars) and the
   partner label + logo on the right. */
.partner-banner { background: var(--surface-subtle); border-bottom: 1px solid var(--border-default); }
.partner-banner__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch; gap: var(--space-5) 32px; padding-top: 28px; padding-bottom: 28px; }
.partner-banner__item { display: flex; flex-direction: column; justify-content: center; padding-left: 16px; border-left: 3px solid var(--avs-secondary); min-width: 0; }
.partner-banner__num { font-size: 1.6rem; font-weight: var(--fw-bold); line-height: 1.15; color: var(--text-heading); letter-spacing: -0.01em; }
.partner-banner__sub { font-size: var(--fs-small); line-height: 1.4; color: var(--text-muted); margin-top: 4px; }
.partner-banner__partner { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; }
.partner-banner__lab { font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em; color: var(--avs-secondary); }
.partner-banner__logo { background: var(--avs-white); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 8px 14px; }
.partner-banner__logo img { display: block; height: 72px; width: auto; }
@media (max-width: 1000px) { .partner-banner__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-banner__partner { grid-column: 1 / -1; align-items: flex-start; } }
@media (max-width: 480px) { .partner-banner__row { grid-template-columns: minmax(0, 1fr); } }

/* ---- Quote block (Insight event pages) ---- */
.quote-block { margin: 0 0 20px; padding: 20px 24px; border-left: 4px solid var(--avs-secondary); background: var(--surface-subtle); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.quote-block p { margin: 0; font-size: var(--fs-body-lg); line-height: 1.55; color: var(--text-heading); font-weight: 600; }

/* ---- Insight tile header (gradient; stars only on the detail page hero) ---- */
.tile-head { position: relative; overflow: hidden; height: 170px; display: flex; align-items: flex-end; padding: 18px; color: var(--avs-white); font-weight: var(--fw-bold); font-size: 1.4rem; line-height: 1.1; border-radius: var(--radius-md) var(--radius-md) 0 0; background: linear-gradient(150deg, var(--avs-secondary) 0%, var(--avs-dark-blue) 75%); }
.tile-head .constellation { display: none; }
.tile-head > span { position: relative; z-index: 1; }

/* ---- Appian training cards ---- */
.training-card { display: flex; flex-direction: column; border-top: 3px solid var(--avs-secondary); }
.training-card__meta { font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em; color: var(--avs-secondary); margin-bottom: 10px; }
.training-card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.training-card p { flex: 1; margin-bottom: 18px; }
.training-card .btn { align-self: flex-start; }

/* ---- Insight event cards: neutral card, title + place/date in petrol ---- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-5); }
.event-card { display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: var(--surface-card); border: 1px solid var(--border-default); box-shadow: 0 1px 2px rgba(7,20,27,.04), 0 6px 18px rgba(7,20,27,.05); color: var(--text-body); }
.event-card--soon { border-style: dashed; background: var(--surface-subtle); box-shadow: none; }
.event-card__cat { font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 8px; }
.event-card h3 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 16px; color: var(--avs-secondary); }
.event-card__meta { list-style: none; margin: 0 0 16px; padding: 0; }
.event-card__meta li { display: flex; align-items: center; gap: 10px; font-weight: var(--fw-bold); font-size: var(--fs-body); color: var(--avs-secondary); }
.event-card__meta li + li { margin-top: 8px; }
.event-card__meta svg { flex: 0 0 auto; color: var(--avs-secondary); }
.event-card p { flex: 1; margin: 0 0 20px; font-size: var(--fs-small); line-height: 1.6; color: var(--text-body); max-width: none; }
.event-card p strong { color: var(--text-heading); }
.event-card__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---- Appian platform section: intro left, 2x2 feature tiles right ---- */
.platform { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6) 56px; align-items: center; }
.platform__intro h2 { margin: 0 0 16px; }
.platform__intro p { max-width: none; }
.platform__features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.platform-feature { background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 22px 22px 20px; box-shadow: 0 1px 2px rgba(7,20,27,.04), 0 6px 18px rgba(7,20,27,.05); }
.platform-feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--avs-secondary-tint); color: var(--avs-secondary); margin-bottom: 14px; }
.platform-feature h3 { font-size: 1.1rem; margin: 0 0 6px; }
.platform-feature p { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--text-body); max-width: none; }
@media (max-width: 900px) { .platform { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .platform__features { grid-template-columns: minmax(0, 1fr); } }

/* "Zur Veranstaltung" on Insight cards: petrol instead of dark blue on hover/press */
.event-card .btn--outline:hover, .event-card .btn--outline:active { background: var(--avs-secondary); border-color: var(--avs-secondary); color: var(--avs-white); }

/* ---- PMflexONE: Herausforderung -> Lösung side by side ---- */
.ps-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-4); align-items: stretch; }
.ps-card { position: relative; border-radius: var(--radius-lg); padding: 28px 28px 30px; border: 1px solid var(--border-default); }
.ps-card--problem, .ps-card--solution { background: var(--surface-card); border-top: 4px solid var(--avs-secondary); box-shadow: 0 1px 2px rgba(7,20,27,.04), 0 10px 28px rgba(7,20,27,.08); }
.ps-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-md); margin-bottom: 14px; }
.ps-card__icon { background: var(--avs-secondary-tint); color: var(--avs-secondary); }
.ps-card__label { margin: 0 0 6px; font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.ps-card .ps-card__label { color: var(--avs-secondary); }
.ps-card h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 12px; }
.ps-card p { max-width: none; }
.ps-card__chips { display: grid; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--divider); }
.ps-card__chiplab { display: block; font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 8px; }
.ps-arrow { align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--avs-secondary); color: var(--avs-white); }
@media (max-width: 900px) { .ps-grid { grid-template-columns: minmax(0, 1fr); } .ps-arrow { justify-self: center; transform: rotate(90deg); } }
.ps-integrations { display: flex; flex-wrap: wrap; gap: var(--space-4) 48px; margin-top: var(--space-5); padding: 20px 24px; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--surface-card); }

/* ---- Wide content image (e.g. Appian "Unsere Rolle") ---- */
.wide-image { display: block; width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; object-position: center 40%; border-radius: var(--radius-lg); margin-top: var(--space-6); }

/* ---- Fact strip (key facts in one row) + 4-column feature tiles ---- */
.fact-strip { list-style: none; margin: var(--space-6) 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.fact-strip li { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--avs-secondary); }
.fact-strip strong { font-size: 1.35rem; line-height: 1.2; color: var(--text-heading); }
.fact-strip span { font-size: var(--fs-small); color: var(--text-muted); margin-top: 2px; }
.platform__features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .fact-strip, .platform__features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fact-strip, .platform__features--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Standort: Location anfragen (map + booking card, same height) ---- */
.booking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; }
.booking__map { display: flex; min-height: 380px; }
.booking__map > * { flex: 1; }
.booking__card { background: var(--surface-card); border: 1px solid var(--border-default); border-top: 4px solid var(--avs-secondary); border-radius: var(--radius-lg); padding: 28px 28px 30px; box-shadow: 0 1px 2px rgba(7,20,27,.04), 0 10px 28px rgba(7,20,27,.08); }
.booking__card h2 { margin: 0 0 10px; }
.booking__prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: 20px 0; }
.booking__price { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius-md); background: var(--avs-secondary-tint); }
.booking__price-lab { font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em; color: var(--avs-secondary); }
.booking__price-num { font-size: 1.75rem; font-weight: var(--fw-bold); line-height: 1.15; color: var(--text-heading); margin-top: 4px; }
.booking__facts { list-style: none; margin: 0 0 24px; padding: 0; }
.booking__facts li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--divider); font-size: var(--fs-body); }
.booking__facts li:last-child { border-bottom: 1px solid var(--divider); }
.booking__facts svg { flex: 0 0 auto; margin-top: 2px; color: var(--avs-secondary); }
.booking__facts a { font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) { .booking { grid-template-columns: minmax(0, 1fr); } }
.manifest-lead { font-size: var(--fs-body-lg); font-weight: var(--fw-bold); color: var(--text-heading); margin: 0 0 12px; }

/* ---- Manifest: Selbstverständnis as an editorial list (label left, statement right) ---- */
.principles__title { font-size: 1.3rem; margin: var(--space-7, 48px) 0 var(--space-4); }
.principles { margin: 0; border-bottom: 1px solid var(--border-default); }
.principles > div { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--space-5); align-items: baseline; padding: 22px 0; border-top: 1px solid var(--border-default); }
.principles dt { font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--avs-secondary); }
.principles dd { margin: 0; font-size: 1.5rem; font-weight: 400; line-height: 1.35; color: var(--text-heading); letter-spacing: -0.01em; }
@media (max-width: 760px) { .principles > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } .principles dd { font-size: 1.25rem; } }

/* Bechtle Pro everywhere: form controls and code do not inherit the font by default. */
button, input, select, textarea, code, kbd, samp { font-family: var(--font-sans); }

/* ---- Startseite: Unser Selbstverständnis ----
   Big centred statement in front of a glowing petrol 360° ring, then four numbered
   columns with thin dividers. Ring kept at 55 % opacity so white text crossing it
   stays above 3:1 (large text); numbers #26A69A on #07141B = 6.9:1. */
.selfimage { position: relative; overflow: hidden; background: radial-gradient(60% 50% at 50% 25%, #0d2a33 0%, var(--avs-dark-blue) 70%); }
.selfimage__hero { position: relative; text-align: center; padding: 72px 0 96px; }
.selfimage__ring { position: absolute; left: 50%; top: 50%; width: min(440px, 82vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; opacity: .55; pointer-events: none;
  background: conic-gradient(from 210deg, #26A69A, #7FD6CE, #146569, #4FBFB4, #0F4C4F, #9DE3DC, #26A69A);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 63%, #000 69%, transparent 72%); mask: radial-gradient(circle, transparent 60%, #000 63%, #000 69%, transparent 72%);
  filter: blur(1.5px) drop-shadow(0 0 30px rgba(38,166,154,.6)); }
.selfimage__eyebrow { position: relative; margin: 0 0 18px; font-size: var(--fs-caption); font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--avs-secondary-on-dark); }
.selfimage__kicker { position: relative; margin: 0 0 6px; font-size: 1.35rem; color: rgba(255,255,255,.9); }
.selfimage__statement { position: relative; margin: 0 auto; font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; color: var(--avs-white); }
.selfimage__cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.selfimage__cols li { padding: 8px 28px 12px; border-left: 1px solid rgba(38,166,154,.55); }
.selfimage__cols li:first-child { border-left: 0; padding-left: 0; }
.selfimage__num { display: block; font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 300; line-height: 1; color: var(--avs-secondary-on-dark); margin-bottom: 22px; }
.selfimage__cols h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: var(--fw-bold); color: var(--avs-white); }
.selfimage__cols p { margin: 0; color: rgba(255,255,255,.86); line-height: 1.55; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 980px) { .selfimage__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } .selfimage__cols li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .selfimage__cols { grid-template-columns: minmax(0, 1fr); } .selfimage__cols li { border-left: 0; padding: 0 0 0 0; border-top: 1px solid rgba(38,166,154,.55); padding-top: 24px; } .selfimage__cols li:first-child { border-top: 0; padding-top: 0; } .selfimage__hero { padding: 48px 0 64px; } }

.selfimage .selfimage__statement { color: var(--avs-white); }
.selfimage .selfimage__kicker { color: rgba(255,255,255,.9); }

/* ---- Every box on the site gets the petrol line on top (site-wide rule) ----
   !important so boxes with an inline "border:" shorthand also get it. */
.card, .quote-card, .pack-card, .stat-tile, .ref-card, .training-card, .event-card,
.platform-feature, .principal-card, .ps-card, .manifest-card, .booking__card, .sol-tile,
.link-list--cards a { border-top: 4px solid var(--avs-secondary) !important; }
/* Exceptions: no petrol line on the solutions overview cards and the four home solution tiles. */
.sol-tile { border-top: 0 !important; }
.solutions-list > .card { border-top: 1px solid var(--border-default) !important; }

/* Selbstverständnis on a light background. */
.selfimage { background: var(--surface-page); }
.selfimage__ring { opacity: .35; filter: blur(1.5px) drop-shadow(0 0 24px rgba(20,101,105,.35)); }
.selfimage__eyebrow { color: var(--avs-secondary); }
.selfimage .selfimage__kicker { color: var(--text-body); }
.selfimage .selfimage__statement { color: var(--text-heading); }
.selfimage__cols li { border-left-color: var(--border-default); }
.selfimage__num { color: var(--avs-secondary); }
.selfimage__cols h3 { color: var(--text-heading); }
.selfimage__cols p { color: var(--text-body); }
@media (max-width: 560px) { .selfimage__cols li { border-top-color: var(--border-default); } }
/* Smaller ring so it stays inside the statement area; equal heading height so the
   texts below all start on one line. */
.selfimage__ring { width: min(340px, 70vw); }
.selfimage__cols h3 { line-height: 1.25; min-height: 2.5em; }
@media (max-width: 560px) { .selfimage__cols h3 { min-height: 0; } }

/* Footer bottom: row 1 = copyright left + legal links right-aligned, row 2 = legal entity. */
.site-footer__legal-links { justify-content: flex-end; margin-left: auto; }
.site-footer__entity { flex-basis: 100%; margin: 0; font-size: var(--fs-caption); color: var(--text-on-dark-muted); }
@media (max-width: 760px) { .site-footer__legal-links { justify-content: flex-start; margin-left: 0; } }

/* Startseite: Kachel-Titel mit festem Umbruch, Selbstverstaendnis-Satz als h2, beide ohne Silbentrennung */
.hero-brand__title, .selfimage__statement { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 400px) { .hero-brand .hero-brand__title { font-size: 1.75rem; overflow-wrap: normal; } }
/* Titel mit festem Umbruch, ohne Silbentrennung (z. B. PMflexONE-Hero) */
.title-nohyphen { hyphens: manual; -webkit-hyphens: manual; }

/* Slideshow (PMflexONE "Einblick", assets/js/slideshow.js). Without JS the
   slides stack; enhanced, all slides share one grid cell and fade. */
.slideshow__slide { margin: 0; }
.slideshow__slide + .slideshow__slide { margin-top: var(--space-5); }
.slideshow__slide img { display: block; width: 100%; height: auto; }
.slideshow.is-enhanced .slideshow__track { display: grid; }
.slideshow.is-enhanced .slideshow__slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.slideshow.is-enhanced .slideshow__slide.is-active { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.slideshow__dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.slideshow__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.slideshow__dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--text-muted); background: transparent; transition: background-color .2s, border-color .2s; }
.slideshow__dot:hover::before { border-color: var(--avs-secondary); }
.slideshow__dot[aria-current="true"]::before { background: var(--avs-secondary); border-color: var(--avs-secondary); }
.slideshow__dot:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .slideshow.is-enhanced .slideshow__slide, .slideshow__dot::before { transition: none; } }
.lightbox--plain .lightbox__img { border-radius: 0; }
.slideshow .gallery-open { height: auto; }
.slideshow .gallery-open:focus-visible { outline-offset: 3px; }
