:root {
  --bg: #d6c9d1;
  --bg-strong: #ad93a4;
  --panel: rgba(255, 255, 255, 0.12);
  --panel-strong: rgba(255, 255, 255, 0.2);
  --text: #210e1b;
  --muted: #431c36;
  --line: rgba(33, 14, 27, 0.16);
  --lavender: #d6c9d1;
  --blush: #ad93a4;
  --peach: #d6c9d1;
  --stone: #5a2648;
  --shadow: rgba(33, 14, 27, 0.12);
  --button: #5a2648;
  --button-hover: #431c36;
  --dark: #5a2648;
  --dark-strong: #431c36;
  --dark-deep: #210e1b;
  --light: #d6c9d1;
  --light-soft: #ad93a4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(18, 10, 16, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 16px;
}

.nav-brand {
  justify-self: start;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.92);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 0;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  line-height: 0;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.nav-toggle-label {
  display: inline-block;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--button);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--button-hover);
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.button-success {
  background: #22c55e;
  color: #fff;
}

.button-success:hover,
.button-success:focus-visible {
  background: #16a34a;
}

.button-error {
  background: #ef4444;
  color: #fff;
}

.button-error:hover,
.button-error:focus-visible {
  background: #dc2626;
}

.nav-toggle {
  display: none;
}

.teaser-page {
  min-height: calc(100vh - 76px);
  background: var(--dark);
}

.teaser-stage {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
  background: none;
}

.teaser-wrap {
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser-text {
  margin: 0;
  max-width: 1100px;
  font: normal 2.8rem/1.08 "Inter", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.05em;
  color: var(--light);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  display: inline-block;
  min-height: 1.2em;
  text-shadow: none;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.teaser-text .word {
  display: inline-block;
  white-space: nowrap;
}

.teaser-text .letter {
  display: inline-block;
  line-height: 1.08;
  color: var(--light);
  font: normal 2.8rem/1.08 "Inter", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  white-space: normal;
}

.teaser-text .cursor {
  display: inline-block;
  width: 0.06em;
  margin-left: 0.04em;
  color: var(--text);
  opacity: 0;
  transform: translateY(0.02em);
  animation: blinkCursor 0.9s steps(1) infinite;
}

.teaser-text.fade-in {
  animation: fadeIn 900ms cubic-bezier(.2,.8,.2,1);
}

.teaser-text.slide-up {
  animation: slideUp 900ms cubic-bezier(.2,.8,.2,1);
}

.teaser-text.slide-left {
  animation: slideLeft 900ms cubic-bezier(.2,.8,.2,1);
}

.teaser-text.zoom {
  animation: zoomIn 900ms cubic-bezier(.2,.8,.2,1);
}

.alt-section {
  background: rgba(255, 255, 255, 0.18);
}

#er {
  background: var(--light);
  color: var(--text);
}

#er .prose h2,
#er .prose p,
#er .prose li,
#er .prose pre,
#er .prose blockquote,
#er .prose h1,
#er .prose h2 {
  color: var(--text);
}

#er .prose blockquote {
  background: rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--dark);
}

#er .eyebrow,
#er .card-kicker {
  color: rgba(33, 14, 27, 0.72);
}

#du {
  background: var(--dark);
  color: var(--light);
}

#du .prose h1,
#du .prose h2,
#du .prose p,
#du .prose li,
#du .prose pre,
#du .prose blockquote {
  color: var(--light);
}

#du .prose blockquote {
  background: rgba(214, 201, 209, 0.08);
  border-left: 3px solid var(--light);
}

#wir {
  background: var(--light);
  color: var(--text);
}

#wir .prose h2,
#wir .prose p,
#wir .prose li,
#wir .prose pre,
#wir .prose blockquote,
#wir .prose h1,
#wir .prose h2 {
  color: var(--text);
}

#wir .prose blockquote {
  background: rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--dark);
}

#wir .eyebrow,
#wir .card-kicker {
  color: rgba(33, 14, 27, 0.72);
}

#wo {
  background: var(--dark);
  color: var(--light);
  padding-bottom: 56px;
}

#wo .prose h1,
#wo .prose h2,
#wo .prose p,
#wo .prose li,
#wo .prose pre,
#wo .prose blockquote {
  color: var(--light);
}

#wo .prose blockquote {
  background: rgba(214, 201, 209, 0.08);
  border-left: 3px solid var(--light);
}

#wo .contact-card,
#wo .contact-form input,
#wo .contact-form textarea {
  background: rgba(214, 201, 209, 0.08);
  border-color: rgba(214, 201, 209, 0.2);
  color: var(--light);
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInLetter {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes morningSweep {
  0% {
    background-position: 0% 50%;
    filter: brightness(0.92) saturate(0.8);
  }
  100% {
    background-position: 100% 50%;
    filter: brightness(1.02) saturate(0.95);
  }
}

@keyframes typewriterChar {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes fogReveal {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px) scale(1.05);
  }
  35% {
    opacity: 0.4;
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes dustReveal {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(0, 10px, 0) scale(0.7);
  }
  30% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes dustParticle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1) translate(var(--dx, 0), var(--dy, 0));
  }
  20% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5) translate(calc(var(--dx, 0) * 1.4), calc(var(--dy, 0) * 1.4));
  }
}

@keyframes starParticleMove {
  0% {
    opacity: 0;
    transform: translate(calc(-50% + var(--sx, 0px)), calc(-50% + var(--sy, 0px))) scale(0.5);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes starCharReveal {
  0% {
    opacity: 0;
    filter: blur(8px) brightness(1.4);
    transform: translateY(14px) scale(0.92);
  }
  35% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: translateY(0) scale(1);
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(220, 199, 240, 0.45);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-family: "Inter", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: inherit;
}

h2,
.section-head h2,
.prose h2,
.cta-wrap h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.1vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: inherit;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: 1.14rem;
  color: var(--muted);
}

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

.intro-section,
.pillars-section,
.cta-band {
  padding: 42px 0;
}

.content-section {
  padding-top: 0;
  padding-bottom: 56px;
}

.intro-section .narrow {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--text);
}

.intro-section .narrow p {
  margin: 0 0 18px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 12px 28px rgba(41, 29, 28, 0.04);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.info-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.3;
}

.prose {
  max-width: 780px;
}

.prose-header {
  position: relative;
  z-index: 0;
  margin-top: -0.4em;
  margin-left: -7.5rem;
  margin-bottom: 0.35em;
}

.prose-body {
  position: relative;
  z-index: 0;
  clear: both;
  margin-top: 3.25em;
  padding-top: 3em;
  margin-left: 0;
}

.prose h1,
.prose-header h1 {
  float: left;
  width: auto;
  max-width: none;
  margin: 0 0.75rem 0 0;
  font-family: "Inter", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(5rem, 8vw, 8.5rem);
  line-height: 0.55;
  letter-spacing: -0.06em;
  font-weight: 900;
  white-space: nowrap;
  color: rgba(33, 14, 27, 0.45);
}

#er .prose h1,
#er .prose-header h1 {
  color: var(--dark);
  position: relative;
  top: -0.1em;
}

#du .prose h1,
#du .prose-header h1 {
  color: var(--light);
}

#wir .prose h1,
#wir .prose-header h1 {
  color: var(--dark);
  position: relative;
  top: -0.1em;
}

#wo .prose h1,
#wo .prose-header h1 {
  color: var(--light);
}

@media (max-width: 720px) {
  .prose-header {
    margin-left: 0;
  }

  .prose-body {
    margin-left: 0;
  }

  .prose h1,
  .prose-header h1 {
    float: none;
    width: 100%;
    margin: 0 0 0.5rem;
    font-size: clamp(3rem, 16vw, 5rem);
  }
}

.prose h2 {
  margin-top: 46px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 2.3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.prose p,
.prose li,
.prose blockquote,
.prose pre {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text);
}

.prose p {
  margin: 0 0 18px;
  clear: none;
}

.prose > p:first-of-type {
  margin-top: 0.65em;
  position: relative;
  z-index: 1;
}

.prose h1 {
  position: relative;
  z-index: 0;
}

.prose blockquote {
  margin: 0 0 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.28);
  border-left: 3px solid var(--blush);
  border-radius: 0 18px 18px 0;
}

.belief-statement {
  margin: 0 0 24px 28px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--blush);
  border-radius: 0 18px 18px 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.belief-statement p {
  margin: 0;
  line-height: 1.8;
}

.belief-statement p + p {
  margin-top: 12px;
}

pre {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  white-space: pre-wrap;
}

.bullet-list {
  margin: 0 0 28px 26px;
  padding-left: 20px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.page-hero {
  padding: 78px 0 30px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(220, 199, 240, 0.5), rgba(244, 205, 163, 0.45));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
}

.cta-wrap h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.contact-card {
  margin: 28px 0;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.contact-card p {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  padding: 14px 16px;
  color: var(--text);
}

.checkbox-line {
  grid-template-columns: auto 1fr !important;
  align-items: center;
  gap: 10px !important;
  font-weight: 500 !important;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.site-footer {
  padding: 28px 0 56px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
}

.footer-wrap p {
  margin: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.taube-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.material-symbols-outlined.footer-icon {
  font-size: 1.1rem;
  line-height: 1;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

@media (max-width: 900px) {
  .hero-grid,
  .three-up,
  .cta-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-grid {
    gap: 20px;
  }

  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    position: relative;
    gap: 12px;
  }

  .nav-brand {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: fit-content;
    min-width: 120px;
    max-width: 160px;
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(33, 14, 27, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    color: var(--text);
    z-index: 30;
    transition: opacity 0.2s ease, transform 0.22s ease, visibility 0.2s ease;
  }

  .main-nav a {
    width: auto;
    padding: 8px 0;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: var(--text);
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.active {
    color: var(--text);
  }

  .main-nav a::after {
    background: var(--text);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.9);
    min-width: 0;
    position: relative;
    z-index: 31;
  }

  .button {
    width: fit-content;
  }
}

@media (max-width: 440px) {
  .site-header {
    padding-inline: 4px;
  }

  .nav-brand {
    letter-spacing: 0.08em;
    font-size: 0.64rem;
  }

  .nav-toggle {
    gap: 8px;
  }

  .nav-toggle-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .cta-wrap {
    padding: 22px 18px;
  }

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