/* Design-Tokens gemessen am Perspective-Original (BAUVORLAGE.md) */
:root {
  --bg: #FBF7F0;
  --text: #26231E;
  --text2: #57514A;
  --gold: #D5B885;
  --gold2: #B7935A;
  --rot: #B5543A;
  --radius: 16px;
  --ring: 0 0 0 1px rgba(0,0,0,.05);
  --schatten: 0 14px 36px -24px rgba(38,35,30,.5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }

.seite { display: none; min-height: 100dvh; flex-direction: column; }
.seite.aktiv { display: flex; }
.inhalt { width: 100%; max-width: 640px; margin: 0 auto; padding: 16px 20px 32px; flex: 1; }

.kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.kopf img.logo { height: 32px; width: auto; }
.kopf img.stern { height: 44px; width: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 24px -14px rgba(38,35,30,.6); }

.eyebrow { color: var(--gold2); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; margin: 14px 0 8px; }
h1, h2 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-align: center; text-wrap: balance; }
.unterzeile { color: var(--text2); font-size: 17px; text-align: center; margin: 12px auto 0; max-width: 30rem; text-wrap: pretty; }

.heldenbild { border-radius: var(--radius); overflow: hidden; margin: 20px 0 16px; box-shadow: var(--schatten); }
.heldenbild img { width: 100%; height: 300px; object-fit: cover; object-position: center 35%; }
.heldenbild.autohaus img { object-position: center 50%; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.pill { background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; box-shadow: var(--ring); display: flex; align-items: center; gap: 6px; }
.pill svg { width: 15px; height: 15px; color: var(--gold2); flex: none; }

.cta {
  display: block; width: 100%; min-height: 56px; margin: 18px 0 0;
  background: var(--gold); color: var(--text);
  border: 0; border-radius: var(--radius); cursor: pointer;
  font-size: 17px; font-weight: 600; font-family: inherit;
  box-shadow: 0 16px 34px -18px rgba(183,147,90,.9);
}
.cta:active { transform: translateY(1px); }
.cta-hinweis { color: var(--text2); font-size: 14px; text-align: center; margin-top: 10px; }

.karten { display: grid; gap: 12px; margin: 22px 0; }
.karte { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--ring); }
.karte b { display: block; font-size: 16px; margin-bottom: 2px; }
.karte p { color: var(--text2); font-size: 15px; }

.antworten { display: grid; gap: 12px; margin: 22px 0 8px; }
.antwort {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px;
  background: #fff; color: var(--text); text-align: left;
  border: 0; border-radius: var(--radius); padding: 16px 20px; cursor: pointer;
  font-size: 16px; font-weight: 500; font-family: inherit;
  box-shadow: var(--ring), var(--schatten);
}
.antwort:active { transform: translateY(1px); }
.antwort .punkt { flex: none; width: 22px; height: 22px; border-radius: 999px; border: 2px solid rgba(38,35,30,.25); }

label { display: block; font-size: 14px; font-weight: 500; color: var(--text2); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; min-height: 56px; background: #fff; color: var(--text);
  border: 0; border-radius: var(--radius); padding: 15px 16px;
  font-size: 16px; font-family: inherit; box-shadow: var(--ring);
  outline: none;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, textarea:focus { box-shadow: 0 0 0 2px var(--gold2); }
.fehler { display: none; color: var(--rot); font-size: 14px; margin-top: 6px; }
.fehler.sichtbar { display: block; }

.upload-box {
  background: #fff; border: 2px dashed rgba(183,147,90,.55); border-radius: var(--radius);
  padding: 18px; text-align: center; cursor: pointer; margin-top: 6px;
}
.upload-box.hat-dateien { border-style: solid; }
.upload-box .gross { font-weight: 600; font-size: 16px; }
.upload-box .klein { color: var(--text2); font-size: 14px; margin-top: 4px; }
.upload-liste { margin-top: 10px; display: grid; gap: 6px; }
.upload-liste .datei { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 9px 12px; font-size: 14px; box-shadow: var(--ring); }
.upload-liste .datei button { border: 0; background: none; color: var(--rot); font-size: 14px; cursor: pointer; font-family: inherit; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 4px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--gold2); flex: none; }
.check span { font-size: 14px; color: var(--text2); }
.check a { color: var(--gold2); }

.zurueck { display: block; margin: 18px auto 0; border: 0; background: none; color: var(--text2); font-size: 15px; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }

.fuss { padding: 22px 20px 28px; text-align: center; color: var(--text2); font-size: 13px; }
.fuss a { color: var(--text2); margin: 0 7px; }

.portrait { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; margin: 20px auto 14px; box-shadow: 0 14px 36px -18px rgba(38,35,30,.7); }
.zitatname { text-align: center; font-weight: 600; margin-top: 12px; }
.zitatrolle { text-align: center; color: var(--text2); font-size: 14px; }

.badge { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 6px; color: var(--text2); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.laden { opacity: .6; pointer-events: none; }

/* Cookie-Banner */
#cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: #fff; border-radius: var(--radius); box-shadow: 0 18px 50px -20px rgba(38,35,30,.55), var(--ring);
  padding: 16px; max-width: 560px; margin: 0 auto; display: none;
}
#cookie-banner.sichtbar { display: block; }
#cookie-banner p { font-size: 13.5px; color: var(--text2); }
#cookie-banner .reihe { display: flex; gap: 10px; margin-top: 12px; }
#cookie-banner button { flex: 1; min-height: 44px; border: 0; border-radius: 12px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; }
#cookie-banner .ok { background: var(--gold); color: var(--text); }
#cookie-banner .nein { background: #F1EBE1; color: var(--text2); }

@media (min-width: 640px) {
  h1, h2 { font-size: 36px; }
  .heldenbild img { height: 360px; }
  .karten.drei { grid-template-columns: 1fr 1fr 1fr; }
}
