========================================
   Manrope (local, woff2)
   ======================================== */
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ========================================
   Design Tokens
   ======================================== */
:root {
  --bg: #f4f1ea;
  --bg-alt: #7ee8ab;
  --bg-deep: #070707;
  --ink: #101010;
  --muted: #5d5d5d;
  --white: #ffffff;
  --accent: #7ee8ab;
  --accent-light: #a3f0c4;
  --accent-dark: #5cdb8f;
  --accent-btn: #2ecc71;
  --accent-btn-hover: #27ae60;
  --accent-glow: rgba(126, 232, 171, 0.35);
  --accent-soft: rgba(126, 232, 171, 0.12);
  --gradient-accent: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  --shadow: rgba(0, 0, 0, 0.15);
  --radius: 18px;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }

/*  <picture>-Elemente layout-neutral machen.
    Damit erbt das <img> direkt die Container-Regeln
    (object-fit, aspect-ratio, width/height) – unabhängig
    von Hoch-/Querformat oder Bildkontext (Hero, Galerie, Karte …). */
picture { display: contents; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
}

/* Elemente die NICHT im Blocksatz stehen sollen */
h1, h2, h3, h4, h5, h6,
nav, .btn, .chip, .tag,
.site-header, .site-footer,
.header-nav, .mega-menu,
figcaption, blockquote,
.footer-links, .admin-body,
.card, .section-intro,
.career-hero-text, .job-card,
.career-aside, .fact {
  text-align: left;
  hyphens: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(92, 219, 143, 0.10), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(16, 16, 16, 0.10), transparent 45%),
    linear-gradient(120deg, rgba(255,255,255,0.25), rgba(255,255,255,0));
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent-btn); }

:focus-visible {
  outline: 3px solid rgba(92, 219, 143, 0.6);
  outline-offset: 3px;
}

.container { width: min(1200px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  z-index: 1000;
  font-weight: 600;
  transition: left 0.2s ease;
}
.skip-link:focus { left: 12px; color: var(--white); }

/* ========================================
   Header
   ======================================== */
.site-header {
  background: var(--bg-deep);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
  position: relative;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.brand-logo {
  width: clamp(150px, 18vw, 250px);
  height: auto;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.brand-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Burger Toggle --- */
.burger-toggle {
  order: 3;
  border: none;
  background: transparent;
  color: var(--white);
  padding: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.burger-toggle:hover,
.burger-toggle:focus-visible {
  background: rgba(255,255,255,0.1);
}
.burger-icon { display: block; }

/* --- Site Nav (inline text links, centered) --- */
.site-nav {
  order: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-nav .nav-title { display: none; }
.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
}
.site-nav .nav-link {
  position: relative;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  color: var(--white);
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
}
.site-nav .nav-link.is-active {
  color: var(--accent-btn);
}
.site-nav .nav-link.is-active::after {
  transform: scaleX(1);
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .burger-toggle { margin-left: auto; }
}

/* --- Mega Menu (fullscreen overlay) --- */
.mega-menu {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1500;
  overflow-y: auto;
}

body.menu-open .mega-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
body.menu-open { overflow: hidden; }

.mega-inner {
  min-height: 100%;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}

.mega-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mega-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.menu-close {
  border: 1px solid var(--accent-btn);
  background: transparent;
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.2s ease;
}
.menu-close:hover { background: var(--accent-btn); color: var(--bg-deep); }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.mega-block h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}
.mega-links a { color: var(--white); transition: color 0.2s ease; }
.mega-links a.active { color: var(--accent-btn); }
.mega-links a:hover { color: var(--accent-btn); }

.mega-list {
  padding-left: 18px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.75);
}

.mega-hours { color: rgba(255,255,255,0.75); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent-btn);
  font-weight: 600;
}

/* ========================================
   Sections & General Layout
   ======================================== */
section { padding: clamp(48px, 8vw, 96px) 0; }
section.alt { background: var(--accent); }

.section-head { margin-bottom: 28px; }
.section-head .section-title { margin-bottom: 8px; }
.section-head .section-intro { margin: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 20px;
}

.section-intro {
  color: var(--muted);
}

/* ========================================
   Hero – Standard (split)
   ======================================== */
.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-text { flex: 1 1 320px; }

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 16px;
}

.hero-text p { font-size: 1.1rem; color: var(--muted); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-media { flex: 1 1 320px; }

/* ========================================
   Hero – Strong (video / full-width)
   ======================================== */
.hero-strong {
  position: relative;
  padding: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: #050505;
  overflow: hidden;
}

.hero-strong .container { position: relative; z-index: 2; }

.hero-strong .hero-content {
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-left: clamp(16px, 3vw, 40px);
  max-width: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Hero Slider */
.hero-slider { position: absolute; inset: 0; }

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  z-index: 1;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center;
  animation-duration: 14s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  animation-play-state: paused;
}

.slide.is-animating .slide-media {
  animation-play-state: running;
  will-change: transform;
}

/* Individuelle Ken-Burns Pans */
.slide.s1 .slide-media { animation-name: panRight; }
.slide.s2 .slide-media { animation-name: panLeft; }
.slide.s3 .slide-media { animation-name: panRight; }
.slide.s4 .slide-media { animation-name: panLeft; }
.slide.s5 .slide-media { animation-name: panRight; }
.slide.s6 .slide-media { animation-name: panLeft; }
.slide.s7 .slide-media { animation-name: panRight; }

@keyframes panRight {
  0%   { transform: scale(1.08) translateX(0); }
  100% { transform: scale(1.16) translateX(2%); }
}

@keyframes panLeft {
  0%   { transform: scale(1.08) translateX(0); }
  100% { transform: scale(1.16) translateX(-2%); }
}

.hero-overlay {
  display: none;
}

.hero-strong h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6vw, 5rem);
  font-weight: 700;
  margin: 0 0 16px;
  max-width: 28ch;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-subline {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  max-width: 760px;
  color: #fff;
  margin: 0;
}

.hero-strong .chip {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-strong .chip-list .chip {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(92, 219, 143, 0.4);
}

.hero-strong .btn.ghost {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.hero-strong .btn.ghost:hover {
  background: var(--white);
  color: var(--bg-deep);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent-btn);
  border-color: var(--accent-btn);
  color: var(--white);
}
.btn.primary:hover {
  background: var(--accent-btn-hover);
  border-color: var(--accent-btn-hover);
  color: var(--white);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* ========================================
   Cards & Grid
   ======================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.card p { margin: 0; color: var(--muted); text-align: left; }

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ========================================
   Product Grid (2x2)
   ======================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  aspect-ratio: 1 / 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-card__image {
  position: absolute;
  inset: 0;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  height: 100%;
}

.product-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  min-height: 80px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  z-index: 2;
}

.product-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
}

.product-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Card Stack (Stacked Cards Slider)
   ======================================== */
.card-stack {
  flex: 1 1 400px;
  position: relative;
  height: 420px;
  max-width: 520px;
  perspective: 1200px;
  cursor: pointer;
}

.card-stack__item {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.card-stack__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-stack__item[data-pos="0"] {
  z-index: 5;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.card-stack__item[data-pos="1"] {
  z-index: 4;
  transform: translateY(18px) translateX(12px) scale(0.95);
  opacity: 0.85;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.card-stack__item[data-pos="2"] {
  z-index: 3;
  transform: translateY(36px) translateX(24px) scale(0.90);
  opacity: 0.65;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-stack__item[data-pos="3"] {
  z-index: 2;
  transform: translateY(54px) translateX(36px) scale(0.85);
  opacity: 0.4;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card-stack__item.is-exiting {
  z-index: 10;
  transform: translateX(-120%) rotateZ(-8deg) scale(0.9);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-stack__item[data-pos="4"],
.card-stack__item[data-pos="5"] {
  z-index: 1;
  transform: translateY(60px) translateX(40px) scale(0.82);
  opacity: 0;
  pointer-events: none;
}

.card-stack__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

.card-stack__item[data-pos="0"] .card-stack__label {
  opacity: 1;
}

.card-stack__dots {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.card-stack__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}

.card-stack__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 720px) {
  .card-stack {
    height: 280px;
    max-width: 100%;
  }
}

/* ========================================
   Vertical Marquee Gallery
   ======================================== */
.vmarquee {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  flex: 1 1 300px;
  max-width: 340px;
  --vmarquee-duration: 50s;
}

/* Fade edges top & bottom */
.vmarquee::before,
.vmarquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}
.vmarquee::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg), transparent);
}
.vmarquee::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* Alt section override */
.alt .vmarquee::before {
  background: linear-gradient(to bottom, var(--accent-light), transparent);
}
.alt .vmarquee::after {
  background: linear-gradient(to top, var(--accent-dark), transparent);
}

.vmarquee__track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: vmarqueeScroll var(--vmarquee-duration, 35s) linear infinite;
}

.vmarquee:hover .vmarquee__track {
  animation-play-state: paused;
}

.vmarquee__item {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vmarquee__item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.vmarquee__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@keyframes vmarqueeScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.vmarquee__item {
  position: relative;
}

.vmarquee__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 720px) {
  .vmarquee {
    height: 360px;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vmarquee__track { animation: none !important; }
}

/* ========================================
   Horizontal Marquee Gallery
   ======================================== */
.hmarquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin-top: 32px;
  --hmarquee-duration: 40s;
}

/* Fade edges left & right */
.hmarquee::before,
.hmarquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.hmarquee::before {
  left: 0;
  background: linear-gradient(to right, var(--accent-light), transparent);
}
.hmarquee::after {
  right: 0;
  background: linear-gradient(to left, var(--accent-dark), transparent);
}

.hmarquee__track {
  display: flex;
  gap: 16px;
  animation: hmarqueeScroll var(--hmarquee-duration, 40s) linear infinite;
  width: max-content;
}

.hmarquee:hover .hmarquee__track {
  animation-play-state: paused;
}

.hmarquee__item {
  position: relative;
  flex-shrink: 0;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hmarquee__item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hmarquee__item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

.hmarquee__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

@keyframes hmarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .hmarquee__item { height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .hmarquee__track { animation: none !important; }
}

/* ========================================
   Horizontal Accordion Gallery
   ======================================== */
.haccordion {
  display: flex;
  gap: 6px;
  height: 340px;
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.haccordion__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: #111;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.haccordion__item.is-active {
  flex: 4 1 0;
}

.haccordion__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.haccordion__item:not(.is-active) img {
  filter: brightness(0.65);
}

.haccordion__item.is-active img {
  filter: brightness(1);
}

.haccordion__item:hover img {
  transform: scale(1.04);
}

.haccordion__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s;
  pointer-events: none;
}

.haccordion__item.is-active .haccordion__label {
  opacity: 1;
  transform: translateY(0);
}

.haccordion__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s, background 0.2s ease;
  pointer-events: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.haccordion__item.is-active .haccordion__zoom {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.haccordion__zoom:hover {
  background: rgba(92, 219, 143, 0.7);
}

@media (max-width: 720px) {
  .haccordion {
    height: 260px;
    gap: 4px;
  }
  .haccordion__item.is-active { flex: 3 1 0; }
  .haccordion__label { font-size: 0.8rem; padding: 10px 12px; }
}

@media (max-width: 480px) {
  .haccordion {
    flex-direction: column;
    height: auto;
  }
  .haccordion__item {
    height: 60px;
    flex: none;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .haccordion__item.is-active {
    height: 240px;
    flex: none;
  }
}

/* ========================================
   Center Carousel
   ======================================== */
.carousel {
  position: relative;
  margin-top: 32px;
  height: 340px;
  overflow: hidden;
}

.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  max-width: 70vw;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: #111;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0.5;
  filter: brightness(0.7);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s ease,
              filter 0.6s ease,
              box-shadow 0.6s ease;
  z-index: 1;
}

.carousel__slide img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.carousel__slide[data-cpos="-2"] {
  transform: translate(calc(-50% - 580px), -50%) scale(0.55);
  opacity: 0;
  z-index: 0;
}

.carousel__slide[data-cpos="-1"] {
  transform: translate(calc(-50% - 320px), -50%) scale(0.72);
  opacity: 0.55;
  filter: brightness(0.65);
  z-index: 2;
}

.carousel__slide[data-cpos="0"] {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: brightness(1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.carousel__slide[data-cpos="1"] {
  transform: translate(calc(-50% + 320px), -50%) scale(0.72);
  opacity: 0.55;
  filter: brightness(0.65);
  z-index: 2;
}

.carousel__slide[data-cpos="2"] {
  transform: translate(calc(-50% + 580px), -50%) scale(0.55);
  opacity: 0;
  z-index: 0;
}

.carousel__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.carousel__slide[data-cpos="0"] .carousel__label {
  opacity: 1;
  transform: translateY(0);
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 720px) {
  .carousel { height: 260px; }
  .carousel__slide { width: 300px; max-width: 75vw; }
  .carousel__slide[data-cpos="-1"] {
    transform: translate(calc(-50% - 200px), -50%) scale(0.72);
  }
  .carousel__slide[data-cpos="1"] {
    transform: translate(calc(-50% + 200px), -50%) scale(0.72);
  }
  .carousel__slide[data-cpos="-2"],
  .carousel__slide[data-cpos="2"] { opacity: 0; }
}

@media (max-width: 480px) {
  .carousel__slide[data-cpos="-1"],
  .carousel__slide[data-cpos="1"] { opacity: 0.3; }
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.lightbox.is-open .lightbox__img {
  opacity: 1;
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox__nav:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox__nav--prev { left: -64px; }
.lightbox__nav--next { right: -64px; }

.lightbox__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0 0 12px 12px;
  pointer-events: none;
}

.lightbox__counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 8px; right: 8px; }
  .lightbox__counter { bottom: 8px; }
}

/* ========================================
   Chips
   ======================================== */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========================================
   Split Layout
   ======================================== */
.split {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.split > div { flex: 1 1 320px; }
.split .section-title { margin-top: 0; }
.split > div > :last-child { margin-bottom: 0; }

/* ========================================
   Image Frame
   ======================================== */
.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px var(--shadow);
}
.image-frame img { width: 100%; height: auto; }

.founder-image {
  max-width: 520px;
  width: 100%;
  min-width: 0;
  flex: 1 1 520px;
  align-self: center;
}

@media (max-width: 720px) {
  .founder-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ========================================
   Highlight Block
   ======================================== */
.highlight {
  background: #0f0f0f;
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.highlight h3 {
  margin-top: 0;
  font-family: var(--font-display);
}
.highlight .list { color: rgba(255,255,255,0.85); }

/* ========================================
   Lists
   ======================================== */
.list {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}
.list li { margin-bottom: 8px; }

/* ========================================
   Details Grid
   ======================================== */
.details {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.details .card { background: #fdfdfb; }

.details--row {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 960px) {
  .details--row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .details--row { grid-template-columns: 1fr; }
}

/* ========================================
   Thumbnail Grid Gallery
   ======================================== */
.thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 420px;
}

.thumb-grid__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb-grid__item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.thumb-grid__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.thumb-grid__item--wide {
  grid-column: 1 / -1;
}

.thumb-grid__item--wide img {
  aspect-ratio: 16 / 7;
}

.thumb-grid__item:not(.thumb-grid__item--wide) img {
  aspect-ratio: 4 / 3;
}

.thumb-grid__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

/* ========================================
   Quote
   ======================================== */
.quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}

/* ========================================
   Page Banner (CTA)
   ======================================== */
.page-banner {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.page-banner p { margin: 0; color: var(--muted); }

/* ========================================
   Contact Panel
   ======================================== */
.contact-panel {
  background: var(--bg-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-panel a { color: var(--accent); }

.contact-panel--stacked {
  flex-direction: column;
  gap: 20px;
}

.contact-panel__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-panel__info p {
  margin: 0;
}

.contact-panel__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-panel__map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-panel__map:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(92, 219, 143, 0.25);
}

.contact-panel__map img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-panel__map-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact-panel__map:hover .contact-panel__map-label {
  opacity: 1;
}

.contact-panel__cta {
  text-align: center;
}

@media (max-width: 720px) {
  .contact-panel__info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========================================
   Values Box (Team Page)
   ======================================== */
.values-box {
  background: var(--accent);
  color: var(--white);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.values-box img {
  border-radius: 8px;
  width: min(38%, 320px);
  max-width: 320px;
  min-width: 220px;
  height: auto;
  align-self: center;
  flex: 0 0 auto;
}

.values-box__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.values-box h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.values-box ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.values-box li {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .values-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .values-box img {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    align-self: center;
  }
}

/* ========================================
   Career Styles
   ======================================== */
.career-hero { background: var(--accent); }

.career-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.career-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-top: 0;
  margin-bottom: 16px;
}

.career-hero-text .lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.career-facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.fact {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.fact-value {
  display: block;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 1.05rem;
}

.fact-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

.career-hero-media img {
  border-radius: var(--radius);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.18),
    0 40px 80px rgba(0, 0, 0, 0.12);
  transform: perspective(800px) rotateY(-3deg) rotateX(1deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.career-hero-media img:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.15),
    0 30px 60px rgba(0, 0, 0, 0.2);
}

.career-highlight {
  margin-top: 24px;
  background: #0f0f0f;
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
}
.career-highlight h3 {
  margin-top: 0;
  font-family: var(--font-display);
}

.benefit-grid { margin-top: 24px; }

/* ========================================
   Jobs
   ======================================== */
.jobs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr);
  gap: 32px;
  align-items: start;
}

.jobs-list { display: grid; gap: 24px; }

.job-card {
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.job-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.job-meta {
  font-size: 0.9rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.job-header h3 { margin: 8px 0 0; }

.job-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.job-body strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

/* ========================================
   Career Aside
   ======================================== */
.career-aside {
  position: sticky;
  top: 120px;
  align-self: start;
  background: #0f0f0f;
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.career-aside h3 {
  margin-top: 0;
  font-family: var(--font-display);
}
.career-aside p { color: rgba(255,255,255,0.75); }

.career-steps { display: grid; gap: 12px; margin: 20px 0; }

.step { display: flex; gap: 12px; }

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 32px;
}

.step p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.7);
}

.career-contact a { color: var(--accent); }

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--bg-deep);
  color: var(--white);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-col h3,
.footer-title {
  margin-top: 0;
  font-family: var(--font-display);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-list a { color: inherit; opacity: 0.9; }
.footer-list a:hover,
.footer-list a:focus-visible { opacity: 1; color: var(--accent-btn); }

/* Instagram Link */
.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insta-icon {
  flex-shrink: 0;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px rgba(214, 41, 118, 0.5));
  transition: filter 0.2s ease, transform 0.2s ease;
}
.insta-link:hover .insta-icon,
.insta-link:focus-visible .insta-icon {
  filter: drop-shadow(0 0 8px rgba(214, 41, 118, 0.8));
  transform: scale(1.15);
}

.footer-note {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding: 16px 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

/* ========================================
   Privacy Banner & Cookie Toggle
   ======================================== */
.privacy-banner {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  max-width: 420px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  align-items: start;
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.privacy-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.privacy-banner__content { display: grid; gap: 0.35rem; }

.privacy-banner__content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.privacy-banner__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-banner a { color: var(--accent); font-weight: 600; }
.privacy-banner a:hover,
.privacy-banner a:focus-visible { color: var(--accent-dark); }

.privacy-banner__accept {
  grid-column: 1 / -1;
  justify-self: center;
}

.cookie-toggle {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.cookie-toggle svg { width: 24px; height: 24px; display: block; }

/* ========================================
   Contact Form & Tabs
   ======================================== */
.contact-tabs {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-tabs__nav {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  background: var(--bg-deep);
}

.contact-tabs__btn {
  flex: 1;
  padding: 18px 24px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.contact-tabs__btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.contact-tabs__btn:hover {
  color: var(--white);
}

.contact-tabs__btn:hover::after {
  transform: scaleX(1);
}

.contact-tabs__btn.active {
  color: var(--accent-btn);
}

.contact-tabs__btn.active::after {
  transform: scaleX(1);
}

.contact-form {
  background: var(--white);
  border-radius: 0;
  border: none;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form-field label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fafaf8;
  transition: all 0.25s ease;
}

.form-field input[type="text"]:hover,
.form-field input[type="email"]:hover,
.form-field input[type="tel"]:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input[type="file"] {
  padding: 12px;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fafaf8;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-field input[type="file"]:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.contact-form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 400 !important;
  padding: 12px 16px;
  background: #fafaf8;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.contact-form__check:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.contact-form__check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.contact-form__check a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-form__feedback {
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

.contact-form__feedback.is-error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.contact-form__feedback.is-success {
  display: block;
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.contact-form .btn[type="submit"] {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 10px;
  align-self: center;
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.25);
  transition: all 0.25s ease;
}

.contact-form .btn[type="submit"]:hover {
  box-shadow: 0 8px 24px rgba(92, 219, 143, 0.35);
  transform: translateY(-1px);
}

.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

@media (max-width: 600px) {
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .contact-form .btn[type="submit"] { width: 100%; }
}

/* ========================================
   Page Hero (Kontakt, etc.)
   ======================================== */
.page-hero {
  background: var(--bg-deep);
  color: var(--white);
  padding: clamp(48px, 8vw, 80px) 0;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 12px;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0;
}

/* ========================================
   Narrow Container
   ======================================== */
.container--narrow {
  width: min(960px, 92%);
  margin: 0 auto;
}

/* ========================================
   Contact Info Grid
   ======================================== */
.contact-info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-info-card {
  text-align: center;
}

.contact-info-card h3 {
  color: var(--accent-dark);
  font-size: 1.15rem;
}

.contact-info-card a {
  color: var(--accent);
}

@media (max-width: 720px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Upload Rows (Styled File Upload)
   ======================================== */
.upload-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: border-color 0.2s ease;
}

.upload-row.has-file {
  border-color: var(--accent);
  background: rgba(92, 219, 143, 0.04);
}

.upload-row__fields {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.upload-row__label {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.upload-row__label:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.upload-row__file-btn {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  max-width: 220px;
}

.upload-row__file-btn .upload-row__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.upload-row__file-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-row.has-file .upload-row__file-text {
  color: var(--accent-dark);
}

.upload-row__remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.2s ease;
}

.upload-row__remove:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.upload-add {
  align-self: flex-start;
  margin-top: 4px;
}

.form-hint {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .upload-row__fields {
    flex-direction: column;
    align-items: stretch;
  }
  .upload-row__file-btn {
    max-width: none;
    width: 100%;
  }
}

/* ========================================
   Map Frame (Index)
   ======================================== */
.map-frame {
  flex: 1 1 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.map-frame iframe {
  display: block;
  width: 100%;
}

/* ========================================
   Info Pages (Impressum, Datenschutz, etc.)
   ======================================== */
.info-page { padding: clamp(48px, 8vw, 96px) 0; }

.info-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 24px;
}

.info-page h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin: 2rem 0 0.5rem;
}

.info-page h3 {
  font-family: var(--font-display);
  margin: 1.5rem 0 0.5rem;
}

.info-page p { color: var(--muted); margin: 0 0 1rem; }
.info-page address { font-style: normal; line-height: 1.8; }

.info-page ul {
  padding-left: 1.5rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.info-page ul li { margin-bottom: 0.5rem; }

/* ========================================
   404 Page
   ======================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}

.error-page .container {
  position: relative;
  z-index: 1;
}

.error-page__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: clamp(280px, 50vw, 500px);
  height: clamp(280px, 50vw, 500px);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: error-pulse 4s ease-in-out infinite;
}

@keyframes error-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -55%) scale(1); }
  50%      { opacity: 0.7; transform: translate(-50%, -55%) scale(1.08); }
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 24px var(--accent-glow));
}

.error-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.error-page__text {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-page__links .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.error-page__links .btn svg {
  flex-shrink: 0;
}

/* Legacy fallback (alte Klassen) */
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 16px;
}
.error-page p { color: var(--muted); font-size: 1.1rem; margin-bottom: 24px; }


/* ========================================
   Responsive Breakpoints
   ======================================== */
@media (max-width: 720px) {
  .hero-actions { width: 100%; }
  .btn { width: 100%; }

  .hero-strong {
    min-height: 65vh;
    align-items: flex-end;
  }
  .hero-strong .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .hero-strong .hero-content {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0;
    max-width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero-strong h1 { max-width: 24ch; }

  .career-facts { grid-template-columns: 1fr; }

  .job-header { flex-direction: column; align-items: flex-start; }
  .btn.small { width: 100%; }

  .privacy-banner {
    left: 1rem;
    right: 1rem;
    bottom: 5rem;
    max-width: none;
  }
  .privacy-banner__accept { width: 100%; justify-content: center; }
}

@media (max-width: 550px) {
  .hero-strong .hero-content { max-width: 100%; }
}

@media (max-width: 960px) {
  .career-hero-inner { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .career-aside { position: static; }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
