/*
Theme Name: WMO Theme
Theme URI: https://example.com
Description: 
Author: molecoadmin
Author URI: https://example.com
Template: agency-base
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wmo
*/

/* 
 * Child Theme Styles
 * 
 * Überschreibe hier Styles des Parent Themes.
 * Nutze CSS-Variablen aus dem Parent Theme für konsistentes Design.
 */

html,
body {
  font-family: 'LexendDeca', sans-serif;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

.wrapper,
main {
  flex: 1 0 auto;
}
.site-header,
.footer {
  flex-shrink: 0;
}
.custom-product-linked-page {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

:root {
  --brand-primary-text-color: #666; /* Dunkleres Grau für bessere Lesbarkeit */
  --brand-header-text-color: #535353; /* Header-Textfarbe  */
}
/* 
.spacing-bottom {
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}
.spacing-top {
    padding-top: 4rem;
    margin-top: 4rem;
} */

h2,
h1 {
  color: var(--brand-header-text-color);
  margin: 0;
  font-size: clamp(1.55rem, 1.8vw, 2rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.5vw, 1.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--brand-header-text-color);
}

p {
  color: var(--brand-primary-text-color);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: var(--brand-accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--brand-accent-color-hover);
}

.btn {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-accent-color);
  background: var(--brand-accent-color);
  color: #fff;
  min-height: 30px;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.btn:hover {
  color: #fff;
  background: var(--brand-accent-color-hover);
}
.btn:active {
  color: var(--brand-accent-color) !important;
  background: var(--brand-primary-color) !important;
  border: 1px solid var(--brand-accent-color) !important;
}

/* ================================
   Job Single Page
================================ */
.jobsingle #karrieresingle {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* Header Image / Hero */
.jobsingle .headerbild {
  position: relative;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  /* height: clamp(320px, 44vw, 560px); */
  overflow: hidden;
  background: var(--bs-light, #f8f9fa);
}

.jobsingle .headerbild::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28)),
    linear-gradient(135deg, rgba(239, 124, 0, 0.24), rgba(0, 0, 0, 0.04));
  pointer-events: none;
}

.jobsingle .headerbild img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
}

.jobsingle h1.headline {
  font-size: clamp(2rem, 2.5vw, 3rem);
}
.jobsingle .infos {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  padding-top: 2rem;
  padding-bottom: 3rem;
  gap: 0.9rem 1.35rem;
}

.jobsingle .start,
.jobsingle .anstellung {
  position: relative;
  display: inline-flex;
  gap: 1rem;
  min-height: 32px;
  margin: 0;
}

.jobsingle .job_order:hover .start::before,
.jobsingle .job_order:hover .anstellung::before {
  transform: translateY(-50%) scale(1.08);
}

.jobsingle h2.headline {
  margin-bottom: 1rem;
}
/* Main info area */
.jobsingle .informationen {
  position: relative;
}

.jobsingle .informationen .left,
.jobsingle .informationen .right {
  position: relative;
}

.jobsingle .inhalt {
  padding-right: 2rem;
  position: relative;
}

.jobsingle .beschreibung,
.jobsingle .aufgaben,
.jobsingle .bieten,
.jobsingle .mitbringen {
  position: relative;
  z-index: 1;
}

.jobsingle .beschreibung p,
.jobsingle .inhalt li {
  color: var(--brand-primary-text-color);
  font-size: 1rem;
  line-height: 1.7;
}

.jobsingle .beschreibung p:last-child {
  margin-bottom: 0;
}

.jobsingle .bieten,
.jobsingle .mitbringen {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 3px solid var(--brand-primary-color-dark);
}

/* Lists */
.jobsingle .inhalt ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jobsingle .inhalt li {
  position: relative;
  padding-left: 1.75rem;
}

.jobsingle .inhalt li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-accent-color);
  box-shadow: 0 0 0 5px rgba(239, 124, 0, 0.12);
}

/* Right side */
.jobsingle .right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.jobsingle .contact-form-wrapper {
  position: relative;
}
.jobsingle .contact-form-wrapper::before {
  content: 'Bewerbung';
  display: block;
  margin-bottom: 1.5rem;
  color: var(--brand-header-text-color);
  font-size: clamp(1.55rem, 1.8vw, 2rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jobsingle .contact-form-wrapper .text-muted {
  margin: 0;
  color: var(--brand-primary-text-color);
  font-size: 1rem;
  line-height: 1.6;
}

/* Collage */
.jobsingle .collage {
  overflow: hidden;
  border-radius: 22px;
  background: var(--bs-light, #f8f9fa);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.08);
}

.jobsingle .collage img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Benefits section */
.jobsingle .benefits {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #fff;
}

.jobsingle .benefits .header {
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.jobsingle .benefits .header .headline {
  margin: 0;
  color: var(--brand-header-text-color);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.jobsingle .benefits .header .text {
  color: var(--brand-primary-text-color);
  font-size: 1rem;
  line-height: 1.7;
}

.jobsingle .benefits .header .text p:last-child {
  margin-bottom: 0;
}

.jobsingle .benefits .row:last-child {
  row-gap: 1.5rem;
}

.jobsingle .benefits .item {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--lightgrey);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.06);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.jobsingle .benefits .item:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 124, 0, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.jobsingle .benefits .item img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.jobsingle .benefits .item span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand-header-text-color);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.jobsingle .benefits .item p {
  color: var(--brand-primary-text-color);
  font-size: 0.98rem;
  line-height: 1.6;
}

.jobsingle .benefits .item p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .jobsingle .headerbild {
    height: clamp(260px, 52vw, 420px);
  }

  .jobsingle .informationen > .headline {
    margin-bottom: 2rem;
  }

  .jobsingle .right {
    margin-top: 2rem;
  }

  .jobsingle .benefits .header .text {
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .jobsingle .headerbild {
    height: 240px;
    margin-bottom: 3rem;
  }

  .jobsingle .inhalt,
  .jobsingle .contact-form-wrapper,
  .jobsingle .collage,
  .jobsingle .benefits .item {
    border-radius: 18px;
  }

  .jobsingle .inhalt,
  .jobsingle .contact-form-wrapper {
    padding: 1.35rem;
  }

  .jobsingle .informationen > .headline {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
}
