/* ROOT VARIABLES */
:root {
    --bg-dark: #000000;
    --bg-light: #ffffff;
    --accent: #d0df00; /* neon-gelb / lime */
    --text-main: #111111;
    --text-muted: #666666;
    --transition-fast: 0.2s ease;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* Services sticky offset (match your fixed header clearance) */
    --sticky-top: 120px;
}

/* GLOBAL RESET */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden; /* Safety net gegen horizontales Scrollen */
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background: var(--bg-light);
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    color: #fff;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background:white;
}

.header-inner {
    margin: 0 auto;
    padding: 30px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo img {
    height: 40px;
    display: block;
}

.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-toggle img {
    height: 30px;
    width: auto;
    display: block;
}

/* FULLSCREEN NAV OVERLAY */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 1);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-overlay-inner {
    margin: 0 auto;
    height: 100%;
    padding: 3.5rem 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    position: absolute;
    top: 30px;
    left: 30px;
}

.nav-logo img {
    height: 40px;
    display: block;
}

/* Close-Button */
.nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
}

/* Menü-Liste */
.nav-overlay ul {
    list-style: none;
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 0;
}

.nav-overlay li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-overlay li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-overlay a {
    display: block;
    padding: 0.9rem 0;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: left;
}

.nav-overlay a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* erster Link etwas stärker */
.nav-overlay li.active a {
    font-weight: 700;
}

/* Scroll-Lock wenn Menü offen */
body.nav-open {
    overflow: hidden;
}

/* HERO – Full Width */
.hero {
    position: relative;
    color: var(--accent);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/background-images/StageB.png') center/cover no-repeat;
}

.hero-content {
    position: relative;
  	padding: 6rem;
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    text-transform: uppercase;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: 0.08em;
}

.hero p {
    max-width: 600px;
    margin-top: 1.5rem;
    color: #f5f5f5;
}

/* BANDS – FULL WIDTH */
.band-section {
    background: #fff;
    padding: 4rem 0 1rem;
    color: #fff;
    overflow-x: hidden; /* Wichtig wegen der Transforms */
    width: 100%;
}

.band-section.band-section-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

/* Band-Grid full width */
.band {
    margin: 0 0 10rem;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
    min-height: 450px;
    width: 100%;
}

.band-section.band-section-hero .band {
    width: 100%;
}

.band--right {
    direction: rtl;
}

.band--right > * {
    direction: ltr;
}

.band-content {
    background: var(--accent);
    padding: 2rem 2.5rem;
    clip-path: polygon(0 0, 100% 0%, 86.35% 100%, 0% 100%);
    z-index: 2;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.band--right .band-content {
    clip-path: polygon(13.5% 0, 100% 0%, 100% 100%, 0% 100%);
}

.band h2 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0;
    font-size: 40px;
}

.band p {
    max-width: 520px;
    font-size: 20px;
}

.band h2, .band p {
    max-width: 500px;
}

.band-link {
    display: inline-block;
    margin-top: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: #fff;
}

.band-link:hover {
    opacity: 0.8;
}

.band-content h2,
.band-content p,
.band-content .band-link {
    transform: translateX(50px);
}

.band--right .band-content h2,
.band--right .band-content p,
.band--right .band-content .band-link {
    transform: translateX(180px);
}

.band-image {
    background: #333 center/cover no-repeat;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
    transform: translateX(-280px) translateY(40px); /* etwas reduziert für weniger Overflow-Risiko */
    min-height: 450px;
}

.band--right .band-image {
    transform: translateX(250px) translateY(40px);
}

/* FAQ Preview – Breiter, aber mit Padding */
.faq-preview {
    margin: 0 auto 3rem;
    padding: 1rem 50px 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 2rem;
    background: #fff;
    color: var(--text-main);
    width: 100%;
}

/* GENERISCHE SECTIONS – Inhalt breiter */
.intro-text,
.faq-section,
.background-section,
.jobs-list,
.references-grid,
.legal-text,
.facts-grid,
.services-grid {
    margin: 0 auto;
    padding: 2rem 50px 3rem;
    width: 100%;
}

.intro-text p {
    max-width: 900px;
}

/* FACTS */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.fact {
    background: var(--accent);
    padding: 2rem;
    text-align: left;
}

.fact-number {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-block {
    border-top: 4px solid var(--accent);
    padding-top: 1rem;
}

/* REFERENCES */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.reference-card {
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.reference-image {
    height: 180px;
    background: #ccc;
}

.reference-content {
    padding: 1.5rem;
}

.reference-meta {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* JOBS */
.job-card {
    background: #f5f5f5;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-top: 1rem;
}

/* LEGAL TEXT */
.legal-text h2 {
    margin-top: 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ACCORDION */
.accordion {
  border-top: 1px solid #ddd;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 0.9rem 0;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  margin-left: 1rem;
  font-weight: bold;
  display: inline-block;
  transition: transform .2s ease;
}

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0; /* closed */
}

.accordion-item.active .accordion-body {
  max-height: 1000px;          /* big enough for any content */
  padding: 0 0 0.75rem 0;      /* open spacing */
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.service-points { position: relative; z-index: 5; }
.accordion-header { position: relative; z-index: 6; }

/* SLOGAN unter dem Hero */
.slogan {
    background: #fff;
    color: #000;
    padding: 6rem 0 5rem;
    width: 100%;
}

.slogan p {
    max-width: 1100px;
    margin: 0;
    padding: 0 100px;
    font-size: 2.5rem;
    line-height: 1.6;
}

/* CAREER SECTION */
.carreer-wrapper {
    width: 100%;
}

.carreer-section {
    width: 100%;
    background-color: var(--accent);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 50px;
}

.carreer-section-title {
    position: relative;
    background: var(--accent);
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    align-items: center;
    font-size: 200px;
}

.career-title-svg {
    font-family: Montserrat, Futura, Arial, sans-serif;
    font-size: 110px;
    font-weight: 700;
    letter-spacing: 4px;

    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linejoin: miter;
    stroke-linecap: butt;
}

.carreer-section-content {
    width: 70%;
    color: #fff;
    font-size: 20px;
}

.carreer-section-content p {
    line-height: 2rem;
}

.carreer-section-content a {
    text-transform: uppercase;
    transform: translateY(25px);
}

.carreer-section-title,
.carreer-section-content {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.career-section-title h3 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: transparent;
    -webkit-text-stroke: 4px #fff;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 2560px) {
    .band-image {
        transform: translateX(-280px) translateY(40px);
    }

    .band--right .band-image {
        transform: translateX(260px) translateY(40px);
    }
}

@media (max-width: 1920px) {
    .band-image {
        transform: translateX(-220px) translateY(40px);
    }

    .band--right .band-image {
        transform: translateX(200px) translateY(40px);
    }
}

@media (max-width:1668px) {
    .band-image {
        transform: translateX(-150px) translateY(40px);
    }

    .band--right .band-image {
        transform: translateX(130px) translateY(40px);
    }
}

/* max-width: 900px */
@media (max-width: 900px) {
    .band {
        grid-template-columns: 1fr;
        margin-bottom: 4rem;
        padding: 0 25px;
    }

    .band-content, .band--right .band-content {
        clip-path: none;
    }

    .band--right {
        direction: ltr;
    }

    .band-content h2,
    .band-content p,
    .band-content .band-link,
    .band--right .band-content h2,
    .band--right .band-content p,
    .band--right .band-content .band-link {
        transform: none;
    }

    .band-content h2 {
        font-size: 30px;
    }

    .band-image,
    .band--right .band-image {
        clip-path: none;
        transform: none;
        min-height: 260px;
        margin-top: 1rem;
    }

    .faq-preview {
        grid-template-columns: 1fr;
        padding: 1rem 25px 3rem;
    }

    .carreer-wrapper {
        min-height: auto;
    }

    .carreer-section {
        grid-template-columns: 1fr;
        padding: 0 25px;
    }

    .carreer-section-title,
    .carreer-section-content {
        min-height: auto;
        padding: 3rem 0;
    }

    .carreer-section-content {
        width: 100%;
    }

    .slogan p {
        padding: 0 25px;
        font-size: 1.8rem;
    }

    .intro-text,
    .faq-section,
    .background-section,
    .jobs-list,
    .references-grid,
    .legal-text,
    .facts-grid,
    .services-grid {
        padding: 2rem 25px 3rem;
    }

    .site-footer {
        padding: 2.5rem 25px 2rem;
    }
}

/* max-width: 768px */
@media (max-width: 768px) {
    .band-content h2 {
        font-size: 20px;
    }

    .career-title-svg {
        font-size: 220px;
    }

    .nav-overlay-inner {
        padding: 3rem 1.8rem 2rem;
    }

    .nav-overlay a {
        font-size: 1.1rem;
        letter-spacing: 0.16em;
    }

    .nav-close {
        right: 1.8rem;
        top: 1.8rem;
        font-size: 36px;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        padding: 3rem 25px 4rem;
    }

    .slogan {
        padding: 4rem 0 3rem;
    }

    .slogan p {
        font-size: 1.6rem;
    }
}

/* Initial hidden state for scroll animation */
.band-content,
.band-image {
    opacity: 0;
    will-change: transform, opacity;
}

/* Disable animation & hiding inside band-section-hero */
.band-section-hero .band-content,
.band-section-hero .band-image {
    opacity: 1 !important;
    animation: none !important;
}

/* ===== SERVICES PAGE (below hero) ===== */

.services-intro {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.services-intro p {
  max-width: 900px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* Parallax (CSS-only, desktop) */
.services-switch {
  position: relative;
  width: 100%;
  min-height: 50vh;
  overflow: hidden;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.services-switch-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.services-switch-inner {
  position: relative;
  z-index: 2;
  min-height: 380px;
  padding: 3rem 50px;
  display: grid;
  grid-template-columns: minmax(260px, 520px) 1fr;
  gap: 2rem;
  align-items: center;
}

.services-switch-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services-switch-link {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
}

.services-switch-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.25);
}

.services-switch-link.is-active::after,
.services-switch-link:hover::after {
  background: var(--accent);
}

.service-sticky-wrap {
  background: #fff;
}

/* IMPORTANT: title needs a positioning context */
.service-detail {
  background: #fff;
  color: var(--text-main);
  padding: 5rem 0;
  position: relative; /* needed for JS absolute-bottom fallback */
}

.service-detail + .service-detail {
  padding-top: 3.5rem;
}

.service-detail-grid {
  width: 100%;
  padding: 0 50px;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 1.4fr);
  gap: 3rem;
  align-items: start;
}

/* Title styles (JS will control position) */
.service-detail-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.02;
  z-index: 5;
}

.service-detail-body {
  display: block;
}

.service-detail-body p {
  margin: 0 0 1.5rem;
  max-width: 680px;
  line-height: 1.9;
  color: #222;
}

.service-points {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.service-point {
  background: var(--accent);
  color: #fff;
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  z-index: -10;
}

.service-point-icon {
  display: inline-block;
  font-weight: 700;
  transform: translateY(1px);
}

/* Reverse layout (grid swap, safe) */
.service-detail--reverse .service-detail-title { grid-column: 2; }
.service-detail--reverse .service-detail-body  { grid-column: 1; }

/* Mobile */
@media (max-width: 900px) {
  .services-switch { background-attachment: scroll; }

  .services-switch-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem 25px;
  }

  .service-detail { padding: 3.5rem 0; }
  .service-detail-grid {
    grid-template-columns: 1fr;
    padding: 0 25px;
    gap: 1.75rem;
  }
}

.facts h2 {
  font-size: 50px;
  padding-left: 50px;
}

/* ===== REFERENCES PAGE (new layout) ===== */

.references-page{
  width: 100%;
  padding: 6rem 50px 8rem;
  background: #fff;
  color: var(--text-main);
}

.reference-row{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 0.9fr);
  gap: 6rem;
  align-items: start;
}

/* swap sides per row */
.reference-row--reverse{
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.2fr);
}
.reference-row--reverse .reference-block{ grid-column: 2; }
.reference-row--reverse .reference-testimonial{ grid-column: 1; }

/* Reference block typography like your screenshot */
.reference-title{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  position: relative;
  padding-bottom: 1.25rem;
}

/* thin line under headline */
.reference-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: rgba(0,0,0,0.18);
}

.reference-text{
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #222;
  margin: 0 0 1.75rem;
}

.reference-image{
  width: 100%;
  height: 220px;
  background: #ddd center/cover no-repeat;
}

.reference-image-note{
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Testimonial: lighter, quieter */
.reference-testimonial{
  padding-top: 0.25rem;
}

.testimonial-quote{
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.55);
  font-style: italic;
  position: relative;
  padding-left: 1.1rem;
}

/* subtle quote bar */
.testimonial-quote::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: rgba(0,0,0,0.12);
}

.testimonial-meta{
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 900px){
  .references-page{
    padding: 4rem 25px 6rem;
  }

  .reference-row,
  .reference-row--reverse{
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 5rem;
  }

  .reference-row--reverse .reference-block,
  .reference-row--reverse .reference-testimonial{
    grid-column: auto;
  }

  .reference-title::after{
    width: 160px;
  }

  .reference-image{
    height: 200px;
  }
}
/* ===== REFERENZEN TIMELINE ===== */

.refs-timeline{
  background:#fff;
  color: var(--text-main);
  padding: 6rem 50px 8rem;
}

.refs-timeline-inner{
  position: relative;
  max-width: 1100px;   /* tighter like your Über uns page */
  margin: 0 auto;
  padding: 0 0;
}

/* center timeline line */
.refs-timeline-inner::before{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(0,0,0,0.12);
  transform: translateX(-0.5px);
}

.refs-item{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  column-gap: 2.5rem;
  align-items: stretch;          /* <-- statt start */
  padding: 3.5rem 0;
}

/* dot on the center line */
.refs-dot{
  position: relative;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--accent);
  top: 12px; /* lines up with title */
  box-shadow: 0 0 0 6px rgba(208,223,0,0.18);
}

/* sides */
.refs-side{
  min-width: 0;
}

.refs-title{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  position: relative;
  padding-bottom: 1.2rem;
}

/* thin underline like screenshot */
.refs-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 180px;
  height: 1px;
  background: rgba(0,0,0,0.16);
}

.refs-text{
  margin: 0 0 1.6rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #222;
  max-width: 460px;
}

.refs-image{
  width: 100%;
  height: 190px;
  background: #ddd center/cover no-repeat;
}

/* Quote column: center it vertically relative to the item */
.refs-quote{
  padding-top: 0;                /* <-- war 0.25rem */
  display: flex;
  flex-direction: column;
  justify-content: center;        /* <-- vertikal Mitte */
  align-self: center;             /* <-- falls Content höher/niedriger ist */
  min-height: 100%;               /* <-- nimmt Item-Höhe an */
}

.refs-quote-text{
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.55);
  font-style: italic;
  position: relative;
  padding-left: 1.1rem;
  max-width: 420px;
}

.refs-quote-text::before{
  content:"";
  position:absolute;
  left:0;
  top:0.35rem;
  bottom:0.35rem;
  width:2px;
  background: rgba(0,0,0,0.12);
}

.refs-quote-meta{
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.42);
  letter-spacing: 0.02em;
}

/* Reverse: swap which side has content vs quote */
.refs-item--reverse .refs-side--left{ order: 1; }
.refs-item--reverse .refs-dot{ order: 2; }
.refs-item--reverse .refs-side--right{ order: 3; }

/* little extra spacing between items like timeline */
.refs-item + .refs-item{
  margin-top: 2.5rem;
}

/* Mobile */
@media (max-width: 900px){
  .refs-timeline{
    padding: 4rem 25px 6rem;
  }

  .refs-timeline-inner{
    max-width: 700px;
  }

  /* move line to left side on mobile */
  .refs-timeline-inner::before{
    left: 10px;
  }

  .refs-item{
    grid-template-columns: 24px 1fr;
    column-gap: 1.25rem;
    padding: 2.75rem 0;
  }

  .refs-dot{
    width: 12px;
    height: 12px;
    top: 10px;
    margin: 0;
    grid-column: 1;
  }

  .refs-side{
    grid-column: 2;
  }

  /* stack quote below content */
  .refs-item .refs-side--right.refs-quote,
  .refs-item .refs-side--left.refs-quote{
    margin-top: 1.75rem;
  }

  .refs-title::after{
    width: 140px;
  }

  .refs-image{
    height: 180px;
  }
}
/* ===== KARRIERE (like screenshot) ===== */

.career-hero{
  position: relative;
  min-height: 55vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.career-hero-bg{
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.02);
}

.career-hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.career-hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 50px 5rem;
  display: grid;
  place-items: center;
}

.career-hero-brand{
  text-align: center;
}

.career-hero-b{
  font-weight: 700;
  color: #fff;
  font-size: clamp(5rem, 11vw, 9rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.career-hero-title{
  margin-top: 0.4rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.career-hero-title::after{
  content:"";
  position:absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.45);
}

/* Intro (narrow like screenshot) */
.career-intro{
  background:#fff;
  padding: 2.5rem 50px 1.5rem;
}

.career-intro-inner{
  max-width: 900px;
  margin: 0 auto;
}

.career-intro-inner p{
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #222;
}

/* Accordion jobs area */
.career-jobs{
  background:#fff;
  padding: 1.5rem 50px 4rem;
}

.career-jobs-inner{
  max-width: 900px;
  margin: 0 auto;
}

/* details styling */
.career-accordion{
  border: 1px solid rgba(0,0,0,0.18);
  background: #f5f5f5;
  margin: 0 0 1.25rem;
}

.career-accordion[open]{
  background: #f2f2f2;
}

.career-accordion summary{
  list-style: none;
  cursor: pointer;
}

.career-accordion summary::-webkit-details-marker{
  display:none;
}

.career-accordion-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.career-accordion-title{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #111;
  font-weight: 700;
}

.career-accordion-meta{
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.02em;
}

/* Plus/Minus like screenshot */
.career-accordion-icon{
  width: 34px;
  height: 34px;
  position: relative;
  flex: 0 0 34px;
  border-left: 1px solid rgba(0,0,0,0.12);
  margin-left: auto;
}

.career-accordion-icon::before,
.career-accordion-icon::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(0,0,0,0.65);
  transform: translate(-50%, -50%);
}

.career-accordion-icon::after{
  transform: translate(-50%, -50%) rotate(90deg);
}

.career-accordion[open] .career-accordion-icon::after{
  display:none; /* minus when open */
}

.career-accordion-body{
  padding: 1.25rem 1.25rem 1.4rem;
}

.career-accordion-intro{
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: #222;
}

.career-accordion-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.career-accordion-col h4{
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #111;
}

.career-accordion-col ul{
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: rgba(0,0,0,0.72);
  font-size: 0.9rem;
  line-height: 1.85;
}

.career-apply-row{
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-start;
}

.career-apply-btn{
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* Online section like screenshot */
.career-online{
  background:#fff;
  padding: 3.5rem 50px 6rem;
}

.career-online-inner{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.career-online-inner h2{
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: #111;
}

.career-online-line{
  width: 220px;
  height: 1px;
  background: rgba(0,0,0,0.14);
  margin: 1.2rem auto 1.6rem;
}

.career-online-text{
  max-width: 650px;
  margin: 0 auto 2.2rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.7);
}

/* Form block centered and narrow */
.career-form{
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.career-label{
  display:block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
}

.career-input,
.career-textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.18);
  padding: 0.75rem 0.8rem;
  margin: 0 0 1rem;
  background: #fff;
  font-family: var(--font-main);
}

.career-privacy{
  margin: 0.5rem 0 1.25rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(0,0,0,0.55);
}

.career-submit{
  width: 100%;
  background: #000;
  color: #fff;
  border: 0;
  padding: 0.85rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px){
  .career-hero-inner{ padding: 5rem 25px 4rem; }
  .career-intro{ padding: 2.25rem 25px 1.25rem; }
  .career-jobs{ padding: 1.25rem 25px 3rem; }
  .career-online{ padding: 3rem 25px 5rem; }

  .career-accordion-head{
    padding: 1.1rem 1rem;
  }
  .career-accordion-body{
    padding: 1rem 1rem 1.2rem;
  }
}

/* ===== CONTACT PAGE (BPS style) ===== */

.contact-hero{
  position: relative;
  min-height: 55vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.contact-hero-bg{
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.02);
}

.contact-hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.contact-hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7rem 50px 6rem;
  display: grid;
  place-items: center;
}

.contact-hero-brand{
  text-align: center;
}

.contact-hero-b{
  font-weight: 700;
  color: #fff;
  font-size: clamp(5rem, 11vw, 9rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.contact-hero-title{
  margin-top: 0.4rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.contact-hero-title::after{
  content:"";
  position:absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.45);
}

/* intro text line */
.contact-intro{
  background:#fff;
  padding: 2.75rem 50px 1.5rem;
}

.contact-intro-inner{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro-inner p{
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #222;
}

/* info blocks */
.contact-info{
  background:#fff;
  padding: 1.5rem 50px 3.5rem;
}

.contact-info-inner{
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-card{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-card-icon{
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  margin-left: 4px;
}

.contact-card-body{
  padding-top: 0.4rem;
}

.contact-card-title{
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: #111;
}

.contact-card-text{
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(0,0,0,0.75);
}

.contact-card-text a{
  color: rgba(0,0,0,0.75);
  text-decoration: none;
}

.contact-card-text a:hover{
  text-decoration: underline;
}

.contact-card-muted{
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(0,0,0,0.5);
}

/* map */
.contact-map{
  margin-top: 1.5rem;
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  background: #f6f6f6;
}

.contact-map iframe{
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* form section (cowo-like) */
.contact-form-section{
  background:#fff;
  padding: 3.25rem 50px 6rem;
}

.contact-form-inner{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-title{
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: #111;
}

.contact-form-line{
  width: 220px;
  height: 1px;
  background: rgba(0,0,0,0.14);
  margin: 1.2rem auto 1.6rem;
}

.contact-form-lead{
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.7);
}

.contact-form{
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-field--full{
  grid-column: 1 / -1;
}

.contact-label{
  display:block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
}

.contact-input,
.contact-textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.18);
  padding: 0.75rem 0.8rem;
  background: #fff;
  font-family: var(--font-main);
  color: #111;
}

.contact-textarea{
  resize: vertical;
}

.contact-privacy{
  margin-top: 0.5rem;
}

.contact-check{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(0,0,0,0.55);
}

.contact-check input{
  transform: translateY(3px);
}

.contact-required{
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.45);
}

.contact-submit{
  width: 100%;
  background: #000;
  color: #fff;
  border: 0;
  padding: 0.95rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.contact-submit:hover{
  opacity: 0.92;
}

/* responsive */
@media (max-width: 900px){
  .contact-hero-inner{ padding: 6rem 25px 5rem; }
  .contact-intro{ padding: 2.5rem 25px 1.25rem; }
  .contact-info{ padding: 1.25rem 25px 3rem; }
  .contact-form-section{ padding: 3rem 25px 5rem; }

  .contact-card{
    grid-template-columns: 1fr;
  }

  .contact-card-icon{
    margin: 0;
  }

  .contact-map iframe{
    height: 260px;
  }
}

/* ===== FOOTER (match screenshot: 4 columns + bottom row) ===== */
.site-footer{
  background:#000;
  color:#fff;
  padding: 5.25rem 0 3.5rem;
  width:100%;
}

.site-footer a{
  color:#fff;
  text-decoration:none;
}
.site-footer a:hover{ opacity:0.85; }

.footer-inner{
  width:100%;
  max-width: 1500px;
  margin:0 auto;
  padding: 0 50px;
}

/* Big KONTAKT headline (top-left) */
.footer-title{
  margin:0 0 3.25rem;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 4 columns row */
.footer-top{
  display:grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.85fr;
  gap: 6rem;
  align-items:start;
}

/* Address + phone blocks */
.footer-strong{
  margin:0;
  font-size: 0.95rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Lists like screenshot (uppercase, tight) */
.footer-top ul{
  list-style:none;
  margin:0;
  padding:0;
}

.footer-top li{
  margin: 0 0 0.55rem;
}

.footer-top li a{
  display:inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Right column heading should look like screenshot */
.footer-col-title{
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Your HTML says "RECHTLICHES" but screenshot shows heading "KONTAKT".
   Keep HTML, visually swap the label: */
.footer-legal .footer-col-title{
  font-size: 0;              /* hide original text */
  line-height: 0;
  margin-bottom: 0.85rem;
}
.footer-legal .footer-col-title::before{
  content: "KONTAKT";
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display:block;
}

/* Bottom row: left + right */
.footer-bottom{
  margin-top: 4.5rem;
  display:flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}

.footer-bottom-left,
.footer-bottom-right{
  margin:0;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Responsive */
@media (max-width: 1100px){
  .footer-top{
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px){
  .site-footer{ padding: 4rem 0 3rem; }
  .footer-inner{ padding: 0 25px; }
  .footer-top{ grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2.5rem;
  }
}

.accordion-body { will-change: max-height; }
/* Make sure nothing blocks clicks on the accordion column */
.service-detail-title { pointer-events: none; }      /* title can't block clicks */
.service-detail-body  { position: relative; z-index: 50; }
.service-points       { position: relative; z-index: 51; }
.accordion-header     { position: relative; z-index: 52; }