/* ═══════════════════════════════════════
   Single: Stellenangebot
   Hero: Hell wie Startseite mit Glow
   ═══════════════════════════════════════ */

/* ─── Smooth Page Entrance ─── */
.stelle-single {
  animation:stelleFadeIn .5s ease both;
}
@keyframes stelleFadeIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .stelle-single { animation:none; }
}

/* ─── Hero: Heller Hintergrund mit Glow ─── */
.stelle-hero {
  padding:148px 0 28px;
  background:#fff;
  position:relative;
  overflow:hidden;
}

/* Glow-Effekt wie Startseiten-Hero */
.stelle-hero-glow {
  position:absolute; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(ellipse 70% 55% at 60% -8%, rgba(123,189,212,.18) 0%, transparent 70%),
    radial-gradient(ellipse 35% 25% at 90% 30%, rgba(29,111,164,.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 60%, rgba(123,189,212,.05) 0%, transparent 60%);
}

/* Overlay damit Header/Nav klar lesbar */
.stelle-hero::before {
  content:'';
  position:absolute; top:0; left:0; right:0;
  height:120px; z-index:1;
  background:linear-gradient(to bottom, rgba(255,255,255,.95) 0%, rgba(255,255,255,.6) 60%, transparent 100%);
  pointer-events:none;
}

.stelle-hero-inner { position:relative; z-index:2; }

/* Titel */
.stelle-hero h1 {
  font-size:clamp(2rem, 3.8vw, 3rem);
  color:var(--navy); line-height:1.1;
  max-width:750px;
}

/* ─── Banner-Bild (im Hero, zwischen Breadcrumb und Titel) ─── */
.stelle-banner {
  margin-bottom:44px;
  border-radius:18px;
  overflow:hidden;
}
.stelle-banner img {
  width:100%;
  height:auto;
  max-height:400px;
  object-fit:cover;
  display:block;
}


/* ─── Content Grid ─── */
.stelle-grid {
  display:grid;
  grid-template-columns:1fr 360px;
  gap:48px;
  padding:24px 0 96px;
}

/* ─── Hauptinhalt ─── */
.stelle-intro {
  font-size:1.08rem; font-weight:500; color:var(--body);
  line-height:1.8; padding-bottom:32px;
  margin-bottom:32px; border-bottom:1px solid var(--border);
}
.stelle-intro p { font-size:1.08rem; line-height:1.8; }

.stelle-section { margin-bottom:40px; }
.stelle-section:last-child { margin-bottom:0; }

.stelle-section h2 {
  font-size:1.15rem; font-weight:800; color:var(--navy);
  margin-bottom:18px; display:flex; align-items:center; gap:10px;
}
.stelle-section h2 i {
  color:var(--blue); font-size:1.15rem;
  width:36px; height:36px; border-radius:9px;
  background:var(--off); border:1px solid var(--border);
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.stelle-section p {
  color:var(--body); line-height:1.75; margin-bottom:12px;
}
.stelle-section ul, .stelle-section ol {
  margin:0 0 16px 4px; padding-left:20px; color:var(--body);
}
.stelle-section li {
  margin-bottom:8px; line-height:1.7; padding-left:4px;
}
.stelle-section li::marker { color:var(--blue); }


/* ─── Sidebar ─── */
.stelle-sidebar {
  position:sticky; top:calc(var(--nav-h-scrolled) + 20px);
  display:flex; flex-direction:column; gap:18px;
}

/* Info-Karte (Auf einen Blick) – steht oben */
.stelle-info-card {
  background:var(--off); border:1.5px solid var(--border);
  border-radius:16px; padding:28px 24px;
}
.stelle-info-card h4 {
  font-size:1rem; font-weight:800; color:var(--navy);
  margin-bottom:16px;
}
.stelle-info-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0; border-bottom:1px solid var(--border);
  font-size:.9rem;
}
.stelle-info-row:last-child { border-bottom:none; }
.stelle-info-row span { color:var(--steel); font-weight:500; }
.stelle-info-row strong { color:var(--navy); font-weight:700; }

/* CTA-Karte (Interesse geweckt?) – steht unten */
.stelle-cta-card {
  background:var(--navy); border-radius:16px;
  padding:32px 28px; text-align:center;
}
.stelle-cta-card h3 {
  color:#fff; font-size:1.15rem; font-weight:800; margin-bottom:8px;
}
.stelle-cta-card p {
  color:rgba(255,255,255,.5); font-size:.9rem;
  line-height:1.6; margin-bottom:20px;
}
.stelle-cta-card .btn-fill { width:100%; justify-content:center; }
.stelle-kontakt {
  margin-top:20px; padding-top:16px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex; flex-direction:column; gap:2px;
}
.stelle-kontakt-label {
  font-size:.6rem; font-weight:800; letter-spacing:.14em;
  text-transform:uppercase; color:rgba(255,255,255,.35);
}
.stelle-kontakt-name { font-size:.95rem; font-weight:600; color:#fff; }


/* ─── Responsive ─── */
@media (max-width:1024px) {
  .stelle-grid { grid-template-columns:1fr; }
  .stelle-sidebar { position:static; }
}
@media (max-width:900px) {
  .stelle-hero { padding:132px 0 20px; }
  .stelle-grid { padding:24px 0 72px; gap:36px; }
  .stelle-banner { margin-bottom:32px; border-radius:14px; }
  .stelle-banner img { max-height:300px; }
}
@media (max-width:768px) {
  .stelle-hero { padding:116px 0 16px; }
  .stelle-hero h1 { font-size:1.6rem; }
  .stelle-section h2 { font-size:1.05rem; }
  .stelle-section h2 i { width:30px; height:30px; font-size:1rem; }
  .stelle-grid { padding:20px 0 56px; }
  .stelle-banner { margin-bottom:24px; border-radius:12px; }
  .stelle-banner img { max-height:240px; }
}
@media (max-width:480px) {
  .stelle-cta-card { padding:24px 20px; }
  .stelle-info-card { padding:22px 18px; }
  .stelle-banner { border-radius:10px; }
  .stelle-banner img { max-height:180px; }
}


/* ═══════════════════════════════════════
   Archive: Stellenangebote
   ═══════════════════════════════════════ */
.stelle-archive { padding:148px 0 96px; min-height:60vh; }
.stelle-archive-header { text-align:center; margin-bottom:56px; }
.stelle-archive-header h1 { color:var(--navy); margin-bottom:12px; }
.stelle-archive-header p { color:var(--body); font-size:1.05rem; max-width:540px; margin:0 auto; }
.stelle-archive-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; }
.stelle-card {
  background:#fff; border:1.5px solid var(--border); border-radius:14px;
  overflow:hidden; text-decoration:none; transition:all .3s;
  display:flex; flex-direction:column;
}
.stelle-card:hover {
  transform:translateY(-4px);
  box-shadow:0 18px 48px rgba(27,54,100,.1);
  border-color:rgba(29,111,164,.28);
}
.stelle-card-img { aspect-ratio:16/9; overflow:hidden; background:var(--off); position:relative; }
.stelle-card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.stelle-card-new {
  position:absolute; top:14px; right:14px;
  background:var(--blue); color:#fff;
  font-size:.65rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  padding:6px 12px; border-radius:50px;
  box-shadow:0 4px 14px rgba(29,111,164,.35);
}
.stelle-card-body { padding:24px; flex:1; display:flex; flex-direction:column; }
.stelle-card-head {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-bottom:12px; flex-wrap:wrap;
}
.stelle-card-tag {
  display:inline-block; font-size:11px; font-weight:800;
  letter-spacing:.18em; text-transform:uppercase; color:var(--blue);
}
.stelle-card-date {
  display:inline-flex; align-items:center; gap:5px;
  font-size:.72rem; font-weight:600; color:var(--steel);
  line-height:1;
}
.stelle-card-date i { font-size:.85rem; color:var(--steel); }
.stelle-card-body h2 { font-size:1.15rem; color:var(--navy); margin-bottom:12px; line-height:1.3; }
.stelle-card-meta { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:12px; }
.stelle-card-meta span {
  display:inline-flex; align-items:center; gap:4px;
  font-size:.8rem; color:var(--steel); font-weight:500;
}
.stelle-card-meta i { color:var(--blue); font-size:.9rem; }
.stelle-card-body p { color:var(--body); font-size:.9rem; line-height:1.6; margin-bottom:16px; flex:1; }
.stelle-card-link {
  display:inline-flex; align-items:center; gap:4px; margin-top:auto;
  font-size:.85rem; font-weight:700; color:var(--blue); transition:gap .3s;
}
.stelle-card:hover .stelle-card-link { gap:8px; }
.stelle-empty {
  text-align:center; padding:clamp(48px, 10vw, 80px) clamp(20px, 5vw, 40px);
  background:var(--off); border:1.5px dashed var(--border); border-radius:14px;
  grid-column:1 / -1;
}
.stelle-empty i { font-size:3rem; color:var(--border); margin-bottom:16px; display:block; }
.stelle-empty h2 { color:var(--navy); margin-bottom:8px; font-size:1.3rem; }
.stelle-empty p { color:var(--steel); max-width:400px; margin:0 auto; }
.nav-links { display:flex; justify-content:center; gap:8px; margin-top:48px; }
.nav-links a, .nav-links span {
  padding:10px 16px; border:1.5px solid var(--border); border-radius:8px;
  font-size:.9rem; font-weight:600; color:var(--navy); text-decoration:none; transition:all .3s;
}
.nav-links a:hover { background:var(--navy); color:#fff; border-color:var(--navy); }
.nav-links .current { background:var(--blue); color:#fff; border-color:var(--blue); }
@media (max-width:900px) { .stelle-archive { padding:140px 0 72px; } }
@media (max-width:768px) { .stelle-archive-grid { grid-template-columns:1fr; } .stelle-archive { padding:120px 0 56px; } }
