:root {
  --ink: #171717;
  --ink-soft: #3d3d3d;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #ded7cc;
  --gold: #c99b4a;
  --gold-bright: #e3bd68;
  --gold-dark: #8c6427;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --charcoal: #202020;
  --mist: #f3f7f5;
  --danger: #8b1d1d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(201, 155, 74, 0.78);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(18, 18, 18, 0.7);
  border-bottom: 3px solid var(--gold);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.05) 45%, rgba(0, 0, 0, 0.18) 46%),
    linear-gradient(45deg, #85611f 0%, #d9b15d 48%, #f2e4bd 52%, #4e4e4e 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transform: rotate(-10deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.25rem;
  line-height: 1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.91rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a.is-active {
  font-weight: 800;
}

.nav-cta {
  padding: 10px 15px;
  color: #171717 !important;
  background: var(--gold);
  border-radius: 6px;
  font-weight: 800;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.76);
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: #171717;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero,
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48)),
    url("assets/precious-metals-hero.png") center / cover;
}

.hero {
  min-height: 88vh;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner,
.page-hero-grid,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 88vh;
  padding: 124px 0 56px;
}

.hero-copy {
  max-width: 630px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.75rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 900;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.22;
}

.hero-lead,
.page-hero p:not(.eyebrow) {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.hero-lead {
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #151515;
  background: var(--gold);
}

.button-primary:hover {
  background: var(--gold-bright);
}

.button-secondary {
  color: #fff;
  background: var(--teal);
}

.button-secondary:hover {
  background: var(--teal-dark);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.button-danger {
  color: #fff;
  background: var(--danger);
}

.trust-list,
.check-list,
.plain-list {
  padding: 0;
  list-style: none;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.trust-list li {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.hero-visual,
.image-panel,
.product-visual,
.career-flyer,
.contact-form,
.info-panel,
.legal-content,
.login-panel,
.simulator-panel,
.faq-list details,
.feature-card,
.metric-card,
.timeline-item,
.goal-card,
.metal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.hero-visual,
.image-panel,
.product-visual,
.career-flyer {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual {
  min-height: 360px;
  background: #111;
}

.hero-visual img,
.image-panel img,
.product-visual img,
.career-flyer img,
.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  min-height: 360px;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-dark {
  color: #fff;
  background: var(--charcoal);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 0)),
    #fff;
}

.section-mist {
  background: var(--mist);
}

.section-warm {
  background:
    linear-gradient(120deg, rgba(201, 155, 74, 0.14), rgba(15, 118, 110, 0.1)),
    #f8f6f1;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.goal-card p,
.feature-card p,
.metal-card p,
.metric-card p,
.timeline-item p,
.legal-content p,
.legal-content li,
.info-panel p {
  color: var(--ink-soft);
}

.section-dark .section-heading p:not(.eyebrow),
.section-dark .split-copy p,
.section-dark .feature-card p,
.section-dark .metric-card p,
.section-dark .timeline-item p {
  color: rgba(255, 255, 255, 0.78);
}

.split,
.page-hero-grid,
.contact-layout,
.protected-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.page-hero {
  padding: 142px 0 76px;
}

.premium-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.52)),
    url("assets/metals-closeup.png") center / cover;
}

.career-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.52)),
    url("assets/career-hero-inclusive.png") center / cover;
}

.faq-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48)),
    url("assets/pkm-vault.avif") center / cover;
}

.contact-hero,
.legal-hero,
.access-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48)),
    url("assets/abschluss-documents.png") center / cover;
}

.feature-grid,
.metric-grid,
.goal-grid,
.metal-grid,
.preview-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid,
.goal-grid,
.preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.metric-card,
.goal-card,
.metal-card,
.timeline-item,
.info-panel {
  padding: 22px;
}

.feature-card,
.metric-card {
  min-height: 226px;
}

.card-number {
  display: block;
  margin-bottom: 30px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.section-dark .feature-card,
.section-dark .metric-card,
.section-dark .timeline-item {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.image-panel,
.product-visual {
  min-height: 330px;
}

.product-visual img {
  object-fit: contain;
  padding: clamp(16px, 3vw, 30px);
  background: #fff;
}

.bank-panel {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: clamp(24px, 4vw, 46px);
}

.dark-image {
  background: #111;
  border-color: rgba(255, 255, 255, 0.14);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}

.metal-card span {
  display: block;
  width: 54px;
  height: 10px;
  margin-bottom: 28px;
  border-radius: 999px;
}

.metal-card.gold span {
  background: linear-gradient(90deg, #7f5d21, #e1b957, #fff0b8);
}

.metal-card.silver span {
  background: linear-gradient(90deg, #737373, #d9dde2, #fff);
}

.metal-card.platinum span {
  background: linear-gradient(90deg, #64717a, #cad5da, #f3f7f9);
}

.metal-card.palladium span {
  background: linear-gradient(90deg, #3c514f, #9bb7b1, #e8f5f1);
}

.preview-card {
  display: grid;
  overflow: hidden;
  min-height: 414px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(32, 32, 32, 0.08);
}

.preview-card img {
  aspect-ratio: 16 / 9;
}

.preview-card span {
  display: block;
  padding: 22px 22px 0;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 900;
}

.preview-card p {
  margin: 0;
  padding: 8px 22px 22px;
  color: var(--ink-soft);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
}

.timeline-item strong {
  color: var(--gold-dark);
  font-size: 1.35rem;
}

.career-flyer {
  background: #070707;
}

.career-flyer img {
  object-fit: contain;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 118px;
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--ink-soft);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 40px rgba(35, 35, 35, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label,
.login-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.login-panel input {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid #cfc8bc;
  border-radius: 6px;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-line {
  grid-template-columns: 18px 1fr !important;
  align-items: start;
  gap: 10px !important;
  color: var(--ink-soft) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

.checkbox-line input {
  min-height: auto;
  margin: 4px 0 0;
  padding: 0;
  accent-color: var(--gold-dark);
}

.form-submit {
  width: fit-content;
  min-width: 190px;
}

.form-status,
.login-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.login-status {
  color: var(--danger);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px);
}

.legal-content {
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 18px 42px rgba(32, 32, 32, 0.08);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a,
.checkbox-line a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.login-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.hint-box {
  padding: 16px;
  border: 1px solid rgba(201, 155, 74, 0.6);
  border-radius: 8px;
  background: #fff8e9;
  color: var(--ink-soft);
}

.protected-shell {
  padding-top: 82px;
  background: #f4f1ea;
}

.protected-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 24px;
}

.protected-top h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.protected-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 48px;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
  align-items: start;
}

.simulator-panel {
  overflow: hidden;
  min-height: 0;
  box-shadow: var(--shadow);
}

.internal-nav {
  display: grid;
  gap: 10px;
}

.internal-nav a,
.internal-nav button {
  width: 100%;
  justify-content: flex-start;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(32, 32, 32, 0.08);
}

.portal-card span {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card h2 {
  font-size: 1.35rem;
  line-height: 1.16;
}

.portal-card p {
  margin: 0;
  color: var(--ink-soft);
}

.portal-card .button {
  align-self: end;
  width: fit-content;
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: #121212;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.legal-note {
  width: min(1120px, 100%);
  margin: 26px auto 0 !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 12px;
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 22px;
    background: rgba(18, 18, 18, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 4px;
  }

  .nav-cta {
    width: fit-content;
    padding: 11px 16px !important;
  }

  .language-switcher {
    width: fit-content;
    margin: 10px 0 4px;
  }

  .hero-inner,
  .split,
  .page-hero-grid,
  .contact-layout,
  .faq-layout,
  .protected-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 112px;
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid,
  .metric-grid,
  .goal-grid,
  .preview-grid,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-heading {
    position: static;
  }

  .protected-top {
    display: grid;
  }
}

@media (max-width: 640px) {
  .brand strong {
    font-size: 1.02rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .hero-inner,
  .page-hero-grid,
  .section-inner,
  .protected-layout,
  .protected-top {
    width: min(100% - 28px, 1120px);
  }

  .hero-inner {
    gap: 26px;
    padding-bottom: 44px;
  }

  .hero-actions,
  .trust-list {
    display: grid;
  }

  .button,
  .form-submit {
    width: 100%;
  }

  .feature-grid,
  .metric-grid,
  .goal-grid,
  .metal-grid,
  .preview-grid,
  .portal-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .metric-card,
  .goal-card,
  .metal-card {
    min-height: auto;
  }

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

  .footer-inner {
    display: grid;
  }

  .page-hero {
    padding-top: 116px;
  }

  .hero-visual,
  .image-panel,
  .product-visual {
    min-height: 220px;
  }

  .preview-card {
    min-height: auto;
  }

}
