/*
 Theme Name: Hello Child
 Template: hello-elementor
 Description: Child Theme for Hello Theme by Elementor
 Version: 1.0
 Author: Dein Name
*/

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-VariableFont_wght.woff2") format("woff2-variations");
  font-weight: 100 900; /* alle Gewichtungen */
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Geist", sans-serif;
  font-weight: 400; /* Standard */
}

/* View Transitions */
@view-transition {
  navigation: auto;
}

/* Smooth form fade-in after image transition */
.form-wrapper {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Also animate the benefits section */
.benefits {
  opacity: 0;
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Minimal App Navigation */
.app-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.app-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  color: #000;
}

.app-logo svg {
  transition: transform 0.2s ease;
}

.app-logo:hover svg {
  transform: scale(1.05);
}

/* Adjust body to account for fixed nav */
body {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  padding-top: 64px;
}

/* Make sure content doesn't hide behind nav */
.site-header {
  margin-top: 0 !important;
}

#main, .site-main {
  padding-top: 20px;
}

/* Remove gap on archive pages */
.archive #main,
.home #main,
.archive .site-main,
.home .site-main {
  padding-top: 0;
}

/* Also remove any default margins that might cause gaps */
.archive .site-header,
.home .site-header {
  margin: 0 !important;
}

.archive .elementor-section:first-child,
.home .elementor-section:first-child {
  margin-top: 0 !important;
}

/* Back button styling */
.app-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
}

.app-back:hover {
  opacity: 1;
}

.app-back svg {
  width: 16px;
  height: 16px;
}

/* Simple Footer */
.app-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px 0;
}

.app-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.app-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.app-footer-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.app-footer-links a:hover {
  color: #000;
}

.app-footer-links .separator {
  color: #ccc;
}

/* ====== Job Card Link Styles ====== */
.job-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.job-card-link .job-media {
  display: block;
}

.job-card-link .job-title {
  color: inherit;
}

.job-card-link .btn-primary {
  cursor: inherit;
  pointer-events: none;
}

/* ====== Hero Badge for Red Background ====== */
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

/* ====== Form Link Display Fix ====== */
.wpforms-field-content a {
  display: flex !important;
  margin: 2rem auto 0 auto !important;
  width: fit-content !important;
}

/* ====== Section Padding Overrides ====== */
/* Remove form-image-wrapper padding */
.form-image-wrapper {
  padding-bottom: 0 !important;
}

/* Standardize section paddings to 6rem (96px) */
.hero {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.benefits {
  padding-block: 6rem !important;
}

.jobs-archive {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* Benefits grid mobile fixes */
@media (max-width: 768px) {
  .benefits-grid {
    gap: 1rem !important;
  }
  
  .benefit-card {
    padding: 0 !important;
  }
  
  .benefit-description {
    font-size: 0.8125rem !important;
    line-height: 1.3 !important;
  }
}

/* Mobile section padding overrides */
@media (max-width: 768px) {
  .hero {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .benefits {
    padding-block: 3rem !important;
  }

  .jobs-archive {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Mobile padding for impressum content section */
  .content-section {
    padding: 3rem 1.25rem !important;
  }
}
