/* Sigmund – Website. No external resources (no fonts, scripts or trackers). */

:root {
  --bg: #0a0e1a;
  --bg-raised: #0e1322;
  --card: #121829;
  --card-border: rgba(200, 169, 110, 0.16);
  --line: rgba(255, 255, 255, 0.08);
  --gold: #c8a96e;
  --gold-light: #f0ddb0;
  --gold-dark: #9c7a3a;
  --text: #ece8df;
  --muted: #a3a9b8;
  --faint: #6f7686;
  --danger-bg: rgba(224, 122, 107, 0.08);
  --danger-border: rgba(224, 122, 107, 0.35);
  --danger: #f0a89c;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --gutter: 16px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--gold-light);
  text-decoration-color: rgba(240, 221, 176, 0.4);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--gold-light);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: 760px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 14, 26, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 620px;
  background: radial-gradient(closest-side, rgba(200, 169, 110, 0.2), rgba(200, 169, 110, 0.04) 60%, transparent);
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
}

.emblem {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 28px;
}

.emblem svg {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 24px rgba(200, 169, 110, 0.25));
}

.emblem .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 110, 0.5);
  opacity: 0;
  animation: breathe 6s ease-out infinite;
}

.emblem .ring:nth-child(2) {
  animation-delay: 2s;
}

.emblem .ring:nth-child(3) {
  animation-delay: 4s;
}

@keyframes breathe {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero h1 {
  font-size: clamp(44px, 9vw, 72px);
  font-weight: 500;
  margin-bottom: 6px;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(19px, 3.4vw, 24px);
  margin: 0 0 22px;
}

.lead {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.button--gold {
  color: #1a1a1a;
  background: linear-gradient(180deg, #d9bc80, #a8842e);
  box-shadow: 0 10px 30px rgba(200, 169, 110, 0.22);
}

.button--ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.button--ghost:hover {
  border-color: rgba(200, 169, 110, 0.4);
}

.button svg {
  width: 18px;
  height: 18px;
}

.badge-note {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(28px, 5vw, 40px);
  max-width: 680px;
}

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

.section .intro--flush {
  margin-bottom: 0;
}

.more-link {
  margin: 24px 0 0;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Four cards: 1 column → 2 × 2 → 4 in a row (never 3 + 1) */
.grid--4 {
  grid-template-columns: 1fr;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 110, 0.5);
  color: var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 16px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 110, 0.1);
  margin-bottom: 16px;
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notice {
  border-radius: var(--radius);
  padding: 26px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
}

.notice h2,
.notice h3 {
  font-size: 22px;
  color: var(--danger);
}

.notice p {
  margin: 0 0 10px;
}

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

.notice a {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.split {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

/* ---------- Text pages (privacy policy, imprint, …) ---------- */

.page {
  padding: 56px 0 80px;
}

.page h1 {
  font-size: clamp(34px, 7vw, 48px);
  margin-bottom: 8px;
}

.page .meta {
  color: var(--faint);
  font-size: 15px;
  margin: 0 0 36px;
}

.prose h2 {
  font-size: 25px;
  margin-top: 44px;
}

.prose h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 650;
  margin-top: 28px;
  letter-spacing: 0;
}

.prose p,
.prose li {
  color: #d6d2ca;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 6px;
}

.prose address {
  font-style: normal;
}

.prose .summary {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 8px 24px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 20px;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}

.prose th {
  color: var(--text);
  font-weight: 600;
}

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

/* Placeholders that the operator still has to fill in */
.todo {
  background: rgba(224, 180, 80, 0.16);
  border: 1px dashed rgba(224, 180, 80, 0.6);
  border-radius: 4px;
  padding: 0 4px;
  color: #ffd98a;
}

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 0 20px;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  position: relative;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 22px;
  color: var(--gold);
}

details[open] summary::after {
  content: "–";
}

details > :not(summary) {
  margin-top: 0;
  color: var(--muted);
}

details > :last-child {
  padding-bottom: 18px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--faint);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .lead {
    font-size: 17px;
  }

  .section {
    padding: 56px 0;
  }

  .nav {
    gap: 16px;
  }

  .nav .nav-optional {
    display: none;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .emblem .ring {
    animation: none;
  }
}

.prose .notice h2 {
  margin-top: 0;
}
