/* ============================================
   BERUFENET / highlight-card styles
   ============================================ */
.seo-berufsinfo a {
  font-weight: 600;
}
.seo-berufsinfo a:hover {
  text-decoration: underline;
}
.highlight-card {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 1));
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}

/* ========================================================================
   app.css – bewerbungstools.de v2 (System-Schrift, warme Farben)
   ======================================================================== */

/* === 01 Variablen (Standard: warm) === */
:root {
  --max: 980px;
  --max-wide: 1160px;

  --warm-bg: #fff8f0;
  --warm-surface: #ffffff;
  --warm-card: #fffbeb;
  --warm-primary: #d97706;
  --warm-primary-hover: #b45309;
  --warm-soft: rgba(217, 119, 6, 0.10);
  --warm-text: #292524;
  --warm-muted: #78716c;
  --warm-border: #f5e6d3;

  --radius: 14px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --pad: 24px;

  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 42px rgba(15, 23, 42, 0.09);
}

/* === 02 Reset & Base === */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: var(--warm-text);
  background: var(--warm-bg);
}

header, main, footer { display: block; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(217, 119, 6, 0.22); }

/* === 03 Typography === */
h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 850;
  margin: 20px 0 14px;
  text-align: center;
  letter-spacing: -0.5px;
}
h1 strong { font-weight: 950; }

h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.kicker {
  font-size: 16px;
  font-weight: 700;
  color: var(--warm-primary);
  text-align: center;
  letter-spacing: 0.2px;
}

.sub {
  font-size: 18px;
  max-width: 72ch;
  color: var(--warm-muted);
  margin: 10px auto 0;
  text-align: center;
  line-height: 1.7;
}

.small { font-size: 13px; }
.meta, .trust, .nextstep { text-align: center; font-size: 14px; color: var(--warm-muted); }
.note, .hint, .fineprint, .download-info { font-size: 14px; color: var(--warm-muted); }
.fineprint { text-align: center; margin-top: 10px; }

/* === 04 Layout === */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
}

.wrap-seo, .seo-container, .single-col { max-width: 820px; margin: 0 auto; }

.hero { padding: 60px 0 40px; }

/* === 05 Generic components === */
.card, .box {
  background: var(--warm-surface);
  border: 1px solid var(--warm-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.divider { height: 1px; background: var(--warm-border); margin: 26px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800;
  padding: 7px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--warm-border);
  background: var(--warm-soft);
  color: var(--warm-primary);
}

/* === 06 Buttons === */
.cta-row, .actions, .checkout-actions {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.cta-row { justify-content: center; margin-top: 26px; }
.actions { margin-top: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 12px; text-decoration: none;
  font-weight: 850; border: 1px solid var(--warm-border);
  background: transparent; color: var(--warm-text);
  font-size: 16px; cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn.primary {
  background: var(--warm-primary); color: #fff;
  border-color: var(--warm-primary);
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.22);
}
.btn.primary:hover {
  background: var(--warm-primary-hover);
  border-color: var(--warm-primary-hover);
  transform: translateY(-1px);
}

.btn.ghost:hover { background: var(--warm-soft); }

.btn:focus-visible {
  outline: 2px solid rgba(217, 119, 6, 0.42);
  outline-offset: 2px;
}

/* === 07 Forms === */
label { display: block; margin: 14px 0 6px; font-weight: 800; }

input[type="text"], input[type="url"], select, textarea {
  width: 100%; padding: 12px; border-radius: 12px;
  border: 1px solid var(--warm-border);
  background: var(--warm-surface);
  color: var(--warm-text); font: inherit; font-size: 15px;
}

textarea { min-height: 110px; resize: vertical; }

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--warm-muted) 50%),
    linear-gradient(135deg, var(--warm-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(217, 119, 6, 0.42);
  outline-offset: 2px;
}

/* === 08 Navigation (aus Altsystem, warm überschrieben) === */
.bt-site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--warm-border);
}

.bt-site-nav__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bt-site-nav__brand {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--warm-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bt-site-nav__brand-text { font-size: 1rem; line-height: 1.2; }

.bt-site-nav__menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.bt-site-nav__link,
.bt-site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.bt-site-nav__link {
  color: var(--warm-text);
  background: transparent;
}
.bt-site-nav__link:hover { background: var(--warm-soft); }
.bt-site-nav__link.is-active {
  background: var(--warm-soft);
  color: var(--warm-primary);
  font-weight: 700;
}

.bt-site-nav__cta {
  background: var(--warm-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
  margin-left: auto;
}
.bt-site-nav__cta:hover { background: var(--warm-primary-hover); }

.bt-site-nav__toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  border-radius: 0.6rem;
  cursor: pointer;
}
.bt-site-nav__toggle:hover { background: var(--warm-soft); }

.bt-site-nav__toggle-line {
  display: block; width: 22px; height: 2px;
  margin: 4px 0; background: currentColor; border-radius: 2px;
}

.bt-site-nav__toggle-label {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Sprachumschalter (locale-switch.php) */
.bt-locale-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.bt-locale-switch .locale-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  min-height: auto;
  color: var(--warm-muted);
  border-color: transparent;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.bt-locale-switch .locale-btn:hover {
  background: var(--warm-soft);
  color: var(--warm-primary);
}
.bt-locale-switch .locale-btn.is-active {
  background: var(--warm-primary);
  color: #fff;
  border-color: var(--warm-primary);
}

@media (max-width: 900px) {
  .bt-site-nav__inner { flex-wrap: wrap; }
  .bt-site-nav__toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .bt-site-nav__menu { display: none; width: 100%; margin-left: 0; padding-top: 0.4rem; flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .bt-site-nav__menu.is-open { display: flex; }
  .bt-site-nav__link, .bt-site-nav__cta { width: 100%; justify-content: flex-start; border-radius: 0.9rem; padding: 0.8rem 0.95rem; }
  .bt-site-nav__cta { justify-content: center; margin-left: 0; margin-top: 0.15rem; }
}

/* === 09 Footer === */
footer {
  border-top: 1px solid var(--warm-border);
  margin-top: 40px;
  padding: 28px 0 24px;
  background: var(--warm-surface) !important;
}
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-about { max-width: 720px; color: var(--warm-muted); font-size: 0.92rem; line-height: 1.6; }
.footer-about p { margin: 0; }
.footer-about strong { display: block; margin-bottom: 6px; color: var(--warm-text); font-size: 0.96rem; }
.footer-about a { color: var(--warm-primary); text-decoration: none; }
.footer-about a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 0.9rem; }
.footer-links a { color: var(--warm-primary); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { margin-top: 2px; color: var(--warm-muted); font-size: 0.85rem; }

/* === 10 FAQ === */
.faq details {
  border-radius: 12px; padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--warm-card);
  border: 1px solid var(--warm-border);
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; color: var(--warm-muted); }

/* === 11 Loading / Spinner === */
@keyframes btspin { to { transform: rotate(360deg); } }
@keyframes btdots {
  0% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
  100% { opacity: 0.2; transform: translateY(0); }
}

.bt-spinner {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid rgba(15, 23, 42, 0.12);
  border-top-color: var(--warm-primary);
  animation: btspin 0.8s linear infinite;
}

.bt-loading { text-align: center; padding-top: 60px; }
.bt-loader { margin: 40px auto; }
.bt-dots span {
  display: inline-block; width: 8px; height: 8px;
  margin: 0 4px; border-radius: 50%;
  background: var(--warm-primary); opacity: 0.3;
  animation: btdots 1.4s infinite;
}
.bt-dots span:nth-child(2) { animation-delay: 0.2s; }
.bt-dots span:nth-child(3) { animation-delay: 0.4s; }
.bt-status { margin-top: 12px; font-size: 15px; color: var(--warm-muted); }
.bt-progress { width: 320px; height: 6px; margin: 24px auto 0; background: rgba(15, 23, 42, 0.08); border-radius: 3px; overflow: hidden; }
.bt-progress-bar { width: 0%; height: 100%; background: linear-gradient(90deg, var(--warm-primary), #f59e0b); transition: width 0.4s ease; }

/* === 12 SEO / Content (Basis für legacy-Seiten) === */
.seo-header { text-align: center; }
.seo-content { text-align: left; line-height: 1.7; font-size: 18px; }
.seo-content p, .ratgeber-content p { font-size: 17px; line-height: 1.8; }
.seo-content a, .ratgeber-content a { color: var(--warm-primary); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

.problem-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.problem-tile {
  display: block; padding: 1rem 1.1rem;
  border: 1px solid var(--warm-border); border-radius: 16px;
  text-decoration: none; color: inherit;
  background: var(--warm-surface);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.problem-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.problem-tile h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.problem-tile p { margin: 0; font-size: 0.96rem; color: var(--warm-muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

/* === 13 RTL === */
[dir="rtl"] body { direction: rtl; text-align: right; }
[dir="rtl"] ul, [dir="rtl"] ol { margin: 10px 18px 0 0; }
[dir="rtl"] input[type="text"], [dir="rtl"] textarea, [dir="rtl"] select { direction: rtl; text-align: right; }
[dir="rtl"] input[type="url"] { direction: ltr; text-align: left; }

/* === 14 Utility === */
.card-404 { padding: 32px; margin-top: 40px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 20px; }
ul, ol { margin: 10px 0 0 18px; }
li { margin: 6px 0; }
