/* ============================================================
   Therapiezentrum am Sahlkampmarkt – Stylesheet
   Farben: Orange (Marke) · Anthrazit · Warmweiß
   ============================================================ */

:root {
  --orange:        #f18a21;
  --orange-dark:   #d9740f;
  --orange-soft:   #fef3e7;
  --ink:           #1c1f26;
  --ink-soft:      #2a2e37;
  --text:          #3a3f4a;
  --muted:         #6b7280;
  --line:          #e7e3dd;
  --bg:            #ffffff;
  --bg-alt:        #faf7f2;
  --white:         #ffffff;

  --radius:        18px;
  --radius-sm:     12px;
  --shadow:        0 10px 30px -12px rgba(28, 31, 38, .18);
  --shadow-lg:     0 24px 60px -20px rgba(28, 31, 38, .28);
  --container:     1160px;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 .8rem;
}

.script {
  font-family: var(--font-script);
  color: var(--orange);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(241, 138, 33, .8);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { color: var(--orange); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand-text small { font-size: .74rem; color: var(--orange); letter-spacing: .12em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink-soft);
  transition: color .2s;
}
.main-nav a:not(.nav-cta):hover { color: var(--orange); }
.nav-cta { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center right;
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250,247,242,.97) 0%,
    rgba(250,247,242,.93) 34%,
    rgba(250,247,242,.60) 54%,
    transparent 72%
  );
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.hero .lead {
  font-size: 1.12rem;
  color: var(--text);
  max-width: 33ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  font-size: .9rem; font-weight: 500; color: var(--muted);
}
.hero-trust li { position: relative; padding-left: 1.4rem; }
.hero-trust li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  color: var(--orange); font-weight: 700;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.8rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .85rem 1.15rem;
  box-shadow: var(--shadow);
}
.hero-chip strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.hero-chip small { color: var(--muted); font-size: .82rem; }
.chip-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,.18);
}

/* ---------- USP strip ---------- */
.usps { margin-top: -3.2rem; position: relative; z-index: 3; padding: 0 0 1rem; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.usp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.usp-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--orange-soft); color: var(--orange);
  margin-bottom: 1rem;
}
.usp-icon svg { width: 24px; height: 24px; }
.usp h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.usp p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-intro { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ---------- Leistungen cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--orange-soft); color: var(--orange);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.22rem; margin-bottom: .9rem; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card ul li {
  position: relative; padding-left: 1.5rem; margin-bottom: .5rem;
  color: var(--text); font-size: .96rem;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}
.card-cta {
  background: linear-gradient(160deg, var(--ink) 0%, #2b3040 100%);
  border: none; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.card-cta h3 { color: #fff; }
.card-cta p { color: rgba(255,255,255,.78); margin: 0 0 1.4rem; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.media-photo {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background-color: #e6ddd0;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.media-photo--portrait { aspect-ratio: 3 / 4; }
.split-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.split-copy > p { color: var(--text); margin-bottom: 1.3rem; }
.fact-list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.fact-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  margin-bottom: .9rem; font-size: .98rem;
}
.fact-list svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.quote {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 1.1rem;
  margin-top: 1.6rem;
}
.quote span { font-size: 2.4rem; line-height: 0; }

/* ---------- Kontakt (dark) ---------- */
.section-dark { background: var(--ink); color: rgba(255,255,255,.82); }
.section-head-light h2 { color: #fff; }
.section-head-light .section-intro { color: rgba(255,255,255,.7); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(241,138,33,.16); color: var(--orange);
}
.contact-ico svg { width: 24px; height: 24px; }
.contact-label {
  display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: .2rem;
}
.contact-value { font-family: var(--font-head); font-size: 1.12rem; color: #fff; font-weight: 500; }
a.contact-value:hover { color: var(--orange); }
.contact-call { margin-top: .6rem; align-self: flex-start; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow-lg);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Klick-zum-Laden Karten-Vorschau (datensparsam) */
.map-facade {
  position: relative;
  width: 100%; height: 100%; min-height: 340px;
  border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background-color: #e9ede9;
  background-image:
    linear-gradient(118deg, transparent 0 38%, rgba(241,138,33,.20) 38% 41%, transparent 41%),
    linear-gradient(28deg, transparent 0 62%, rgba(241,138,33,.14) 62% 64%, transparent 64%),
    repeating-linear-gradient(0deg, rgba(28,31,38,.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(28,31,38,.05) 0 1px, transparent 1px 46px);
  transition: filter .2s ease;
}
.map-facade::before,
.map-facade::after {
  content: ""; position: absolute; border-radius: 10px;
  background: rgba(52,199,89,.14);
}
.map-facade::before { width: 128px; height: 88px; top: 26px; left: 30px; }
.map-facade::after  { width: 150px; height: 66px; bottom: 30px; right: 26px; background: rgba(96,165,250,.14); }
.map-facade-card {
  position: relative; z-index: 2;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.7rem; max-width: 300px;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  text-align: center;
}
.map-pin { color: var(--orange); line-height: 0; }
.map-pin svg { width: 34px; height: 34px; }
.map-facade-card strong { font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.map-load-btn {
  display: inline-block; margin-top: .2rem;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: .6rem 1.3rem; border-radius: 999px;
  transition: background .2s ease;
}
.map-facade:hover { filter: brightness(.985); }
.map-facade:hover .map-load-btn { background: var(--orange-dark); }
.map-facade-card small { color: var(--muted); font-size: .76rem; line-height: 1.45; }

/* ---------- Footer ---------- */
.site-footer { background: #14161c; color: rgba(255,255,255,.7); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  padding: 3.2rem 24px 2.4rem;
}
.footer-brand { display: flex; gap: .9rem; align-items: flex-start; }
.footer-mark { color: var(--orange); }
.footer-brand strong { font-family: var(--font-head); color: #fff; display: block; font-size: 1.05rem; }
.footer-brand p { margin: .3rem 0 0; font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a, .footer-contact a { transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact p { margin: 0 0 .5rem; }
.footer-social {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .6rem; color: var(--orange); font-weight: 500; font-family: var(--font-head); font-size: .92rem;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 24px; font-size: .86rem;
}
.footer-bottom-inner nav { display: flex; gap: 1.4rem; }
.footer-bottom-inner a:hover { color: var(--orange); }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(2.5rem, 5vw, 4.5rem) 0 4rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal address { margin: 0 0 1rem; font-style: normal; }
.legal a { color: var(--orange); }
.legal a:hover { text-decoration: underline; }
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--orange); font-weight: 500; margin-bottom: 1.5rem;
}
.note {
  background: var(--orange-soft);
  border: 1px solid #f3d3ab;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: .92rem;
  color: #8a5a12;
  margin-bottom: 2rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { min-height: auto; background-position: center; }
  .hero::before { background: rgba(250,247,242,.93); }
  .hero-copy { max-width: 100%; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1.4rem;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: .8rem; justify-content: center; border-bottom: none !important; }
  .nav-toggle { display: flex; }

  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: .7rem; text-align: center; }
}

@media (max-width: 480px) {
  .usp-grid { grid-template-columns: 1fr; }
  .hero-chip { left: 8px; }
  .brand-text strong { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Karriere-Sektion ---------- */
.karriere-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.karriere-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.karriere-copy .eyebrow { color: rgba(255,255,255,.8); }
.karriere-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .7rem; }
.karriere-copy > p { color: rgba(255,255,255,.88); margin: 0 0 1.4rem; max-width: 52ch; }
.karriere-perks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
}
.karriere-perks li {
  color: rgba(255,255,255,.9); font-size: .95rem; font-weight: 500;
  position: relative; padding-left: 1.3rem;
}
.karriere-perks li::before {
  content: "✓"; position: absolute; left: 0;
  color: #fff; font-weight: 700;
}
.karriere-action { text-align: center; flex-shrink: 0; }
.karriere-action .btn-primary {
  background: #fff; color: var(--orange);
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.25);
}
.karriere-action .btn-primary:hover { background: var(--bg-alt); color: var(--orange-dark); }
.karriere-note { color: rgba(255,255,255,.75); font-size: .85rem; margin: .7rem 0 0; }
.footer-karriere { color: var(--orange) !important; font-weight: 600; }
.nav-karriere { color: var(--orange) !important; font-weight: 600; }

@media (max-width: 720px) {
  .karriere-inner { grid-template-columns: 1fr; }
  .karriere-action { text-align: left; }
}

/* ---------- Recruiting Popup ---------- */
@keyframes popupFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupSlideUp { from { transform: translateY(28px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(28, 31, 38, .58);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: popupFadeIn .3s ease;
}
.popup-overlay[hidden] { display: none !important; }

.popup-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px -24px rgba(28, 31, 38, .5);
  animation: popupSlideUp .35s ease;
}

.popup-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: background .2s, transform .15s;
}
.popup-close:hover { background: var(--orange-soft); transform: scale(1.08); }
.popup-close svg { width: 17px; height: 17px; color: var(--ink); }

.popup-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 480px;
}

.popup-info {
  background: linear-gradient(155deg, var(--ink) 0%, #252a36 100%);
  color: #fff;
  padding: 2.6rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
}
.popup-info .eyebrow { color: var(--orange); margin-bottom: .6rem; }
.popup-title { color: #fff; font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: .4rem; }
.popup-subtitle { color: rgba(255, 255, 255, .6); font-size: .92rem; margin: 0 0 2rem; }

.popup-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.popup-perks li { display: flex; align-items: center; gap: .9rem; }
.perk-icon {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(241, 138, 33, .18);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.perk-icon svg { width: 20px; height: 20px; }
.popup-perks span:last-child { color: rgba(255, 255, 255, .88); font-size: .97rem; font-weight: 500; }

.popup-form-wrap { padding: 2.6rem 2.2rem 2.2rem; }
.popup-form-title { font-size: 1.22rem; margin: 0 0 1.4rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

.form-group { margin-bottom: .95rem; }
.form-group label {
  display: block; font-size: .83rem; font-weight: 600;
  color: var(--ink); margin-bottom: .35rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: .72rem 1rem;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .94rem; color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 138, 33, .14);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.file-upload { display: block; cursor: pointer; }
.file-upload input[type="file"] { display: none; }
.file-upload-inner {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem;
  border: 1.5px dashed var(--line); border-radius: 10px;
  color: var(--muted); font-size: .9rem;
  transition: border-color .2s, background .2s;
}
.file-upload:hover .file-upload-inner,
.file-upload.has-file .file-upload-inner {
  border-color: var(--orange); background: var(--orange-soft); color: var(--ink);
}
.file-upload-inner svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange); }

.recruit-submit { width: 100%; justify-content: center; margin-top: .3rem; }
.form-privacy { font-size: .75rem; color: var(--muted); margin: .7rem 0 0; line-height: 1.55; }
.form-privacy a { color: var(--orange); }

.recruit-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
.recruit-success[hidden] { display: none; }
.recruit-success svg { width: 60px; height: 60px; color: #34c759; }
.recruit-success strong { font-size: 1.18rem; color: var(--ink); }
.recruit-success p { color: var(--muted); margin: 0; }

@media (max-width: 660px) {
  .popup-inner { grid-template-columns: 1fr; }
  .popup-info { padding: 2rem 1.5rem 1.8rem; }
  .popup-form-wrap { padding: 1.8rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
