/* ============================================================
   inspiration.brautkompass.de — Design Tokens
   ============================================================ */
:root {
  --ink: #2b2620;
  --ink-soft: #55503f;
  --paper: #f7f2e8;
  --paper-warm: #f0e7d4;
  --sage: #33422f;
  --sage-2: #435341;
  --sage-soft: #7c8b6f;
  --rose: #c98b85;
  --rose-deep: #a1615a;
  --gold: #ad8a4e;
  --line: #e1d7c0;
  --line-dark: rgba(247, 242, 232, 0.18);
  --text-on-sage: #f3ede0;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-s: 6px;
  --radius-m: 14px;
  --shadow-card: 0 18px 40px -24px rgba(43, 38, 32, 0.35);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--rose-deep);
  display: inline-block;
}
.eyebrow.on-sage {
  color: #e3c9a8;
}
.eyebrow.on-sage::before {
  background: #e3c9a8;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 500;
}
h2 {
  font-size: clamp(28px, 4vw, 46px);
}
h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}
p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn-primary {
  background: var(--sage);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-dark);
}
.btn-ghost:hover {
  background: rgba(247, 242, 232, 0.1);
  transform: translateY(-2px);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wordmark span {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-soft);
  font-weight: 600;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: var(--rose-deep);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.nav-toggle span::before {
  position: absolute;
  top: -7px;
  width: 22px;
}
.nav-toggle span::after {
  position: absolute;
  top: 7px;
  width: 22px;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px clamp(20px, 5vw, 56px) 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin-top: 18px;
  max-width: 14ch;
}
.hero .lede {
  font-size: 19px;
  max-width: 46ch;
  margin-top: 20px;
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta .btn-primary {
  background: var(--ink);
}
.hero-cta .btn-outline {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage);
}
.hero-cta .btn-outline:hover {
  background: var(--sage);
  color: var(--paper);
}

.wax-seal {
  justify-self: center;
  width: clamp(170px, 22vw, 240px);
  animation: seal-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes seal-in {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-14deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-6deg);
  }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .wax-seal {
    width: 140px;
    order: -1;
    margin: 0 auto;
  }
}

/* ---------- Table of contents (signature element) ---------- */
.toc {
  padding: clamp(48px, 8vw, 88px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}
.toc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-list li {
  border-top: 1px solid var(--line);
}
.toc-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  text-decoration: none;
  padding: 18px 4px;
  color: var(--ink);
}
.toc-num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
  width: 2.4ch;
  flex: none;
}
.toc-title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 500;
  white-space: nowrap;
}
.toc-leader {
  flex: 1;
  border-bottom: 1px dotted var(--sage-soft);
  height: 0;
  transform: translateY(-6px);
  min-width: 24px;
}
.toc-desc {
  flex: none;
  max-width: 34ch;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: right;
}
.toc-list a:hover .toc-title {
  color: var(--rose-deep);
}
@media (max-width: 700px) {
  .toc-list a {
    flex-wrap: wrap;
  }
  .toc-desc {
    text-align: left;
    max-width: 100%;
    order: 3;
    flex-basis: 100%;
    padding-left: 2.4ch;
  }
  .toc-leader {
    display: none;
  }
}

/* ---------- Kategorien (dark section) ---------- */
.categories {
  background: var(--sage);
  color: var(--text-on-sage);
  padding: clamp(64px, 10vw, 112px) 0;
}
.categories h2 {
  color: var(--paper);
}
.cat-intro {
  max-width: 60ch;
  color: #d7d9cc;
  font-size: 17px;
}
.cat-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.cat-card {
  background: var(--sage);
  padding: 30px 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease;
}
.cat-card:hover {
  background: var(--sage-2);
}
.cat-card:nth-child(4n + 1),
.cat-card:nth-child(4n + 4) {
  grid-row: span 1;
}
.cat-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: #e3c9a8;
}
.cat-card h3 {
  color: var(--paper);
  font-size: 20px;
  margin-bottom: 10px;
}
.cat-card p {
  color: #cdd0c1;
  font-size: 14.5px;
  flex: 1;
}
.cat-tag {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}
.cat-link {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 600;
  color: #e3c9a8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}
.cat-link:hover {
  color: var(--paper);
  gap: 9px;
}
@media (max-width: 980px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Editorial tips ---------- */
.tips {
  padding: clamp(64px, 10vw, 120px) 0;
}
.tips-head {
  max-width: 60ch;
  margin-bottom: 48px;
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tip-card {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.tip-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--rose-deep);
  font-size: 16px;
}
.tip-card h3 {
  margin-top: 10px;
}
.tip-card p {
  font-size: 15.5px;
}
@media (max-width: 900px) {
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- Transparency / how it works ---------- */
.how {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vw, 96px) 0;
}
.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.how blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}
.how-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}
.how-list li {
  display: flex;
  gap: 16px;
}
.how-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose-deep);
  margin-top: 9px;
  flex: none;
}
@media (max-width: 820px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- App showcase ---------- */
.app-showcase {
  background: var(--ink);
  color: var(--text-on-sage);
  padding: clamp(64px, 10vw, 116px) 0;
}
.app-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.app-showcase h2 {
  color: var(--paper);
  max-width: 15ch;
  margin-bottom: 18px;
}
.app-lede {
  color: #d9d4c4;
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: #e6e2d4;
}
.feature-list .check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.app-price {
  font-size: 14.5px;
  color: #b9c2ac;
  padding: 14px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  display: inline-block;
  margin-bottom: 30px;
}
.app-price strong {
  color: var(--paper);
}

.phone-mock {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: min(280px, 100%);
  background: linear-gradient(155deg, #2f2a22, #1c1913);
  border: 1px solid rgba(247, 242, 232, 0.12);
  border-radius: 34px;
  padding: 22px 18px 26px;
  box-shadow: var(--shadow-card);
}
.phone-notch {
  width: 60px;
  height: 6px;
  border-radius: 4px;
  background: rgba(247, 242, 232, 0.18);
  margin: 0 auto 18px;
}
.phone-header {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--paper);
  text-align: center;
  font-size: 18px;
  margin-bottom: 18px;
}
.phone-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.pm {
  background: rgba(247, 242, 232, 0.06);
  border: 1px solid rgba(247, 242, 232, 0.1);
  border-radius: 12px;
  padding: 14px 6px;
  text-align: center;
  font-size: 11.5px;
  color: #d9d4c4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pm span {
  font-size: 18px;
}
.phone-sync {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--rose);
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .phone-mock {
    order: -1;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-links a:hover {
  color: var(--rose-deep);
}
.footer-note {
  font-size: 13px;
  color: var(--sage-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Simple legal pages ---------- */
.legal {
  padding: clamp(64px, 10vw, 100px) 0 100px;
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
}
.legal h2 {
  font-size: 22px;
  margin-top: 2em;
}
.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 15.5px;
}
.legal a {
  color: var(--rose-deep);
}
