:root {
    --bg: #030812;
    --bg-2: #071423;
    --card: rgba(9, 22, 39, 0.82);
    --card-2: rgba(12, 31, 55, 0.72);
    --line: rgba(102, 166, 255, 0.2);
    --line-2: rgba(102, 166, 255, 0.42);
    --text: #f7fbff;
    --muted: #a9b7c9;
    --blue: #1f7aff;
    --blue-2: #67b4ff;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    --radius: 24px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
      radial-gradient(circle at 80% 10%, rgba(31, 122, 255, 0.18), transparent 30%),
      radial-gradient(circle at 20% 20%, rgba(31, 122, 255, 0.08), transparent 28%),
      var(--bg);
    line-height: 1.6;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  
  /* HEADER */
  .header {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 14px 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(4, 12, 22, 0.78);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 16px;
    z-index: 20;
  }
  
  /* IMAGE LOGO */
  .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
  }
  
  .logo-img {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  
  .footer-logo-img {
    height: 46px;
  }
  
  .nav {
    display: flex;
    justify-content: center;
    gap: 42px;
  }
  
  .nav a,
  .footer a {
    color: var(--muted);
    transition: color 0.2s ease;
  }
  
  .nav a {
    position: relative;
    padding: 10px 0;
    font-weight: 600;
  }
  
  .nav a:hover,
  .nav a.active,
  .footer a:hover {
    color: var(--blue-2);
  }
  
  .nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 2px;
    background: var(--blue);
    border-radius: 100px;
  }
  
  .language {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.35);
  }
  
  .language button {
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    font-weight: 700;
  }
  
  .language button.active {
    color: var(--blue-2);
  }
  
  .mobile-toggle {
    display: none;
    width: 42px;
    height: 36px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  
  .mobile-toggle span {
    display: block;
    height: 2px;
    margin: 7px 0;
    background: var(--text);
    border-radius: 99px;
  }
  
  /* PAGE */
  .page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
  }
  
  .hero {
    min-height: 660px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 70px 0 30px;
  }
  
  .eyebrow {
    margin: 0 0 14px;
    color: var(--blue-2);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  
  h1 {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.07em;
  }
  
  h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.05em;
  }
  
  h3 {
    line-height: 1.25;
  }
  
  .hero p {
    max-width: 540px;
    color: var(--muted);
    font-size: 1.18rem;
  }
  
  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
  }
  
  .btn {
    min-height: 56px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s ease;
  }
  
  .btn::after {
    content: "→";
    font-size: 1.2rem;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #0f6eff, #3991ff);
    box-shadow: 0 18px 42px rgba(31, 122, 255, 0.34);
  }
  
  .btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--line-2);
  }
  
  .btn-secondary:hover {
    border-color: var(--blue-2);
  }
  
  /* HERO ART */
  .hero-art {
    min-height: 480px;
    display: grid;
    place-items: center;
    position: relative;
  }
  
  .world {
    width: min(520px, 100%);
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(31, 122, 255, 0.18), transparent 62%),
      repeating-radial-gradient(circle, rgba(103, 180, 255, 0.13) 0 1px, transparent 2px 12px);
    opacity: 0.9;
  }
  
  .world::before,
  .world::after {
    content: "";
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(103, 180, 255, 0.26);
    border-radius: 50%;
  }
  
  .world::before {
    transform: rotate(24deg) scaleX(1.18);
  }
  
  .world::after {
    transform: rotate(-18deg) scaleY(0.58);
  }
  
  .art-shield {
    width: 250px;
    height: 286px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 36px rgba(31, 122, 255, 0.45));
  }
  
  .art-shield svg {
    width: 100%;
    height: 100%;
    fill: rgba(31, 122, 255, 0.08);
    stroke: var(--blue-2);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .art-ring {
    width: 360px;
    height: 120px;
    position: absolute;
    bottom: 60px;
    border-radius: 50%;
    background:
      radial-gradient(ellipse, rgba(31, 122, 255, 0.35), transparent 62%),
      repeating-radial-gradient(ellipse, rgba(103, 180, 255, 0.45) 0 1px, transparent 4px 18px);
    opacity: 0.7;
  }
  
  /* SECTIONS */
  .section {
    padding: 90px 0 0;
  }
  
  .section-title {
    margin-bottom: 44px;
    text-align: center;
  }
  
  .section-title h2 {
    margin-bottom: 0;
  }
  
  .section-title::after {
    content: "";
    width: 44px;
    height: 2px;
    display: block;
    margin: 18px auto 0;
    background: var(--blue);
    border-radius: 99px;
  }
  
  /* TRUST STRIP */
  .trust-strip {
    margin: 30px 0 0;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(10, 24, 42, 0.92), rgba(6, 15, 29, 0.85));
    box-shadow: var(--shadow);
  }
  
  .trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }
  
  .trust-icon,
  .card-icon,
  .step-icon {
    display: grid;
    place-items: center;
    border: 1px solid rgba(103, 180, 255, 0.35);
    border-radius: 50%;
    color: var(--blue-2);
    background: rgba(31, 122, 255, 0.07);
  }
  
  .service-svg-icon {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .trust-icon {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }
  
  .trust-item p {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text);
  }
  
  .divider {
    width: 1px;
    height: 58px;
    background: var(--line);
  }
  
  /* CARDS */
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .card {
    padding: 32px 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    transition: 0.2s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    border-color: var(--line-2);
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 22px;
    font-size: 1.8rem;
  }
  
  .card p {
    color: var(--muted);
  }
  
  .card a {
    color: var(--blue-2);
    font-weight: 800;
  }
  
  /* PROCESS */
  .process {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: start;
  }
  
  .step {
    text-align: center;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    font-size: 0.9rem;
    font-weight: 900;
  }
  
  .step-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    font-size: 1.9rem;
  }
  
  .step p {
    max-width: 220px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.96rem;
  }
  
  .process-line {
    width: 80px;
    height: 2px;
    margin-top: 78px;
    background: repeating-linear-gradient(
      90deg,
      rgba(103, 180, 255, 0.8) 0 6px,
      transparent 6px 14px
    );
  }
  
  /* CTA */
  .cta {
    margin: 90px 0 0;
    padding: 54px 30px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
      radial-gradient(circle at top, rgba(31, 122, 255, 0.2), transparent 45%),
      linear-gradient(135deg, rgba(12, 46, 88, 0.9), rgba(5, 14, 27, 0.92));
    overflow: hidden;
  }
  
  .cta h2 {
    margin-bottom: 24px;
  }
  
  /* ABOUT */
  .about-mission {
    padding: 42px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
  }
  
  /* CONTACT */
  .contact-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 28px;
    align-items: stretch;
  }
  
  .form-card,
  .info-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  
  .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .field.full {
    grid-column: 1 / -1;
  }
  
  label {
    font-size: 0.92rem;
    font-weight: 700;
  }
  
  input,
  select,
  textarea {
    width: 100%;
    border: 1px solid rgba(103, 180, 255, 0.24);
    border-radius: 10px;
    background: rgba(1, 8, 18, 0.42);
    color: var(--text);
    padding: 14px 16px;
    outline: none;
  }
  
  input:focus,
  select:focus,
  textarea:focus {
    border-color: var(--blue-2);
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
  }
  
  .checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }
  
  .info-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(103, 180, 255, 0.14);
  }
  
  .info-item strong {
    display: block;
  }
  
  .info-item a,
  .info-item span {
    color: var(--blue-2);
  }
  
  .form-message {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(72, 255, 168, 0.35);
    border-radius: 12px;
    color: #8affc1;
    background: rgba(72, 255, 168, 0.08);
  }
  
  .form-message.show {
    display: block;
  }
  
  /* FOOTER */
  .footer {
    width: min(1120px, calc(100% - 40px));
    margin: 80px auto 0;
    padding: 42px 0 28px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 40px;
    border-top: 1px solid rgba(103, 180, 255, 0.16);
    color: var(--muted);
  }
  
  .footer h4 {
    margin: 0 0 10px;
    color: var(--text);
  }
  
  .footer > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-logo {
    margin-bottom: 8px;
  }
  
  .socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
  }
  
  .socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  
  .copyright {
    grid-column: 1 / -1;
    margin: 18px 0 0;
    padding-top: 22px;
    text-align: center;
    border-top: 1px solid rgba(103, 180, 255, 0.1);
    font-size: 0.88rem;
  }
  
  .fade-in {
    animation: fade 0.3s ease;
  }
  
  @keyframes fade {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* RESPONSIVE */
  @media (max-width: 980px) {
    .header {
      grid-template-columns: auto auto;
    }
  
    .mobile-toggle {
      display: block;
    }
  
    .nav {
      grid-column: 1 / -1;
      display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      padding-top: 10px;
    }
  
    .nav.open {
      display: flex;
    }
  
    .nav a.active::after {
      bottom: -2px;
    }
  
    .header > .language {
      display: none;
    }
  
    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
    }
  
    .hero-art {
      min-height: 400px;
    }
  
    .trust-strip {
      grid-template-columns: 1fr;
    }
  
    .divider {
      width: 100%;
      height: 1px;
    }
  
    .trust-item {
      justify-content: flex-start;
    }
  
    .grid-4,
    .grid-3 {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .process {
      grid-template-columns: 1fr;
      gap: 34px;
    }
  
    .process-line {
      display: none;
    }
  
    .contact-layout {
      grid-template-columns: 1fr;
    }
  
    .footer {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .page,
    .footer {
      width: min(100% - 28px, 1120px);
    }
  
    .header {
      width: min(100% - 28px, 1180px);
      padding: 12px 16px;
    }
  
    .logo-img {
      height: 42px;
    }
  
    .footer-logo-img {
      height: 38px;
    }
  
    h1 {
      font-size: 2.8rem;
    }
  
    .hero {
      gap: 20px;
      padding-top: 54px;
    }
  
    .actions {
      flex-direction: column;
    }
  
    .btn {
      width: 100%;
    }
  
    .grid-4,
    .grid-3 {
      grid-template-columns: 1fr;
    }
  
    .form-grid {
      grid-template-columns: 1fr;
    }
  
    .about-mission {
      grid-template-columns: 1fr;
    }
  
    .footer {
      grid-template-columns: 1fr;
    }
  
    .art-shield {
      width: 190px;
    }
  
    .art-ring {
      width: 280px;
    }

    
  }
  /* SERVICES DROPDOWN */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .nav-dropdown-trigger::after {
    content: " ▾";
    font-size: 0.8rem;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 46px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 380px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(4, 12, 22, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    z-index: 100;
  }
  
  .dropdown-menu a {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.35;
    white-space: normal;
  }
  
  .dropdown-menu a:hover {
    color: var(--text);
    background: rgba(31, 122, 255, 0.12);
  }
  
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: flex;
  }
  
  /* remove underline from dropdown items */
  .dropdown-menu a.active::after {
    display: none;
  }
  
  /* SERVICE DETAIL PAGE */
  .service-detail-hero {
    min-height: 560px;
  }
  
  .service-detail-content {
    max-width: 760px;
  }
  
  .service-points {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
  }
  
  .service-point {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(9, 22, 39, 0.62);
    color: var(--muted);
  }
  
  .service-point strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
  }
  
  @media (max-width: 980px) {
    .nav-dropdown {
      width: 100%;
      align-items: flex-start;
      flex-direction: column;
    }
  
    .dropdown-menu {
      position: static;
      width: 100%;
      margin-top: 8px;
      transform: none;
      box-shadow: none;
    }
  
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
      display: flex;
    }
  }
  /* ABOUT STORY */
.about-story {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
  }
  
  .about-story h2 {
    margin-bottom: 18px;
  }
  
  .about-story p {
    max-width: 980px;
    color: var(--muted);
  }
  
  /* FOUNDERS */
  .founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .founder-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
  }
  
  .founder-avatar {
    width: 74px;
    height: 74px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(103, 180, 255, 0.35);
    border-radius: 50%;
    color: var(--blue-2);
    background: rgba(31, 122, 255, 0.08);
    font-size: 1.2rem;
    font-weight: 900;
  }
  
  .founder-card h3 {
    margin-bottom: 6px;
  }
  
  .founder-role {
    margin-bottom: 18px;
    color: var(--blue-2) !important;
    font-weight: 800;
  }
  
  .founder-card p {
    color: var(--muted);
  }
  
  .service-svg-icon {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  @media (max-width: 980px) {
    .founders-grid {
      grid-template-columns: 1fr;
    }
  }
/* ============================================================
   Legal pages, source register, citations & service context
   ============================================================ */

/* Citation superscripts on service pages */
.cite {
  font-size: 0.62em;
  margin-left: 1px;
}

.cite a {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 600;
}

.cite a:hover {
  text-decoration: underline;
}

/* Risk-first context block on service detail pages */
.context-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 16px;
  background: var(--card-2);
  color: var(--muted);
}

.context-block .context-lead {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.context-block p {
  line-height: 1.7;
}

.context-sources {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 600;
}

.context-sources:hover {
  text-decoration: underline;
}

/* Legal pages (Impressum / Privacy) */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.legal-updated {
  color: var(--blue-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.legal-group {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 22, 39, 0.62);
}

.legal-group h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.legal-group p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.legal-group p:last-child {
  margin-bottom: 0;
}

.legal-dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.legal-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
}

.legal-row dt {
  color: var(--blue-2);
  font-weight: 600;
}

.legal-row dd {
  margin: 0;
  color: var(--text);
}

.legal-notes p,
.legal-review-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-review-note {
  padding: 16px 18px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: rgba(31, 122, 255, 0.06);
}

.legal-page a {
  color: var(--blue-2);
}

/* Source register */
.sources-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.source-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 22, 39, 0.62);
}

.source-id {
  font-weight: 700;
  color: var(--blue-2);
  font-size: 1.05rem;
}

.source-body h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.source-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.source-supports {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.source-supports strong {
  color: var(--text);
}

.source-link {
  font-size: 0.85rem;
  color: var(--blue-2);
  text-decoration: none;
  word-break: break-all;
}

.source-link:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .legal-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .source-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
