*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yellow:  #E8D96A;
  --green:   #2D4A2A;
  --green-l: #4E7848;
  --sage:    #C8D9B8;
  --cream:   #F5F0E8;
  --ink:     #1A1F18;
  --mid:     #6B6F66;
  --serif:   'bookmania', Georgia, serif;
  --sans:    'Bricolage Grotesque', sans-serif;
}
html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}

/* NAV */
nav {
  position: relative;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}
.nav-back {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--ink); }

/* TOC */
.toc {
  background: var(--sage);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.toc-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--green);
  margin-bottom: 0.8rem;
}
.toc ol {
  list-style: decimal;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.toc a {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s;
}
.toc a:hover { opacity: 0.65; text-decoration: underline; }

/* MAIN */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
}

.page-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-l);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.page-label::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--green-l);
}

h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.page-date {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--mid);
  margin-bottom: 3rem;
}

.legal-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  scroll-margin-top: 6rem;
}
.legal-block:last-child { border-bottom: none; }

h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 1.2rem 0 0.4rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 0.7rem;
}
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* service card */
.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin: 1rem 0;
}
.service-card-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.service-card-meta {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.service-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card-meta span::before {
  content: '·';
  opacity: 0.4;
}
.service-card-meta span:first-child::before { display: none; }
.service-card p { margin-bottom: 0; }

/* opt-out button */
.opt-out-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.opt-out-btn:hover { background: var(--green); color: #fff; }

/* FOOTER */
footer {
  background: var(--ink);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.f-logo {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(255,255,255,0.8);
}
.f-copy { font-size: 0.72rem; color: rgba(255,255,255,0.8); }
.f-links { display: flex; gap: 1.5rem; }
.f-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.f-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 600px) {
  nav { padding: 1rem 1.5rem; }
  main { padding: 7rem 1.5rem 4rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem; }
}

/* Impressum only */
.dummy-note {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}