/* Hausbau Navigator – Webinar-Seiten
   Schriften lokal (keine externen Requests, keine Cookies).
   Werte angelehnt an das Hausbau-Navigator-Designsystem. */

@font-face { font-family: "Libre Baskerville"; src: url("fonts/LibreBaskerville-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("fonts/LibreBaskerville-VF.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --petrol: #2c5c6d;
  --petrol-dark: #1f434f;
  --petrol-light: #3f7a8f;
  --eis: #e7eff2;
  --ink: #3a3a3a;
  --grau: #5f6163;
  --sand: #d8cbb7;
  --sand-dark: #bfae97;
  --creme: #eee6da;
  --offwhite: #f7f4ef;
  --kupfer: #c46a2d;
  --kupfer-light: #d98245;
  --kupfer-dark: #9e5322;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 6px rgba(31, 67, 79, .07);
  --shadow-md: 0 6px 18px rgba(31, 67, 79, .09);
  --shadow-lg: 0 16px 40px rgba(31, 67, 79, .12);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--petrol-dark); line-height: 1.22; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.125rem); margin-bottom: .75em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.narrow-wide { max-width: 920px; }

/* ---------- Button (überall gleich) ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; max-width: 420px;
  min-height: 56px; padding: 14px 28px;
  background: var(--kupfer); color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; letter-spacing: .02em;
  text-decoration: none; text-align: center;
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(196, 106, 45, .22);
  transition: background .18s var(--ease), box-shadow .18s var(--ease), transform .14s var(--ease);
}
.cta:hover { background: var(--kupfer-light); color: #fff; box-shadow: 0 8px 20px rgba(196, 106, 45, .26); }
.cta:active { background: var(--kupfer-dark); transform: translateY(1px); box-shadow: 0 3px 8px rgba(196, 106, 45, .2); }
.cta:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--offwhite), 0 0 0 6px rgba(63, 122, 143, .55); }
.cta:disabled { opacity: .6; cursor: default; }
.cta-note { font-size: .875rem; color: var(--grau); margin: 12px 0 0; line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { background: var(--offwhite); }
.hero-inner {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 16px; padding-bottom: 20px;
}
.logo { width: 190px; height: auto; margin-bottom: 22px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--sand), var(--shadow-sm); }
.kicker-text {
  font-size: .8125rem; font-weight: 600; color: var(--kupfer-dark); line-height: 1.4;
  text-transform: uppercase; letter-spacing: .14em;
}
.kicker-text strong { display: block; margin-top: 3px; color: var(--petrol-dark); font-size: .9375rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.hero h1 { font-size: clamp(1.6rem, 7vw, 3.1rem); line-height: 1.16; margin-bottom: 16px; }
.sub { font-size: 1rem; margin-bottom: 22px; max-width: 34em; }
.hero-photo { display: none; }

@media (min-width: 900px) {
  .hero-inner { min-height: auto; padding-top: 36px; padding-bottom: 96px; }
  .logo { width: 250px; margin-bottom: 64px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 72px; }
  .avatar, .kicker picture { display: none; }
  .kicker { margin-bottom: 22px; }
  .kicker-text { font-size: .8125rem; }
  .kicker-text strong { font-size: 1.0625rem; margin-top: 6px; }
  .hero h1 { margin-bottom: 22px; }
  .sub { font-size: 1.125rem; margin-bottom: 32px; }
  .hero-photo {
    display: block; position: relative;
    border-radius: 24px; overflow: hidden;
    background: #efeded;
    border: 1px solid var(--sand);
    box-shadow: var(--shadow-lg);
  }
  .hero-photo img { width: 100%; height: auto; }
}

/* Kleine Handys: alles etwas kompakter, damit der Button ohne Scrollen sichtbar bleibt */
@media (max-height: 700px) and (max-width: 899px) {
  .logo { width: 160px; margin-bottom: 12px; }
  .avatar { width: 46px; height: 46px; }
  .kicker { margin-bottom: 10px; }
  .kicker-text { font-size: .75rem; }
  .hero h1 { font-size: 1.5rem; margin-bottom: 10px; }
  .sub { font-size: .9375rem; line-height: 1.5; margin-bottom: 14px; }
  .cta { min-height: 52px; }
  .cta-note { margin-top: 8px; font-size: .8125rem; }
}

/* ---------- Sektionen ---------- */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.band { background: var(--creme); }
.band-petrol { background: var(--petrol-dark); color: var(--creme); }
.band-petrol h2 { color: #fff; }
.center { text-align: center; }

.wish {
  position: relative;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px 22px;
  margin: 32px 0;
}
.wish h3 {
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--kupfer-dark); margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.wish h3::before {
  content: ""; flex: none; width: 30px; height: 30px;
  background: url("logo-mark.png") center / contain no-repeat;
}
.wish p { margin: 0; font-size: 1.0625rem; color: var(--petrol-dark); }
@media (min-width: 760px) { .wish { padding: 30px 32px 28px; } }

.bridge { font-family: var(--serif); font-size: clamp(1.2rem, 3.4vw, 1.4rem); line-height: 1.4; color: var(--petrol-dark); margin: 36px 0 22px; }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.list li { position: relative; padding-left: 38px; }
.list li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.list.no li { color: var(--grau); }
.list.no li::before {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7c7e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--sand-dark);
}

.results .list { gap: 14px; }
.results .list li {
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 20px 20px 20px 60px; box-shadow: var(--shadow-sm);
}
.results .list li::before { left: 20px; top: 22px; }
@media (min-width: 760px) {
  .results .list { grid-template-columns: 1fr 1fr; gap: 18px; }
  .results .list li { padding: 26px 26px 26px 66px; }
  .results .list li::before { left: 26px; top: 28px; }
}

.fit-grid { display: grid; gap: 40px; }
.fit-grid h3 { font-family: var(--sans); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--grau); margin-bottom: 18px; }
.fit-grid > div:last-child { border-top: 1px solid var(--sand-dark); padding-top: 28px; }
@media (min-width: 760px) {
  .fit-grid { grid-template-columns: 1.45fr 1fr; gap: 56px; }
  .fit-grid > div:last-child { border-top: 0; padding-top: 12px; border-left: 1px solid var(--sand-dark); padding-left: 40px; }
}

.about { display: grid; gap: 28px; align-items: start; }
.about img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--sand), var(--shadow-md); }
.about p:last-child { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.55; color: var(--petrol-dark); margin-bottom: 0; }
@media (min-width: 760px) { .about { grid-template-columns: 188px 1fr; gap: 48px; } .about img { width: 188px; height: 188px; } }

.cta-row { margin-top: 40px; }
@media (min-width: 760px) { .cta-row { padding-left: 236px; } }
.band-petrol .cta-note { color: rgba(238, 230, 218, .82); }

/* ---------- Termin-Block + Formular ---------- */
.signup { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .signup { grid-template-columns: 1fr 440px; gap: 80px; align-items: center; } }

.facts { list-style: none; padding: 0; margin: 0 0 8px; display: grid; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(238, 230, 218, .18); }
.facts li:last-child { border-bottom: 1px solid rgba(238, 230, 218, .18); }
.facts b { color: var(--sand); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; padding-top: 3px; }
.facts span { color: #fff; }

.signup-card { background: var(--offwhite); color: var(--ink); border-radius: 24px; padding: 26px 20px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .22); }
@media (min-width: 760px) { .signup-card { padding: 34px 32px 28px; } }

.form { display: grid; gap: 14px; max-width: 420px; }
.signup-card .form { max-width: none; }
.form.center-form { margin: 0 auto; }
.form label { font-size: .8125rem; font-weight: 600; color: var(--petrol-dark); letter-spacing: .02em; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--sand); border-radius: var(--radius-sm);
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
.form input:hover { border-color: var(--sand-dark); }
.form input:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(63, 122, 143, .3); }
.form .cta { max-width: none; margin-top: 4px; }
.field { display: grid; gap: 6px; text-align: left; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.doi { font-size: .75rem; line-height: 1.55; color: var(--grau); margin: 2px 0 0; text-align: left; }
.doi a { color: var(--petrol); }
.band-petrol a { color: #fff; }
.band-petrol .signup-card a { color: var(--petrol); }
.form-error { display: none; background: #fbeee4; color: var(--kupfer-dark); border: 1px solid rgba(196, 106, 45, .35); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .875rem; }
.show-error .form-error { display: block; }

/* ---------- Dialog (Zwei-Schritt-Anmeldung) ---------- */
dialog {
  width: min(92vw, 460px); border: 0; border-radius: 24px; padding: 30px 22px 22px;
  background: var(--offwhite); color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 40, 48, .35);
}
dialog[open] { animation: dlg-in .32s cubic-bezier(.16, 1, .3, 1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
dialog::backdrop { background: rgba(20, 40, 48, .6); }
dialog h2 { font-size: 1.4rem; margin-bottom: 6px; }
dialog .dlg-date { font-weight: 600; color: var(--kupfer-dark); font-size: .875rem; margin-bottom: 22px; }
.dlg-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--grau); cursor: pointer; border-radius: 50%; transition: background .14s var(--ease); }
.dlg-close:hover { background: var(--eis); color: var(--petrol-dark); }
.dlg-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(63, 122, 143, .45); }
dialog .form { max-width: none; }
@media (min-width: 760px) { dialog { padding: 36px 32px 28px; } }

/* ---------- Footer ---------- */
footer { padding: 32px 20px 44px; font-size: .8125rem; color: var(--grau); text-align: center; border-top: 1px solid var(--sand); }
footer a { color: var(--grau); margin: 0 10px; text-decoration: none; }
footer a:hover { color: var(--petrol-dark); text-decoration: underline; }

/* ---------- Unterseiten ---------- */
.page { min-height: 100svh; display: flex; flex-direction: column; }
.page main { flex: 1; padding: 28px 0 64px; }
.page footer { border-top: 0; }
.card { background: #fff; border: 1px solid var(--sand); border-radius: 24px; padding: 30px 22px; box-shadow: var(--shadow-md); }
.card h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
.card h2 { font-family: var(--sans); font-size: .8125rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--kupfer-dark); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; background: var(--offwhite); border: 1px solid var(--creme); border-radius: 12px; padding: 12px 16px; }
.steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--petrol); color: #fff; font-weight: 700; font-size: .9375rem; display: grid; place-items: center; }
.hint { background: var(--eis); border-radius: 12px; padding: 14px 18px; font-size: .9375rem; color: var(--petrol-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--petrol); color: var(--petrol); font-weight: 600; text-decoration: none; transition: background .18s var(--ease), color .18s var(--ease); }
.btn-secondary:hover { background: var(--eis); color: var(--petrol-dark); }
.sign { font-family: var(--serif); font-size: 1.25rem; color: var(--petrol-dark); margin-top: 8px; }
.legal { padding-top: 16px; }
.legal h1 { font-size: 1.9rem; }
.legal h2 { font-size: 1.15rem; margin-top: 1.8em; margin-bottom: .5em; }
.todo { background: #fbeee4; border: 1.5px dashed var(--kupfer); border-radius: 10px; padding: 12px 14px; color: var(--kupfer-dark); }
.back { display: inline-block; margin-bottom: 24px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }
@media (min-width: 760px) { .card { padding: 48px 52px; } }

/* Dialog-Feinschliff */
dialog h2 { padding-right: 36px; }
dialog .cta { font-size: 1.0625rem; padding: 14px 16px; white-space: nowrap; }
@media (max-width: 360px) { dialog .cta { font-size: .98rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Quiz-Ergebnisseiten (/quiz/ergebnis/<typ>/) — Redesign ---------- */
/* Akzent/Tint pro Seite via --acc / --tint auf <body class="qr"> gesetzt. */
.qr { background: #F6F1E9; color: #3A3A3A; }

.qr-top { max-width: 1120px; margin: 0 auto; padding: 24px 24px 0; }
.qr-top .logo-lockup { height: 52px; width: auto; display: block; }

.qr-bar { width: 48px; height: 3px; border-radius: 2px; background: var(--acc); }
.qr-bar.sm { width: 28px; }
.qr-bar.light { background: var(--kupfer-light); }

/* Typ-Kopf (Hero) */
.qr-herowrap { max-width: 1072px; margin: 28px auto 0; padding: 0 24px; }
.qr-hero { background: var(--tint); border-radius: 24px; padding: clamp(40px, 7vw, 72px) 24px clamp(36px, 6vw, 60px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.qr-iconcircle { width: 112px; height: 112px; border-radius: 50%; background: #fff; border: 1px solid #D7CDBC; box-shadow: 0 2px 6px rgba(31,67,79,.07); display: grid; place-items: center; }
.qr-ic { width: 64px; height: 64px; color: var(--acc); }
.qr-ic svg { width: 100%; height: 100%; display: block; }
.qr-eyebrow { font-family: var(--sans); font-variant: small-caps; text-transform: lowercase; letter-spacing: .16em; font-weight: 600; font-size: 15px; color: var(--acc); white-space: nowrap; }
.qr-hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.12; letter-spacing: -.015em; color: #1F434F; text-wrap: balance; }

/* Inhaltsspalte */
.qr-main { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 72px) 24px 24px; display: flex; flex-direction: column; gap: clamp(48px, 7vw, 64px); }
.qr-sec { display: flex; flex-direction: column; gap: 16px; }
.qr-sec.wide { gap: 20px; }
.qr-sec h2, .qr-irrweg h2, .qr-angebot h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 3.6vw, 1.75rem); line-height: 1.25; letter-spacing: -.015em; color: #1F434F; }
.qr-lead { margin: 0; font-family: var(--sans); font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.25rem); line-height: 1.75; color: #1F434F; text-wrap: pretty; }
.qr-text { margin: 0; font-size: 1.0625rem; line-height: 1.75; color: #3A3A3A; }
.qr-text strong { color: #1F434F; }

/* Woran ihr es merkt — weiße Karte mit Häkchen-Liste */
.qr-merk { list-style: none; margin: 0; padding: 8px 28px; background: #fff; border: 1px solid #D7CDBC; border-radius: 16px; box-shadow: 0 2px 6px rgba(31,67,79,.07); }
.qr-merk li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 18px 0; font-size: 17px; line-height: 1.65; color: #3A3A3A; }
.qr-merk li + li { border-top: 1px solid #D7CDBC; }
.qr-chk { width: 24px; height: 24px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin-top: 2px; }
.qr-chk svg { width: 12px; height: 12px; color: var(--acc); display: block; }

/* Schritte — je eine weiße Karte */
.qr-steps2 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qr-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; align-items: start; background: #fff; border: 1px solid #D7CDBC; border-radius: 16px; box-shadow: 0 2px 6px rgba(31,67,79,.07); padding: 24px clamp(20px, 4vw, 28px); }
.qr-num { width: 40px; height: 40px; border-radius: 50%; background: var(--acc); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.qr-stepbody { display: flex; flex-direction: column; gap: 6px; }
.qr-steptitle { font-family: var(--serif); font-weight: 700; font-size: 1.125rem; line-height: 1.4; color: #1F434F; }
.qr-steptext { margin: 0; font-size: 17px; line-height: 1.7; color: #3A3A3A; }

/* „Der häufigste Irrweg" — getönte Fläche */
.qr-irrweg { background: var(--tint); border-radius: 20px; padding: clamp(28px, 5vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.qr-irrweg p { margin: 0; font-size: 1.125rem; line-height: 1.75; color: #1F434F; }

/* „Mein Angebot" — weiße Karte (nur Bauklarer) */
.qr-angebot { background: #fff; border: 1px solid #D7CDBC; border-radius: 20px; box-shadow: 0 2px 6px rgba(31,67,79,.07); padding: clamp(28px, 5vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.qr-angebot p { margin: 0; font-size: 1.125rem; line-height: 1.75; color: #1F434F; }
.qr-angebot .note { padding-top: 16px; border-top: 1px solid #D7CDBC; font-size: 16px; line-height: 1.7; color: #57585A; }

/* Abschluss — dunkler Petrol-Block */
.qr-abschluss { background: #1F434F; color: #EEE6DA; border-radius: 24px; padding: clamp(32px, 6vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.qr-abschluss h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; letter-spacing: -.015em; color: #fff; }
.qr-abschluss p { margin: 0; font-size: 17px; line-height: 1.75; color: #EEE6DA; }
.qr-abschluss strong { color: #fff; }
.qr-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.qr-btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 600; font-size: 20px; letter-spacing: .02em; padding: 15px 30px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .14s var(--ease), border-color .14s var(--ease), transform .12s var(--ease); }
.qr-btn-primary { background: var(--kupfer); color: #fff; box-shadow: 0 1px 2px rgba(31,67,79,.06); }
.qr-btn-primary:hover { background: var(--kupfer-light); color: #fff; }
.qr-btn-primary:active { background: var(--kupfer-dark); transform: translateY(1px); }
.qr-btn-ghost { background: transparent; color: #fff; border-color: rgba(238,230,218,.55); }
.qr-btn-ghost:hover { color: #fff; border-color: #EEE6DA; }
.qr-btn-ghost:active { transform: translateY(1px); }
.qr-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(63,122,143,.55); }
.qr-printnote { margin: 0; font-size: 13px; line-height: 1.6; color: #D7CDBC; }

/* Footer */
.qr-foot { max-width: 760px; margin: 40px auto 0; padding: 28px 24px 44px; border-top: 1px solid #D7CDBC; display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 13px; }
.qr-foot a { color: #57585A; text-decoration: none; }
.qr-foot a:hover { color: #1F434F; text-decoration: underline; }
.qr-foot .sep { color: #A9ABAD; }

.qr-printonly { display: none; }

@media print {
  @page { margin: 14mm 0; }
  .qr { background: #fff; }
  *, *::before, *::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print { display: none !important; }
  .qr-printonly { display: block !important; text-align: center; font-size: 11pt; letter-spacing: .04em; color: #57585A; margin-top: 8px; }
  .keep { break-inside: avoid; }
}
