/* ============================================================
   PRAXIS HESS. — Öffentliche Bewerberseiten (Donna)
   Übernommen aus dem Haupt-Stylesheet der Praxis-Website
   (praxis-hess/Webseite/css/main.css) — Quelle der Wahrheit.
   ============================================================ */

/* ── Selbst gehostete Schriften (Figtree + Noto Sans) ── */
@font-face { font-family:'Figtree'; font-style:italic; font-weight:400; font-display:swap; src:url('../fonts/figtree-italic-400.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:italic; font-weight:600; font-display:swap; src:url('../fonts/figtree-italic-600.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:300; font-display:swap; src:url('../fonts/figtree-normal-300.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/figtree-normal-400.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/figtree-normal-500.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/figtree-normal-600.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/figtree-normal-700.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/figtree-normal-800.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:900; font-display:swap; src:url('../fonts/figtree-normal-900.woff2') format('woff2'); }
@font-face { font-family:'Noto Sans'; font-style:normal; font-weight:300; font-stretch:100%; font-display:swap; src:url('../fonts/notosans-normal-300.woff2') format('woff2'); }
@font-face { font-family:'Noto Sans'; font-style:normal; font-weight:400; font-stretch:100%; font-display:swap; src:url('../fonts/notosans-normal-400.woff2') format('woff2'); }
@font-face { font-family:'Noto Sans'; font-style:normal; font-weight:500; font-stretch:100%; font-display:swap; src:url('../fonts/notosans-normal-500.woff2') format('woff2'); }
@font-face { font-family:'Noto Sans'; font-style:normal; font-weight:600; font-stretch:100%; font-display:swap; src:url('../fonts/notosans-normal-600.woff2') format('woff2'); }
@font-face { font-family:'Noto Sans'; font-style:normal; font-weight:700; font-stretch:100%; font-display:swap; src:url('../fonts/notosans-normal-700.woff2') format('woff2'); }

/* ── Reset & Basis ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:        #E8780A;
  --orange-light:  #F59332;
  --orange-dark:   #C4620A;
  --orange-pale:   #FEF3E7;
  --orange-surface:#FFF8F2;
  --gray:          #6B7280;
  --gray-light:    #F4F4F4;
  --gray-mid:      #D1D5DB;
  --gray-warm:     #F9F8F7;
  --dark:          #1C1C1E;
  --dark-soft:     #2C2C2E;
  --white:         #FFFFFF;
  --text:          #1C1C1E;
  --text-muted:    #6B7280;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 24px rgba(0,0,0,.09);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.12);
  --shadow-orange: 0 6px 28px rgba(232,120,10,.30);
  --nav-h:         76px;
  --transition:    .28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
[x-cloak] { display: none !important; }

/* ── Typografie ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Figtree', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-lg { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.025em; }
.display-md { font-size: clamp(1.6rem, 3vw, 2.4rem);  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.headline    { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.3; }
.label       { font-size: 0.72rem;  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
               font-family: 'Figtree', sans-serif; }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.display-lg em, .display-md em, h1 em { font-style: italic; color: var(--orange); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9375rem; font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 32px rgba(232,120,10,.42);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Navigation (vereinfacht) ───────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav__logo img { height: 40px; width: auto; }
.nav__badge {
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
  background: var(--orange-pale);
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(232,120,10,.18);
}

/* ── Page Hero (heller Seitenkopf) ──────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background: var(--gray-light);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--gray-mid);
}
.page-hero .label { color: var(--orange); display: block; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; margin-top: 16px; max-width: 600px; }

/* ── Job-Tags ───────────────────────────────────────────────── */
.job-card__tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.job-tag {
  font-size: 0.75rem; font-weight: 600; padding: 4px 10px;
  border-radius: 100px; background: var(--white); color: var(--text-muted);
}
.job-tag.highlight { background: var(--orange-pale); color: var(--orange); }

/* ── ▸-Listen (wie Jobs-Seiten) ─────────────────────────────── */
.job-liste { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.job-liste li { display: flex; gap: 10px; align-items: flex-start; }
.job-liste li::before { content: '▸'; color: var(--orange); flex-shrink: 0; }

/* ── Formulare ──────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-family: 'Figtree', sans-serif;
  font-size: 0.8125rem; font-weight: 600; color: var(--dark);
  letter-spacing: 0.02em;
}
.form__label .req { color: var(--orange); margin-left: 2px; }
.form__label .opt { font-size: .8rem; font-weight: 400; color: var(--text-muted); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--dark); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,120,10,.12);
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--gray); }

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}

.form__textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form__checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 0.875rem; color: var(--text-muted);
}
.form__checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--orange); cursor: pointer; }
.form__checkbox a { color: var(--orange); }

.form__feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
}
.form__feedback--success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.form__feedback--error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ── Abschnittsköpfe im Formular ────────────────────────────── */
.form-abschnitt { margin-top: 12px; }
.form-abschnitt:first-child { margin-top: 0; }
.form-abschnitt__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.form-abschnitt__num {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--orange); color: var(--white);
  border-radius: 50%;
  font-family: 'Figtree', sans-serif;
  font-size: 0.875rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(232,120,10,.32);
}
.form-abschnitt__head h2 {
  font-size: 1.05rem; font-weight: 700; color: var(--dark);
}

/* ── Hinweisbox (wie .price-notice) ─────────────────────────── */
.hinweis {
  background: var(--orange-pale);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: .825rem; line-height: 1.65; color: var(--dark);
}
.hinweis strong { color: var(--orange); }

/* ── Formular-Karte ─────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.05);
  overflow: hidden;
}
.form-card__body { padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.form-card__foot {
  background: var(--gray-warm);
  border-top: 1px solid var(--gray-light);
  padding: 32px 40px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 600px) {
  .form-card__body { padding: 24px 20px; gap: 28px; }
  .form-card__foot { padding: 24px 20px; }
  .form-card { border-radius: var(--radius-md); }
}

/* ── Datei-Upload ───────────────────────────────────────────── */
.upload-feld {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px dashed var(--gray-mid);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  cursor: pointer; text-align: center;
  transition: all var(--transition);
}
.upload-feld:hover { border-color: var(--orange); background: var(--orange-surface); }
.upload-feld input { display: none; }
.upload-feld__icon {
  width: 48px; height: 48px;
  background: var(--orange-pale); color: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.upload-feld__icon svg { width: 24px; height: 24px; }
.upload-feld__titel { font-family: 'Figtree', sans-serif; font-size: 0.9375rem; font-weight: 600; color: var(--dark); }
.upload-feld__sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.upload-liste { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.upload-liste li {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray-light); border-radius: var(--radius-sm);
  padding: 8px 12px; font-size: 0.8125rem; color: var(--dark);
}
.upload-liste svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.upload-liste span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── CTA-Box (orange-pale, wie Jobs-Seiten) ─────────────────── */
.cta-box {
  background: var(--orange-pale);
  border-radius: var(--radius-xl);
  padding: 40px; text-align: center;
}
@media (max-width: 600px) { .cta-box { border-radius: var(--radius-lg); padding: 32px 20px; } }

/* ── Danke-Karte ────────────────────────────────────────────── */
.danke-karte {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.05);
  padding: 56px 32px;
  text-align: center;
}
.danke-karte__emoji { font-size: 3rem; margin-bottom: 16px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 36px 0;
  margin-top: 72px;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom a { transition: color var(--transition); }
.footer__bottom a:hover { color: var(--orange); }

/* ── Utilities ──────────────────────────────────────────────── */
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
