@font-face {
  font-family: "Tausend Plakat";
  src: url("fonts/FwTRIAL-TausendPlakat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tausend Plakat";
  src: url("fonts/FwTRIAL-TausendPlakat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Tausend Plakat";
  src: url("fonts/FwTRIAL-TausendPlakat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #666666;
  --accent: #ff7b0f;
  --border: #d8d8d8;
  --error: #b3261e;
}
* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--fg);
  font-family: "Tausend Plakat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main {
  max-width: 480px;
  margin: 0 auto;
}

.logo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 1.5rem;
}
.logo-light { display: block; }
.logo-dark { display: none; }

h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* Eckdaten zum Konzert */
.eckdaten {
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.eckdaten > div {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.2rem 0;
}
.eckdaten dt {
  flex: 0 0 4.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.eckdaten dd {
  margin: 0;
}

p.intro {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font-size: 1rem;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
  min-height: 4rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}
.checkbox-row label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}
.checkbox-row a {
  color: var(--accent);
}

button {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.1);
}

.error-box {
  background: color-mix(in srgb, var(--error) 12%, transparent);
  border: 1px solid var(--error);
  color: var(--error);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Hinweis zur Kartenabholung */
.hinweis {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-left: 3px solid var(--accent);
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.hinweis strong {
  font-weight: 600;
}
form .hinweis {
  margin-bottom: 0;
}
.zentriert .hinweis {
  text-align: left;
  margin: 1.5rem 0;
}

/* Honeypot-Feld: für Menschen unsichtbar, für Bots als normales Feld sichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Danke- und Datenschutzseite */
.zentriert {
  text-align: center;
}
.haken {
  font-size: 2.5rem;
  color: var(--accent);
}
article h2 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}
article p, article li {
  color: var(--muted);
  font-size: 0.92rem;
}
.platzhalter {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 0 0.2rem;
  border-radius: 3px;
}
a { color: var(--accent); }
