:root {
  --bg: #0d1117;
  --bg-deep: #080d14;
  --surface: #111827;
  --surface-soft: #161f2e;
  --surface-raised: #1e293b;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --accent: #facc15;
  --accent-hover: #ffe169;
  --danger: #ef4444;
  --success: #10b981;
  --blue: #3b82f6;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.5);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

ul {
  padding-left: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10050;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.content {
  flex: 1;
}

.container,
.hz-container,
.lk-container,
.sa-container,
.sp-container,
.ws-container,
.bw-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.section-dark,
.dark {
  background: linear-gradient(155deg, #111827, #0b111b);
}

.section-title {
  margin-bottom: 18px;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.section-subtitle,
.center-text {
  max-width: 740px;
  margin: 0 auto 46px;
  color: var(--muted);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */
.header {
  position: sticky;
  z-index: 3000;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 13, 20, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.logo-img {
  width: auto;
  height: 56px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > a,
.dropdown-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #d4d9e1;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.active,
.dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.main-nav .contact-btn {
  margin-left: 5px;
  padding-inline: 17px;
  background: var(--accent);
  color: #050505;
}

.main-nav .contact-btn:hover,
.main-nav .contact-btn.active {
  background: var(--accent-hover);
  color: #000;
  transform: translateY(-1px);
}

.dropdown {
  position: relative;
}

.dropdown-toggle .small {
  margin-left: 1px;
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 285px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #111927;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
}

.dropdown-menu a i {
  width: 18px;
  color: var(--accent);
  text-align: center;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.hero-btn,
.cta-btn,
.service-btn,
.job-btn,
.azubi-btn,
.highlight-btn,
.call-btn,
.mail-btn,
.btn-submit,
.bw-btn-primary,
.hz-btn-primary,
.lk-btn-primary,
.sa-btn-primary,
.sp-btn-primary,
.ws-btn-primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #070707;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.25;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover,
.cta-btn:hover,
.service-btn:hover,
.job-btn:hover,
.azubi-btn:hover,
.highlight-btn:hover,
.call-btn:hover,
.btn-submit:hover,
.bw-btn-primary:hover,
.hz-btn-primary:hover,
.lk-btn-primary:hover,
.sa-btn-primary:hover,
.sp-btn-primary:hover,
.ws-btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 15px 32px rgba(250, 204, 21, 0.2);
  transform: translateY(-2px);
}

.hero-btn.secondary,
.mail-btn {
  background: var(--surface-raised);
  color: #fff;
}

.hero-btn.secondary:hover,
.mail-btn:hover {
  background: #334155;
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.25);
}

/* Home */
.highlight-bar {
  padding: 9px 0;
  background: linear-gradient(90deg, #eab308, var(--accent), #ffe169);
  color: #080808;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(450px, 62vh, 610px);
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 10, 17, 0.87), rgba(5, 10, 17, 0.53)),
    url("../img/hero.webp") center / cover no-repeat;
}

.hero-overlay {
  width: 100%;
}

.hero-content {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero p {
  max-width: 720px;
  margin: 0 auto 30px;
  color: #e2e8f0;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.services-section {
  padding: 78px 0;
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: stretch;
}

.content-card-modern {
  margin-bottom: 26px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.content-card-modern h2 {
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.content-card-modern h2 i {
  margin-right: 7px;
  color: var(--accent);
}

.content-card-modern p {
  margin-bottom: 14px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  margin-top: 26px;
  gap: 12px;
  flex-wrap: wrap;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-item {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
  transition: 0.2s ease;
}

.service-item i {
  width: 24px;
  color: var(--accent);
  font-size: 1.1rem;
  text-align: center;
}

.service-item:hover {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}

.highlight-card-bg {
  position: relative;
  display: flex;
  min-height: 100%;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, transparent 22%, rgba(5, 10, 17, 0.94)),
    url("../img/Whirlpool-spar.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.highlight-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 34px;
}

.highlight-content h3 {
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 1.55rem;
}

.highlight-content p {
  color: #e2e8f0;
}

.service-highlight {
  padding: 84px 0;
  background: #0b111b;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 58px;
}

.service-badge {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-text h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.service-text p,
.service-text li {
  color: var(--muted);
}

.service-text ul {
  margin: 22px 0 26px;
}

.service-text li {
  margin-bottom: 8px;
}

.service-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.stats-values-section {
  padding: 90px 0;
  background: linear-gradient(145deg, #0b111b, #141d2c);
}

.section-title.light span {
  color: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 48px 0 66px;
  gap: 18px;
}

.stat-card {
  padding: 30px 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.stat-card i {
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 1.7rem;
}

.counter {
  margin-bottom: 5px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

.stat-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.values-grid,
.values-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-card,
.value-modern {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.value-card i,
.value-modern i {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 1.8rem;
}

.value-card p,
.value-modern p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-section {
  padding: 84px 0;
  background: #0f172a;
}

.gallery-wrapper,
.bw-gallery-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery-track,
.bw-gallery-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.gallery-item,
.bw-gallery-item {
  min-width: 25%;
  padding: 8px;
}

.gallery-item img,
.bw-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  cursor: zoom-in;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-item img:hover,
.bw-gallery-item img:hover {
  transform: scale(1.025);
}

.gallery-nav,
.bw-gallery-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(8, 13, 20, 0.82);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-nav:hover,
.bw-gallery-btn:hover {
  background: var(--accent);
  color: #000;
}

.gallery-nav.prev,
.bw-gallery-btn.left {
  left: 12px;
}

.gallery-nav.next,
.bw-gallery-btn.right {
  right: 12px;
}

.lightbox,
.bw-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.91);
}

.lightbox.open,
.bw-modal.open {
  display: flex;
}

.lightbox img,
.bw-modal img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 13px;
}

.lightbox-close,
.bw-modal-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
}

.cta-banner,
.azubi-section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(6, 10, 17, 0.72), rgba(6, 10, 17, 0.82)),
    url("../img/cta-bg.webp") center / cover no-repeat;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
}

.cta-content,
.azubi-content {
  position: relative;
  z-index: 1;
}

.cta-content h2,
.azubi-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.55rem);
}

.cta-content p,
.azubi-content p {
  color: #e2e8f0;
}

/* Team and jobs */
.team-hero,
.heroJob {
  display: grid;
  min-height: 350px;
  place-items: center;
  background:
    linear-gradient(rgba(4, 9, 16, 0.74), rgba(4, 9, 16, 0.8)),
    url("../img/heroTeam.webp") center / cover no-repeat;
  text-align: center;
}

.heroJob {
  background-image:
    linear-gradient(rgba(4, 9, 16, 0.7), rgba(4, 9, 16, 0.82)),
    url("../img/heroJob.webp");
}

.team-hero h1,
.heroJob h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.team-hero p,
.heroJob p {
  color: #e2e8f0;
  font-size: 1.1rem;
}

.team-grid,
.jobs-grid,
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.team-card,
.job-card,
.culture-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  transition: 0.2s ease;
}

.team-card {
  text-align: center;
}

.team-card:hover,
.job-card:hover,
.culture-card:hover {
  border-color: rgba(250, 204, 21, 0.45);
  transform: translateY(-4px);
}

.team-img img {
  width: 122px;
  height: 122px;
  margin: 0 auto 18px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  object-fit: cover;
}

.team-role {
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 700;
}

.team-fact,
.job-card p,
.culture-card p {
  color: var(--muted);
}

.highlight-card {
  border-color: rgba(250, 204, 21, 0.55);
}

.azubi-highlight {
  color: var(--accent) !important;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Contact */
.kontakt-hero {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  overflow: hidden;
  background: url("../img/heroKontakt.webp") center / cover no-repeat;
}

.kontakt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 13, 20, 0.91), rgba(8, 13, 20, 0.66));
}

.kontakt-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.kontakt-hero-title {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.kontakt-hero-text {
  margin-bottom: 0;
  color: #e2e8f0;
  font-size: 1.1rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 38px;
}

.contact-info,
.contact-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 21px;
  background: linear-gradient(160deg, #1d293a, #141e2d);
  box-shadow: var(--shadow);
}

.contact-info {
  position: sticky;
  top: 112px;
}

.highlight-box {
  margin-bottom: 25px;
  padding: 13px 17px;
  border-radius: 10px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
}

.contact-info h3,
.contact-info h4 {
  margin: 25px 0 7px;
  color: var(--accent);
}

.contact-info p,
.contact-info li {
  color: var(--muted);
}

.contact-card form {
  display: grid;
  gap: 18px;
}

.contact-card .row,
.callback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card .field {
  min-width: 0;
}

.contact-card label {
  display: block;
  margin-bottom: 6px;
  color: #dbe4f0;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #3a4a5f;
  border-radius: 11px;
  background: #0d1623;
  color: #fff;
}

.contact-card textarea {
  min-height: 155px;
  resize: vertical;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #8492a5;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.13);
  outline: 0;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.dsgvo {
  display: grid !important;
  grid-template-columns: 21px 1fr;
  align-items: start;
  gap: 11px;
  margin: 3px 0 0 !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
}

.dsgvo input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.dsgvo a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  margin: -5px 0 0;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.success-box,
.error-box,
.info-box {
  padding: 15px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
}

.success-box {
  border-color: rgba(16, 185, 129, 0.38);
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
}

.error-box {
  border-color: rgba(239, 68, 68, 0.38);
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
}

.info-box {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
}

.btn-submit {
  width: 100%;
}

/* Legal */
.legal-hero {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  background: linear-gradient(150deg, #0f172a, #1e293b);
  text-align: center;
}

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

.legal-hero-inner {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.legal-hero p {
  color: var(--muted);
}

.legal-section {
  padding: 78px 0;
  background: #0f172a;
}

.legal-container {
  max-width: 900px;
}

.legal-section h2 {
  margin: 34px 0 9px;
  font-size: 1.25rem;
}

.legal-section h2:first-child {
  margin-top: 0;
}

.legal-section h3 {
  margin: 24px 0 8px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* News */
.news-hero {
  padding: 78px 0 62px;
  background: linear-gradient(145deg, #101927, #0b111b);
  text-align: center;
}

.news-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.news-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.news-section {
  padding: 74px 0 90px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: 0.2s ease;
}

.news-card:hover {
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-4px);
}

.news-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1e293b;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.035);
}

.news-card-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--accent);
  font-size: 2.2rem;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.news-date {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-card h2 {
  margin-bottom: 11px;
  font-size: 1.35rem;
}

.news-card p {
  color: var(--muted);
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent);
  font-weight: 750;
}

.empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.empty-state i {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 2rem;
}

.empty-state p {
  color: var(--muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.pagination a {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
}

.pagination a:hover,
.pagination a.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
  font-weight: 800;
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 44px;
}

.article-content {
  min-width: 0;
}

.article-cover {
  width: 100%;
  margin-bottom: 30px;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-content h1 {
  margin-bottom: 15px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.article-lead {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.18rem;
}

.article-text {
  color: #d8e1ed;
  font-size: 1.04rem;
  line-height: 1.85;
}

.article-sidebar {
  position: sticky;
  top: 112px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}

.article-sidebar p {
  color: var(--muted);
}

/* Footer */
.footer {
  padding-top: 58px;
  background: var(--bg-deep);
  color: var(--muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.85fr;
  gap: 34px;
  padding-bottom: 42px;
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 1.05rem;
}

.footer-col p {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.footer-link,
.footer-legal a {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-link i {
  width: 17px;
  color: var(--accent);
  text-align: center;
}

.footer-link:hover,
.footer-legal a:hover {
  color: var(--accent);
}

.footer-note {
  margin-top: 16px;
  padding: 11px 13px;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: rgba(250, 204, 21, 0.07);
  color: #dbe4f0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
}

.footer-bottom-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.smw-credit a {
  color: var(--accent);
  font-weight: 700;
}

/* Floating contact */
.floating-bar {
  position: fixed;
  z-index: 2500;
  top: 50%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.float-btn {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 13px 13px 0;
  background: rgba(24, 35, 51, 0.96);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: width 0.25s ease, background 0.2s ease;
}

.float-btn i {
  min-width: 49px;
  text-align: center;
}

.float-btn span {
  padding-right: 17px;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
}

.float-btn:hover {
  width: 190px;
  background: #243247;
}

.float-btn.mail {
  border-left-color: var(--blue);
}

.float-btn.maps {
  border-left-color: var(--danger);
}

.float-btn.planer {
  border-left-color: var(--success);
}

.mobile-quickbar {
  display: none;
}

/* Cookie dialog */
.cookie-overlay {
  position: fixed;
  z-index: 9800;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease;
}

.cookie-overlay.active {
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  z-index: 9900;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: #101a29;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
}

.cookie-header h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.cookie-header p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cookie-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.cookie-item input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.cookie-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
}

.cookie-buttons {
  display: flex;
  margin-top: 18px;
  gap: 9px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 750;
}

.btn-accept {
  background: var(--accent);
  color: #000;
}

.btn-save {
  background: #334155;
  color: #fff;
}

.btn-decline {
  border-color: #475569 !important;
  background: transparent;
  color: #fff;
}

.cookie-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 0.86rem;
}

/* Shared service page fallbacks */
.hz-container,
.lk-container,
.sa-container,
.sp-container,
.ws-container,
.bw-container {
  padding: 72px 0;
}

.hz-grid-2,
.lk-grid-2,
.sa-grid-2,
.sp-grid-2,
.ws-grid-2,
.bw-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 44px;
}

.hz-image-box img,
.lk-image-box img,
.sa-image-box img,
.sp-image img,
.ws-image img,
.bw-image-box img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 1050px) {
  .nav {
    min-height: 76px;
  }

  .logo-img {
    height: 50px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    z-index: 2900;
    top: 76px;
    right: 0;
    bottom: 0;
    display: block;
    width: min(390px, 92vw);
    padding: 18px;
    overflow-y: auto;
    border-left: 1px solid var(--border);
    background: #0d1623;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
    transform: translateX(105%);
    transition: transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > a,
  .dropdown-toggle {
    width: 100%;
    min-height: 49px;
    justify-content: flex-start;
    margin-bottom: 3px;
    padding: 12px 13px;
  }

  .main-nav .contact-btn {
    margin: 10px 0 0;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 3px 0 10px;
    padding: 5px 7px 5px 20px;
    border: 0;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .dropdown.open .dropdown-toggle .small {
    transform: rotate(180deg);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card-bg {
    min-height: 420px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-wrap {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 800px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .contact-wrapper,
  .hz-grid-2,
  .lk-grid-2,
  .sa-grid-2,
  .sp-grid-2,
  .ws-grid-2,
  .bw-grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid,
  .values-grid-modern {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .bw-gallery-item {
    min-width: 50%;
  }

  .floating-bar {
    display: none;
  }

  .mobile-quickbar {
    position: fixed;
    z-index: 4000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--border);
    background: rgba(8, 13, 20, 0.98);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  }

  .mobile-quickbar a {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid var(--border);
    color: #e2e8f0;
    font-size: 0.72rem;
  }

  .mobile-quickbar a:last-child {
    border-right: 0;
  }

  .mobile-quickbar i {
    color: var(--accent);
    font-size: 1.05rem;
  }

  .footer-bottom {
    padding-bottom: 18px;
  }

  .footer-bottom-text {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .hz-container,
  .lk-container,
  .sa-container,
  .sp-container,
  .ws-container,
  .bw-container {
    width: min(calc(100% - 28px), var(--container));
  }

  .logo-img {
    height: 43px;
  }

  .nav {
    min-height: 68px;
  }

  .main-nav {
    top: 68px;
  }

  .highlight-bar {
    font-size: 0.79rem;
  }

  .hero {
    min-height: 455px;
  }

  .hero-buttons,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons a,
  .contact-actions a {
    width: 100%;
  }

  .services-list,
  .contact-card .row,
  .callback-grid,
  .cookie-options,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .service-highlight,
  .services-section,
  .stats-values-section,
  .gallery-section,
  .news-section {
    padding: 62px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 24px 10px;
  }

  .gallery-item,
  .bw-gallery-item {
    min-width: 100%;
  }

  .gallery-nav,
  .bw-gallery-btn {
    width: 42px;
    height: 42px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cookie-banner {
    right: 10px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 10px;
    width: calc(100% - 20px);
    max-height: calc(100vh - 105px);
    overflow-y: auto;
  }

  .cookie-buttons {
    display: grid;
  }

  .cookie-buttons button {
    width: 100%;
  }

  .article-cover {
    aspect-ratio: 16 / 10;
  }

  .contact-card,
  .contact-info {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   GKS 2026 – datenbankgestützte Karriere- und Teamseiten
   Update 29.07.2026
   ========================================================= */
.managed-section-intro {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.managed-section-intro .section-title {
  margin-bottom: 12px;
}

.managed-section-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.managed-jobs-grid {
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.managed-job-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(24px, 4vw, 34px);
}

.managed-job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.managed-job-type,
.managed-job-employment {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.managed-job-type {
  border: 1px solid rgba(250, 204, 21, 0.38);
  background: rgba(250, 204, 21, 0.12);
  color: var(--accent);
  text-transform: uppercase;
}

.managed-job-type.ausbildung,
.managed-job-type.praktikum {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.11);
  color: #bae6fd;
}

.managed-job-type.initiativ {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.11);
  color: #ddd6fe;
}

.managed-job-employment {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.managed-job-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.72rem);
  line-height: 1.2;
}

.managed-job-meta {
  display: flex;
  gap: 9px 16px;
  margin-bottom: 17px;
  flex-wrap: wrap;
  color: #cbd5e1;
  font-size: 0.84rem;
}

.managed-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.managed-job-meta i {
  color: var(--accent);
}

.managed-job-lead {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.managed-job-details {
  margin: 4px 0 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 13, 20, 0.4);
}

.managed-job-details summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  color: #f8fafc;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.managed-job-details summary::-webkit-details-marker {
  display: none;
}

.managed-job-details summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

.managed-job-details[open] summary::after {
  content: "−";
}

.managed-job-details-content {
  padding: 0 15px 17px;
  border-top: 1px solid var(--border);
}

.managed-job-description {
  padding-top: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.managed-job-list {
  margin-top: 16px;
}

.managed-job-list h4 {
  margin: 0 0 8px;
  color: #fff;
}

.managed-job-list ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.managed-job-list li::marker {
  color: var(--accent);
}

.managed-job-button {
  width: fit-content;
  margin-top: auto;
}

.managed-career-empty,
.managed-team-empty {
  display: grid;
  width: min(720px, 100%);
  margin: 0 auto;
  place-items: center;
  padding: clamp(28px, 6vw, 52px);
  border: 1px dashed rgba(250, 204, 21, 0.32);
  border-radius: var(--radius);
  background: rgba(17, 27, 42, 0.66);
  text-align: center;
}

.managed-career-empty i,
.managed-team-empty i {
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 2rem;
}

.managed-career-empty h3 {
  margin: 0 0 8px;
}

.managed-career-empty p,
.managed-team-empty p {
  max-width: 600px;
  margin: 0 0 20px;
  color: var(--muted);
}

.managed-team-grid {
  align-items: stretch;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  gap: 24px;
}

.managed-team-card {
  display: flex;
  width: 100%;
  max-width: 280px;
  min-height: 100%;
  align-items: center;
  flex-direction: column;
  padding: 24px 20px 22px;
  overflow: hidden;
  text-align: center;
}

.managed-team-image {
  position: relative;
  width: 148px;
  height: 148px;
  flex: 0 0 148px;
  margin: 0 auto 18px;
  overflow: visible;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: #0a111c;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.managed-team-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.managed-team-card:hover .managed-team-image img {
  transform: scale(1.035);
}

.managed-team-body {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  flex-direction: column;
  padding: 0;
  text-align: center;
}

.managed-team-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.managed-team-body .team-role {
  margin: 0 0 7px;
}

.managed-team-body .team-fact {
  margin: 0;
  line-height: 1.5;
}

.managed-team-year {
  position: absolute;
  right: -10px;
  bottom: 5px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #070b11;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.34);
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .managed-jobs-grid,
  .managed-team-grid {
    grid-template-columns: 1fr;
  }

  .managed-job-button {
    width: 100%;
  }

  .managed-team-card {
    width: min(100%, 340px);
    max-width: 340px;
    margin-inline: auto;
    padding: 22px 18px 20px;
  }

  .managed-team-image {
    width: 132px;
    height: 132px;
    flex-basis: 132px;
  }
}
