/* Dein Möbelschreiner – Inhaltsbausteine */
.velkr-kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.velkr-kopfzeile h2 { margin: 0; max-width: 20ch; }

/* Kategorien */
.velkr-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 960px) { .velkr-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .velkr-raster { grid-template-columns: 1fr; } }
.velkr-kachel { display: flex; flex-direction: column; text-decoration: none; }
.velkr-kachel figure { margin: 0 0 16px; overflow: hidden; border-radius: var(--velkr-r2); aspect-ratio: 4 / 3; background: var(--velkr-bg-2); }
.velkr-kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.velkr-kachel:hover img { transform: scale(1.03); }
.velkr-kachel h3 { margin-bottom: 6px; }
.velkr-kachel p { color: var(--velkr-stein); margin-bottom: 10px; }
.velkr-kachel .velkr-pfeil { margin-top: auto; align-self: flex-start; }

/* Schritte */
.velkr-schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: velkr-s; }
.velkr-schritte li { counter-increment: velkr-s; border-top: 1px solid currentColor; padding-top: 22px; margin: 0; }
.velkr-schritte li::before { content: "0" counter(velkr-s); display: block; font: 500 2.6rem/1 var(--velkr-serif); color: var(--velkr-akzent); margin-bottom: 14px; }
.velkr-abschnitt--dunkel .velkr-schritte li::before { color: #d9a46a; }
.velkr-schritte p { color: inherit; opacity: .82; }
@media (max-width: 760px) { .velkr-schritte { grid-template-columns: 1fr; } }

/* Kollektion */
.velkr-galerie { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.velkr-stueck { grid-column: span 2; margin: 0; }
.velkr-stueck--gross { grid-column: span 4; grid-row: span 2; }
.velkr-stueck img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--velkr-r2); }
.velkr-stueck--gross img { aspect-ratio: auto; height: calc(100% - 64px); min-height: 320px; }
.velkr-stueck figcaption { padding-top: 12px; }
.velkr-stueck figcaption b { font: 500 1.15rem/1.3 var(--velkr-serif); display: block; }
.velkr-stueck figcaption span { color: var(--velkr-stein); font-size: .95rem; }
.velkr-abschnitt--dunkel .velkr-stueck figcaption span { color: #bfb3a4; }
@media (max-width: 860px) { .velkr-galerie { grid-template-columns: 1fr 1fr; } .velkr-stueck, .velkr-stueck--gross { grid-column: span 1; grid-row: auto; } .velkr-stueck--gross { grid-column: span 2; } .velkr-stueck--gross img { height: auto; aspect-ratio: 16 / 10; min-height: 0; } }
@media (max-width: 520px) { .velkr-galerie { grid-template-columns: 1fr; } .velkr-stueck--gross { grid-column: span 1; } }

/* Zweispalter Text + Bild */
.velkr-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.velkr-zwei img { width: 100%; border-radius: var(--velkr-r2); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .velkr-zwei { grid-template-columns: 1fr; } }

/* Materialien */
.velkr-muster { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.velkr-muster li { margin: 0; display: flex; align-items: center; gap: 12px; }
.velkr-muster i { width: 36px; height: 36px; border-radius: 50%; flex: none; border: 1px solid rgba(0, 0, 0, .12); }

/* Versprechen */
.velkr-zahlen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.velkr-zahlen li { margin: 0; border-left: 1px solid var(--velkr-linie); padding-left: 18px; }
.velkr-zahlen b { display: block; font: 500 1.9rem/1.1 var(--velkr-serif); margin-bottom: 6px; }
.velkr-zahlen span { color: var(--velkr-stein); font-size: .95rem; }
@media (max-width: 860px) { .velkr-zahlen { grid-template-columns: 1fr 1fr; } }

/* Fließtext auf Unterseiten */
.velkr-text { max-width: 760px; }
.velkr-text h2 { margin-top: 1.6em; }
.velkr-text h3 { margin-top: 1.4em; }
.velkr-text table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .97rem; display: block; overflow-x: auto; }
.velkr-text th, .velkr-text td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--velkr-linie); vertical-align: top; }
.velkr-text th { font-weight: 600; background: var(--velkr-bg-2); }
.velkr-hinweis { background: #eef1ea; border: 1px solid #d6ddcf; padding: 16px 20px; border-radius: var(--velkr-r2); margin: 1.4em 0; }

/* FAQ */
.velkr-fragen details { border-bottom: 1px solid var(--velkr-linie); }
.velkr-fragen summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 1.15rem/1.4 var(--velkr-serif); }
.velkr-fragen summary::-webkit-details-marker { display: none; }
.velkr-fragen summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 1.6rem/1 var(--velkr-sans); color: var(--velkr-akzent); transition: transform var(--velkr-dauer); }
.velkr-fragen details[open] summary::after { transform: rotate(45deg); }
.velkr-fragen details > div { padding: 0 0 20px; color: var(--velkr-stein); max-width: 70ch; }

/* Abschluss */
.velkr-schluss { text-align: center; }
.velkr-schluss h2 { margin-inline: auto; max-width: 18ch; }
.velkr-schluss .velkr-lead { margin-inline: auto; }
.velkr-schluss .velkr-knoepfe { justify-content: center; }

/* Vorteile-Liste */
.velkr-vorteile { list-style: none; padding: 0; margin: 20px 0 24px; }
.velkr-vorteile li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.velkr-vorteile svg { width: 22px; height: 22px; flex: none; color: var(--velkr-salbei); margin-top: 3px; }

/* KI-Bilder: Hülle mit Etikett */
.velkr-ki-bild { display: block; position: relative; height: 100%; }
.velkr-ki-bild > img { width: 100%; }
.velkr-kachel .velkr-ki-bild { height: 100%; }
.velkr-ki-mini { position: absolute; left: 14px; bottom: 14px; font: 700 .6rem/1 var(--velkr-sans); font-style: normal; color: #fff; background: rgba(28, 25, 21, .75); padding: 3px 5px; border-radius: 4px; }
.velkr-ki-hinweis { font-size: .9rem; color: var(--velkr-stein); border: 1px solid var(--velkr-linie); padding: 12px 16px; background: var(--velkr-karte); border-radius: var(--velkr-r2); margin: 0 0 28px; max-width: 70ch; }
.velkr-abschnitt--dunkel .velkr-ki-hinweis { background: #2f2923; color: #d8cdbf; }
@media (max-width: 860px) { .velkr-seitenkopf > .velkr-ki-bild { order: -1; } }
.velkr-mega-werbung > .velkr-ki-bild { margin-inline: 0; height: auto; }

/* Klapp-Animation Stuhl → Tisch */
.velkr-klapp { margin: 0; background: var(--velkr-karte); border: 1px solid var(--velkr-linie); border-radius: var(--velkr-r2); padding: 24px; text-align: center; }
.velkr-klapp svg { width: 100%; max-width: 440px; height: auto; margin: 0 auto; display: block; }
.velkr-klapp-lehne { transform-box: view-box; transform-origin: 214px 106px; }
.velkr-klapp figcaption { position: relative; height: 1.6em; font: 500 1.3rem/1.2 var(--velkr-serif); margin-top: 10px; }
.velkr-klapp figcaption span { position: absolute; inset: 0; }
.velkr-klapp-b { opacity: 0; }
/* Läuft nur mit Klasse velkr-spielt; !important schlägt die allgemeine „Bewegung reduzieren“-Regel, weil der Besucher die Animation selbst startet */
.velkr-klapp.velkr-spielt .velkr-klapp-lehne { animation: velkr-klappen 5s ease-in-out infinite !important; }
.velkr-klapp.velkr-spielt .velkr-klapp-pfeil { animation: velkr-pfeil 5s ease-in-out infinite !important; }
.velkr-klapp.velkr-spielt .velkr-klapp-a { animation: velkr-wort-a 5s ease-in-out infinite !important; }
.velkr-klapp.velkr-spielt .velkr-klapp-b { animation: velkr-wort-b 5s ease-in-out infinite !important; }

/* Leistungen */
.velkr-leistungen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.velkr-leistungen li { margin: 0; background: var(--velkr-karte); border: 1px solid var(--velkr-linie); border-radius: var(--velkr-r2); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.velkr-leistungen svg { width: 34px; height: 34px; color: var(--velkr-akzent); }
.velkr-leistungen b { font: 500 1.12rem/1.3 var(--velkr-serif); }
.velkr-leistungen span { color: var(--velkr-stein); font-size: .95rem; }
.velkr-leistungen li:nth-child(-n+3) { background: var(--velkr-dunkel); border-color: var(--velkr-dunkel); color: #f3ece2; }
.velkr-leistungen li:nth-child(-n+3) span { color: #cfc4b6; }
.velkr-leistungen li:nth-child(-n+3) svg { color: #e8b47a; }
@media (max-width: 960px) { .velkr-leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .velkr-leistungen { grid-template-columns: 1fr; } }
/* Galerie mit KI-Hülle: Bildunterschrift bleibt frei */
.velkr-stueck .velkr-ki-bild { height: auto; }
.velkr-stueck--gross { display: flex; flex-direction: column; }
.velkr-stueck--gross .velkr-ki-bild { flex: 1; min-height: 320px; }
.velkr-stueck--gross .velkr-ki-bild > img { height: 100%; min-height: 320px; }
@media (max-width: 860px) { .velkr-stueck--gross .velkr-ki-bild, .velkr-stueck--gross .velkr-ki-bild > img { min-height: 0; height: auto; } }

/* KI-Etikett dezent, aber gut lesbar (Kennzeichnungspflicht am Bild) */
.velkr-ki-etikett { top: auto; right: auto; left: 10px; bottom: 10px; font: 600 .66rem/1 var(--velkr-sans); letter-spacing: .02em; color: var(--velkr-tinte); background: rgba(255, 253, 249, .86); padding: 5px 8px; border-radius: 4px; backdrop-filter: blur(4px); }
.velkr-held > .velkr-ki-etikett { left: auto; right: 14px; bottom: auto; top: 14px; }

/* KI-Etikett: so klein wie lesbar möglich, ohne Stimmungsbruch */
.velkr-ki-etikett { font: 600 .6rem/1 var(--velkr-sans); letter-spacing: .03em; padding: 3px 6px; color: #3a3129; background: rgba(255, 253, 249, .72); backdrop-filter: none; border-radius: 3px; left: 8px; bottom: 8px; }
.velkr-held > .velkr-ki-etikett { top: auto; bottom: 12px; right: 12px; }

/* Hinweis-Kasten im Markenstil statt Grün */
.velkr-hinweis { background: #f6efe6; border: 1px solid var(--velkr-linie); color: var(--velkr-stein); font-size: .95rem; padding: 14px 18px 14px 46px; position: relative; border-radius: var(--velkr-r2); }
.velkr-hinweis::before { content: "i"; position: absolute; left: 16px; top: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--velkr-akzent); color: var(--velkr-akzent-dunkel); font: 600 .75rem/18px var(--velkr-serif); text-align: center; }

/* Kontaktformular */
.velkr-kontakt { margin-top: 28px; background: var(--velkr-karte); border: 1px solid var(--velkr-linie); border-radius: var(--velkr-r2); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.velkr-kontakt .velkr-zwei-felder { margin: 0; }
.velkr-kontakt .velkr-knopf { justify-self: start; }
.velkr-kontakt-klein { font-size: .85rem; color: var(--velkr-stein); margin: 0; }
.velkr-schritte--hell { margin: 8px 0 28px; }
.velkr-schritte--hell li { border-top-color: var(--velkr-linie); }
.velkr-text .velkr-schritte { padding: 0; }
@keyframes velkr-klappen { 0%, 25% { transform: rotate(0deg); } 45%, 75% { transform: rotate(-90deg); } 95%, 100% { transform: rotate(0deg); } }
@keyframes velkr-pfeil { 0%, 22% { opacity: 1; } 30%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes velkr-wort-a { 0%, 35% { opacity: 1; } 42%, 80% { opacity: 0; } 88%, 100% { opacity: 1; } }
@keyframes velkr-wort-b { 0%, 35% { opacity: 0; } 42%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* So arbeiten wir: Schritt-Leiste und Zeitstrahl */
.velkr-leiste-schritte { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(var(--velkr-n), minmax(0, 1fr)); position: relative; }
.velkr-leiste-schritte::before { content: ""; position: absolute; left: calc(50% / var(--velkr-n)); right: calc(50% / var(--velkr-n)); top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--velkr-akzent) 0 10px, transparent 10px 16px); }
.velkr-leiste-schritte li { margin: 0; position: relative; }
.velkr-leiste-schritte a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; padding: 0 4px; }
.velkr-punkt { width: 56px; height: 56px; border-radius: 50%; background: var(--velkr-karte); border: 2px solid var(--velkr-akzent); display: grid; place-items: center; color: var(--velkr-akzent-dunkel); position: relative; z-index: 1; transition: background var(--velkr-dauer), color var(--velkr-dauer), transform var(--velkr-dauer); flex: none; }
.velkr-punkt svg { width: 26px; height: 26px; }
.velkr-leiste-schritte a:hover .velkr-punkt { background: var(--velkr-akzent); color: #fff; transform: translateY(-3px); }
.velkr-leiste-schritte b { font: 500 .8rem/1 var(--velkr-sans); letter-spacing: .12em; color: var(--velkr-akzent-dunkel); margin-top: 4px; }
.velkr-leiste-schritte span:last-child { font-weight: 600; font-size: .95rem; }
.velkr-zeitstrahl { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.velkr-zeitstrahl::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--velkr-akzent), var(--velkr-linie)); }
.velkr-zeitstrahl li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; margin: 0 0 40px; scroll-margin-top: 110px; }
.velkr-zeitstrahl li:last-child { margin-bottom: 0; }
.velkr-zeitstrahl h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: .4em; }
.velkr-zeitstrahl .velkr-dach { margin-bottom: 6px; }
@media (max-width: 760px) {
  .velkr-leiste-schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .velkr-leiste-schritte::before { display: none; }
  .velkr-punkt { width: 48px; height: 48px; }
  .velkr-zeitstrahl li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .velkr-zeitstrahl::before { left: 23px; }
}
