/* style.css */
:root{
  --brand:#2e7d32;          /* Marken-Grün */
  --brand-contrast:#ffffff;
  --bg:#f6f8f9;
  --text:#1d232a;
  --muted:#6b7280;
  --error:#b00020;
  --card:#ffffff;
  --border:#e5e7eb;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg),#fff);
}

.container{
  max-width: 760px;
  margin: 40px auto;
  padding: 0 16px;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  overflow:hidden;
}

.header{
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px 24px;
  background:var(--brand);
  color:var(--brand-contrast);
}

.header img{
  height:56px;
  width:auto;
  display:block;
}

.header .title{
  font-size: clamp(20px, 2.4vw, 26px);
  line-height:1.2;
  font-weight:700;
  margin:0;
}

.content{
  padding: 20px 24px 8px;
}

.field{ margin-bottom: 16px; }
label{ display:block; margin: 0 0 6px; font-weight:600; }
input[type="text"],
input[type="email"],
textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  outline:none;
  font-size:16px;
}
textarea{ min-height: 140px; resize: vertical; }

.hstack{ display:flex; gap:12px; }
.hstack .field{ flex:1; }

.checkbox{
  display:flex; gap:10px; align-items:flex-start;
  border:1px dashed var(--border);
  padding:10px 12px; border-radius:12px;
  background:#fafafa;
}
.checkbox input{ margin-top:4px; }

small.muted{ color:var(--muted); display:block; margin-top:6px; }

.actions{
  padding: 8px 24px 24px;
  display:flex; justify-content:flex-end; gap:12px;
}

button{
  appearance:none; border:0;
  background:var(--brand); color:var(--brand-contrast);
  padding:12px 18px; border-radius:12px;
  font-weight:700; font-size:16px; cursor:pointer;
}
button[disabled]{ opacity:.6; cursor: not-allowed; }

.notice{ color:var(--error); font-weight:600; margin: 8px 0; display:none; }
.notice.show{ display:block; }

/* Honeypot verstecken, aber für Screenreader nicht relevant machen */
.hp-wrap{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
