/* Tischlerei Lindholm: ruhig und hochwertig. Warmes Weiß, Schwarz, Holz aus Fotos und Video.
   Keine Akzentfarbe, die Bilder bringen die Wärme. */
body {
  --bg: #F6F4EF; --surface: #FFFFFF; --soft: #EDE9E1; --line: #DEDAD1;
  --text: #1A1A18; --muted: #67635B; --accent: #1A1A18; --accent-ink: #F6F4EF;
  --wood: #8A6A4E; --ok: #3F7D57; --radius: 6px;
  --head-weight: 500; --head-spacing: -.035em;
}
.wrap { max-width: 1160px; }
.section { padding-block: clamp(48px, 6vw, 84px); }
::selection { background: rgba(138, 106, 78, .25); }
.b-num { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); font-weight: 500; margin: 0 0 14px; }
.lead { color: var(--muted); text-wrap: pretty; }
.hl { color: var(--muted); }

.btn { border-radius: 999px; font-weight: 500; padding: 0 26px; min-height: 50px; }
.btn--ghost { background: transparent; border-color: #CFCAC0; }
.btn--ghost:hover { border-color: var(--text); }
.chip { background: var(--surface); }

/* Kopf */
.d-head { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 239, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.d-head .wrap { min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 34px; height: 34px; flex: none; }
.logo__name { display: block; font-size: 17px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; line-height: 1; }
.logo__sub { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }
.d-nav { align-items: center; }
.d-nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; color: var(--accent-ink); }

/* Start: Video über die ganze Breite */
.v-hero { position: relative; min-height: min(82vh, 780px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #2A2219; }
.v-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 14, 10, .42) 0%, rgba(18, 14, 10, .5) 45%, rgba(18, 14, 10, .85) 100%); }
.v-hero__content { position: relative; z-index: 1; padding-block: 100px clamp(44px, 6vw, 80px); }
.v-hero__kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 18px; }
.v-hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; max-width: 16ch; margin-bottom: 22px; text-wrap: balance; }
.v-hero__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 50ch; margin-bottom: 32px; text-wrap: pretty; }
.btn--light { background: #fff; color: #1A1A18; }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 640px) { .v-hero { min-height: 82vh; } }

/* Abschnittsköpfe */
.b-head { margin-bottom: clamp(22px, 3vw, 36px); }
.b-head h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; margin: 0; text-wrap: balance; }
.b-band { background: var(--soft); }
.pic { margin: 0; }
.pic img { width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* Arbeiten */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 860px) { .works { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.work { margin: 0; }
.work img { aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.work .pic { overflow: hidden; border-radius: var(--radius); }
@media (hover: hover) { .work:hover img { transform: scale(1.03); } }
.work figcaption { display: grid; gap: 2px; padding-top: 14px; }
.work figcaption b { font-size: 18px; font-weight: 500; }
.work figcaption .sub { font-size: 14px; color: var(--muted); }

/* Leistungen */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) 120px; gap: 6px 28px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows li b { font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.rows li span { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .rows li { grid-template-columns: minmax(0, 1fr); } }

/* Werkstatt */
.b-shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .b-shop { grid-template-columns: minmax(0, 1fr); } }
.b-shop__pics { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: end; }
.b-shop__pics img { aspect-ratio: 3 / 4; object-fit: cover; }
.b-shop__pics figure:first-child img { object-position: 35% center; }
.b-shop__pics figure:last-child img { aspect-ratio: 4 / 5; }
.spec { margin: 28px 0 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 500; }
.spec dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Ausprobieren */
.try__tool { border-radius: 10px; }
.try__tool h3 { font-size: 24px; font-weight: 500; margin-bottom: 18px; }
.try__tool .b-num { margin-bottom: 6px; font-size: 12px; }
/* Auswahl: zwei große Karten statt Reiter */
.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (max-width: 640px) { .choose { grid-template-columns: minmax(0, 1fr); } }
.choice { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.choice b { display: block; font-size: 18px; font-weight: 500; }
.choice > span:last-child > span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.choice__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; }
.choice__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--wood); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.choice[aria-selected="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice[aria-selected="true"] .choice__icon { background: var(--text); }
.choice[aria-selected="true"] .choice__icon svg { stroke: #fff; }
@media (hover: hover) { .choice:hover { border-color: #B9B3A8; } }
/* Schrittleiste mit Namen */
.progress { list-style: none; display: flex; gap: 6px; margin: 0 0 24px; padding: 0; counter-reset: s; }
.progress li { flex: 1; counter-increment: s; padding-top: 10px; border-top: 3px solid var(--line); font-size: 12.5px; color: var(--muted); }
.progress li::before { content: counter(s) " "; font-weight: 600; }
.progress li.is-done { border-top-color: var(--wood); color: var(--text); }
.progress li.is-now { border-top-color: var(--text); color: var(--text); font-weight: 600; }
@media (max-width: 480px) { .progress li { font-size: 0; } .progress li::before { font-size: 12px; } .progress li.is-now { font-size: 12px; } }
.label { font-size: 14px; font-weight: 500; margin: 6px 0 10px; }
.damage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
@media (max-width: 560px) { .damage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dmg { display: grid; gap: 10px; justify-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); text-align: left; font-size: 15px; line-height: 1.3; cursor: pointer; transition: border-color .2s, background-color .2s; }
.dmg svg { width: 26px; height: 26px; stroke: var(--wood); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dmg[aria-pressed="true"] { border-color: var(--text); background: #fff; box-shadow: inset 0 0 0 1px var(--text); }
@media (hover: hover) { .dmg:hover { border-color: #B9B3A8; } }
.photo { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed #CFCAC0; border-radius: 8px; margin: 6px 0 18px; font-size: 14px; color: var(--muted); cursor: pointer; }
.photo__thumb { width: 52px; height: 52px; border-radius: 6px; background: var(--soft); display: grid; place-items: center; font-size: 20px; color: var(--wood); flex: none; overflow: hidden; }
.photo__thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 18px; }
.slots .chip { border-radius: 8px; text-align: left; }
.slots .chip small { display: block; font-size: 12px; opacity: .75; }

.done { border-radius: 10px; background: var(--bg); }
.range-box { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.range-box b { color: var(--text); font-weight: 500; }
.log { border-radius: 10px; background: #1F1C18; }
.log__icon { background: #3F7D57; }

/* Angebot wie ein Blatt Papier */
.offer { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 3vw, 26px); font-size: 14px; box-shadow: 0 20px 40px -32px rgba(0, 0, 0, .35); }
.offer__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
@media (max-width: 560px) { .offer__head { flex-direction: column; } .offer__meta { text-align: left !important; } }
.offer__head .logo__name { font-size: 15px; }
.offer__meta { text-align: right; font-size: 12.5px; color: var(--muted); }
.offer__meta b { display: block; color: var(--text); font-size: 14px; font-weight: 500; }
.offer h4 { margin: 4px 0 10px; font-size: 19px; font-weight: 500; }
.offer__pos { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 9px 0; border-bottom: 1px solid #EEEAE2; }
.offer__pos span:nth-child(2) { font-variant-numeric: tabular-nums; }
.offer__tot { display: grid; gap: 4px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.offer__tot div { display: flex; justify-content: space-between; color: var(--muted); }
.offer__tot div:last-child { color: var(--text); font-size: 17px; font-weight: 600; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.offer__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 18px 0 14px; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--text); flex: none; }
.sign { position: relative; border: 1px dashed #CFCAC0; border-radius: 8px; background: #fff; margin-bottom: 8px; }
.sign canvas { display: block; width: 100%; height: 120px; touch-action: none; cursor: crosshair; border-radius: 8px; }
.sign__line { position: absolute; left: 18px; right: 18px; bottom: 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1; pointer-events: none; }
.sign__clear { position: absolute; top: 8px; right: 8px; border: 0; background: var(--soft); color: var(--muted); border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.small { font-size: 12.5px; color: var(--muted); margin: 8px 0 16px; }

/* Fuß */
.t-foot { padding-block: 64px 28px; font-size: 15px; color: #BDB6AA; background: #1F1C18; }
.t-foot .logo__name { color: #fff; }
.t-foot .logo__sub { color: #9C958A; }
.t-foot .logo img { filter: invert(1); }
.t-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .t-foot__grid { grid-template-columns: 1fr; } }
.t-foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 500; }
.t-foot p { line-height: 1.7; }
.t-foot__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.t-foot a { color: #fff; }

/* Mitteilung und E-Mail */
.toast .toast__icon { background: #1A1A18; color: #fff; border-radius: 8px; font-weight: 600; }
.mail { --soft: #F2EFE9; --accent: #1A1A18; --accent-ink: #fff; }
.mail__logo { display: flex; align-items: center; gap: 10px; }
.mail__logo img { width: 26px; height: 26px; }
.mail__logo .logo__name { font-size: 14px; color: #1A1A18; }

/* ---------- Nach Persona-Rückmeldung ---------- */
/* Handy: Knopf oben bleibt sichtbar, nur die Textlinks verschwinden */
@media (max-width: 720px) {
  .d-nav { display: flex; }
  .d-nav a:not(.btn) { display: none; }
  .d-nav .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
  .logo__sub { display: none; }
}
/* Anker und Mitteilungen nicht unter der festen Kopfzeile */
[id] { scroll-margin-top: 90px; }
.toast { top: 88px; }
/* Klarere Symbole und besser lesbares Protokoll */
.dmg svg { width: 30px; height: 30px; stroke-width: 2; }
.log__item { font-size: 14.5px; color: #F2EEE6; }
.log__time { font-size: 11px; color: #9F988C; }
.log__empty, .log__foot { color: #B4AEA3; font-size: 13.5px; }
.hint { font-size: 13px; color: var(--muted); margin: -6px 0 16px; }
/* Zeitsprung im Ablauf */
.timejump { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--wood); }
.timejump::before, .timejump::after { content: ""; flex: 1; border-top: 1px dashed #CFC6B8; }
/* Ansicht für den Meister */
.master { padding: clamp(18px, 3vw, 24px); border-radius: 10px; background: #F1ECE2; border: 1px solid var(--line); }
.master__list { display: grid; gap: 0; margin-top: 4px; font-size: 14.5px; }
.master__list div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.master__list span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.master__sum { font-weight: 600; border-bottom: 0 !important; }
.offer__to { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
/* Leiste am Handy, die zum Protokoll führt */
.log-pill { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 40; width: max-content; max-width: calc(100% - 32px); margin-inline: auto; padding: 11px 18px; border: 0; border-radius: 999px; background: #1F1C18; color: #fff; font-size: 14px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); cursor: pointer; animation: logIn .4s var(--ease) both; }

/* ---------- Video füllt den ganzen ersten Bildschirm ---------- */
/* Die Kopfzeile liegt durchsichtig über dem Video und wird beim Scrollen hell */
.v-hero { min-height: calc(100svh - var(--band, 38px)); margin-top: -73px; }
.v-hero__content { padding-top: 140px; }
.d-head { transition: background-color .35s, border-color .35s, box-shadow .35s; }
.d-head.is-over { background: transparent; border-bottom-color: rgba(255, 255, 255, .14); backdrop-filter: none; -webkit-backdrop-filter: none; }
.d-head.is-over .logo__name, .d-head.is-over .d-nav a:not(.btn) { color: #fff; }
.d-head.is-over .logo__sub { color: rgba(255, 255, 255, .7); }
.d-head.is-over .logo img { filter: invert(1); }
.d-head.is-over .d-nav .btn { background: #fff; color: #1A1A18; }
.v-hero__shade { background: linear-gradient(180deg, rgba(18, 14, 10, .62) 0%, rgba(18, 14, 10, .45) 30%, rgba(18, 14, 10, .5) 60%, rgba(18, 14, 10, .86) 100%); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { margin: 0; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.person figcaption { display: grid; gap: 2px; padding-top: 12px; }
.person b { font-size: 17px; font-weight: 500; }
.person span { font-size: 14px; color: var(--wood); }
.person small { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* ---------- Leistungen als Karten ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: minmax(0, 1fr); } }
.service { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 28px); border-radius: 12px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) { .service:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(40, 30, 20, .35); } }
.service__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin-bottom: 22px; }
.service__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--wood); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.service__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; font-size: 14px; }
.service__foot span { color: var(--muted); }
.service__foot a { color: var(--text); font-weight: 500; text-decoration: none; }
.service__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.service p + .service__foot { border-top: 1px solid var(--line); margin-top: auto; }
.service p { margin-bottom: 22px; }
.service--dark { background: #1F1C18; border-color: #1F1C18; color: #F4F1EA; }
.service--dark p, .service--dark .service__foot span { color: #B9B2A6; }
.service--dark .service__icon { background: rgba(255, 255, 255, .08); }
.service--dark .service__icon svg { stroke: #E2C9A6; }
.service--dark .service__foot { border-top-color: rgba(255, 255, 255, .12); }
.service--dark .service__foot a { color: #fff; }

/* ---------- So entsteht Ihr Möbel ---------- */
.flow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.flow__text h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; margin-bottom: 18px; }
.flow__text .lead + .lead { margin-top: 14px; }
.flow__steps { list-style: none; margin: 0; padding: 0; counter-reset: f; border-top: 1px solid var(--line); }
.flow__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); counter-increment: f; }
.flow__steps li::before { content: "0" counter(f); grid-row: span 2; font-size: 14px; color: var(--wood); padding-top: 4px; }
.flow__steps b { font-size: 19px; font-weight: 500; }
.flow__steps span { color: var(--muted); font-size: 15.5px; }

/* ---------- Häufige Fragen ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--wood); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* ---------- Drei Auswahlkarten, Beratung ---------- */
.choose { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .choose { grid-template-columns: minmax(0, 1fr); } }
.callbox { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--bg); font-size: 14.5px; color: var(--muted); }
.callbox a { color: var(--text); font-weight: 600; text-decoration: none; }
[data-talk-form] .btn { margin-top: 6px; }

/* ---------- Animationen ---------- */
.flow__steps li { transition-delay: var(--a-delay, 0s); }

/* Video im Start: nie Bedienelemente oder Play-Knopf zeigen (Safari) */
.v-hero__video { pointer-events: none; }
.v-hero__video::-webkit-media-controls, .v-hero__video::-webkit-media-controls-start-playback-button, .v-hero__video::-webkit-media-controls-overlay-play-button, .v-hero__video::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; opacity: 0; }

/* Standbild als Hintergrund, Video blendet erst beim Abspielen ein (kein Play-Knopf in Safari) */
.v-hero { background: #1D2E29 url("img/video-poster.jpg") center / cover no-repeat; }
.v-hero__video { opacity: 0; transition: opacity .8s ease; }
.v-hero__video.is-playing { opacity: 1; }

/* Handy: Links in den Leistungskarten größer antippbar */
.service__foot a { padding: 10px 0; margin: -10px 0; }
