/* ==========================================================================
   PrimaVera Naturkorn GmbH - Ausbildungs- & Karriereseite
   Design System & Styling
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary-green: #006837;
  --primary-green-hover: #004d28;
  --primary-green-light: #e8f5e9;
  --accent-gold: #F7B500;
  --accent-gold-hover: #e0a300;
  --accent-gold-light: #fff8e1;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-cream: #FDFBF7;
  --bg-white: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --border-light: rgba(0, 104, 55, 0.12);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 104, 55, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  background-color: var(--accent-gold-light);
  color: #b78100;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(247, 181, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  background: var(--primary-green);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 104, 55, 0.25);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
}

.brand-sub {
  font-size: 0.75rem;
  color: #555;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary-green) 0%, #004d28 100%);
  color: var(--bg-white) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 104, 55, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 104, 55, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-green);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 130px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #F5F0E6 0%, var(--bg-cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-green);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 104, 55, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-green);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, var(--accent-gold) 0%, #FFA000 100%);
  color: #111;
  padding: 2px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  transform: rotate(-1deg);
  margin-top: 6px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--primary-green);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(0, 104, 55, 0.3);
}

.btn-primary:hover {
  background: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 104, 55, 0.4);
}

.btn-secondary {
  background: var(--accent-gold);
  color: #111;
  box-shadow: 0 8px 20px rgba(247, 181, 0, 0.3);
}

.btn-secondary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 104, 55, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-green);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-white);
}

.hero-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-green-light);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Cool Floating IHK Badge */
.hero-ihk-badge {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #ffffff;
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 50, 120, 0.22), 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 3px solid #ffffff;
  z-index: 12;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ihk-badge img {
  width: 135px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.hero-ihk-badge:hover {
  transform: translateY(-5px) scale(1.06) rotate(1.5deg);
  box-shadow: 0 20px 42px rgba(0, 50, 120, 0.3);
}

@media (max-width: 768px) {
  .hero-ihk-badge {
    top: -10px;
    right: -10px;
  }
  .hero-ihk-badge img {
    width: 100px;
  }
}

/* Basic Facts Section */
.facts-map-link {
  transition: all 0.25s ease;
}
.facts-map-link:hover {
  background: #e8f5e9 !important;
}
.facts-map-link:hover strong {
  color: var(--primary-green-hover) !important;
}
.facts-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.facts-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.facts-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.bio-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.cert-badge {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.facts-list {
  display: grid;
  gap: 1.2rem;
}

.fact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.fact-item:hover {
  border-color: var(--border-light);
  background: #FFF;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.fact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fact-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--primary-green);
}

.fact-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Jobs Hub Section */
.jobs-section {
  padding: 90px 0;
  background: var(--bg-cream);
}

.job-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.job-tab-btn {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-tab-btn:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.job-tab-btn.active {
  background: var(--primary-green);
  color: var(--bg-white);
  border-color: var(--primary-green);
  box-shadow: 0 6px 16px rgba(0, 104, 55, 0.3);
}

.job-content-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.job-content-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-Back-to-Jobs Navigation Buttons */
.job-back-to-tabs-row {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px dashed rgba(0, 104, 55, 0.25);
  display: flex;
  justify-content: center;
}

.btn-jump-to-tabs {
  background: var(--bg-white);
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.btn-jump-to-tabs:hover {
  background: var(--primary-green);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 104, 55, 0.25);
}

.btn-jump-to-tabs i {
  transition: transform 0.2s ease;
}

.btn-jump-to-tabs:hover i {
  transform: translateY(-2px);
}

/* Floating Scroll Back to Jobs Arrow Button */
.scroll-to-jobs-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-green) 0%, #004d28 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 11px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(0, 104, 55, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-to-jobs-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-jobs-btn:hover {
  background: linear-gradient(135deg, #007a41 0%, var(--primary-green) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 104, 55, 0.5);
  border-color: var(--accent-gold);
}

.scroll-to-jobs-btn i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.scroll-to-jobs-btn:hover i {
  transform: translateY(-3px);
}

.job-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.job-main-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.job-title-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-green-light);
}

.job-title-header h3 {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.job-meta-pills {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.meta-pill {
  background: var(--primary-green-light);
  color: var(--primary-green);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-body-section {
  margin-bottom: 1.8rem;
}

.job-body-section h4 {
  font-size: 1.2rem;
  color: var(--primary-green);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-body-section p {
  color: #475569;
  font-size: 0.975rem;
  line-height: 1.7;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.checklist li i {
  color: var(--primary-green);
}

.job-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 260px;
}

.job-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-facts-box {
  background: var(--primary-green);
  color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.job-facts-box h4 {
  color: var(--accent-gold);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.fact-row {
  margin-bottom: 1rem;
}

.fact-row:last-child {
  margin-bottom: 0;
}

.fact-row label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.fact-row span {
  font-weight: 700;
  font-size: 1.05rem;
}

/* Azubi Interview Section */
.interview-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.interview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.interview-header h4 {
  font-size: 1.5rem;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.did-you-know-badge {
  background: var(--accent-gold);
  color: #111;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.accordion {
  display: grid;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-cream);
  transition: var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--primary-green);
}

.accordion-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--primary-green-light);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary-green);
  color: #fff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: var(--bg-white);
  padding: 0 1.5rem;
}

.accordion-content p {
  padding: 1.2rem 0;
  color: #334155;
  font-size: 0.975rem;
  line-height: 1.7;
  font-style: italic;
}

/* Benefits Employer Section */
.benefits-section {
  padding: 90px 0;
  background: var(--bg-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-cream);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: #FFF;
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-green-light);
  color: var(--primary-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-card h4 {
  font-size: 1.15rem;
  color: var(--primary-green);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact & Application Section */
.contact-section {
  padding: 45px 0 55px 0;
  background: linear-gradient(135deg, #004d28 0%, #006837 100%);
  color: var(--bg-white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.contact-info-box h2 {
  color: var(--accent-gold);
  font-size: 2.3rem;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.contact-info-box p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.contact-card-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-card-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card-item i {
  font-size: 1.3rem;
  color: var(--accent-gold);
}

.contact-card-item div span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

.contact-card-item div strong {
  font-size: 0.95rem;
}

.application-form-card {
  background: var(--bg-white);
  color: var(--text-main);
  padding: 1.6rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.application-form-card h3 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.application-form-card p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}

.form-group {
  margin-bottom: 0.7rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 104, 55, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 55px;
  height: 55px;
}

input[type="file"].form-control {
  padding: 6px 10px;
  background: #f8fafc;
  cursor: pointer;
  font-size: 0.85rem;
}

input[type="file"].form-control:hover {
  background: #f1f5f9;
  border-color: var(--primary-green);
}

.application-form-card .btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-white);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

/* Footer */
footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .facts-grid, .job-detail-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Job Tabs & Floating Action Button */
  .scroll-to-jobs-btn {
    bottom: 18px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.88rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }

  .job-tabs {
    flex-direction: column;
    gap: 0.6rem;
  }

  .job-tab-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.8rem 1.2rem;
    font-size: 0.92rem;
  }
}

/* PIN Protection Overlay Styles */
.pin-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #00361c 0%, #006837 50%, #002413 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pin-screen-overlay.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pin-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  padding: 2.8rem 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.pin-card.shake {
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-8px, 0, 0); }
  40%, 60% { transform: translate3d(8px, 0, 0); }
}


/* ==========================================
   Dynamic Job Status Styles (Aktiv / Besetzt)
   ========================================== */
.job-tab-btn.is-filled-tab {
  opacity: 0.85;
}

.job-tab-btn.is-filled-tab:hover {
  opacity: 1;
}

.job-tab-btn span.badge-besetzt-tag {
  background: #fef3c7 !important;
  color: #b45309 !important;
  font-weight: 700;
}

.job-besetzt-banner {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.12);
}

.job-besetzt-banner .banner-icon {
  font-size: 2.5rem;
  color: #d97706;
  flex-shrink: 0;
}

.job-besetzt-banner h4 {
  color: #b45309;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.job-besetzt-banner p {
  color: #78350f;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.btn-initiativ {
  background: #d97706 !important;
  color: #ffffff !important;
}

.btn-initiativ:hover {
  background: #b45309 !important;
}
