/*
Theme Name: Neue Stellenanzeigen by ONOX
Theme URI: https://www.neue-stellenanzeigen.de
Author: OpenAI for ONOX
Author URI: https://www.onox.io
Description: Premium WordPress theme for managing and publishing job landing pages with ONOX branding.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: neue-stellenanzeigen-wp
*/

:root {
  --onox-blue: #0d8cff;
  --onox-indigo: #3f5efb;
  --bg: #f5f8fc;
  --bg-soft: #eef3f8;
  --surface: rgba(255,255,255,0.82);
  --text: #0f1728;
  --text-soft: #5d6c83;
  --line: rgba(12,20,35,0.08);
  --shadow-xl: 0 40px 100px rgba(15, 23, 40, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 23, 40, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 23, 40, 0.06);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(13,140,255,0.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(63,94,251,0.10), transparent 24%),
    linear-gradient(180deg, #f9fbff 0%, #f3f7fc 42%, #eef3f8 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 14px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.btn {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 14px 20px; font: inherit;
  font-size: 15px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--onox-blue), var(--onox-indigo)); box-shadow: 0 16px 36px rgba(13,140,255,0.22); }
.btn--secondary { color: var(--text); background: rgba(255,255,255,0.86); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hero { padding: 44px 0 30px; }
.hero__shell {
  position: relative; overflow: hidden; border-radius: 42px; padding: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.74)), linear-gradient(135deg, rgba(13,140,255,0.06), rgba(63,94,251,0.04));
  border: 1px solid rgba(255,255,255,0.84); box-shadow: var(--shadow-xl);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.88); border: 1px solid var(--line); color: var(--text-soft); font-size: 13px; margin-bottom: 18px; box-shadow: var(--shadow-md);
}
.hero h1, .page-hero h1 { margin: 0 0 18px; font-size: clamp(40px, 6vw, 76px); line-height: .95; letter-spacing: -0.065em; }
.hero__copy, .page-hero__copy { font-size: 19px; line-height: 1.55; color: var(--text-soft); max-width: 760px; margin: 0 0 24px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 999px; background: rgba(255,255,255,0.84); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 14px; color: #20314b;
}
.glass-card {
  background: rgba(255,255,255,0.78); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-lg); backdrop-filter: blur(16px);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.section { padding: 34px 0; }
.section-heading { max-width: 760px; margin-bottom: 22px; }
.section-heading h2 { margin: 0 0 8px; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -0.055em; }
.section-heading p { margin: 0; color: var(--text-soft); font-size: 17px; }
.job-card { padding: 24px; min-height: 100%; }
.job-card__title { margin: 0 0 10px; font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--text-soft); font-size: 14px; margin-bottom: 10px; }
.job-card p { color: var(--text-soft); margin: 0 0 18px; }
.split-section { display: grid; grid-template-columns: 1fr 380px; gap: 22px; }
.content-card, .side-card, .apply-card, .footer-card { padding: 34px; }
.content-card h2, .apply-card h2 { margin: 0 0 18px; font-size: 34px; line-height: 1.04; letter-spacing: -0.045em; }
.content-card h3 { margin: 30px 0 12px; font-size: 23px; line-height: 1.08; letter-spacing: -0.03em; }
.content-card ul { margin: 0; padding-left: 18px; color: #27364d; }
.content-card li { margin-bottom: 10px; }
.data-list { display: grid; gap: 10px; margin: 0 0 18px; }
.data-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.data-row span:last-child { text-align: right; color: var(--text-soft); }
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
label { font-size: 14px; font-weight: 600; color: #22324d; }
input, textarea, select {
  width: 100%; border: 1px solid rgba(12,20,35,0.10); background: rgba(255,255,255,0.92); border-radius: 18px; padding: 15px 16px; font: inherit; color: var(--text); outline: none;
}
textarea { min-height: 126px; resize: vertical; }
.small { font-size: 13px; color: var(--text-soft); }
.status-message { padding: 14px 16px; border-radius: 16px; margin-bottom: 14px; font-size: 14px; }
.status-message--success { background: rgba(24,181,107,0.12); color: #0a7a46; border: 1px solid rgba(24,181,107,0.18); }
.status-message--error { background: rgba(255,87,87,0.10); color: #b42318; border: 1px solid rgba(255,87,87,0.18); }
.footer { padding: 28px 0 70px; }
.footer-card { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-card h3 { margin: 0 0 10px; font-size: 20px; }
.footer-card p, .footer-card a { margin: 0 0 8px; color: var(--text-soft); }
.badge { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(13,140,255,.10); color: var(--onox-blue); }
.archive-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.search-box { flex: 1 1 260px; }
.notice-box { padding: 18px; border-radius: 24px; background: rgba(13,140,255,.06); border: 1px solid rgba(13,140,255,.12); color: var(--text-soft); }
@media (max-width: 1180px) {
  .hero__grid, .split-section, .footer-card, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .hero__shell, .glass-card { border-radius: 24px; }
  .hero__shell { padding: 22px; }
  .hero__grid, .split-section, .footer-card, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { font-size: 38px; }
  .hero__copy, .page-hero__copy { font-size: 16px; }
}
