/* Baustellenseite rostundbeet.de (MAIL-008). Farben und Schriften wie die App (rost-und-beet/src/app/globals.css). */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/schrift/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/schrift/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/schrift/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --night: #1f3327; --night-2: #2c4635; --night-line: #3b5745; --on-night: #f4ecdf; --on-night-muted: #c3cfbf;
  --paper: #f4ecdf; --paper-2: #ebe0cd; --paper-3: #fbf7f0; --ink: #1d2a21; --ink-muted: #56604f; --line: #ddd0b8;
  --link: #9c4114; --akzent: #c0571f; --akzent-text: #9c4114; --fehler: #b42318;
  --patina-2: #b85a26; --patina-3: #8e3f1a;
  --display: "Fraunces", ui-serif, Georgia, serif;
  --text: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
::selection { background: var(--akzent); color: #fff; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.innen { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }

.night {
  background:
    radial-gradient(900px 480px at 85% 0%, var(--night-2), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, #18291f, transparent 70%),
    var(--night);
  color: var(--on-night);
}
.night :focus-visible { outline-color: var(--on-night); }
.kopf .innen { display: flex; align-items: center; gap: 0.65rem; padding-top: 1rem; padding-bottom: 1rem; }
.kopf svg { width: 2rem; height: 2rem; }
.kopf .name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; color: var(--on-night); text-decoration: none; }
.held .innen { padding-top: 3.5rem; padding-bottom: 4rem; }
.held .marke { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: #e08a4f; margin: 0; }
.held h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); margin: 0.6rem 0 1rem; }
.held p { color: var(--on-night-muted); max-width: 36rem; font-size: 1.1rem; margin: 0; }
.held .knopf { margin-top: 1.75rem; }
.rostkante {
  height: 6px;
  background: linear-gradient(90deg, var(--patina-3), var(--akzent) 30%, var(--patina-2) 60%, var(--patina-3));
  box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.18);
}

main { flex: 1; }
section { padding: 2.75rem 0 0.5rem; }
section h2 { font-size: 1.7rem; margin: 0 0 0.75rem; }
section h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
.hinweis { color: var(--ink-muted); font-size: 0.95rem; }

.knopf {
  display: inline-flex; align-items: center; gap: 0.5rem; border: 0; border-radius: 999px; padding: 0.8rem 1.5rem;
  font: 600 1rem var(--text); text-decoration: none; cursor: pointer; background: var(--akzent); color: #fff;
  transition: transform 0.15s, background-color 0.15s;
}
.knopf:hover { transform: translateY(-1px); background: var(--akzent-text); }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-top: 1.25rem;
  background: var(--paper-3); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
form label { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; }
form .breit { grid-column: 1 / -1; }
input, textarea {
  font: 400 1rem var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.6rem 0.75rem; width: 100%;
}
input:focus, textarea:focus { border-color: var(--akzent); outline: none; box-shadow: 0 0 0 3px rgb(192 87 31 / 0.18); }
textarea { resize: vertical; min-height: 9rem; }
.haken { flex-direction: row !important; align-items: flex-start; gap: 0.6rem !important; font-weight: 400 !important; }
.haken input { width: auto; margin-top: 0.3rem; accent-color: var(--akzent); }
.fang { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { form { grid-template-columns: 1fr; padding: 1.1rem; } }

.meldung { border-radius: 14px; padding: 1.5rem; margin-top: 1rem; background: var(--paper-3); border: 1px solid var(--line); }
.meldung.fehler { border-color: var(--fehler); }

.fuss { margin-top: 3.5rem; }
.fuss .innen { padding-top: 1.5rem; padding-bottom: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  color: var(--on-night-muted); font-size: 0.95rem; }
.fuss a { color: var(--on-night-muted); }
