/* A2G – All2Gather e.V. · gemeinsames Design-System */

/* Schriften lokal gehostet (keine Verbindung zu Google). Lizenz: SIL Open Font License 1.1 */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
:root {
  --ink: #0d1726;
  --ink-2: #1c2a3f;
  --paper: #fbf8f2;
  --paper-2: #f2ede3;
  --card: #ffffff;
  --line: #e4ddd0;
  --muted: #5d6675;
  --green: #00b36b;
  --green-ink: #007a49;
  --green-soft: #d8f5e7;
  --coral: #ff5a3c;
  --coral-soft: #ffe3dc;
  --sun: #ffc531;
  --sky: #3d7bff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(13, 23, 38, .06), 0 10px 30px rgba(13, 23, 38, .08);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b121d;
    --paper-2: #111b2a;
    --card: #152133;
    --line: #24344b;
    --ink: #f3efe7;
    --ink-2: #d9d4ca;
    --muted: #9aa5b5;
    --green-soft: #0f3a2a;
    --coral-soft: #3a1d17;
    --green-ink: #39d996;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b121d; --paper-2: #111b2a; --card: #152133; --line: #24344b;
  --ink: #f3efe7; --ink-2: #d9d4ca; --muted: #9aa5b5;
  --green-soft: #0f3a2a; --coral-soft: #3a1d17; --green-ink: #39d996;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13, 23, 38, .18); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-green { --bg: var(--green); --fg: #04140c; }
.btn-coral { --bg: var(--coral); --fg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-light { --bg: #fff; --fg: #0d1726; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
input[type="text"], input[type="email"] {
  width: 100%; min-height: 54px; padding: 0 18px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: var(--ink);
  font: 500 17px var(--font-body);
  transition: border-color .15s;
}
input:focus { border-color: var(--green); outline: none; }
input[aria-invalid="true"] { border-color: var(--coral); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.error-msg { color: var(--coral); font-size: 14px; font-weight: 600; min-height: 1em; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

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