/* HOVEBA Kundenumfrage · im Stil von www.hoveba.de (Ebenholz, Marcellus, Instrument Sans) · held: werbung 10/2026 */
@font-face { font-family: "Marcellus"; font-weight: 400; font-display: swap; src: url("assets/marcellus-400-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("assets/instrument-sans-400-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("assets/instrument-sans-500-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("assets/instrument-sans-600-normal-latin.woff2") format("woff2"); }

:root {
  --bg: #131110; --raise: #1c1917; --deep: #0c0b0a;
  --text: #f2ede6; --muted: #a79e92; --line: rgba(242, 237, 230, .13);
  --red: #e3000a; --accent: #ff3d45; --wood: #c89b6d;
  --serif: "Marcellus", "Times New Roman", serif; --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .28, 1); --r: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--deep); }
body { min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); color: var(--text); font-size: 1.04rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--wood); }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Hintergrund: Firmengelaende, tief abgedunkelt */
.bg { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(120% 80% at 50% 0%, rgba(19, 17, 16, .25), rgba(12, 11, 10, .9) 72%),
  linear-gradient(180deg, rgba(12, 11, 10, .35), rgba(12, 11, 10, .88)),
  url("assets/hoveba-gelaende.jpg") center 30% / cover no-repeat; }
.bg::after { content: ""; position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Ebenholz-Leiste wie auf der Website */
.bar { position: relative; display: flex; align-items: center; gap: 16px; max-width: 980px; width: calc(100% - 28px); height: 76px; margin: 14px auto 0; padding: 0 22px 0 12px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .04) 38%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .35) 100%), url("assets/ebony.jpg") center / auto 100% repeat-x, #0b0908;
  border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .7); }
.bar::after { content: ""; position: absolute; inset: 3px; border-radius: 17px; border: 1px solid rgba(200, 155, 109, .28); pointer-events: none; }
.bar__logo { padding: 4px; border-radius: 10px; background: linear-gradient(180deg, #050404, #121010); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .9); line-height: 0; }
.bar__logo img { height: 50px; width: auto; border-radius: 6px; }
.bar__title { display: flex; flex-direction: column; line-height: 1.2; }
.bar__title span { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .01em; }
.bar__title small { font-size: .76rem; color: var(--muted); letter-spacing: .04em; }
.bar__step { margin-left: auto; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); white-space: nowrap; }

/* Karte */
.wrap { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: clamp(22px, 5vh, 56px) 14px 40px; }
.card { position: relative; width: min(760px, 100%); overflow: hidden; border-radius: var(--r); padding: clamp(28px, 5vw, 54px) clamp(22px, 5vw, 56px) clamp(26px, 4vw, 44px);
  background: linear-gradient(160deg, rgba(34, 30, 27, .9), rgba(19, 17, 16, .94)); border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(242, 237, 230, .07); }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--wood), var(--red)); transition: width .6s var(--ease); }

.step { display: none; }
.step.is-active { display: block; animation: rein .55s var(--ease); }
.step.is-back { animation-name: reinZurueck; }
@keyframes rein { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes reinZurueck { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 18px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.2; margin-bottom: 8px; outline: none; }
.h1:focus, .h2:focus { outline: none; }
.sub { color: var(--muted); margin-bottom: 24px; }
.sub strong { color: var(--wood); font-weight: 500; letter-spacing: .04em; }
.lead p { color: #d9d2c8; margin-bottom: 12px; max-width: 62ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .86rem; color: var(--text); background: rgba(200, 155, 109, .1); border: 1px solid rgba(200, 155, 109, .32); }
.facts svg { width: 17px; height: 17px; color: var(--wood); }

/* Felder */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field span { font-size: .86rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: rgba(12, 11, 10, .55); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(200, 155, 109, .2); }
.field input::placeholder, .field textarea::placeholder { color: rgba(167, 158, 146, .55); }
.field--sonst { margin-top: 6px; animation: rein .4s var(--ease); }

/* Mehrfachauswahl als Kacheln */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile span { display: flex; align-items: center; gap: 12px; min-height: 64px; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(12, 11, 10, .4); font-weight: 500; line-height: 1.3; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.tile span::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(242, 237, 230, .35); transition: background .25s, border-color .25s; background: center / 14px no-repeat; }
.tile:hover span { border-color: rgba(200, 155, 109, .55); transform: translateY(-2px); }
.tile input:checked + span { border-color: var(--wood); background: rgba(200, 155, 109, .12); }
.tile input:checked + span::before { border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tile input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 3px; }

/* Bewertung: Zeile je Punkt, vier Stufen */
.rates { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.rate { display: grid; grid-template-columns: minmax(170px, 1fr) auto; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(12, 11, 10, .35); }
.rate.is-set { border-color: rgba(200, 155, 109, .45); }
.rate__label { font-weight: 500; line-height: 1.3; }
.rate__label small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.rate__opts { display: grid; grid-template-columns: repeat(4, auto); gap: 6px; border: 0; }
.rate__opts legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; min-width: 86px; padding: 6px 10px; border-radius: 12px; font-size: .82rem; font-weight: 500; line-height: 1.15; color: var(--muted); border: 1px solid var(--line); background: rgba(242, 237, 230, .03); transition: all .22s var(--ease); white-space: nowrap; }
.pill:hover span { color: var(--text); border-color: rgba(200, 155, 109, .5); }
.pill input:checked + span { color: #fff; background: var(--red); border-color: var(--red); box-shadow: 0 8px 22px rgba(227, 0, 10, .3); }
.pill input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 2px; }
.skala { display: flex; justify-content: flex-end; gap: 6px; margin: -4px 0 10px; font-size: .74rem; color: var(--muted); }

/* Ja / Nein */
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 20px; max-width: 460px; }
.yn { cursor: pointer; }
.yn input { position: absolute; opacity: 0; pointer-events: none; }
.yn span { display: flex; align-items: center; justify-content: center; gap: 12px; height: 84px; border-radius: 18px; border: 1px solid var(--line); background: rgba(12, 11, 10, .4); transition: all .25s var(--ease); }
.yn svg { width: 28px; height: 28px; color: var(--wood); transition: color .25s, transform .35s var(--ease); }
.yn b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.yn:hover span { border-color: rgba(200, 155, 109, .55); }
.yn input:checked + span { background: var(--red); border-color: var(--red); box-shadow: 0 12px 30px rgba(227, 0, 10, .32); }
.yn input:checked + span svg { color: #fff; transform: scale(1.12) rotate(-6deg); }
.yn input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 3px; }

/* Zusammenfassung + Datenschutz */
.summary { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 20px; }
.sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 16px; border-radius: 14px; background: rgba(12, 11, 10, .4); border: 1px solid var(--line); }
.sum h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); font-weight: 600; }
.sum p { grid-column: 1; color: #ddd6cc; font-size: .95rem; }
.sum p.leer { color: var(--muted); font-style: italic; }
.sum button { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: inherit; font-size: .84rem; color: var(--wood); background: none; border: 1px solid rgba(200, 155, 109, .4); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.sum button:hover { background: rgba(200, 155, 109, .12); }
.privacy { margin-bottom: 16px; border-radius: 14px; border: 1px solid var(--line); padding: 12px 16px; background: rgba(12, 11, 10, .3); }
.privacy summary { cursor: pointer; font-weight: 500; color: var(--wood); }
.privacy p { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .93rem; color: #ddd6cc; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hint { min-height: 1.5em; margin-top: 14px; font-size: .92rem; }
.hint.is-err { color: var(--accent); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.actions--center { justify-content: center; }
.step[data-step="start"] .actions { justify-content: flex-start; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: 100px; border: 0; font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, background-color .3s, border-color .3s, color .3s; }
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { box-shadow: 0 14px 36px rgba(227, 0, 10, .38); transform: translateY(-2px); }
.btn--primary[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn--ghost { background: none; color: var(--text); border: 1.5px solid rgba(245, 241, 234, .3); }
.btn--ghost:hover { border-color: var(--wood); color: var(--wood); }
.btn:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }

/* Danke */
.step--danke { text-align: center; padding: 10px 0; }
.danke__ico { width: 92px; height: 92px; margin: 0 auto 22px; color: var(--wood); }
.danke__ico svg { width: 100%; height: 100%; stroke-width: 2.2; }
.danke__ico circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: zeichnen .9s .15s var(--ease) forwards; }
.danke__ico path { stroke: var(--accent); stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .5s .8s var(--ease) forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.step--danke .lead { margin: 0 auto 18px; max-width: 46ch; color: #d9d2c8; }
.gruss { color: var(--muted); }
.gruss span { font-family: var(--serif); font-size: 1.3rem; color: var(--text); }

/* Fusszeile */
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 18px 14px 26px; font-size: .8rem; color: var(--muted); text-align: center; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--wood); }
.noscript { max-width: 640px; margin: 0 auto 30px; padding: 16px; text-align: center; color: var(--text); }

/* Handy */
@media (max-width: 720px) {
  .bar { height: 64px; padding: 0 14px 0 8px; gap: 10px; }
  .bar__logo img { height: 42px; }
  .bar__title small { display: none; }
  .bar__title span { font-size: 1.05rem; }
  .bar__step { font-size: .72rem; letter-spacing: .1em; }
  .row2, .tiles, .tiles--3 { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .tile span { min-height: 56px; }
  .rate { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .rate__opts { grid-template-columns: 1fr 1fr; }
  .pill span { white-space: normal; min-width: 0; }
  .skala { display: none; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .btn { width: 100%; }
  .sum { grid-template-columns: 1fr; }
  .sum button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .danke__ico circle, .danke__ico path { stroke-dashoffset: 0; } }
