/* ==== EcoScan — Components ==== */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-mark { display: none; } /* deprecated — Logo ist jetzt reine Wortmarke */

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  user-select: none;
}
.brand-logo .word { display: inline-block; }
.brand-eco  { color: #14533A; }
.brand-scan { color: #2E363B; }

.brand-display {
  display: inline-block;
  position: relative;
  width: 0.62em;
  height: 0.62em;
  margin: 0 -0.005em -0.025em -0.005em;
  align-self: flex-end;
  transform: translateY(-0.01em);
  flex-shrink: 0;
}
.brand-display svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Footer: helle Variante auf dunklem Hintergrund */
.footer-brand .brand-eco  { color: #1fbf6b; }
.footer-brand .brand-scan { color: #ffffff; }
.footer-brand .brand-display svg circle:first-child { stroke: #1fbf6b; }
.footer-brand .brand-display svg circle:last-child  { stroke: #B91C1C; }
.footer-brand .brand-logo { font-size: 48px; }

/* Header — größer für klare Markenpräsenz */
.site-header { min-height: 80px; }
.site-header .bar { height: 80px; }
.site-header .brand-logo { font-size: 42px; }
@media (max-width: 720px){
  .site-header { min-height: 64px; }
  .site-header .bar { height: 64px; }
  .site-header .brand-logo { font-size: 32px; }
  .footer-brand .brand-logo { font-size: 38px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background .2s var(--ease-soft), color .2s var(--ease-soft);
}
.nav a:hover { background: var(--bg-alt); color: var(--brand-deep); }
.nav a.active { color: var(--brand-deep); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; flex-direction: column;
  padding: 12px 14px; border-radius: 8px;
  font-size: 14px; line-height: 1.4;
}
.dropdown a:hover { background: var(--brand-soft); }
.dropdown a strong { font-weight: 600; color: var(--text); }
.dropdown a small { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* Header CTA */
a.header-cta,
.nav a.header-cta,
.mobile-nav a.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px -6px rgba(31,191,107,.55);
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
a.header-cta:hover,
.nav a.header-cta:hover {
  background: var(--brand-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(31,191,107,.7);
}

/* Mobile Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.is-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.is-open .burger span:nth-child(2) { opacity: 0; }
.is-open .burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 920px){
  .nav { display: none; }
  .burger { display: inline-block; }
  .header-cta { display: none; }

  .mobile-nav {
    position: fixed; inset: 72px 0 0 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    padding: 24px;
    overflow-y: auto;
    z-index: 90;
    border-top: 1px solid var(--border);
  }
  .mobile-nav a {
    display: block;
    padding: 16px 4px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav .header-cta { display: inline-flex; margin-top: 24px; }
  body.is-open .mobile-nav { transform: translateX(0); }
  body.is-open { overflow: hidden; }
}

@media (min-width: 921px){
  .mobile-nav { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--text);
  color: var(--text-inverse);
  box-shadow: 0 6px 18px -8px rgba(11,20,16,.4);
}
.btn-primary:hover {
  background: var(--brand-deep);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(13,43,31,.45);
}
.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-brand:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-alt);
}
.btn-arrow::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px){
  .hero-stage { grid-template-columns: 1fr; gap: 48px; }
}

.hero h1 .headline-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroLine .9s var(--ease) forwards;
}
.hero h1 .headline-line:nth-child(1){ animation-delay: .1s; }
.hero h1 .headline-line:nth-child(2){ animation-delay: .25s; }
.hero h1 .headline-line:nth-child(3){ animation-delay: .4s; }
.hero h1 .accent {
  position: relative;
  background: linear-gradient(110deg, var(--brand-deep) 0%, var(--brand) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes heroLine {
  to { opacity: 1; transform: none; }
}

.hero-sub {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin-top: var(--s-5);
  margin-bottom: var(--s-6);
  opacity: 0;
  animation: heroLine .9s var(--ease) .55s forwards;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroLine .9s var(--ease) .7s forwards;
}

.hero-meta {
  margin-top: var(--s-7);
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  opacity: 0;
  animation: heroLine .9s var(--ease) .85s forwards;
}
.hero-meta .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta .stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem);
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}
.hero-meta .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero Visual: Sensor Grid */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(31,191,107,.18), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(13,43,31,.12), transparent 60%),
    linear-gradient(180deg, #f4faf6 0%, #ffffff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: floatY 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-visual canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  will-change: transform;
}
.hero-visual .visual-overlay {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-visual .pulse-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand);
  position: relative;
  flex-shrink: 0;
}
.hero-visual .pulse-dot::before, .hero-visual .pulse-dot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: pulseRing 2.4s var(--ease) infinite;
}
.hero-visual .pulse-dot::after { animation-delay: 1.2s; }
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(3.2); opacity: 0; }
}
.visual-overlay .vo-text { line-height: 1.3; }
.visual-overlay .vo-title { font-weight: 600; font-size: 14px; color: var(--text); }
.visual-overlay .vo-sub { font-size: 12px; color: var(--text-muted); }

.visual-badge {
  position: absolute;
  top: 22px; left: 22px;
  display: inline-flex;
  align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.visual-badge .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(31,191,107,.18);
  animation: liveBlink 1.6s ease-in-out infinite;
}
@keyframes liveBlink { 50% { opacity: .4; } }

/* Mesh Gradient hinter Hero */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px;
  top: -80px; left: -120px;
  background: radial-gradient(circle, rgba(31,191,107,.22), transparent 70%);
  animation: meshDrift 18s ease-in-out infinite;
}
.hero::after {
  width: 600px; height: 600px;
  bottom: -200px; right: -200px;
  background: radial-gradient(circle, rgba(13,43,31,.15), transparent 70%);
  animation: meshDrift 22s ease-in-out -6s infinite reverse;
}
@keyframes meshDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -40px); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg-alt);
}
.trust-bar .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-bar .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.trust-bar .item svg { color: var(--brand-dark); flex-shrink: 0; }

/* ---------- Section heads ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Service Cards ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,191,107,.08), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--brand);
  color: #fff;
}
.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.service-card p {
  color: var(--text-muted);
  margin: 0 0 22px;
  font-size: .95rem;
}
.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-deep);
}
.service-link::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ---------- USP / Why ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.usp {
  border-left: 2px solid var(--brand);
  padding: 4px 0 4px 22px;
}
.usp h3 { margin: 0 0 8px; font-size: 1.15rem; }
.usp p { margin: 0; color: var(--text-muted); font-size: .96rem; }

/* ---------- Steps / Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: stepCounter;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  counter-increment: stepCounter;
}
.step::before {
  content: counter(stepCounter, decimal-leading-zero);
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--bg-alt);
  letter-spacing: -0.02em;
}
.step h4 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* ---------- Audience tags ---------- */
.audience-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: var(--s-5);
}
.audience-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
}
.audience-tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(31,191,107,.18), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(31,191,107,.10), transparent 55%),
    var(--bg-deep);
  color: var(--text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><path d='M0 .5H80M.5 0v80' stroke='rgba(255,255,255,.04)' stroke-width='1'/></svg>");
  pointer-events: none;
}
.cta-banner h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.cta-banner p { margin: 0; color: rgba(255,255,255,.74); max-width: 56ch; }
.cta-banner .btn { z-index: 1; }
@media (max-width: 700px){
  .cta-banner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,.78);
  padding: 80px 0 32px;
  position: relative;
}
.site-footer h4, .site-footer h3 { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px){
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Footer Col 1: Brand + Inhaber */
.footer-brand .brand-logo { font-size: 26px; }
.footer-brand .brand-eco { color: var(--brand); }
.footer-brand .brand-scan { color: #fff; }
.footer-tagline {
  margin: 18px 0 28px;
  font-size: 15px;
  color: rgba(255,255,255,.66);
  max-width: 32ch;
  line-height: 1.55;
}
.footer-owner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
}
.footer-portrait {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 5%;
  border: 3px solid var(--brand);
  box-shadow: 0 10px 30px -10px rgba(31,191,107,.55);
  flex-shrink: 0;
}
.footer-owner-meta { line-height: 1.4; }
.footer-owner-meta .name { font-weight: 700; color: #fff; font-size: 16px; }
.footer-owner-meta .role { font-size: 12px; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.footer-owner-meta .desc { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }

/* Footer Col 2: Links */
.footer-links h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.footer-links ul { list-style: none; padding: 0; margin: 0 0 32px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--brand); }

/* Footer Col 3: Standort */
.footer-location {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
}
.footer-westspitze {
  position: relative;
  aspect-ratio: 1280 / 882;
  overflow: hidden;
  background: #1a2823;
}
.footer-westspitze img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.footer-westspitze::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,20,16,.55) 100%);
  pointer-events: none;
}
.footer-westspitze-label { display: none; }
.footer-address {
  padding: 22px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-address strong { color: #fff; font-size: 15px; display: block; margin-bottom: 4px; }
.footer-address a { color: var(--brand); border-bottom: 1px dashed rgba(31,191,107,.4); }
.footer-address a:hover { border-bottom-color: var(--brand); color: var(--brand); }
.footer-map {
  width: 100%;
  height: 180px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  filter: grayscale(.3) brightness(.85);
  display: block;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.footer-bottom a {
  color: rgba(255,255,255,.6);
  margin-left: 14px;
}
.footer-bottom .credit a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--brand); }
.footer-bottom .credit a { color: rgba(255,255,255,.5); }

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(31,191,107,.08), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 24ch; }
.page-hero .lead { margin-top: 20px; }

/* ---------- Info Cards (Geräte-Erklärung) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.info-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.info-card .info-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.info-card .info-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.info-card h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 6px;
}
.info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Karriere — Karten-Grid ---------- */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.career-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none;
  color: inherit;
}
.career-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.career-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.career-card .card-tags .tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.career-card h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin: 0;
}
.career-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.career-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-deep);
  margin-top: 4px;
}
.career-card .card-cta::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.career-card:hover .card-cta::after {
  transform: translateX(4px);
}

/* ---------- Karriere — Stellen-Layout (Legacy) ---------- */
.job-section {
  padding: clamp(56px, 8vw, 100px) 0;
}
.job-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) {
  .job-layout { grid-template-columns: 1fr; }
}
.job-content > .eyebrow { margin-bottom: 14px; }
.job-content h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  margin: 0 0 8px;
}
.job-content .gender {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.7em;
  margin-left: 6px;
}
.job-content h3 {
  font-size: 1rem;
  margin: 32px 0 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.job-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.job-content ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text);
}
.job-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.job-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
@media (max-width: 880px) {
  .job-sidebar { position: static; }
}
.job-sidebar .sidebar-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.job-sidebar h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 16px;
}
.job-sidebar p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 22px;
  line-height: 1.55;
}
.job-sidebar dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.job-sidebar dl > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.job-sidebar dl > div:last-child { border-bottom: 0; }
.job-sidebar dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.job-sidebar dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  word-break: break-word;
}
.job-sidebar dd a {
  color: var(--brand-deep);
  border-bottom: 1px solid var(--brand);
}
.job-sidebar dd a:hover { color: var(--brand-dark); }

/* ---------- Job Cards (Karriere — Übersicht alt, weiterhin verfügbar) ---------- */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.job-card[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.job-card summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
}
.job-card summary::-webkit-details-marker { display: none; }
.job-card summary:hover { background: var(--bg-alt); }
.job-card[open] summary { background: var(--brand-soft); border-bottom: 1px solid rgba(31,191,107,.25); }

.job-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}
.job-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.job-meta .tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}
.job-card[open] .job-meta .tag { background: rgba(255,255,255,.7); }

.job-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  white-space: nowrap;
}
.job-toggle::after {
  content: "+";
  font-weight: 800;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.job-card[open] .job-toggle::after {
  content: "−";
}

.job-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.job-body h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 8px;
  font-weight: 700;
}
.job-body p, .job-body ul { margin: 0; }
.job-body ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-body ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}
.job-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.job-apply {
  margin-top: 10px;
  padding: 18px 22px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.job-apply .label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}
.job-apply p { font-size: 0.95rem; color: var(--text); margin: 0; }

@media (max-width: 600px) {
  .job-card summary { padding: 20px 22px; grid-template-columns: 1fr; }
  .job-toggle { justify-self: end; margin-top: -28px; }
  .job-body { padding: 22px; }
}

/* ---------- Bullet List (in service pages) ---------- */
.bullet-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.bullet-list li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  line-height: 1.5;
}
.bullet-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
}
.bg-alt .bullet-list li { background: #fff; }

/* ---------- Feature Split (Image + Text) ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 800px){
  .feature-split { grid-template-columns: 1fr; }
}
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Chat Widget ---------- */
.chat-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(31,191,107,.55);
  z-index: 200;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.chat-fab:hover { transform: scale(1.05); }
.chat-fab.is-active { transform: rotate(45deg); }
.chat-fab::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
  top: -2px; right: -2px;
  animation: liveBlink 1.6s ease-in-out infinite;
}
.chat-fab.is-active::after { display: none; }

.chat-panel {
  position: fixed;
  bottom: 100px; right: 24px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100svh - 140px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(11,20,16,.4), 0 8px 24px -8px rgba(11,20,16,.15);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s var(--ease), opacity .25s, visibility .3s;
  will-change: transform, opacity;
}
.chat-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}
.chat-head {
  padding: 18px 20px;
  background: var(--bg-deep);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chat-head .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  position: relative;
  flex-shrink: 0;
}
.chat-head .avatar::after {
  content: ""; position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--bg-deep);
}
.chat-head .who { line-height: 1.3; }
.chat-head .who strong { display: block; font-size: 14px; }
.chat-head .who small { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: 0.05em; }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  animation: msgIn .3s var(--ease) both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.chat-msg.bot {
  background: #fff;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--brand);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2){ animation-delay: .15s; }
.chat-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 20px 12px;
  background: var(--bg-alt);
}
.chat-suggestions button {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  transition: all .2s var(--ease);
}
.chat-suggestions button:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.chat-form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.chat-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s var(--ease);
}
.chat-form input:focus { border-color: var(--brand); }
.chat-form button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s var(--ease);
}
.chat-form button:hover { background: var(--brand-dark); }
.chat-form button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 600px){
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: 90px; }
  .chat-fab { bottom: 16px; right: 16px; }
}

/* ---------- Mobile-Optimierungen (App-Feel) ---------- */
@media (max-width: 720px){
  /* Kompakteres Spacing */
  section { padding: 56px 0; }

  /* Hero-Visual kompakter — nimmt nicht mehr volle Höhe */
  .hero-visual {
    aspect-ratio: 5 / 4;
    max-width: 100%;
    animation: none; /* floatY deaktivieren: spart GPU-Overhead auf Mobile */
    will-change: auto;
  }
  /* backdrop-filter auf Mobile deaktivieren: zu teuer, verursacht Jitter */
  .hero-visual .visual-overlay {
    backdrop-filter: none;
    background: rgba(255,255,255,.97);
  }

  /* Footer-Owner-Block: zentriert + größer wirken */
  .footer-owner {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    gap: 14px;
  }
  .footer-owner-meta { line-height: 1.5; }
  .footer-portrait {
    width: 132px; height: 132px;
  }

  /* Footer-Bottom mittig auf Mobile */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-bottom .credit a { margin: 0 8px; }

  /* CTA-Banner mehr Luft auf Mobile */
  .cta-banner {
    padding: 36px 24px;
    text-align: center;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /* Buttons full-width Optionen */
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; min-height: 50px; }

  /* Kleineres CTA in Hero auf Mobile */
  .hero { padding: 60px 0 40px; }

  /* Service-Cards: bisschen kompakter */
  .service-card { padding: 26px 22px; }
}
