:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #61706c;
  --line: #dbe4df;
  --paper: #f8faf7;
  --soft: #edf4f1;
  --white: #ffffff;
  --teal: #156f68;
  --green: #6d8e3e;
  --amber: #b7791f;
  --red: #a33a2f;
  --shadow: 0 22px 70px rgba(23, 33, 31, 0.12);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 228, 223, 0.8);
  background: rgba(248, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 4px var(--paper);
  animation: pulse 3.8s ease-in-out infinite;
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.text-link {
  color: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero::before {
  content: none;
}

.hero-picture {
  display: block;
  width: 100%;
}

.hero-picture img {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 68px);
  object-fit: cover;
  object-position: center;
}

.intro-section {
  width: min(780px, calc(100% - 40px));
  margin: 0;
  padding: clamp(56px, 8vw, 90px) 0 clamp(58px, 8vw, 96px) clamp(20px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 6vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  color: #33413d;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-copy p {
  margin-bottom: 12px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-weight: 780;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px) rotate(-0.2deg);
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 25;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(21, 111, 104, 0.42);
  border-radius: 8px;
  background: rgba(248, 250, 247, 0.94);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 14px 38px rgba(23, 33, 31, 0.14);
  backdrop-filter: blur(14px);
}

.back-to-top:hover {
  background: var(--teal);
  color: var(--white);
}

.notice-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px clamp(20px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: #fff7e8;
  color: #4c3b21;
}

.band,
.section,
.plain-section {
  padding: clamp(64px, 10vw, 128px) clamp(20px, 6vw, 88px);
}

.band {
  background: var(--white);
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(32px, 5vw, 54px);
}

.section-head p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.depot-development {
  border-bottom: 1px solid var(--line);
}

.depot-development .section-head p:not(.eyebrow) {
  max-width: 720px;
  font-size: 0.98rem;
}

.depot-chart {
  display: grid;
  gap: 22px;
}

.depot-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.chart-grid {
  stroke: rgba(97, 112, 108, 0.32);
  stroke-width: 1;
}

.chart-baseline {
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 8 8;
}

.chart-line polyline {
  fill: none;
  stroke: var(--teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line circle {
  fill: var(--white);
  stroke: var(--teal);
  stroke-width: 3;
}

.chart-label,
.chart-date {
  fill: var(--muted);
  font-size: 18px;
  font-weight: 720;
}

.chart-date-end {
  text-anchor: end;
}

.chart-empty {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.chart-empty span {
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.metric {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper);
}

.metric span,
.holding strong,
.decision span,
.timeline-list time,
.disclaimer,
.smallprint {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
}

.metric.positive strong {
  color: var(--teal);
}

.metric.wide {
  grid-column: span 2;
}

.split,
.philosophy,
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 104px;
}

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

.accordion-item {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.06);
}

.accordion-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 4vw, 30px);
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 820;
  text-align: left;
  cursor: pointer;
}

.accordion-item i {
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.accordion-item button[aria-expanded="true"] i {
  transform: rotate(225deg);
}

.accordion-panel {
  padding: 0 clamp(20px, 4vw, 30px) 24px;
  color: #34403c;
  animation: unfold 240ms ease;
}

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

.accordion-panel p {
  margin-bottom: 14px;
}

.mini-calculation {
  display: grid;
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.mini-calculation div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 13px 15px;
  background: var(--paper);
}

.mini-calculation dt,
.mini-calculation dd {
  margin: 0;
}

.mini-calculation dt {
  color: var(--muted);
}

.mini-calculation dd {
  font-weight: 800;
  text-align: right;
}

.quote-block {
  padding: clamp(22px, 5vw, 46px) 0;
}

blockquote {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.principles {
  align-self: center;
  max-width: 640px;
  color: #34403c;
}

.principles h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.risk-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(21, 111, 104, 0.07), transparent 34%),
    var(--white);
}

.risk-head {
  max-width: 960px;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.risk-card {
  min-height: 230px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(21, 111, 104, 0.22);
  background: rgba(248, 250, 247, 0.82);
  box-shadow: 0 18px 48px rgba(23, 33, 31, 0.08);
}

.risk-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(21, 111, 104, 0.28);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.risk-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.risk-card p {
  margin-bottom: 0;
  color: #3d4a46;
}

.risk-details {
  max-width: 980px;
}

.holdings {
  display: grid;
  gap: 10px;
}

.holding {
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 180ms ease, border-color 180ms ease;
}

.holding:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 111, 104, 0.5);
}

.holding span {
  font-weight: 760;
}

.holding button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  min-height: 68px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.holding button strong {
  color: var(--muted);
  font-size: 1rem;
}

.holding-panel {
  background: var(--white);
}

.holding.is-locked {
  background:
    repeating-linear-gradient(135deg, rgba(21, 111, 104, 0.045) 0 8px, transparent 8px 16px),
    var(--paper);
}

.holding.is-locked button strong {
  letter-spacing: 0.08em;
}

.locked-note {
  padding: 12px 14px;
  border: 1px solid rgba(21, 111, 104, 0.28);
  border-radius: 8px;
  background: #e8f4ee;
  color: #185b44;
  font-weight: 760;
}

.holding-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.holding-facts div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--paper);
}

.holding-facts dt,
.holding-facts dd {
  margin: 0;
}

.holding-facts dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.holding-facts dd {
  font-weight: 800;
}

.disclaimer {
  max-width: 760px;
  margin: 26px 0 0;
}

.depot-log {
  margin-top: clamp(42px, 7vw, 72px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.depot-log button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  min-height: 96px;
}

.depot-log small {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.depot-log-panel {
  background: var(--white);
}

.depot-log-panel > p {
  max-width: 860px;
  margin-bottom: 20px;
  color: #34403c;
}

.depot-log-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.depot-log-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.depot-log-list time {
  color: var(--teal);
  font-weight: 850;
}

.depot-log-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.depot-log-list p {
  margin-bottom: 0;
  color: #34403c;
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.decision {
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.decision p {
  margin-bottom: 0;
  color: #3d4845;
}

.timeline-list {
  display: grid;
  max-width: 980px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-list span {
  font-size: 1.2rem;
}

.newsletter {
  background:
    linear-gradient(135deg, rgba(21, 111, 104, 0.08), transparent 42%),
    var(--paper);
}

.newsletter-copy h2 {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.newsletter-copy p:not(.eyebrow) {
  color: #34403c;
  font-size: 1.08rem;
}

.newsletter-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.newsletter-form label:not(.check) {
  font-weight: 780;
}

.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.newsletter-form input[type="email"]:focus {
  outline: 3px solid rgba(21, 111, 104, 0.18);
  border-color: var(--teal);
}

.admin-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-form label {
  font-weight: 780;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.admin-form textarea {
  resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus {
  outline: 3px solid rgba(21, 111, 104, 0.18);
  border-color: var(--teal);
}

.logout-form {
  margin-top: 14px;
}

.admin-list {
  margin-top: clamp(36px, 6vw, 62px);
}

.admin-list h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.admin-list ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-list li {
  display: grid;
  grid-template-columns: 140px minmax(130px, auto) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.admin-list time {
  color: var(--muted);
  font-weight: 760;
}

.admin-list strong {
  font-weight: 850;
}

.admin-list span {
  color: #34403c;
}

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  color: #34403c;
}

.check input {
  margin-top: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-message {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.form-message.success {
  background: #e8f4ee;
  color: #185b44;
}

.form-message.error {
  background: #fff1ee;
  color: var(--red);
}

.legal-page {
  min-height: 70svh;
}

.plain-section {
  max-width: 920px;
}

.plain-section h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.plain-section h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.site-footer {
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(22px, 5vw, 48px);
  padding: 34px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.site-footer div {
  display: grid;
  gap: 6px;
  max-width: 760px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer a:hover {
  color: var(--teal);
}

.fraud-note {
  margin-top: 8px;
  color: #4f5f5b;
  font-size: 0.94rem;
}

.js [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes unfold {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .metric-grid,
  .decision-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .philosophy,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .sticky-head {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    content: none;
  }

  .hero-picture img {
    max-height: none;
    object-position: center;
  }

  .intro-section {
    width: calc(100% - 40px);
    padding: 42px 0 56px;
    margin: 0 20px;
  }

  .intro-section h1 {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 3.2rem);
    line-height: 1.05;
  }

  #geschichte-title,
  #depot-title,
  #risiken-title {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .notice-strip {
    grid-template-columns: 1fr;
  }

  .mini-calculation div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mini-calculation dd {
    text-align: left;
  }

  .metric-grid,
  .decision-list {
    grid-template-columns: 1fr;
  }

  .admin-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .holding button {
    grid-template-columns: minmax(0, 1fr) auto 16px;
    gap: 12px;
  }

  .holding-facts {
    grid-template-columns: 1fr;
  }

  .depot-log-list li {
    grid-template-columns: 1fr;
  }

  .metric.wide {
    grid-column: auto;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }
}
