/* PropHunter - gemeinsame Gestaltung (Website + App). Look: prophunter.de (Schwarz/Weiß, Orange-Akzent, Hanken Grotesk) */
/* Schriften lokal (DSGVO: keine Verbindung zu Google) */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --ink: #0b0c0e;
  --ink-2: #15161a;
  --ink-3: #1f2126;
  --text: #0b0c0e;
  --grau: #5f636b;
  --grau-2: #8a8f98;
  --linie: #e3e5e9;
  --linie-2: #eef0f2;
  --hell: #fafafb;
  --flaeche: #f3f4f6;
  --weiss: #ffffff;
  --orange: #c6a15b;          /* Paegel-Gold (einziger Akzent) */
  --orange-text: #8a6a2c;     /* Gold als Schrift auf hellem Grund */
  --gold: #c6a15b;             /* Paegel-Gold */
  --gold-hell: #f6f0e2;
  --orange-2: #b48f4a;
  --orange-hell: #f8f4ea;
  --gruen: #2f7a52;
  --gruen-hell: #eef5f0;
  --gelb: #8a6a2c;
  --gelb-hell: #f8f4ea;
  --rot: #d93025;
  --rot-hell: #fdeceb;
  --blau: #3d4249;
  --blau-hell: #f1f2f4;
  --radius: 14px;
  --radius-s: 10px;
  --schatten: 0 1px 2px rgba(11, 12, 14, .04), 0 8px 24px rgba(11, 12, 14, .06);
  --schatten-gross: 0 30px 80px -20px rgba(11, 12, 14, .35);
  --font-h: "Hanken Grotesk", "Instrument Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font: "Instrument Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--weiss); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-h); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }
.versteckt, .hidden { display: none !important; }
.sr { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s; background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(11, 12, 14, .5); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn.orange { background: var(--orange); color: var(--ink); }
.btn.orange:hover { background: var(--orange-2); box-shadow: 0 10px 24px -8px rgba(198, 161, 91, .65); }
.btn.weiss { background: #fff; color: var(--ink); }
.btn.rand { background: transparent; border-color: var(--linie); color: var(--ink); }
.btn.rand:hover { border-color: var(--ink); box-shadow: none; }
.btn.rand-hell { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.btn.rand-hell:hover { background: rgba(255, 255, 255, .12); }
.btn.klein { height: 34px; padding: 0 14px; font-size: 14px; }
.btn.gross { height: 54px; padding: 0 28px; font-size: 16px; }
.btn.voll { width: 100%; }
.btn.gruen { background: var(--gruen); }
.btn.rot { background: var(--rot); }
.btn.geist { background: transparent; color: var(--grau); border: 0; height: auto; padding: 4px 6px; font-weight: 500; }
.btn.geist:hover { color: var(--ink); box-shadow: none; transform: none; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }

/* Formulare */
.feld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.feld > span, .feld > label { font-size: 13px; font-weight: 600; color: var(--ink); }
.feld small { color: var(--grau); font-size: 12.5px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=url], input[type=search], select, textarea {
  width: 100%; height: 44px; border: 1px solid var(--linie); border-radius: var(--radius-s); background: #fff; padding: 0 14px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 12, 14, .08); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f636b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--grau); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* Chips / Badges */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--flaeche); color: var(--ink); white-space: nowrap; }
.chip.orange { background: var(--orange-hell); color: #7a5d26; }
.chip.gruen { background: var(--gruen-hell); color: #2a6a47; }
.chip.gelb { background: var(--gelb-hell); color: #7a5d26; }
.chip.rot { background: var(--rot-hell); color: #b42318; }
.chip.blau { background: var(--blau-hell); color: var(--ink); }
.chip.gold { background: var(--gold-hell); color: #7a6331; }
.chip.dunkel { background: var(--ink); color: #fff; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.puls { position: relative; }
.puls::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: .6; animation: puls 1.8s ease-out infinite; }
@keyframes puls { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* Karten */
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); }
.hinweis { padding: 12px 14px; border-radius: var(--radius-s); background: var(--flaeche); font-size: 14px; color: var(--ink); }
.hinweis.warn { background: var(--gelb-hell); color: #6b4a00; }
.hinweis.fehler { background: var(--rot-hell); color: #8f1d14; }
.hinweis.ok { background: var(--gruen-hell); color: #0b6b34; }
.note { color: var(--grau); font-size: 13.5px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-h); font-weight: 800; letter-spacing: .02em; font-size: 19px; text-decoration: none; text-transform: uppercase; }
.logo svg { width: 24px; height: 24px; flex: none; }
.logo svg.wortmarke { width: auto; height: 17px; }
.logo svg.zeichen { width: 22px; height: 24px; }

/* Toast */
.toast-box { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 520px); }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14.5px; box-shadow: var(--schatten-gross); animation: toastrein .2s ease; pointer-events: auto; max-width: 100%; }
.toast.fehler { background: var(--rot); }
.toast.ok { background: var(--ink); }
@keyframes toastrein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Dialog */
.dialog-hg { position: fixed; inset: 0; background: rgba(11, 12, 14, .55); backdrop-filter: blur(3px); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 16px; animation: einblenden .15s ease; }
.dialog { background: #fff; border-radius: 18px; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--schatten-gross); }
.dialog-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--linie-2); position: sticky; top: 0; background: #fff; z-index: 1; }
.dialog-kopf h3 { font-size: 19px; }
.dialog-inhalt { padding: 20px 22px; }
.dialog-fuss { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 22px 20px; flex-wrap: wrap; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--flaeche); cursor: pointer; font-size: 18px; line-height: 1; flex: none; }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .dialog-hg { align-items: flex-end; padding: 0; }
  .dialog { border-radius: 18px 18px 0 0; max-height: 92vh; }
}

.spinner { width: 22px; height: 22px; border: 2.5px solid var(--linie); border-top-color: var(--ink); border-radius: 50%; animation: dreh .7s linear infinite; display: inline-block; }
@keyframes dreh { to { transform: rotate(360deg); } }
.laden { display: flex; align-items: center; justify-content: center; padding: 60px 0; }


/* Feinschliff 07.10.2026 */
.btn:hover { transform: none; }
.puls::after { display: none; }

/* 10.10.2026 – neues Logo (Fadenkreuz-O): Gold auf hellem Grund dunkler */
.logo { --logo-gold: #C9A35F; }
.logo svg.wortmarke { display: block; }
