/* Startseite im Layout "C · Farbblock".
   Aufbau, Größen und Abstände aus dem Entwurf, Schrift, Farben und Radien aus brand.css:
   Inter Tight für Überschriften und Zahlen, Inter für Text, Tinte für dunkle Blöcke,
   Tomate hell für helle Farbblöcke, Tomate für Akzent und Hauptaktion, alle Ecken 4 px.
   Gerüst (Navigation, Buttons, Footer) kommt aus site.css. */

/* Typo-Skala aus dem Entwurf */
.home .h1 { font-family: var(--font-head); font-size: 60px; line-height: 60px; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.home .h2 { font-family: var(--font-head); font-size: 48px; line-height: 48px; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.home .h3 { font-family: var(--font-head); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.home .h5 { font-family: var(--font-head); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.02em; }
.home .h6 { font-family: var(--font-head); font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; }
.home .big { font-family: var(--font-head); font-size: 96px; line-height: 96px; font-weight: 700; letter-spacing: -.045em; }
.home .t2 { font-size: 18px; line-height: 28px; }
.home .t3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.home .b3 { font-size: 16px; line-height: 26px; }
.home .b6 { font-size: 14px; line-height: 22px; }
.home .muted { color: var(--muted); }
.home .grad { background: linear-gradient(90deg, var(--tinte), var(--grau)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.home section { padding-bottom: 96px; }
.home .stack { display: flex; flex-direction: column; gap: 16px; }
.home .stack-8 { display: flex; flex-direction: column; gap: 8px; }
.home .head { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin-bottom: 48px; }
.home .head .t2 { max-width: 560px; color: var(--muted); }

/* Farbblöcke */
.block { padding: 64px 48px; border-radius: var(--radius); }
.block.is-tint { background: var(--tomate-hell); }
.block.is-dark { background: var(--tinte); color: var(--on-dark); }
.block.is-accent { background: var(--tomate); color: var(--on-accent); }
.block.is-surface { background: var(--surface); border: 1px solid var(--line); }
.block.is-outline { border: 2px solid var(--tinte); }
.block.is-dark .text-label, .block.is-dark .muted { color: var(--on-dark-muted); }
.block.is-tint .muted { color: var(--ink); }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.split > * { min-width: 0; }

.tag {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius);
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.tag.is-accent { background: var(--tomate); color: var(--on-accent); }
.tag.is-tint { background: var(--tomate-hell); color: var(--ink); }
.tag.is-quiet { background: var(--papier-tief); color: var(--muted); }
.tag.is-dark { background: var(--tinte); color: var(--on-dark); }

/* Hero */
.home_hero { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; padding-top: 64px; }
.home_hero_text { flex: 7 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.home_hero_text .h1 { max-width: 680px; }
.home_hero_text .t2 { max-width: 560px; color: var(--muted); }
.home_proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.home_proof li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.home_hero_card { flex: 5 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--tinte); border-radius: var(--radius); }
.home_kpi { display: flex; flex-direction: column; gap: 8px; padding: 24px; color: var(--on-dark); }
.home_kpi .b6, .home_kpi .label { color: var(--on-dark-muted); }
.home_kpi .label { font-size: 14px; line-height: 20px; font-weight: 500; }
.home_bubble { align-self: flex-end; max-width: 320px; padding: 12px 16px; background: var(--tomate); color: var(--on-accent); border-radius: var(--radius); }
.home_next { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface); border-radius: var(--radius); }

/* Problem */
.home_problem_lead { flex: 5 1 340px; display: flex; flex-direction: column; gap: 16px; }
.home_problem_list { flex: 7 1 440px; display: flex; flex-direction: column; gap: 32px; }

/* Funktionen */
.home_features { display: flex; flex-direction: column; gap: 16px; }
.home_feature_main { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; padding: 48px; }
.home_feature_main > * { flex: 1 1 360px; min-width: 0; }
.home_todo { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink); }
.home_todo li { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 16px; background: var(--surface); border-radius: var(--radius); }
.home_feature_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 16px; }
.home_feature_grid .block { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 40px; }
.home_feature_grid .block.has-stats { justify-content: flex-start; gap: 24px; }
.home_stats { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.home_stats > div { display: flex; flex-direction: column; }
.home_stats .is-key { color: var(--tomate-text); }
.home_note { margin-top: 16px; }

/* Leitsatz auf Tinte, Wörter werden beim Scrollen hell */
.home .home_tagline { padding: 96px 0; background: var(--tinte); color: var(--on-dark); margin-bottom: 96px; }
.home_tagline .h1 { max-width: 900px; }
.js .home_tagline .word { color: #f8f5f240; transition: color .7s var(--curve); }
.js .home_tagline .word.is-on { color: var(--on-dark); }
.home_tagline .word.is-accent.is-on, .home_tagline [data-accent] { color: var(--tomate); }
@media (prefers-reduced-motion: reduce) { .js .home_tagline .word { color: var(--on-dark); } .js .home_tagline .word.is-accent { color: var(--tomate); } }

/* Ablauf */
.home_steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 48px; }
.home_steps .big { color: var(--tomate); }
.home_steps > div { display: flex; flex-direction: column; gap: 12px; }

/* Für wen */
.home_fit { display: flex; flex-wrap: wrap; gap: 16px; }
.home_fit .block { display: flex; flex-direction: column; gap: 16px; padding: 40px; min-width: 0; }
.home_fit .block.is-tint { flex: 3 1 420px; }
.home_fit .block.is-surface { flex: 2 1 320px; color: var(--muted); }
.home_fit .block.is-surface .h5 { color: var(--ink); }
.home_check { display: flex; gap: 12px; }
.home_check svg { width: 20px; height: 28px; flex: none; fill: none; stroke: var(--tinte); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.home_origin { max-width: 800px; margin-top: 48px; color: var(--muted); }
.home_origin strong { color: var(--ink); }

/* Deine Daten */
.home_data_lead { flex: 4 1 300px; display: flex; flex-direction: column; gap: 16px; }
.home_data_grid { flex: 6 1 440px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }

/* Fragen */
.home_faq { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.home_faq_lead { flex: 4 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.home_faq_list { flex: 8 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.home_faq_item { padding: 16px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: background-color .3s var(--curve), border-color .3s var(--curve); }
.home_faq_item[open] { background: var(--tomate-hell); border-color: var(--tomate-hell); }
.home_faq_item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-weight: 500; }
.home_faq_item summary::-webkit-details-marker { display: none; }
.home_faq_item summary::after { content: "+"; flex-shrink: 0; font-family: var(--font-head); font-size: 24px; line-height: 28px; font-weight: 400; transition: transform .5s var(--curve); }
.home_faq_item[open] summary::after { transform: rotate(45deg); }
.home_faq_item p { margin-top: 8px; color: var(--muted); }
.home_faq_item[open] p { color: var(--ink); }
.home_faq_item a { color: inherit; text-decoration-color: var(--tomate); }

/* Abschluss in Tomate, der Button kehrt sich deshalb zu Tinte um */
.home_final { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 80px 48px; }
.home_final .h1 { max-width: 680px; }
.home_final .t2 { max-width: 560px; }
.home .home_final .button { background: var(--tinte); border-color: var(--tinte); color: var(--on-dark); }
.home .home_final .button:hover { background: #3a312f; border-color: #3a312f; }
.home_final .home_proof .icon-check { stroke: var(--on-accent); }
.home .section_final { padding-bottom: 32px; }

/* Handy */
@media (max-width: 767px) {
  .home section { padding-bottom: 64px; }
  .home .home_tagline { padding: 64px 0; margin-bottom: 64px; }
  .home .h1 { font-size: 36px; line-height: 40px; }
  .home .h2 { font-size: 30px; line-height: 36px; }
  .home .h3 { font-size: 24px; line-height: 32px; }
  .home .big { font-size: 60px; line-height: 60px; }
  .home_hero { padding-top: 32px; }
  .home_hero_card { padding: 16px; }
  .home_kpi { padding: 16px; }
  .block { padding: 40px 24px; }
  .home_feature_main, .home_feature_grid .block, .home_fit .block { padding: 32px 24px; }
  .home_final { padding: 48px 24px; }
  .home_hero_text .button, .home_final .button { width: 100%; }
  .home_todo li { padding: 12px 16px; }
}
