/* ============================================
   cedaris – Premium Stylesheet
   ============================================ */

/* --- Inter (lokal, kein Google-CDN) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Design Tokens --- */
:root {
  --color-primary: #1b365d;
  --color-primary-light: #00AADA;
  --color-primary-dark: #1b365d;
  --color-accent: #4F8FD0;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F5F7;
  --color-text: #0D1117;
  --color-text-muted: #64748B;
  --color-dark: #07111F;
  --color-gold: #C9A06A;
  --color-text-light: #8A8A9E;
  --color-border: #E2E5EB;
  --color-border-light: #F0F1F4;
  --color-footer-bg: #0F1623;
  --color-primary-tint-06: rgba(46, 109, 164, 0.06);
  --color-primary-tint-08: var(--color-primary-tint-08);
  --gradient-primary: linear-gradient(135deg, #1b365d 0%, #00AADA 66%);
  --font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --section-padding: 6rem 1.5rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(27, 58, 92, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary-light);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  color: #fff;
}

.btn-primary svg {
  transition: transform var(--transition);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
}

.btn-white svg {
  transition: transform var(--transition);
}

.btn-white:hover svg {
  transform: translateX(4px);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   Pill Navigation
   ============================================ */
.pnav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  transition: transform 0.45s var(--ease-spring);
}

.pnav.is-hidden {
  transform: translateY(-130%);
}

.pnav__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0.75rem;
}

.pnav__pill {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 229, 235, 0.55);
  position: relative;
  pointer-events: all;
  transition:
    background 0.4s var(--ease-spring),
    border-color 0.4s var(--ease-spring);
}

.pnav.is-scrolled .pnav__pill {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(226, 229, 235, 0.8);
}

.pnav.is-at-top .pnav__pill {
  background: rgba(7, 17, 31, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

/* Logo */
.pnav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), color 0.3s var(--ease-spring);
}

.pnav__logo:hover {
  color: var(--color-primary);
}

.pnav.is-at-top .pnav__logo {
  color: #fff;
}

.pnav__logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.pnav__logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary-light);
  opacity: 0;
  transition: opacity 0.7s var(--ease-spring);
}

.pnav__logo:hover .pnav__logo-mark::after {
  opacity: 1;
}

/* Desktop links — absolutely centered in pill */
.pnav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Language dropdown pushed to the right edge */
.pnav__pill>.lang-dropdown {
  margin-left: auto;
}

.pnav__link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease-spring);
}

.pnav__link::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 0.8rem;
  height: 1.5px;
  width: 0;
  background: var(--color-primary-light);
  transition: width 0.3s var(--ease-spring);
}

.pnav__link:hover {
  color: var(--color-primary);
}

.pnav__link:hover::after {
  width: calc(100% - 1.6rem);
}

/* CTA */
.pnav__link--cta {
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 100px;
  padding: 0.45rem 1.15rem;
  margin-left: 0.5rem;
  transition: background 0.25s var(--ease-spring), transform 0.25s var(--ease-spring);
}

.pnav__link--cta::after {
  display: none;
}

.pnav__link--cta:hover {
  background: var(--color-primary-light);
  color: #fff !important;
}

/* Dark hero variant */
.pnav.is-at-top .pnav__link {
  color: rgba(255, 255, 255, 0.75);
}

.pnav.is-at-top .pnav__link:hover {
  color: #fff;
}

.pnav.is-at-top .pnav__link::after {
  background: rgba(255, 255, 255, 0.8);
}

/* Hamburger */
.pnav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.pnav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.35s var(--ease-spring);
}

.pnav.is-at-top .pnav__toggle span {
  background: #fff;
}

/* ============================================
   Mobile Overlay
   ============================================ */
.pnav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition:
    opacity 0.45s var(--ease-spring),
    transform 0.45s var(--ease-spring);
}

.pnav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.pnav-overlay__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease-spring);
}

.pnav-overlay__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.pnav-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 2rem;
}

.pnav-overlay__link {
  font-size: 1.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0.65rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    color 0.25s var(--ease-spring),
    opacity 0.45s var(--ease-spring),
    transform 0.45s var(--ease-spring);
}

.pnav-overlay.is-open .pnav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

.pnav-overlay__link:hover {
  color: #fff;
}

.pnav-overlay__link--cta {
  margin-top: 1.25rem;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 100px;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.pnav-overlay__link--cta:hover {
  background: var(--color-primary-light);
  color: #fff !important;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 0.25rem;
}

.lang-dropdown__btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1px solid var(--color-text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  padding: 0.5rem 0.55rem;
  transition: border-color var(--transition), color var(--transition);
}

.lang-dropdown__btn:hover,
.lang-dropdown.is-open .lang-dropdown__btn {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
}

.lang-dropdown__globe {
  flex-shrink: 0;
}

.lang-dropdown__chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.lang-dropdown.is-open .lang-dropdown__chevron {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 140px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 0.35rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
}

.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-dropdown__option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.lang-dropdown__option:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.lang-dropdown__option.active {
  color: var(--color-primary-light);
  font-weight: 600;
}

/* Language switch in mobile overlay */
.lang-switch-overlay {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.lang-switch-overlay__opt {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0;
  transition: color var(--transition);
}

.lang-switch-overlay__opt:hover {
  color: rgba(255, 255, 255, 0.8);
}

.lang-switch-overlay__opt.active {
  color: #fff;
}

.lang-switch-overlay__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

/* ---- Fix 1: Focus-visible styles (keyboard navigation) ---- */
.pnav__link:focus-visible,
.pnav__logo:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.pnav__link--cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.pnav.is-at-top .pnav__link:focus-visible,
.pnav.is-at-top .pnav__logo:focus-visible {
  outline-color: rgba(255, 255, 255, 0.8);
}

.pnav__toggle:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.pnav-overlay__link:focus-visible,
.pnav-overlay__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* ---- Fix 2: Touch target minimum 44×44px ---- */
.pnav__toggle {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.pnav__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---- Fix 3: GPU acceleration hint ---- */
.pnav__pill {
  will-change: background, box-shadow;
}

/* ---- Fix 4: Active nav link indicator ---- */
.pnav__link.is-active {
  color: var(--color-primary);
}

.pnav__link.is-active::after {
  width: calc(100% - 1.6rem);
}

.pnav.is-at-top .pnav__link.is-active {
  color: #fff;
}

.pnav.is-at-top .pnav__link.is-active::after {
  width: calc(100% - 1.6rem);
}

/* ---- Fix 5: prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {

  .pnav,
  .pnav__pill,
  .pnav__logo,
  .pnav__link,
  .pnav__link::after,
  .pnav__link--cta,
  .pnav__toggle span,
  .pnav-overlay,
  .pnav-overlay__link {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- Responsive breakpoint ---- */
@media (max-width: 1100px) {
  .pnav__links {
    display: none;
  }

  .pnav__toggle {
    display: flex;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 1.5rem 4rem;
  background: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(4px);
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-video.active {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.6);
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(46, 109, 164, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(46, 109, 164, 0.12);
  top: 10%;
  right: 10%;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(79, 143, 208, 0.08);
  bottom: 20%;
  left: 5%;
  animation-delay: -4s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-10px, 15px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(201, 160, 106, 0.4);
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 6px rgba(201, 160, 106, 0);
  }
}

.hero h1 {
  font-size: 4.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* ---- Slide Text ---- */
.flip-wrap {
  display: grid;
  overflow: hidden;
}

.flip-item {
  grid-area: 1 / 1;
  will-change: transform, opacity;
  font-size: 4.25rem;
}

@media (max-width: 1024px) {
  .flip-item {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .flip-item {
    font-size: 2.25rem;
  }
}

.flip-item--a {
  animation: slide-a 8s var(--ease-spring) infinite;
  animation-delay: -3s;
}

.flip-item--b {
  animation: slide-b 8s var(--ease-spring) infinite;
  animation-delay: -3s;
}

@keyframes slide-a {

  0%,
  50% {
    transform: translateY(0);
    opacity: 1;
  }

  56% {
    transform: translateY(-110%);
    opacity: 0;
  }

  94% {
    transform: translateY(110%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-b {

  0%,
  50% {
    transform: translateY(110%);
    opacity: 0;
  }

  56% {
    transform: translateY(0);
    opacity: 1;
  }

  94% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-110%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flip-item--a {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .flip-item--b {
    animation: none;
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.stat-icon {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
}

.stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-primary);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% {
    top: -50%;
  }

  100% {
    top: 100%;
  }
}

/* ============================================
   Über uns
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}


/* ============================================
   Über uns – Nummerierte Liste
   ============================================ */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  min-height: 6rem;
}

.af-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  min-width: 1.5rem;
}

.af-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.af-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(46, 109, 164, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.af-body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.af-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}


/* ============================================
   Leistungen – Featured List
   ============================================ */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  cursor: default;
  transition: background var(--transition), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  margin-bottom: 0.5rem;
}

.sli-left {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
}

.sli-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  min-width: 1.5rem;
  padding-top: 0.15rem;
}

.sli-icon {
  color: var(--color-primary-light);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.sli-left>div h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.sli-left>div p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.sli-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 180px;
  justify-content: flex-end;
}

.sli-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary-light);
  background: rgba(46, 109, 164, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.sli-arrow {
  color: var(--color-text-light);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .sli-tags {
    justify-content: flex-start;
  }

  .sli-arrow {
    display: none;
  }

  .sli-left {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.1rem 1.5rem;
    align-items: start;
  }

  .sli-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .sli-left>div {
    display: contents;
  }

  .sli-left>div h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .sli-left>div p {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }
}

/* ============================================
   Themenbereiche (Topics)
   ============================================ */

.topic-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  overflow: hidden;
}

.topic-card:hover {
  border-color: transparent;
}

.topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: var(--gradient-primary);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.topic-card:hover::after {
  opacity: 1;
}

.topic-card-inner {
  padding: 1.75rem 0;
  position: relative;
  z-index: 1;
}

.topic-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-tint-06);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: all var(--transition);
}

.topic-card:hover .topic-icon-wrap {
  background: rgba(46, 109, 164, 0.1);
  transform: scale(1.05);
}

.topic-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  min-width: 0;
  overflow-wrap: break-word;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.topic-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ============================================
   Expertise – 2-Spalten-Liste
   ============================================ */
.topics-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.topics-list .topic-card {
  border: none;
  border-bottom: 1px solid var(--color-border);
  border: 1px solid var(--color-border);
  padding: 1.5rem 1rem;
  background: transparent;
  margin: 0.1rem;
}

.topics-list .topic-card:hover {
  background: var(--color-bg-alt);
}

.topics-list .topic-card-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
  align-items: center;
}

.topics-list .topic-card-inner .topic-icon-wrap {
  grid-row: 1;
  grid-column: 1;
}

.topics-list .topic-card-inner h3 {
  grid-row: 1;
  grid-column: 2;
}

.topics-list .topic-card-inner p {
  grid-row: 2;
  grid-column: 1 / -1;
}

.topics-list .topic-icon-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(46, 109, 164, 0.06);
  margin-bottom: 0;
}

.topics-list .topic-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.topics-list .topic-card p {
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .topics-list {
    grid-template-columns: 1fr;
  }

}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  position: relative;
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--color-primary-dark);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 143, 208, 0.25) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Aceternity Timeline (Vorgehen)
   ============================================ */
.acl-section {
  overflow: hidden;
}

.acl-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.acl-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.acl-items {
  position: relative;
  padding-bottom: 2rem;
}

.acl-item {
  display: flex;
  gap: 2.5rem;
  padding-top: 5rem;
  align-items: flex-start;
}

.acl-item:first-child {
  padding-top: 0;
}

.acl-sticky {
  position: sticky;
  top: 8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  width: 220px;
  z-index: 10;
}

.acl-dot-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.acl-dot-inner {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary);
}

.acl-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.acl-step-mobile {
  display: none;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.acl-content {
  flex: 1;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.acl-content.tl-visible {
  opacity: 1;
  transform: translateX(0);
}

.acl-content p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.acl-line-wrap {
  position: absolute;
  left: 1.5rem;
  top: 7rem;
  width: 2px;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--color-border) 10%, var(--color-border) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  overflow: hidden;
}

.acl-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
  transition: height 0.08s linear;
}

@media (max-width: 768px) {
  .acl-item {
    flex-direction: column;
    gap: 1rem;
    padding-top: 3rem;
  }

  .acl-sticky {
    position: static;
    width: auto;
  }

  .acl-step-title {
    display: none;
  }

  .acl-step-mobile {
    display: block;
  }

  .acl-line-wrap {
    left: 1rem;
    top: 5rem;
  }
}

/* ============================================
   Kontakt
   ============================================ */
.contact-content {
  max-width: 520px;
  margin: 0 auto;
}

.contact-card {
  background: var(--color-bg);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: none;
}

.contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.contact-person-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-person-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-person-role {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.contact-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  transition: all var(--transition);
  color: var(--color-text);
}

.contact-link:hover {
  background: transparent;
  border-bottom-color: var(--color-primary-light);
  color: var(--color-primary);
}

.contact-link-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-tint-08);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-link-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-link:hover .contact-link-value {
  color: var(--color-primary);
}

.contact-arrow {
  margin-left: auto;
  color: var(--color-text-light);
  transition: all var(--transition);
  flex-shrink: 0;
}

.contact-link:hover .contact-arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ============================================
   Footer
   ============================================ */


.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 1.75rem 0;
}

.footer-bottom p {
  font-size: 0.82rem;
}

/* ============================================
   Legal Pages (Impressum, Datenschutz)
   ============================================ */
.legal-page {
  padding-top: 8rem;
}

.legal-back-link {
  margin-top: 3rem;
}


.legal-page h1 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

.legal-page h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-page h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.legal-page p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.legal-page li {
  margin-bottom: 0.25rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 4rem 1.25rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero {
    padding: 7rem 1.25rem 6rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .stat-divider {
    display: none;
  }

  .contact-card {
    padding: 0;
  }

  .cta-banner {
    padding: 3.5rem 1.25rem;
  }

  .cta-banner h2 {
    font-size: 1.65rem;
  }

  .footer-nav {
    gap: 2.5rem;
  }
}

/* Karriere-Seite */
.job-entry {
  margin-top: 2rem;
  padding: 2rem 2.25rem;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
}

.job-entry+.job-entry {
  margin-top: 1.5rem;
}

.job-header {
  align-items: flex-start;
  margin: -2rem -2.25rem 1.5rem;
  padding: 1.5rem 2.25rem;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background-color: var(--color-bg-alt);
}

.job-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.35rem;
}

.job-entry h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.job-cta {
  margin-top: 2rem;
}