/* Tema Golf – Design-Variablen nach Corporate Design (Version 1.0, 2023) */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primärfarben */
  --tema-himmel: #003266;
  --tema-gras: #84be57;
  --tema-wasser: #82d0f5;
  --tema-sand: #eae1c8;
  --tema-stein: #b6c0c5;
  --tema-weiss: #ffffff;
  /* Sekundärfarben */
  --tema-himmel-2: #005da0;
  --tema-gras-2: #c4d983;
  --tema-wasser-2: #c8e8fb;
  --tema-sand-2: #f4f1e8;
  --tema-stein-2: #e3e9ec;
  --tema-schwarz: #000000;

  /* Rollen */
  --primary: var(--tema-himmel);
  --accent: var(--tema-gras);
  --bg: var(--tema-weiss);
  --surface: var(--tema-sand-2);
  --surface-cool: var(--tema-stein-2);
  --text: var(--tema-schwarz);
  --heading: var(--tema-himmel);
  --muted: #4d5c66;
  --line: var(--tema-stein);
  --link: var(--tema-himmel-2);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 50, 102, .06), 0 6px 20px rgba(0, 50, 102, .08);
  --font: 'Inter', Arial, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 .75em; }
a { color: var(--link); }
img { max-width: 100%; display: block; }
.ic { width: 22px; height: 22px; flex: none; }

button, input, select, textarea { font: inherit; color: inherit; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 0;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .05s;
}
.btn:hover { background: var(--tema-himmel-2); }
.btn:active { transform: scale(.98); }
.btn.accent { background: var(--accent); color: var(--tema-himmel); }
.btn.accent:hover { background: #76ad4b; }
.btn.ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: var(--surface-cool); }
.btn.small { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: .95rem; color: var(--heading); margin-bottom: 6px; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; font-size: 1.05rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tema-himmel-2); box-shadow: 0 0 0 3px var(--tema-wasser-2); }
:focus-visible { outline: 3px solid var(--tema-wasser); outline-offset: 2px; }

.error { background: #fdecea; color: #8a1c12; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .98rem; margin-bottom: 14px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

@media print {
  body { font-family: Arial, sans-serif; color: #000; }
}
