/* Unternehmer-Tools: Immobilien-Toolkit. Gemeinsame Basis für die öffentlichen Seiten und die App.
   Gleiche Marke wie die Marketing-Site (Archivo, Geist, Teal), eigene schlanke Datei, damit die App
   keine Abhängigkeit zur Hauptdomain hat. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/archivo/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/archivo/archivo-500.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/archivo/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/archivo/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist/geist-variable.woff2") format("woff2"); }

:root {
  --bg: #f5f6f3;
  --bg-2: #eef0eb;
  --surface: #ffffff;
  --surface-2: #fafbf9;
  --ink: #14201d;
  --ink-soft: #3a4744;
  --muted: #647069;
  --line: #e4e7e1;
  --line-2: #d6dbd3;
  --accent: #0f766e;
  --accent-hover: #0b5c55;
  --accent-soft: #dcefec;
  --accent-softer: #eef7f5;
  --accent-2: #2f5aa8;
  --accent-2-soft: #dbe4f3;
  --ok: #2f7d4f;
  --ok-soft: #e4f1e8;
  --warn: #a9701c;
  --warn-soft: #f6ecda;
  --danger: #b4322a;
  --danger-soft: #f7e6e4;
  --dark: #0f1c1a;
  --dark-2: #16302b;
  --dark-ink: #eef3f0;
  --dark-muted: #a6b6b0;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1120px;
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 28, 26, 0.05), 0 2px 6px rgba(15, 28, 26, 0.04);
  --shadow: 0 2px 4px rgba(15, 28, 26, 0.04), 0 12px 28px -8px rgba(15, 28, 26, 0.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.klein { font-size: 0.86rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 560px) { .wrap { padding: 0 1.1rem; } }

/* ---------- Kopf und Fuß ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245, 246, 243, 0.86);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 25px; height: auto; flex: none; fill: var(--accent); display: block; }
.brand-sep { color: var(--line-2); font-weight: 400; }
.brand-bereich { color: var(--muted); font-weight: 600; }
.head-nav { display: flex; align-items: center; gap: 1.3rem; font-size: 0.94rem; }
.head-nav a:not(.btn) { color: var(--ink-soft); font-weight: 500; }
.head-nav a:not(.btn):hover, .head-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
@media (max-width: 860px) { .head-nav .nav-lang { display: none; } }
@media (max-width: 520px) { .brand-bereich, .brand-sep { display: none; } }

.site-foot { border-top: 1px solid var(--line); margin-top: 4rem; padding: 2rem 0 2.5rem; background: var(--bg-2); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; font-size: 0.9rem; }
.foot-links a { color: var(--ink-soft); }
.foot-hinweis { flex-basis: 100%; font-size: 0.82rem; color: var(--muted); max-width: 52rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem; border-radius: 10px;
  font-family: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  cursor: pointer; text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { color: var(--accent); border-color: var(--accent); background: var(--surface); }
.btn.lg { padding: 0.8rem 1.45rem; font-size: 1.02rem; border-radius: 11px; }
.btn.klein { padding: 0.4rem 0.8rem; font-size: 0.86rem; }
.btn.gefahr { background: var(--surface); color: var(--danger); border-color: var(--line-2); }
.btn.gefahr:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.linkknopf { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.linkknopf:hover { text-decoration: underline; }

/* ---------- Formularfelder ---------- */
input, textarea, select {
  font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); width: 100%;
  transition: border-color 0.12s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: #9aa4a0; }
textarea { resize: vertical; line-height: 1.5; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--accent); }

.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--accent); }

/* ---------- Karten ---------- */
.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
