/* RaumDesign Rudek, Welt „Marmorierte Seide“: Seiten-Styles. Werte aus tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }

body {
  margin: 0; overflow-x: clip;
  background: var(--c-ground); color: var(--c-ink);
  font: 400 var(--fs-body)/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--c-signal); accent-color: var(--c-signal);
  scrollbar-color: var(--c-slate) var(--c-ground-2);
}
::selection { background: var(--c-signal); color: var(--c-on-signal); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--c-ink); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
.on-ink :focus-visible, .site-footer :focus-visible, .callbar :focus-visible, .menu :focus-visible { outline-color: var(--c-on-ink); }

h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--c-ink); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-2); }
.muted { color: var(--c-muted); }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--ground-2 { background: var(--c-ground-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--c-ink); color: var(--c-on-ink); padding: 12px 18px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.skip:hover { color: var(--c-on-ink); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons und Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 28px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 var(--fs-btn)/1.1 var(--f-text); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-action); color: var(--c-on-action); }
.btn--primary:hover { background: var(--c-action-hover); color: var(--c-on-action); text-decoration: none; }
.cta .btn--primary, .menu .btn--primary { background: var(--c-ground); color: var(--c-ink); }
.cta .btn--primary:hover, .menu .btn--primary:hover { background: #fff; color: var(--c-ink); }
.btn--ghost { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-on-ink); text-decoration: none; }
.btn[disabled] { background: var(--c-ground-3); color: var(--c-muted); cursor: not-allowed; }
.tlink { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); font: 600 var(--fs-btn)/1.2 var(--f-text); color: var(--c-ink); text-decoration: none; }
.tlink .icon { transition: transform var(--t-fast) var(--ease); }
.tlink span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.tlink:hover span { text-decoration-thickness: 2px; }
.tlink:hover .icon { transform: translateX(4px); }
.tlink:active { opacity: .75; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-ground); transition: box-shadow var(--t-mid) var(--ease); view-transition-name: site-header; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--c-line); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { font: 600 clamp(1.3rem, 1.1rem + .8vw, 1.65rem)/1 var(--f-display); letter-spacing: -.03em; text-decoration: none; color: var(--c-ink); margin-right: auto; white-space: nowrap; }
.logo span { font-weight: 400; color: var(--c-slate); }
.logo:hover { text-decoration: none; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(20px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: var(--tap); font: 500 var(--fs-small)/1 var(--f-text); text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--c-signal); transform: scaleX(0); transform-origin: left; transition: transform var(--t-mid) var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-tel { display: none; align-items: center; gap: 8px; min-height: var(--tap); font: 600 var(--fs-small)/1 var(--f-text); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.head-tel:hover { text-decoration: underline; }
.menu-btn { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; background: none; border: 1px solid var(--c-ink); border-radius: var(--radius); cursor: pointer; color: var(--c-ink); }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 28px; }
.menu-btn.is-close span { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .head-tel { display: inline-flex; }
  .menu-btn { display: none; }
}
.menu { position: fixed; inset: 0; z-index: 60; background: var(--c-ink); color: var(--c-on-ink); display: flex; flex-direction: column; padding: 0 var(--gutter) 32px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu .logo, .menu .logo span { color: var(--c-on-ink); }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu .menu-btn { color: var(--c-on-ink); border-color: var(--c-on-ink-2); }
.menu ul { list-style: none; margin: 16px 0 32px; padding: 0; }
.menu li a { display: block; padding: 14px 0; border-bottom: 1px solid #2B3340; color: var(--c-on-ink); text-decoration: none; font: 600 clamp(1.6rem, 1.2rem + 2vw, 2.25rem)/1.15 var(--f-display); letter-spacing: -.02em; }
.menu .btn { width: 100%; }
.menu p { margin-top: 16px; color: var(--c-on-ink-2); font-size: var(--fs-small); }

/* Hero: Text links, rechts ein Musterblatt mit echten Oberflächen und Farbmustern */
.hero { background: var(--c-ground); }
.hero-in { display: grid; gap: 40px; padding-block: 40px 56px; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.035em; max-width: 12ch; }
.hero .lead { margin-top: 24px; max-width: 34ch; color: var(--c-ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-tel { font: 600 var(--fs-lead)/1 var(--f-text); font-variant-numeric: tabular-nums; color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.hero-tel:hover { text-decoration: underline; }
@media (max-width: 1023px) { .hero-actions .btn { width: 100%; } }
.sheet { position: relative; margin: 0; padding: clamp(16px, 2vw, 28px); background: #FBFBFA; border-radius: var(--radius); box-shadow: var(--sh-fold); transform: rotate(-1deg); }
.sheet-pin { position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8EA0B3, var(--c-slate) 55%, #2E3A48); box-shadow: 0 2px 4px rgba(20, 24, 31, .35); }
.views, .swatches { display: grid; list-style: none; margin: 0; padding: 0; }
.views { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.views li { display: grid; gap: 8px; font: 600 var(--fs-caption)/1.2 var(--f-text); color: var(--c-ink-2); }
.views picture, .views img { display: block; width: 100%; }
.views img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.swatches li { display: grid; justify-items: center; gap: 8px; font: 600 var(--fs-caption)/1.2 var(--f-text); color: var(--c-ink-2); text-align: center; }
.chip { display: block; width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: 6px; background-size: 340%; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(20, 24, 31, .12); }
.c1 { background-image: url("../img/wohnzimmer-marmorlasur-blau-640.webp"); background-position: 30% 28%; }
.c2 { background-image: url("../img/wand-rost-kupfer-640.webp"); background-position: 50% 40%; }
.c3 { background-image: url("../img/treppe-marmor-weiss-640.webp"); background-position: 78% 18%; }
.c4 { background-image: url("../img/marmor-detail-adern-640.webp"); background-position: 88% 22%; }
.c5 { background-image: url("../img/wand-orange-lustro-640.webp"); background-position: 50% 50%; }
.sheet figcaption { margin-top: 18px; text-align: center; font: 500 var(--fs-small)/1.3 var(--f-text); color: var(--c-muted); }
@media (min-width: 640px) { .views { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: center; min-height: min(calc(100svh - var(--header-h)), 680px); padding-block: 48px; }
}

/* Streifen echter Arbeiten */
.works-strip { padding-block: 40px var(--section); }
.works-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.works-head h2 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.strip li { overflow: hidden; border-radius: var(--radius); background: var(--c-ground-3); }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 600ms var(--ease); }
.strip li:hover img { transform: scale(1.03); }
@media (min-width: 640px) { .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } .strip li:nth-child(n+6) { display: none; } }
.strip li:nth-child(n+5) { display: none; }
@media (min-width: 640px) { .strip li:nth-child(5) { display: block; } }

/* Vier Falten: Leistungen */
.folds-head { display: grid; gap: 24px; margin-bottom: 40px; }
.folds-head p { color: var(--c-ink-2); }
.folds-banner { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--sh-fold); }
.folds-banner img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 20%; }
.folds-grid { display: grid; gap: 0; margin-top: 8px; }
.fold { padding: 28px 0; border-top: 1px solid var(--c-line); }
.fold h3 { margin-bottom: 8px; }
.fold p { color: var(--c-ink-2); font-size: 1.0625rem; }
.folds-more { margin-top: 40px; display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.folds-more ul { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 40px; color: var(--c-ink-2); }
.folds-more li { padding: 6px 0; break-inside: avoid; }
@media (min-width: 640px) { .folds-more ul { columns: 2; } }
@media (min-width: 900px) {
  .folds-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; column-gap: 80px; }
  .folds-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
  .fold { padding: 28px 0 0; }
}

/* Material */
.material { display: grid; gap: 40px; align-items: center; }
.material-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.material-text p { color: var(--c-ink-2); }
.material-text h2 { margin-bottom: 24px; }
.material-text .lead { margin-bottom: 20px; }
@media (min-width: 900px) { .material { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; } }

/* Ablauf */
.process { display: grid; gap: 0; list-style: none; margin: 40px 0 0; padding: 0; counter-reset: pr; }
.process li { counter-increment: pr; display: grid; gap: 6px; padding: 28px 0; border-top: 1px solid var(--c-line); }
.process li::before { content: counter(pr, decimal-leading-zero); font: 600 var(--fs-h2)/1 var(--f-display); letter-spacing: -.03em; color: var(--c-slate); }
.process h3 { margin-top: 12px; }
.process p { color: var(--c-ink-2); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; } .process li { padding-top: 28px; } }

/* Arbeiten: Auswahl */
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.pick figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--c-ground-3); }
.pick picture { display: block; height: 100%; }
.pick img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.pick .p-wide { grid-column: span 2; } .pick .p-wide img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .pick { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 16px; }
  .pick figure { grid-column: span 3; grid-row: span 3; } .pick img { aspect-ratio: auto; }
  .pick .p-wide { grid-column: span 6; grid-row: span 3; }
  .pick .p-tall { grid-column: span 3; grid-row: span 4; }
}

/* CTA */
.cta { background: var(--c-ink); color: var(--c-on-ink); padding-block: clamp(64px, 6vw, 112px); }
.cta-in { display: grid; gap: 32px; align-items: end; }
.cta h2 { color: var(--c-on-ink); max-width: 18ch; }
.cta p { color: var(--c-on-ink-2); margin-top: 16px; }
.cta .tlink { color: var(--c-on-ink); }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-tel { font: 600 clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem)/1 var(--f-display); letter-spacing: -.02em; color: var(--c-on-ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta-tel:hover { text-decoration: underline; }
@media (min-width: 900px) { .cta-in { grid-template-columns: minmax(0, 1fr) auto; gap: 80px; } }

/* Fuß */
.site-footer { background: var(--c-ink); color: var(--c-on-ink); padding: 72px 0 32px; border-top: 1px solid #2B3340; }
.site-footer a { color: var(--c-on-ink); text-decoration-color: var(--c-on-ink-2); }
.site-footer a:hover { text-decoration-color: var(--c-signal); }
.foot-grid { display: grid; gap: 40px; }
.foot-grid h2 { font: 600 var(--fs-caption)/1.3 var(--f-text); color: var(--c-on-ink-2); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid ul a { display: inline-flex; align-items: center; min-height: 40px; }
.foot-grid p { font-size: var(--fs-small); line-height: 1.6; }
.foot-name { font: 600 1.75rem/1 var(--f-display); letter-spacing: -.03em; margin-bottom: 16px; }
.foot-name span { font-weight: 400; color: var(--c-on-ink-2); }
.foot-brand p { color: var(--c-on-ink-2); max-width: 30ch; }
.foot-tel { display: inline-block; margin-top: 16px; font: 600 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2B3340; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: var(--fs-caption); color: var(--c-on-ink-2); }
.foot-bottom p { max-width: none; margin: 0; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 4fr 3fr 2.5fr 2.5fr; gap: 48px; } }

/* Anrufleiste (Handy) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) 20px; background: var(--c-ink); color: var(--c-on-ink); transform: translateY(110%); transition: transform 220ms var(--ease); }
.callbar.is-visible { transform: none; }
.callbar small { display: block; font-size: 14px; color: var(--c-on-ink-2); line-height: 1.3; }
.callbar strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.call-mini { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; background: var(--c-ground); color: var(--c-ink); border-radius: var(--radius); font: 600 1rem/1 var(--f-text); text-decoration: none; white-space: nowrap; }
.call-mini:hover { background: #fff; color: var(--c-ink); text-decoration: none; }
@media (max-width: 1023px) { .site-footer { padding-bottom: calc(32px + 80px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .callbar { display: none; } }

/* Unterseiten */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 64px); }
.page-hero .wrap { position: relative; }
.hero-photo { aspect-ratio: 4 / 3; max-height: 220px; margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .hero-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 36%; height: fit-content; aspect-ratio: 4 / 3; margin: auto 0; } .page-hero .wrap > :not(.hero-photo) { max-width: 56%; } }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 24px; max-width: 46ch; }
.bleed { margin: 0 auto; max-width: min(960px, calc(100% - 2 * var(--gutter))); }
.bleed img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 767px) { .bleed img { aspect-ratio: 4 / 3; } }

.svc-list { list-style: none; margin: 0; padding: 0; counter-reset: sv; border-top: 1px solid var(--c-line); }
.svc-list li { counter-increment: sv; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px; padding: 22px 0; border-bottom: 1px solid var(--c-line); font: 600 var(--fs-h3)/1.25 var(--f-display); letter-spacing: -.02em; }
.svc-list li::before { content: counter(sv, decimal-leading-zero); font: 500 var(--fs-small)/1.9 var(--f-text); color: var(--c-slate); letter-spacing: 0; }
.cols-2 { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .cols-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; } .cols-2--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 32px); } }

.about-grid { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.about-grid > div { padding: 28px 0; border-bottom: 1px solid var(--c-line); display: grid; gap: 8px; }
.about-grid p { color: var(--c-ink-2); }
@media (min-width: 900px) { .about-grid > div { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: baseline; } }

.g-grid { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 16px; }
.g-item { break-inside: avoid; margin: 0 0 16px; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: var(--c-ground-3); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.g-open img { width: 100%; height: auto; transition: transform 600ms var(--ease); }
.g-open:hover img { transform: scale(1.02); }
@media (min-width: 640px) { .g-grid { columns: 2; } }
@media (min-width: 1024px) { .g-grid { columns: 3; column-gap: 20px; } .g-item { margin-bottom: 20px; } }
dialog.lightbox { width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; background: transparent; color: var(--c-on-ink); overflow: visible; }
dialog.lightbox::backdrop { background: rgba(20, 24, 31, .88); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox p { margin: 12px 0 0; color: var(--c-on-ink-2); font-size: var(--fs-small); max-width: none; }
.lightbox .lb-close { position: absolute; right: 0; top: -56px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--c-ground); color: var(--c-ink); border: 0; border-radius: var(--radius); cursor: pointer; }

.contact { display: grid; gap: 48px; align-items: start; }
.contact-info dl { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; }
.contact-info dt, .contact-info dd { padding: 14px 0; border-top: 1px solid var(--c-line); margin: 0; }
.contact-info dt { font-weight: 600; padding-right: 32px; }
.contact-info dd { color: var(--c-ink-2); }
.tel-big { display: inline-flex; margin: 24px 0 8px; font: 600 clamp(2rem, 1.4rem + 2.4vw, 3rem)/1 var(--f-display); letter-spacing: -.03em; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tel-big:hover { text-decoration: underline; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; } }
.form { background: var(--c-ground-2); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 22px; }
.form h2 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: var(--fs-small); }
.field .opt { font-weight: 400; color: var(--c-muted); }
.field input, .field textarea { width: 100%; min-height: 56px; padding: 15px 16px; font: 400 1.125rem/1.4 var(--f-text); color: var(--c-ink); background: var(--c-ground); border: 1px solid var(--c-slate); border-radius: var(--radius); transition: border-color var(--t-fast) var(--ease); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--c-ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field .err { display: flex; align-items: center; gap: 8px; min-height: 1.4em; font-size: var(--fs-small); color: var(--c-error); visibility: hidden; }
.field.has-error .err { visibility: visible; }
.field .count { justify-self: end; font-size: var(--fs-caption); color: var(--c-muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; color: var(--c-ink-2); }
.check input { width: 24px; height: 24px; margin: 0; flex: none; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--c-ground); color: var(--c-success); border: 1px solid var(--c-success); max-width: none; font-size: var(--fs-small); }
.form-msg[hidden] { display: none; }

.prose > * { max-width: 760px; }
.prose h2 { font-size: var(--fs-h3); margin: 48px 0 12px; }
.prose p, .prose li { color: var(--c-ink-2); }
.notfound { min-height: 60svh; display: grid; align-content: center; padding-block: 96px; }
.notfound h1 { max-width: 14ch; }
.notfound .lead { margin: 24px 0 36px; max-width: 40ch; }
.notfound ul { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* Bewegung: ein Einzug beim Laden, Rückmeldung, Seitenwechsel */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-text > * { animation: rise .8s var(--ease) both; }
  .js .hero-text > :nth-child(2) { animation-delay: .08s; } .js .hero-text > :nth-child(3) { animation-delay: .16s; } .js .hero-text > :nth-child(4) { animation-delay: .24s; }
  .field.has-error .err { animation: msg-in 200ms var(--ease); }
  .form-msg:not([hidden]) { animation: msg-in 260ms var(--ease); }
  .menu:not([hidden]) { animation: fade 240ms var(--ease); }
}
::view-transition-group(root) { animation-duration: 260ms; animation-timing-function: var(--ease); }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .strip img, .g-open img, .tlink .icon, .btn, .callbar, .nav a::after, .fold, .pick figure img { transition: none; }
}
@media print { .site-header, .callbar, .menu, .hero-media, .form { display: none !important; } .cta, .site-footer { background: #fff; color: #000; } }

.pt-0 { padding-top: 0; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; } .h-max20 { max-width: 20ch; }

/* Bewegung 2: Hero-Foto setzt sich, Abschnitte erscheinen beim Scrollen, Hände folgen dem Zeiger */
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes veil { from { opacity: 0; } to { opacity: 1; } }
@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-text > :nth-child(1) { animation-delay: .15s; }
  .js .hero-text > :nth-child(2) { animation-delay: .32s; }
  .js .hero-text > :nth-child(3) { animation-delay: .46s; }
  .js .hero-text > :nth-child(4) { animation-delay: .58s; }
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
  .js .rv-img { opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .rv-img.is-in { opacity: 1; transform: none; }
  .fold { transition: transform var(--t-mid) var(--ease); }
  .fold:hover { transform: translateY(-4px); }
  .js .rv-line::before { transform: scaleX(0); transform-origin: left; }
  .js .rv-line.is-in::before { animation: line-in .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
  .btn--primary:hover { transform: translateY(-2px); }
  .tlink:hover .icon { transform: translateX(4px); }
  .pick figure img, .material-media img, .folds-banner img { transition: transform 900ms var(--ease); }
  .pick figure:hover img, .material-media:hover img, .folds-banner:hover img { transform: scale(1.04); }
}

.prose-block { max-width: 62ch; } .prose-block p { margin-top: 16px; color: var(--c-ink-2); } .prose-block .lead { margin-top: 0; color: var(--c-ink); }

/* Musterblatt: fällt ein, Felder folgen nacheinander */
@keyframes sheet-in { from { opacity: 0; transform: translateY(26px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1deg); } }
@media (prefers-reduced-motion: no-preference) {
  .js .sheet { animation: sheet-in 1.1s var(--ease) .25s both; }
  .js .views li, .js .swatches li, .js .sheet figcaption { animation: rise .7s var(--ease) both; }
  .js .views li:nth-child(1) { animation-delay: .6s; } .js .views li:nth-child(2) { animation-delay: .7s; } .js .views li:nth-child(3) { animation-delay: .8s; } .js .views li:nth-child(4) { animation-delay: .9s; }
  .js .swatches li:nth-child(1) { animation-delay: 1.0s; } .js .swatches li:nth-child(2) { animation-delay: 1.07s; } .js .swatches li:nth-child(3) { animation-delay: 1.14s; } .js .swatches li:nth-child(4) { animation-delay: 1.21s; } .js .swatches li:nth-child(5) { animation-delay: 1.28s; }
  .js .sheet figcaption { animation-delay: 1.4s; }
  .sheet { transition: transform .5s var(--ease); }
  .sheet:hover { transform: rotate(0deg) translateY(-4px); }
  .views img { transition: transform .6s var(--ease); }
  .views li:hover img { transform: scale(1.03); }
  .views li { overflow: hidden; }
}

/* Google-Bewertung */
.rating a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: inherit; text-decoration: none; }
.rating a:hover span:last-child { text-decoration: underline; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 20px; font: 500 var(--fs-small)/1.3 var(--f-text); color: var(--c-ink-2); }
.rating .stars { font-size: 1.1rem; letter-spacing: .08em; color: var(--c-ink); }
.rating strong { font-weight: 700; color: var(--c-ink); }
.cta .rating { color: var(--c-on-ink-2); }
.cta .rating .stars, .cta .rating strong { color: var(--c-on-ink); }
