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

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,500;1,9..144,600&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Basis: Weiss, Schwarz - klar und kontrastreich */
  --paper: #ffffff;
  --paper-alt: #f4f5f7;
  --ink: #111111;
  --muted: #5c5f66;
  --line: #dcdfe3;

  /* Akzente: Blau (Vertrauen, primär) und Rot (Energie, punktuell) */
  --accent: #1a44d1;
  --accent-dark: #12318f;
  --accent-ink: #ffffff;

  --red: #d81f3c;
  --red-dark: #a4152c;

  /* Karten-Töne: kräftig statt pastell */
  --peach: #fde3e7;
  --peach-deep: #d81f3c;
  --sage: #e3ebff;
  --sky: #eef1f5;
  --blush: #fde3e7;

  --error: #d81f3c;
  --success: #1a44d1;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px;
}

.wide {
  max-width: 780px;
}

/* ============== NAV: schwebende Pille ============== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: #ffffff;
  border-bottom: 2px solid var(--ink);
  position: relative;
  z-index: 10;
}

nav > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a:not(.logo) {
  color: var(--ink);
  text-decoration: none;
  margin-left: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s;
}

nav a:not(.logo):hover {
  background: var(--paper-alt);
}

/* ============== TYPOGRAFIE ============== */
h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.15;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-weight: 600;
}

p.subtitle {
  color: var(--muted);
  margin-bottom: 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent-dark);
  font-weight: 500;
}

/* ============== BUTTONS: dunkle Pillen ============== */
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 18px;
  font-family: var(--font-body);
}

input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { resize: vertical; min-height: 80px; }

button, .btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

button:hover, .btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

button.secondary, .btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

button.secondary:hover, .btn.secondary:hover { background: var(--ink); color: var(--paper); }

button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.full-width { width: 100%; margin-top: 24px; }

.hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.message {
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}

.message.error {
  background: #f8e6e3;
  color: var(--error);
  display: block;
}

.message.success {
  background: #e2efe6;
  color: var(--success);
  display: block;
}

.hidden { display: none !important; }

.role-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  background: var(--paper-alt);
  padding: 5px;
  border-radius: 999px;
}

.role-toggle a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.15s;
}

.role-toggle a.active {
  background: var(--ink);
  color: var(--paper);
}

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--paper-alt);
  border-radius: 999px;
  padding: 3px;
  margin-left: 8px;
}

.lang-switch a {
  padding: 5px 10px !important;
  font-size: 0.78rem !important;
  border-radius: 999px;
  margin-left: 0 !important;
  color: var(--muted);
  font-weight: 600 !important;
}

.lang-switch a.active {
  background: var(--ink);
  color: var(--paper) !important;
}

footer {
  text-align: center;
  padding: 40px 32px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 64px;
}

footer a {
  color: var(--muted);
  margin: 0 8px;
}

/* ============== LANDINGPAGE-KOMPONENTEN ============== */

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px 48px;
}

@media (max-width: 860px) {
  .hero-section { grid-template-columns: 1fr; padding: 48px 20px; }
}

.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dark);
}

.hero-copy {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
  margin: 24px 0 32px;
}

.hero-visual {
  background: var(--peach);
  border-radius: 6px;
  padding: 32px;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 24px auto;
  padding: 0 32px;
}

@media (max-width: 860px) {
  .value-grid { grid-template-columns: 1fr; }
}

.value-card {
  border-radius: 6px;
  padding: 32px 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.value-card.visible { opacity: 1; transform: translateY(0); }
.value-card.tone-sage { background: var(--sage); }
.value-card.tone-sky { background: var(--sky); }
.value-card.tone-blush { background: var(--blush); }

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.75;
}

.section-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 32px;
}

.section-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin-bottom: 12px;
  display: block;
}

.section-title-big {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  max-width: 640px;
}

.story-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 32px 96px;
  position: relative;
}

.story-spine {
  position: absolute;
  left: 32px;
  top: 40px;
  bottom: 96px;
  width: 1.5px;
  background: var(--line);
}

@media (max-width: 720px) {
  .story-spine { left: 20px; }
}

.story-beat {
  padding: 56px 0 56px 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  position: relative;
}

.story-beat.visible { opacity: 1; transform: translateY(0); }

.story-beat::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 62px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.story-beat.visible::before {
  background: var(--accent);
  border-color: var(--accent);
}

.story-beat h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
  max-width: 480px;
}

.story-beat h3 em {
  font-style: italic;
  color: var(--accent-dark);
}

.story-beat p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 420px;
}

/* Testimonial-Ticker */
.ticker-wrap {
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll-ticker 32s linear infinite;
  width: max-content;
}

@keyframes scroll-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .value-card { opacity: 1; transform: none; transition: none; }
}

.cta-band {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  max-width: 1120px;
  margin: 0 auto 64px;
  padding: 56px 40px;
  text-align: center;
}

.cta-band h2 { color: var(--accent-ink); }
.cta-band .btn { background: var(--ink); }
.cta-band .btn.secondary { border-color: var(--accent-ink); color: var(--accent-ink); }

.subject-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s;
  margin: -3px;
}

.subject-icon:hover {
  background: var(--ink);
  color: #fff;
  transform: scale(1.12);
  z-index: 2;
  position: relative;
}
