/* ==========================================================================
   TUMAKI Design System – statische Fassung
   Rekonstruiert aus dem dokumentierten .tm-* Komponenten-Set.
   Farben & Tokens gemäß brand.md / design-system.md.
   ========================================================================== */

:root {
  /* Colors */
  --primary: #8B2635;
  --primary-dark: #6d1e2a;
  --primary-light: #a83344;
  --accent: #059669;
  --accent-light: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Text */
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-dark: #0f172a;

  /* Borders */
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { margin: 0; padding: 0; }

/* ----- Containers ----- */
.tm-container    { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.tm-container-sm { max-width: 720px;  margin: 0 auto; padding: 0 1.5rem; }
.tm-container-md { max-width: 900px;  margin: 0 auto; padding: 0 1.5rem; }
.tm-container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* ----- Sections ----- */
.tm-section    { padding: 6rem 0; }
.tm-section-sm { padding: 4rem 0; }
.tm-section-lg { padding: 8rem 0; }
.tm-section-soft    { background: var(--bg-soft); }
.tm-section-alt     { background: var(--bg-alt); }
.tm-section-dark    { background: var(--bg-dark); color: #fff; }
.tm-section-dark .tm-h2,
.tm-section-dark .tm-h3 { color: #fff; }
.tm-section-primary { background: var(--primary); color: #fff; }

/* ----- Typography ----- */
.tm-h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1rem; color: var(--text); }
.tm-h1-hero { font-size: clamp(2.5rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 1.25rem; color: var(--text); }
.tm-h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 1rem; color: var(--text); }
.tm-h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.25; margin: 0 0 .5rem; color: var(--text); }
.tm-h4 { font-size: 1.125rem; font-weight: 700; margin: 0 0 .5rem; color: var(--text); }
.tm-text    { font-size: 1.125rem; color: var(--text-light); margin: 0 0 1rem; }
.tm-text-lg { font-size: 1.25rem; color: var(--text-light); }
.tm-text-sm { font-size: .9375rem; color: var(--text-light); }
.tm-lead    { font-size: 1.25rem; color: var(--text-light); line-height: 1.6; max-width: 680px; }
.tm-eyebrow { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; font-weight: 700; color: var(--primary); margin: 0 0 .75rem; }
.tm-section-dark .tm-eyebrow { color: var(--accent-light); }

/* ----- Grid ----- */
.tm-grid   { display: grid; gap: 2rem; }
.tm-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tm-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tm-grid-hero { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 3rem; }

/* ----- Buttons ----- */
.tm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius-full);
  font-weight: 600; font-size: 1rem; line-height: 1; cursor: pointer;
  border: 2px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.tm-btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.tm-btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.tm-btn-primary   { background: var(--primary); color: #fff; }
.tm-btn-primary:hover   { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.tm-btn-secondary { background: var(--bg-dark); color: #fff; }
.tm-btn-secondary:hover { background: #1e293b; color: #fff; }
.tm-btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.tm-btn-outline:hover   { background: var(--primary); color: #fff; }
.tm-btn-white     { background: #fff; color: var(--primary); }
.tm-btn-white:hover     { background: #f1f5f9; color: var(--primary-dark); transform: translateY(-1px); }
.tm-btn-ghost     { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.tm-btn-ghost:hover     { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ----- Navigation ----- */
.tm-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.tm-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.tm-logo { font-weight: 800; font-size: 1.375rem; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }
.tm-nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.tm-nav-links a { color: var(--text); font-weight: 500; font-size: .9375rem; }
.tm-nav-links a:hover { color: var(--primary); }
.tm-nav-cta { background: var(--primary); color: #fff !important; padding: .6rem 1.25rem; border-radius: var(--radius-full); }
.tm-nav-cta:hover { background: var(--primary-dark); }
.tm-lang { display: inline-flex; gap: .35rem; align-items: center; font-size: .8125rem; font-weight: 600; color: var(--text-muted); }
.tm-lang a { color: var(--text-muted); }
.tm-lang a.is-active { color: var(--primary); }
.tm-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.tm-nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ----- Hero ----- */
.tm-hero-split { padding: 5rem 0 4rem; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.tm-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(139,38,53,.08); color: var(--primary);
  padding: .4rem .9rem; border-radius: var(--radius-full);
  font-size: .8125rem; font-weight: 600; margin-bottom: 1.5rem;
}
.tm-hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(5,150,105,.18); }
.tm-hero-text { font-size: 1.25rem; color: var(--text-light); line-height: 1.6; margin: 0 0 2rem; max-width: 560px; }
.tm-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.tm-hero-split .tm-btn-white { background: var(--primary); color: #fff; }
.tm-hero-split .tm-btn-white:hover { background: var(--primary-dark); }
.tm-hero-split .tm-btn-ghost { color: var(--primary); border-color: var(--primary); }
.tm-hero-split .tm-btn-ghost:hover { background: rgba(139,38,53,.06); }
.tm-hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.tm-hero-proof-item { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9375rem; color: var(--text); }
.tm-hero-proof-item .tm-icon { color: var(--accent); font-weight: 800; }
.tm-hero-image { position: relative; }
.tm-hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.tm-hero-photo-placeholder {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-weight: 700; text-align: center; padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.tm-hero-name-overlay {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: rgba(15,23,42,.82); color: #fff; backdrop-filter: blur(6px);
  padding: .5rem 1rem; border-radius: var(--radius); font-weight: 700; font-size: .9375rem;
}

/* ----- Trust Bar ----- */
.tm-trust-bar { background: var(--bg-dark); color: #fff; padding: 1.1rem 0; }
.tm-trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.tm-trust-item { display: inline-flex; align-items: center; gap: .6rem; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.92); }
.tm-trust-item .tm-icon { font-size: 1.1rem; }

/* ----- Cards ----- */
.tm-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.tm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tm-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.tm-card-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 .75rem; }
.tm-card-text { color: var(--text-light); margin: 0 0 1rem; }
.tm-card ul { list-style: none; }
.tm-card ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; color: var(--text-light); font-size: .9375rem; }
.tm-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ----- Compare ----- */
.tm-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tm-compare-col { border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--border); }
.tm-compare-col-bad  { background: #fef2f2; border-color: #fecaca; }
.tm-compare-col-good { background: #ecfdf5; border-color: #a7f3d0; }
.tm-compare-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.tm-compare-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.tm-compare-col-bad  .tm-compare-icon { background: var(--danger); }
.tm-compare-col-good .tm-compare-icon { background: var(--accent); }
.tm-compare-title { font-weight: 800; font-size: 1.05rem; }
.tm-compare-list { list-style: none; }
.tm-compare-list li { position: relative; padding-left: 1.5rem; margin-bottom: .65rem; color: var(--text); font-size: .95rem; }
.tm-compare-col-bad  .tm-compare-list li::before { content: "✗"; position: absolute; left: 0; color: var(--danger); font-weight: 800; }
.tm-compare-col-good .tm-compare-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ----- Steps ----- */
.tm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tm-step { position: relative; text-align: left; }
.tm-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 1rem; }
.tm-step-connector { position: absolute; top: 22px; left: 44px; right: -1.5rem; height: 2px; background: var(--border); z-index: 0; }
.tm-step-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .4rem; }
.tm-step-text { color: var(--text-light); font-size: .9375rem; margin: 0; }

/* ----- Stats ----- */
.tm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.tm-stat { text-align: center; }
.tm-stat-num { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.tm-section-dark .tm-stat-num { background: linear-gradient(135deg, #fff 0%, var(--accent-light) 120%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tm-stat-label { margin-top: .5rem; color: rgba(255,255,255,.7); font-size: .9375rem; }

/* ----- Pricing ----- */
.tm-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.tm-pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); position: relative; }
.tm-pricing-card-featured { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.tm-pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .9rem; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .05em; }
.tm-pricing-name { font-size: 1.35rem; font-weight: 800; margin: 0 0 .35rem; }
.tm-pricing-desc { color: var(--text-light); font-size: .95rem; margin: 0 0 1rem; }
.tm-pricing-price { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.tm-pricing-period { color: var(--text-muted); font-size: .875rem; margin-bottom: 1.25rem; }
.tm-pricing-features { list-style: none; margin: 0 0 1.5rem; }
.tm-pricing-features li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; font-size: .9375rem; color: var(--text); }
.tm-pricing-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.tm-pricing-features li.tm-disabled { color: var(--text-muted); }
.tm-pricing-features li.tm-disabled::before { content: "–"; color: var(--text-muted); }

/* ----- FAQ ----- */
.tm-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.tm-faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.tm-faq-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; cursor: pointer; font-weight: 600; font-size: 1.0625rem; color: var(--text); list-style: none; }
.tm-faq-summary::-webkit-details-marker { display: none; }
.tm-faq-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt); color: var(--primary); display: grid; place-items: center; font-weight: 800; transition: transform .2s; }
.tm-faq-item[open] .tm-faq-icon { transform: rotate(45deg); }
.tm-faq-answer { padding: 0 1.35rem 1.25rem; }
.tm-faq-answer > div { color: var(--text-light); }

/* ----- CTA ----- */
.tm-cta { border-radius: var(--radius-xl); padding: 3.5rem 2rem; text-align: center; }
.tm-cta-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.tm-cta-primary .tm-h2 { color: #fff; }
.tm-cta-primary .tm-text { color: rgba(255,255,255,.85); }
.tm-cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }

/* ----- Method / SDC teaser ----- */
.tm-principle { display: flex; gap: 1rem; align-items: flex-start; }
.tm-principle-icon { flex: none; width: 42px; height: 42px; border-radius: var(--radius); background: rgba(139,38,53,.08); color: var(--primary); display: grid; place-items: center; font-size: 1.25rem; }
.tm-principle h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.tm-principle p { margin: 0; color: var(--text-light); font-size: .95rem; }

/* ----- Footer ----- */
.tm-footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; }
.tm-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.tm-footer-logo { font-weight: 800; font-size: 1.375rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; display: block; margin-bottom: 1rem; }
.tm-footer-desc { font-size: .9375rem; line-height: 1.6; max-width: 320px; }
.tm-footer-social { margin-top: 1.25rem; display: flex; gap: .6rem; }
.tm-footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; text-transform: lowercase; }
.tm-footer-social a:hover { background: var(--primary); color: #fff; }
.tm-footer-title { color: #fff; font-size: .95rem; font-weight: 700; margin: 0 0 1rem; }
.tm-footer-links { list-style: none; }
.tm-footer-links li { margin-bottom: .6rem; }
.tm-footer-links a, .tm-footer-links li { color: rgba(255,255,255,.7); font-size: .9375rem; }
.tm-footer-links a:hover { color: #fff; }
.tm-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.tm-footer-copy { font-size: .875rem; }
.tm-footer-legal { display: flex; gap: 1.5rem; }
.tm-footer-legal a { color: rgba(255,255,255,.7); font-size: .875rem; }
.tm-footer-legal a:hover { color: #fff; }

/* ----- Utilities ----- */
.tm-mb-0 { margin-bottom: 0 !important; } .tm-mb-1 { margin-bottom: .5rem !important; }
.tm-mb-2 { margin-bottom: 1rem !important; } .tm-mb-3 { margin-bottom: 1.5rem !important; }
.tm-mb-4 { margin-bottom: 2rem !important; } .tm-mb-5 { margin-bottom: 3rem !important; }
.tm-mb-6 { margin-bottom: 4rem !important; }
.tm-mt-0 { margin-top: 0 !important; } .tm-mt-2 { margin-top: 1rem !important; }
.tm-mt-4 { margin-top: 2rem !important; }
.tm-mx-auto { margin-left: auto !important; margin-right: auto !important; }
.tm-text-center { text-align: center; } .tm-text-left { text-align: left; } .tm-text-right { text-align: right; }
.tm-text-white { color: #fff !important; } .tm-text-primary { color: var(--primary) !important; }
.tm-text-muted { color: var(--text-muted) !important; }
.tm-max-w-sm { max-width: 400px; } .tm-max-w-md { max-width: 600px; } .tm-max-w-lg { max-width: 800px; }
.tm-nowrap { white-space: nowrap; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .tm-grid-hero { grid-template-columns: 1fr; }
  .tm-hero-image { max-width: 380px; margin: 0 auto; }
  .tm-grid-3, .tm-grid-4, .tm-pricing { grid-template-columns: 1fr 1fr; }
  .tm-stats { grid-template-columns: 1fr 1fr; gap: 2.5rem 1rem; }
  .tm-steps { grid-template-columns: 1fr 1fr; }
  .tm-step-connector { display: none; }
  .tm-footer-grid { grid-template-columns: 1fr 1fr; }
  .tm-pricing-card-featured { transform: none; }
}
@media (max-width: 640px) {
  .tm-section { padding: 4rem 0; }
  .tm-nav-links { display: none; }
  .tm-nav-links.is-open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1rem;
    background: #fff; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .tm-nav-toggle { display: flex; }
  .tm-grid-2, .tm-grid-3, .tm-grid-4, .tm-compare, .tm-pricing, .tm-steps { grid-template-columns: 1fr; }
  .tm-stats { grid-template-columns: 1fr 1fr; }
  .tm-trust-bar-inner { gap: 1rem 1.5rem; }
  .tm-footer-grid { grid-template-columns: 1fr; }
  .tm-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
