/* ============================================
   Historica Silberstein — Stylesheet
   Katalog- / Ledger-Design in Blau & Beige
   ============================================ */

:root {
  --blue-deepest: #0f2231;
  --blue-dark: #17293a;
  --blue: #1c3548;
  --blue-mid: #24425a;
  --blue-soft: #a9b8c4;
  --beige: #cbb083;
  --beige-light: #e9dcc0;
  --cream: #f3ead9;
  --ink-light: #eef2f5;

  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  --line: rgba(203, 176, 131, 0.22);
  --line-soft: rgba(203, 176, 131, 0.13);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink-light);
  background: var(--blue);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.caps {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
  font-weight: 500;
  margin-bottom: 14px;
}

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

.section:first-of-type {
  border-top: none;
}

.section-alt {
  background: var(--blue-mid);
}

.section-deep {
  background: var(--blue-deepest);
}

.section-header {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-header.center {
  margin: 0 auto 48px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin-bottom: 14px;
}

.section-lede {
  color: var(--blue-soft);
  font-size: 1rem;
  max-width: 480px;
}

.section-header.center .section-lede {
  margin: 0 auto;
}

/* ---------- Buttons / links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--beige);
  color: var(--blue-deepest);
}

.btn-primary:hover {
  background: var(--beige-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6, 14, 22, 0.3);
}

.btn-outline {
  border-color: rgba(203, 176, 131, 0.5);
  color: var(--beige);
}

.btn-outline:hover {
  border-color: var(--beige);
  background: rgba(203, 176, 131, 0.08);
  transform: translateY(-2px);
}

.text-link {
  transition: border-color var(--transition), color var(--transition), gap var(--transition);
}

.text-link:hover {
  gap: 10px;
}

.text-link .link-arrow {
  width: 14px;
  height: 9px;
  animation: arrow-drift 1.8s ease-in-out infinite;
}

@keyframes arrow-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--beige);
  border-bottom: 1px solid rgba(203, 176, 131, 0.4);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.text-link:hover {
  border-color: var(--beige);
  color: var(--beige-light);
}

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

.topbar {
  background: var(--blue-deepest);
  color: var(--blue-soft);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar a {
  color: var(--beige-light);
  transition: color var(--transition);
}

.topbar a:hover {
  color: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 41, 58, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(6, 14, 22, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-light);
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--beige);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--beige);
}

.nav-links a:hover::after {
  width: 100%;
}

.logo {
  transition: letter-spacing var(--transition);
}

.logo:hover {
  letter-spacing: 0.02em;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 1px;
  background: var(--cream);
}

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

.hero {
  padding: 76px 0 0;
  background: var(--blue-dark);
}

.hero-entry {
  color: var(--beige);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 600;
  margin-bottom: 30px;
  max-width: 720px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--beige);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--blue-soft);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  max-width: 720px;
}

.hero-meta span {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-meta span:first-child {
  padding-left: 0;
  border-left: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 30px 0 46px;
}

/* ---------- Image placeholders ---------- */

.img-placeholder {
  border: 1px dashed rgba(203, 176, 131, 0.55);
  background: rgba(203, 176, 131, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--beige);
  text-align: center;
  padding: 20px;
}

.img-placeholder svg {
  width: 28px;
  height: 28px;
  color: var(--beige);
}

.img-placeholder span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.hero-strip {
  width: 100%;
  height: 320px;
}

.hero-strip img,
.photo-band img,
.vorteile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-strip img {
  object-position: center 45%;
}

.vorteile-image img {
  object-position: center 20%;
  border: 1px solid var(--line);
}

/* ---------- Ledger list ---------- */

.ledger {
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--transition), background var(--transition);
}

.ledger-row:hover {
  padding-left: 10px;
  background: rgba(203, 176, 131, 0.05);
}

.ledger-num {
  font-family: var(--font-head);
  color: var(--beige);
  font-size: 1rem;
  width: 40px;
  flex-shrink: 0;
  transition: color var(--transition), transform var(--transition);
}

.ledger-row:hover .ledger-num {
  color: var(--beige-light);
  transform: scale(1.15);
}

.ledger-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--cream);
  flex: 1;
  min-width: 200px;
  transition: color var(--transition);
}

.ledger-row:hover .ledger-title {
  color: var(--beige-light);
}

.ledger-desc {
  color: var(--blue-soft);
  font-size: 0.9rem;
  max-width: 380px;
}

.ledger-checklist {
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.ledger-checklist li {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-soft);
  font-size: 0.92rem;
  transition: transform var(--transition), color var(--transition);
}

.ledger-checklist li:hover {
  transform: translateX(8px);
  color: var(--ink-light);
}

.ledger-checklist li::before {
  content: "\2014";
  color: var(--beige);
  flex-shrink: 0;
  transition: color var(--transition);
}

.ledger-checklist li:hover::before {
  color: var(--beige-light);
}

/* ---------- Features (two-column list) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-item {
  padding: 34px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}

.feature-item:hover {
  background: rgba(203, 176, 131, 0.05);
}

.feature-item .mark {
  font-family: var(--font-head);
  color: var(--beige);
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 14px;
  transition: transform var(--transition), color var(--transition);
}

.feature-item:hover .mark {
  transform: translateX(4px);
  color: var(--beige-light);
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--blue-soft);
  font-size: 0.9rem;
}

.photo-band {
  position: relative;
  margin-top: 0;
  height: 240px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.photo-band .img-placeholder {
  width: 100%;
  height: 100%;
}

.photo-band img {
  object-position: center 25%;
  transition: transform 1.1s ease;
}

.photo-band:hover img {
  transform: scale(1.05);
}

.photo-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 0 28px 36px;
  pointer-events: none;
}

.photo-band-overlay p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  background: rgba(15, 34, 49, 0.55);
  padding: 6px 14px;
}

/* ---------- Stats row ---------- */

.stats-row {
  display: flex;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 10px 20px;
  border-left: 1px solid var(--line);
}

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--beige-light);
  font-weight: 600;
  display: inline-block;
  transition: transform var(--transition);
}

.stat-item:hover .stat-number {
  transform: scale(1.08);
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-top: 8px;
}

/* ---------- Testimonials (stacked quotes) ---------- */

.quote-stack {
  display: grid;
  gap: 0;
}

.quote-entry {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  transition: background var(--transition);
}

.quote-entry:hover {
  background: rgba(203, 176, 131, 0.05);
}

.quote-entry cite {
  transition: color var(--transition), letter-spacing var(--transition);
}

.quote-entry:hover cite {
  color: var(--beige-light);
  letter-spacing: 0.18em;
}

.quote-entry:first-child {
  border-top: 1px solid var(--line);
}

.quote-entry blockquote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  max-width: 640px;
  margin: 0 auto 14px;
  line-height: 1.5;
}

.quote-entry cite {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige);
}

/* ---------- Split / advantages ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.vorteile-image {
  position: relative;
  overflow: hidden;
}

.vorteile-image .img-placeholder {
  height: 260px;
}

.vorteile-image img {
  transition: transform 0.9s ease;
}

.vorteile-image:hover img {
  transform: scale(1.04);
}

.vorteile-quote {
  background: var(--blue-deepest);
  color: var(--cream);
  padding: 30px 34px;
  margin: -40px 24px 0;
  position: relative;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  border-left: 3px solid var(--beige);
}

/* ---------- Profile paths ---------- */

.paths-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.path-item {
  padding: 32px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}

.path-item:hover {
  background: rgba(203, 176, 131, 0.05);
}

.path-item .roman {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--beige);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 16px;
  transition: transform var(--transition), color var(--transition);
}

.path-item:hover .roman {
  transform: scale(1.12);
  color: var(--beige-light);
}

.path-item .tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 10px;
}

.path-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.path-item p {
  color: var(--blue-soft);
  font-size: 0.9rem;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  max-width: 640px;
  margin: 0 auto 16px;
}

.cta p {
  color: var(--blue-soft);
  margin-bottom: 30px;
}

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

.site-footer {
  background: var(--blue-deepest);
  color: var(--blue-soft);
  padding: 56px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--blue-soft);
  max-width: 280px;
}

.footer-groups {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.footer-col .caps {
  color: var(--beige);
  display: block;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a, .footer-col span {
  font-size: 0.85rem;
  color: var(--blue-soft);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: var(--beige-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(169, 184, 196, 0.6);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Legal pages ---------- */

.legal-page {
  padding: 64px 0 100px;
}

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

.legal-page h2 {
  font-size: 1.2rem;
  margin: 30px 0 12px;
  font-family: var(--font-head);
  color: var(--cream);
}

.legal-page p, .legal-page li {
  color: var(--blue-soft);
  margin-bottom: 10px;
  font-size: 0.94rem;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  color: var(--beige-light);
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--beige);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .feature-grid,
  .paths-row {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .vorteile-quote {
    margin: -30px 0 0;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 20px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }

  .stats-row {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-strip {
    height: 200px;
  }

  .hero-meta span {
    padding-left: 0;
    border-left: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .topbar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               