@font-face {
    font-family: 'Avenir';
    src: url('https://benosenberg.de/fonts/avenir.roman.ttf') format('truetype');
}

:root{
  --font: Avenir, "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heading: #12122b;
  --text: #4b5364;
  --bg: #f8fafc;
  --accent: #ff6900;
  --card: #ffffff;
  --border: #e6eaf2;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2{
  margin: 0 0 10px;
  color: var(--heading);
  letter-spacing: -0.02em;
}

h1{ font-size: clamp(48px, 5vw, 68px); }
h2{ font-size: clamp(24px, 3vw, 34px); }

.subhead{
  margin: 0 0 22px;
  font-size: 18px;
}

.accent{
  color: var(--accent);
  font-weight: 700;
}

.screen{
  padding: 56px 18px;
}

.screen--hero{
  min-height: 100vh;         /* Vollbild, unabhängig vom Format */
  display: grid;
  place-items: center;
  padding: 18px;
}

.card{
  width: min(720px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(18, 18, 43, 0.06);
}

.text {
  width: min(90%, 740px);
  margin: 0 auto;
  background-color: #f8fafc;
  font-family: 'Avenir';
  font-size: min(1.4rem, 2rem);
  color: #4b5364;
}

.form{
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.label{
  font-weight: 600;
  color: var(--heading);
  font-size: 14px;
}

.input{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  outline: none;
}

.input::placeholder{ color: #9aa3b2; }

.input:focus{
  border-color: rgba(255, 105, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 105, 0, 0.12);
}

.button{
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.button:hover{ filter: brightness(0.97); }
.button:active{ transform: translateY(1px); }

.button--secondary{
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

a{
  color: var(--accent);
  text-decoration: none;
}

a:hover{ text-decoration: underline; }

.hint{
  margin: 0;
  font-size: 13px;
  color: #6b7486;
}

footer {
  padding-top: 4rem;
  font-size: 1rem;
  text-align: center;
}

footer a {
  color: #9CA3AF;
  font-family: 'Avenir';
  text-decoration: none;
}
