/* myWerkflow */

:root {
  --paper: #F6F2E9;
  --paper-2: #EFE8D9;
  --ink: #161A16;
  --ink-soft: #3C433B;
  --muted: #666B60;
  --rule: #CFC8B4;
  --accent: #C15A2E;
  --accent-dark: #A04420;
  --night: #14170F;
  --night-text: #EFEADB;
  --night-muted: #A9B0A0;
  --night-rule: #2C3328;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Archivo', 'Source Sans 3', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: break-word;
}
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
ol, ul, dl, dd { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 300; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.muted { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #D9621F; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow::after { content: ' →'; }
.link-arrow:hover { color: var(--accent-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.wordmark {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark b { font-weight: 800; color: var(--accent); }
.nav-desktop { display: flex; gap: 26px; }
.nav-desktop a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink-soft); }
.nav-desktop a:hover { color: var(--accent-dark); }
.bar-actions { display: flex; align-items: center; gap: 18px; }
.bar-phone { text-decoration: none; font-weight: 700; font-size: 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); background: transparent; border-radius: 3px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ''; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

.mobile-nav {
  position: fixed; inset: 68px 0 0 0; z-index: 99;
  background: var(--paper);
  padding: 20px 28px 40px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a:not(.btn) { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 26px; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.mobile-nav .btn { margin-top: 28px; text-align: center; }
.mobile-phone { text-align: center; padding-top: 18px; font-weight: 700; text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; align-items: end; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); max-width: 15em; }
.hero h1 span { color: var(--accent); }
.lead { font-size: 21px; color: var(--ink-soft); max-width: 34em; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 36px; }
.hero-side { border-left: 4px solid var(--accent); padding: 4px 0 4px 26px; }
.side-label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-big { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.side-text { margin-top: 12px; color: var(--ink-soft); }
.side-fine { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Facts */
.facts { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 40px 32px 40px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--rule); }
.fact-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.02em; line-height: 1; }
.fact-text { margin-top: 12px; max-width: 16em; }
.fact-src { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Trades */
.trades { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.trades .wrap { display: flex; gap: 20px 28px; align-items: baseline; }
.trades-label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex: none; }
.trades-list { font-size: 17px; color: var(--ink-soft); }

/* Blocks */
.block { padding: 104px 0; }
.block-tint { background: var(--paper-2); }
.block h2 { font-size: clamp(30px, 3.8vw, 44px); }
.narrow { max-width: 760px; }
.narrow .muted { margin-top: 20px; max-width: 40em; }
.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.col-head .muted { margin-top: 20px; }

.plain-list { list-style: none; counter-reset: p; border-top: 2px solid var(--ink); }
.plain-list li { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.plain-list h3 { font-size: 22px; margin-bottom: 8px; }
.plain-list p { color: var(--ink-soft); }

/* Compare table */
.table-wrap { margin-top: 56px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 18px 22px 18px 0; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: 'Archivo', sans-serif; font-size: 17px; border-bottom: 2px solid var(--ink); }
.compare thead th:last-child { color: var(--accent-dark); }
.compare tbody th { font-weight: 700; width: 22%; }
.compare td { color: var(--ink-soft); width: 39%; }
.compare td:last-child { color: var(--ink); font-weight: 600; }

/* Steps */
.steps { list-style: none; margin-top: 52px; border-top: 2px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.step-n { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 52px; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 23px; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); max-width: 40em; }
.steps .is-yours { background: var(--paper-2); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }

.timing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--rule); }
.timing div { padding: 20px 22px; }
.timing div + div { border-left: 1px solid var(--rule); }
.timing dt { font-size: 15px; color: var(--muted); }
.timing dd { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 24px; margin-top: 4px; letter-spacing: -0.01em; }

/* Calculator */
.block-dark { background: var(--night); color: var(--night-text); }
.block-dark h2 { color: var(--night-text); }
.block-dark .eyebrow { color: #E3A06E; }
.calc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.calc-intro p:not(.eyebrow) { margin-top: 20px; color: var(--night-muted); }
.calc-intro .calc-note { font-size: 15.5px; border-left: 3px solid var(--night-rule); padding-left: 16px; }

.calc { background: var(--paper); color: var(--ink); padding: 36px; border-radius: 3px; }
.slider-row + .slider-row { margin-top: 30px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.slider-head label { font-weight: 700; font-size: 17px; }
.slider-head output { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px; color: var(--accent-dark); white-space: nowrap; }
.slider-scale { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-top: 8px; }

input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
  --p: 0%;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 0;
  background: linear-gradient(to right, var(--accent) var(--p), var(--rule) var(--p));
}
input[type=range]::-moz-range-track { height: 6px; background: var(--rule); }
input[type=range]::-moz-range-progress { height: 6px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px;
  background: var(--ink); border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--ink);
}
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; background: var(--ink); border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--ink); }

.calc-result { margin-top: 38px; padding-top: 28px; border-top: 2px solid var(--ink); }
.result-label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.result-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(44px, 7vw, 68px); line-height: 1.05; letter-spacing: -0.03em; margin: 6px 0 12px; color: var(--accent-dark); }
.result-sub { color: var(--ink-soft); margin-bottom: 26px; }
.calc-result .btn { width: 100%; text-align: center; }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: 3px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p:not(.eyebrow) { color: var(--ink-soft); margin-top: 16px; max-width: 36em; }
.about-text .sign { font-weight: 700; color: var(--ink); margin-top: 24px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-soft); }

/* Closing */
.closing { background: var(--ink); color: var(--paper); padding: 84px 0; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--paper); max-width: 17em; }
.closing p { margin-top: 14px; color: var(--night-muted); }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.closing-phone { text-decoration: none; font-weight: 600; color: var(--night-text); border-bottom: 1px solid var(--night-muted); }
.closing-phone:hover { color: #E3A06E; }

/* Footer */
.site-footer { background: var(--ink); color: var(--night-text); padding: 0 0 28px; border-top: 1px solid var(--night-rule); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.wordmark-foot { font-size: 24px; margin-bottom: 8px; }
.foot-h { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 12px; }
.foot-text { font-size: 16px; color: var(--night-text); }
.foot-text + .foot-text { margin-top: 12px; }
.foot-text a { text-decoration: none; }
.foot-text a:hover { color: #E3A06E; }
.foot-bottom { border-top: 1px solid var(--night-rule); padding-top: 22px; font-size: 14px; color: var(--night-muted); }

/* Legal pages */
.legal-page { padding: 72px 0 96px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 36px; }
.legal-page h2 { font-size: 21px; margin: 36px 0 10px; }
.legal-page p, .legal-page li { font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
.legal-page ul { padding-left: 22px; }
.legal-placeholder { background: #F6DDCB; border: 1px dashed var(--accent); padding: 2px 6px; color: var(--accent-dark); font-weight: 600; }
.legal-notice { background: var(--paper-2); border-left: 4px solid var(--accent); padding: 18px 22px; margin-bottom: 36px; font-size: 16px; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 1060px) {
  .bar-phone { display: none; }
}
@media (max-width: 900px) {
  .nav-desktop, .bar-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 0 52px; }
  .hero-grid, .two-col, .calc-grid, .about { grid-template-columns: 1fr; gap: 44px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: none; }
  .fact + .fact { border-top: 1px solid var(--rule); }
  .trades .wrap { flex-direction: column; gap: 8px; }
  .block { padding: 72px 0; }
  .timing { grid-template-columns: 1fr 1fr; }
  .timing div:nth-child(3) { border-left: none; }
  .timing div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .about-photo { max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .steps li { grid-template-columns: 52px 1fr; }
  .step-n { font-size: 40px; }
  .steps .is-yours { margin: 0 -20px; }
  .calc { padding: 24px 20px; }
  .slider-head { flex-direction: column; gap: 4px; }
  .timing { grid-template-columns: 1fr; }
  .timing div + div { border-left: none; border-top: 1px solid var(--rule); }
  .timing div:nth-child(3) { border-top: 1px solid var(--rule); }
  .hero-actions .btn { width: 100%; text-align: center; }
  .closing-actions { width: 100%; }
  .closing-actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Mehrseitige Struktur
   ========================================================================== */
.crumbs { border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.crumbs .wrap { padding-top: 12px; padding-bottom: 12px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent-dark); }

.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 17em; }
.page-hero .lead { margin-top: 24px; }
.page-hero .hero-actions { margin-top: 32px; }

/* Kurzantwort: erster Absatz, direkt zitierfähig (GEO) */
.answer { border-left: 4px solid var(--accent); padding: 4px 0 4px 24px; max-width: 46em; font-size: 20px; color: var(--ink); }
.answer strong { font-weight: 700; }

.prose { max-width: 44em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 32px 0 8px; }
.prose p { margin-top: 14px; color: var(--ink-soft); }
.prose ul { margin: 14px 0 0; padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-top: 8px; }
.prose a { color: var(--accent-dark); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }

.facts-box { border: 1px solid var(--rule); background: var(--paper-2); padding: 26px 28px; max-width: 46em; margin-top: 28px; }
.facts-box h3 { font-size: 19px; margin-bottom: 10px; }
.facts-box ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.facts-box li { margin-top: 6px; }

.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); margin-top: 48px; }
.hub-item { padding: 28px 32px 28px 0; border-bottom: 1px solid var(--rule); }
.hub-item:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--rule); }
.hub-item h3 { font-size: 22px; margin-bottom: 8px; }
.hub-item h3 a { text-decoration: none; }
.hub-item h3 a:hover { color: var(--accent-dark); }
.hub-item p { color: var(--ink-soft); }
.hub-item .tag { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--muted); }

.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 48px; border-top: 2px solid var(--ink); }
.case { padding: 32px 32px 32px 0; }
.case + .case { padding-left: 32px; border-left: 1px solid var(--rule); }
.case-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(64px, 9vw, 104px); line-height: 1; color: var(--accent-dark); letter-spacing: -0.03em; }
.case-what { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 22px; margin-top: 10px; line-height: 1.25; }
.case-who { color: var(--muted); margin-top: 8px; }

.author-line { font-size: 15px; color: var(--muted); margin-top: 40px; max-width: 44em; border-top: 1px solid var(--rule); padding-top: 16px; }

@media (max-width: 900px) {
  .page-hero { padding: 48px 0 40px; }
  .hub-grid, .cases { grid-template-columns: 1fr; }
  .hub-item, .hub-item:nth-child(even) { padding: 24px 0; border-left: none; }
  .case, .case + .case { padding: 28px 0; border-left: none; }
  .case + .case { border-top: 1px solid var(--rule); }
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; }
.logo-foot img { height: 40px; }
@media (max-width: 560px) { .logo img { height: 32px; } }

.quotes { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.quotes li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; }
.fine-print { font-size: 15.5px; color: var(--muted); margin-top: 20px; max-width: 46em; }
.gallery { margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery + .prose { margin-top: 56px; }


/* ==========================================================================
   Design v2: mehr Raum, Bild, klarere Hierarchie
   ========================================================================== */
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); flex: none; }

.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(22,26,22,.55); }

.btn { transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn-solid:hover, .btn-accent:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(22,26,22,.55); }
.btn-solid::after, .btn-accent::after { content: ' →'; }
.btn-sm.btn-solid::after { content: ''; }

/* Hero */
.hero { padding: 72px 0 112px; }
.hero-grid { grid-template-columns: 1.2fr .8fr; gap: 88px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.9vw, 64px); letter-spacing: -0.03em; line-height: 1.04; }
.lead { font-size: 22px; line-height: 1.55; }
.hero-visual { position: relative; padding-bottom: 36px; }
.hero-photo { margin: 0; max-width: 470px; margin-left: auto; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-side { position: absolute; left: -64px; bottom: 0; max-width: 300px; background: var(--paper); border: 0; border-left: 4px solid var(--accent); padding: 18px 22px; box-shadow: 0 24px 48px -24px rgba(22,26,22,.45); }
.side-big { font-size: 21px; }
.hero-side .side-text { font-size: 16px; margin-top: 8px; }
.hero-side .side-fine { display: none; }

/* Zahlen */
.facts { background: var(--paper); }
.fact { position: relative; }
.fact::before { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--accent); }
.fact + .fact::before { left: 32px; }
.fact { padding-top: 48px; }

/* Bildstreifen */
.band { padding: 112px 0 24px; }
.band-head { max-width: 760px; }
.band-head h2 { font-size: clamp(30px, 3.8vw, 46px); }
.band-head .muted { margin-top: 18px; max-width: 40em; }
.band-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; margin-top: 44px; }
.band-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.band-grid img:first-child { aspect-ratio: auto; min-height: 100%; }

/* Rhythmus und Überschriften */
.block { padding: 128px 0; }
.block h2 { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -0.025em; }
.page-hero h1 { letter-spacing: -0.025em; }
.narrow .muted, .col-head .muted { font-size: 19px; }

/* Ablauf als Zeitleiste */
.steps { border-top: 0; margin-top: 64px; }
.steps li { position: relative; grid-template-columns: 96px 1fr; gap: 16px; padding: 0 0 44px; border-bottom: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 2px; background: var(--rule); }
.step-n { width: 56px; height: 56px; border: 2px solid var(--accent); border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--paper); position: relative; z-index: 1; }
.steps h3 { font-size: 25px; margin-top: 4px; }
.steps p { font-size: 18px; }
.steps .is-yours { background: var(--paper-2); margin: 8px -28px 0; padding: 28px 28px; border-left: 4px solid var(--accent); }
.steps .is-yours .step-n { background: var(--accent); color: #fff; }
.timing { margin-top: 64px; border: 0; border-top: 2px solid var(--ink); }
.timing div { padding: 26px 24px 8px 0; }
.timing div + div { padding-left: 24px; }
.timing dd { font-size: 28px; }

/* Vergleich: letzte Spalte hervorgehoben */
.compare thead th:last-child, .compare td:last-child { background: rgba(193,90,46,.09); padding-left: 20px; }
.compare thead th:last-child { border-top: 3px solid var(--accent); }
.compare tbody th { padding-right: 24px; }

/* Ergebnisse */
.case-num { font-size: clamp(72px, 10vw, 128px); }

/* Rechner */
.calc { box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }

/* Über mich */
.about-photo img { box-shadow: 0 30px 60px -36px rgba(22,26,22,.55); }

/* Abschluss mit Foto */
.closing { padding: 96px 0; }
.closing-inner { gap: 48px; flex-wrap: nowrap; }
.closing-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 3px solid var(--accent); flex: none; }
.closing-text { flex: 1; }
.closing-actions { flex: none; }

/* Hub */
.hub-item { transition: background .15s ease; }
.hub-item:hover { background: rgba(193,90,46,.06); }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media print { .js .reveal { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { padding-bottom: 0; }
  .hero-photo { max-width: 100%; margin: 0; aspect-ratio: 4 / 4; }
  .hero-side { position: relative; left: 0; margin: -48px 16px 0; max-width: none; }
  .block { padding: 80px 0; }
  .band { padding: 72px 0 8px; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .band-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .steps li { grid-template-columns: 64px 1fr; }
  .steps li:not(:last-child)::before { left: 23px; }
  .step-n { width: 48px; height: 48px; font-size: 19px; }
  .steps .is-yours { margin-left: -20px; margin-right: -20px; padding: 24px 20px; }
  .closing-inner { flex-direction: column; align-items: flex-start; flex-wrap: wrap; gap: 28px; }
  .closing-photo { width: 88px; height: 88px; }
  .lead { font-size: 19px; }
}
@media (max-width: 560px) {
  .steps li { grid-template-columns: 52px 1fr; }
  .steps li:not(:last-child)::before { left: 19px; top: 52px; }
  .step-n { width: 40px; height: 40px; font-size: 17px; }
}

/* Feinschliff */
h1, h2 { text-wrap: balance; }
.compare td { width: auto; }
.compare tbody th { width: 18%; }
.compare td:last-child, .compare thead th:last-child { width: 31%; }
.compare thead th:nth-child(2), .compare thead th:nth-child(3), .compare td:nth-child(2), .compare td:nth-child(3) { width: 25.5%; }
.eyebrow { display: block; }
.eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 12px; position: relative; top: -1px; }

.byline { margin-top: 20px; color: var(--muted); font-size: 16px; }
.byline a { color: var(--ink-soft); }
.prose h2 + p, .prose h2 + ul, .prose h2 + ol { margin-top: 12px; }
.prose ol { margin: 14px 0 0; padding-left: 24px; color: var(--ink-soft); }
.prose ol li { margin-top: 8px; }
.prose p + h2 { margin-top: 48px; }

.prose h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; margin: 52px 0 0; }
.prose h2:first-child { margin-top: 0; }
.page-hero + .block { padding-top: 72px; }

/* WhatsApp statt Telefon */
.bar-wa { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink); }
.bar-wa:hover { color: var(--accent-dark); }
.bar-wa .wa-icon { color: var(--accent); }
.mobile-phone { display: flex; align-items: center; justify-content: center; gap: 10px; }
@media (max-width: 1060px) { .bar-wa { display: none; } }

/* Startseite: Hero ohne Foto, Garantie-Kasten ruhig daneben */
.hero-grid { grid-template-columns: 1.45fr .85fr; gap: 72px; align-items: end; }
.hero-side { position: static; max-width: none; background: transparent; box-shadow: none; border: 0; border-left: 4px solid var(--accent); padding: 4px 0 4px 26px; }
.hero-side .side-big { font-size: 28px; }
.hero-side .side-text { font-size: 18px; margin-top: 12px; }
.hero-side .side-fine { display: block; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-side { margin: 0; } }

/* WhatsApp-Button */
.btn-wa { background: #25D366; color: #0B2410; display: inline-flex; align-items: center; gap: 10px; }
.btn-wa:hover { background: #1FBE5A; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(11,36,16,.6); }
.btn-wa .wa-icon { width: 22px; height: 22px; flex: none; }
.btn-wa.btn-sm .wa-icon { width: 20px; height: 20px; }
.btn-wa::after { content: none; }
.bar-wa { padding: 9px 16px; }
.mobile-wa { margin-top: 16px; justify-content: center; text-align: center; }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; }
.foot-wa .wa-icon { width: 20px; height: 20px; flex: none; }
.closing-actions { align-items: stretch; gap: 12px; }
.closing-actions .btn { justify-content: center; text-align: center; }
@media (max-width: 1100px) { .bar-wa { display: none; } }

/* Ablauf: Faden, der beim Scrollen mitläuft */
.steps-wrap { position: relative; }
.steps li:not(:last-child)::before { display: none; }
.steps-track { position: absolute; width: 2px; background: var(--rule); border-radius: 2px; z-index: 0; }
.steps-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--accent); border-radius: 2px; }
.steps-dot { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(193,90,46,.18); }
.steps li .step-n { transition: background .3s ease, color .3s ease, transform .3s ease; }
.steps li.done .step-n { background: var(--accent); color: #fff; }
.steps li.done h3 { color: var(--accent-dark); }
.steps li h3 { transition: color .3s ease; }

/* Hero-Karte mit Animation */
.hero-grid { grid-template-columns: 1.2fr .95fr; gap: 64px; align-items: center; }
.hero-card { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 28px 30px 30px; box-shadow: 0 30px 60px -36px rgba(22,26,22,.45); max-width: 500px; margin-left: auto; width: 100%; }
.card-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flow { display: block; width: 100%; height: auto; margin: 10px 0 8px; overflow: visible; }
.fl-zone { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); font-family: 'Source Sans 3', sans-serif; }
.fl-step { font-size: 17px; font-weight: 600; fill: var(--ink-soft); font-family: 'Source Sans 3', sans-serif; }
.fl-gate { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.fl-end { fill: rgba(193,90,46,.09); stroke: var(--accent); stroke-width: 2; animation: fl-pulse 7s ease-in-out infinite; }
.fl-endtext { font-size: 17px; font-weight: 700; fill: var(--accent-dark); font-family: 'Archivo', sans-serif; }
.flow circle { opacity: 0; fill: #9A9F93; animation-duration: 7s; animation-iteration-count: infinite; animation-timing-function: linear; }
.flow .p { animation-name: fl-pass; }
.flow .d1 { animation-name: fl-d1; }
.flow .d2 { animation-name: fl-d2; }
@keyframes fl-pass {
  0% { transform: translate(var(--x0), 40px); opacity: 0; fill: #9A9F93; }
  6% { opacity: 1; }
  33% { transform: translate(var(--x1), 112px); fill: #9A9F93; }
  38% { fill: #C15A2E; }
  58% { transform: translate(var(--x1), 192px); fill: #C15A2E; }
  78% { transform: translate(var(--x1), 254px); opacity: 1; fill: #C15A2E; }
  90% { transform: translate(var(--x1), 262px); opacity: 0; fill: #C15A2E; }
  100% { transform: translate(var(--x1), 262px); opacity: 0; }
}
@keyframes fl-d1 {
  0% { transform: translate(var(--x0), 40px); opacity: 0; }
  6% { opacity: 1; }
  33% { transform: translate(var(--xd), 110px); opacity: 1; }
  45% { transform: translate(var(--xd), 114px); opacity: 0; }
  100% { transform: translate(var(--xd), 114px); opacity: 0; }
}
@keyframes fl-d2 {
  0% { transform: translate(var(--x0), 40px); opacity: 0; }
  6% { opacity: 1; }
  33% { transform: translate(var(--x1), 112px); opacity: 1; }
  58% { transform: translate(var(--xd), 190px); opacity: 1; }
  70% { transform: translate(var(--xd), 194px); opacity: 0; }
  100% { transform: translate(var(--xd), 194px); opacity: 0; }
}
@keyframes fl-pulse { 0%, 70%, 100% { fill: rgba(193,90,46,.09); } 82% { fill: rgba(193,90,46,.22); } }
.card-guarantee { border-top: 1px solid var(--rule); margin-top: 14px; padding-top: 20px; }
.card-guarantee .side-big { font-size: 24px; }
.card-guarantee .side-text { font-size: 17px; margin-top: 10px; }
.card-guarantee .side-fine { display: block; font-size: 15px; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) {
  .flow circle { animation: none; }
  .flow .p { opacity: 1; fill: #C15A2E; transform: translate(var(--x1), 250px); }
  .flow .d1, .flow .d2 { display: none; }
  .fl-end { animation: none; }
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-card { margin-left: 0; max-width: none; } }
