/* ============================================================
   Hamo Elektrotechnik — redesign
   Warm "Claude" feeling (cream, serif headlines, soft shadows)
   + electric-green brand identity
   ============================================================ */

:root {
  /* Brand green */
  --green: #4F9748;
  --green-dark: #2F5C2B;
  --green-deep: #1F3D1C;
  --green-light: #E7F2E2;
  --green-tint: #F1F7EE;

  /* Warm neutrals (Claude-ish) */
  --cream: #FBF8F1;
  --cream-alt: #F3EEE2;
  --paper: #FFFFFF;
  --ink: #20251F;
  --ink-soft: #555C50;
  --muted: #8C9286;
  --line: rgba(32, 37, 31, 0.10);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape & motion */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(32, 37, 31, 0.06);
  --shadow-md: 0 12px 40px rgba(32, 37, 31, 0.10);
  --shadow-green: 0 16px 40px rgba(79, 151, 72, 0.28);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --container: 1180px;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--ink);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }
.dot-sep { color: var(--line); margin: 0 4px; }

.text-grad {
  background: linear-gradient(100deg, var(--green-dark) 0%, var(--green) 35%, #8FD37F 50%, var(--green) 65%, var(--green-dark) 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  to { background-position: -240% center; }
}

/* ---------- Scroll progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, #8FD37F 50%, var(--green-dark) 100%);
  z-index: 200;
  box-shadow: 0 0 12px rgba(79,151,72,0.55);
  transition: width 0.12s ease-out;
}

/* ---------- Cursor glow (follows pointer, desktop only) ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,195,107,0.30) 0%, rgba(79,151,72,0.14) 32%, rgba(79,151,72,0.04) 55%, transparent 72%);
  mix-blend-mode: multiply;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }
@media (pointer: coarse), (max-width: 760px) {
  .cursor-glow { display: none; }
}

/* ---------- Hero headline word reveal ---------- */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(2deg);
  filter: blur(6px);
  animation: word-in 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 65ms + 120ms);
}
@keyframes word-in {
  to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-word { animation: none; opacity: 1; transform: none; filter: none; }
}

/* ---------- Electric circuit lines (hero background) ---------- */
.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}
.circuit__line {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
  opacity: 0.25;
}
.circuit__line--b { stroke: var(--green-dark); opacity: 0.16; }
.circuit__node {
  fill: var(--green);
  opacity: 0.35;
}
.circuit__pulse {
  fill: #8FD37F;
  filter: drop-shadow(0 0 7px rgba(79, 151, 72, 0.85)) drop-shadow(0 0 14px rgba(143, 211, 127, 0.55));
}
.circuit__pulse--a {
  offset-path: path('M -50 120 H 260 V 280 H 640 V 90 H 1250');
  animation: travel 9s linear infinite;
}
.circuit__pulse--b {
  offset-path: path('M -50 460 H 300 V 340 H 760 V 520 H 1250');
  animation: travel 11s linear infinite;
  animation-delay: -4s;
}
@keyframes travel {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .circuit__pulse { animation: none; offset-distance: 30%; }
}
@media (max-width: 760px) {
  .circuit { opacity: 0.35; }
}

/* ---------- Spotlight hover glow on cards ---------- */
.service-card, .dark-card, .blog-card, .float-card, .chip, .contact-card {
  position: relative;
  isolation: isolate;
}
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 151, 72, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.spotlight:hover::after { opacity: 1; }
.dark-card.spotlight::after {
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 70%);
}
.spotlight > * { position: relative; z-index: 2; }

/* ---------- Magnetic buttons ---------- */
.magnetic { transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color .25s ease; }


/* ---------- Animated background mesh ---------- */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}
.blob--a {
  width: 520px; height: 520px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, var(--green) 0%, transparent 70%);
  animation: drift-a 26s ease-in-out infinite;
}
.blob--b {
  width: 460px; height: 460px;
  top: 30vh; right: -160px;
  background: radial-gradient(circle, #FFE3B0 0%, transparent 70%);
  animation: drift-b 32s ease-in-out infinite;
  opacity: 0.28;
}
.blob--c {
  width: 420px; height: 420px;
  bottom: -160px; left: 18vw;
  background: radial-gradient(circle, var(--green-dark) 0%, transparent 70%);
  animation: drift-c 30s ease-in-out infinite;
  opacity: 0.18;
}
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 40px) scale(1.1); }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(79,151,72,0.36); }

.btn--ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--green); background: var(--green-tint); transform: translateY(-2px); }

.btn--sm { padding: 9px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

.btn--on-dark {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: #fff; color: var(--green-deep); transform: translateY(-3px); }

.btn--on-light {
  background: var(--cream);
  color: var(--green-deep);
}
.btn--on-light:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }

.btn--outline-on-dark {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn--outline-on-dark:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(32,37,31,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark { flex-shrink: 0; }
.brand__mark svg { display: block; transition: transform .5s var(--ease); }
.brand:hover .brand__mark svg { transform: rotate(-12deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-family: var(--font-display); font-size: 1.05rem; }
.brand__text small { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.03em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.nav a.is-active { color: var(--green-dark); }
.nav a.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-nav a {
  padding: 12px 6px;
  font-weight: 500;
  border-radius: 10px;
  transition: background .2s ease;
}
.mobile-nav a:hover { background: var(--green-tint); }
.mobile-nav .btn { margin-top: 10px; align-self: flex-start; }
.mobile-nav.is-open { display: flex; }

@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 560px) {
  .header__actions .btn--primary { display: none; }
}

@media (max-width: 480px) {
  .brand__text strong { font-size: 0.92rem; white-space: nowrap; }
  .brand__text small { display: none; }
}

/* ---------- Eyebrow / kicker / pills ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(79,151,72,.5);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(79,151,72,.45); }
  70% { box-shadow: 0 0 0 9px rgba(79,151,72,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,151,72,0); }
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.kicker--on-dark { color: rgba(255,255,255,0.85); }

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--cream-alt);
  color: var(--ink-soft);
}
.pill--accent { background: var(--green); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 0;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 70px;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero__lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.stars { color: #F2B233; letter-spacing: 2px; }
.stars--sm { font-size: 0.78rem; margin-top: 2px; }

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 420px;
}
.float-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 20px 22px;
  animation: float-y 7s ease-in-out infinite;
}
.float-card--rating {
  top: 0; right: 6%;
  width: 290px;
  animation-delay: 0s;
}
.float-card--badges {
  bottom: 0; left: 0;
  width: 320px;
  animation-delay: 1.4s;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-card__row { display: flex; align-items: center; gap: 14px; }
.g-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-family: var(--font-display);
}
.badge-list { display: flex; flex-direction: column; gap: 16px; }
.badge-list li { display: flex; align-items: flex-start; gap: 12px; }
.badge-list strong { display: block; font-size: 0.92rem; }
.badge-list small { color: var(--muted); font-size: 0.78rem; }
.badge-list__icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--cream-alt);
  font-size: 0.95rem;
}
.badge-list__icon--check { background: var(--green-light); color: var(--green-dark); font-weight: 800; }
.badge-list__icon--accent { background: var(--green); color: #fff; }

.orbit-ring {
  position: absolute;
  inset: 8% 18%;
  border: 1.5px dashed rgba(79,151,72,0.28);
  border-radius: 50%;
  z-index: -1;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero marquee strip */
.hero__marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  padding: 16px 0;
}
.hero__marquee-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.hero__marquee-track span:nth-child(2n) { color: var(--green); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section generic ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--narrow { padding: 40px 0; }
.section--tinted {
  background: linear-gradient(180deg, var(--cream-alt) 0%, var(--cream) 100%);
}
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section__lead { color: var(--ink-soft); font-size: 1.04rem; }
.section__lead--on-dark { color: rgba(255,255,255,0.82); }

.center-cta { text-align: center; margin-top: 44px; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79,151,72,0.3);
}
.service-card--feature {
  grid-row: span 2;
  background: linear-gradient(160deg, var(--paper) 0%, var(--green-tint) 100%);
}
.service-card__icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--green-light);
  font-size: 1.4rem;
  margin: 18px 0 18px;
}
.service-card .pill { float: right; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; clear: both; }
.service-card p { color: var(--ink-soft); margin-bottom: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag-list li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-dark);
  border: 1px solid rgba(79,151,72,0.18);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--green-dark);
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Dark cards (Zielgruppen) ---------- */
.cards-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dark-card {
  position: relative;
  background: linear-gradient(155deg, var(--green) 0%, var(--green-deep) 120%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow .4s var(--ease);
}
.dark-card::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -90px; right: -90px;
  transition: transform .6s var(--ease);
}
.dark-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(47,92,43,0.35); }
.dark-card:hover::before { transform: scale(1.25); }
.dark-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 0.55;
  text-align: right;
}
.dark-card__icon { font-size: 1.7rem; display: block; margin: 4px 0 14px; }
.dark-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.dark-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ---------- Logo marquee ---------- */
.logo-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-marquee__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logo-marquee__track span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity .3s ease, color .3s ease;
}
.logo-marquee__track span:hover { opacity: 1; color: var(--green-dark); }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split--reverse .split__visual { order: 2; }
.split--reverse .split__copy { order: 1; }
.split__copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.split__copy .section__lead { margin-bottom: 26px; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); }
.check-list li span {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Wallbox graphic */
.wallbox-graphic {
  position: relative;
  height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--green-tint) 0%, var(--cream-alt) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.wallbox-graphic__box {
  position: absolute;
  top: 70px; left: 60px;
  width: 90px; height: 130px;
  background: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.wallbox-graphic__led {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(79,151,72,.6);
  animation: pulse-dot 1.8s infinite;
}
.wallbox-graphic__cable {
  position: absolute;
  top: 165px; left: 104px;
  width: 160px; height: 70px;
  border: 8px solid var(--green);
  border-top: none; border-right: none;
  border-radius: 0 0 0 50px;
  opacity: 0.55;
}
.wallbox-graphic__car {
  position: absolute;
  bottom: 56px; right: 40px;
  width: 190px; height: 92px;
  background: linear-gradient(135deg, var(--paper), var(--cream-alt));
  border: 1px solid var(--line);
  border-radius: 30px 30px 14px 14px;
  box-shadow: var(--shadow-sm);
}
.wallbox-graphic__car::before, .wallbox-graphic__car::after {
  content: '';
  position: absolute;
  bottom: -14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
}
.wallbox-graphic__car::before { left: 24px; }
.wallbox-graphic__car::after { right: 24px; }
.wallbox-graphic__bolt {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  color: var(--green);
  filter: drop-shadow(0 6px 18px rgba(79,151,72,0.4));
  animation: float-y 4.5s ease-in-out infinite;
}

/* Portrait (Über uns) */
.portrait {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--green) 0%, var(--green-deep) 120%);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-green);
}
.portrait::before, .portrait::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.portrait::before { width: 260px; height: 260px; top: -100px; left: -80px; }
.portrait::after { width: 200px; height: 200px; bottom: -90px; right: -60px; }
.portrait__bolt {
  font-size: 4.5rem;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.25));
  animation: float-y 5s ease-in-out infinite;
}
.portrait-stat {
  position: absolute;
  bottom: -26px; left: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.portrait-stat strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-dark); }
.portrait-stat small { color: var(--muted); font-size: 0.78rem; }
.split__visual { position: relative; }

/* ---------- Career banner ---------- */
.career-banner {
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green-dark) 60%, var(--green) 130%);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.career-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.16), transparent 55%);
}
.career-banner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.career-banner > div { position: relative; max-width: 560px; }
.career-banner > .btn { position: relative; }

/* ---------- Chips ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease), border-color .3s ease, color .3s ease, background .3s ease;
}
.chip:hover { transform: translateY(-3px); border-color: var(--green); color: var(--green-dark); background: var(--green-tint); }
.chip--accent { background: var(--green); color: #fff; border-color: var(--green); }
.chip--accent:hover { background: var(--green-dark); color: #fff; }

/* ---------- Emergency bar ---------- */
.emergency-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(100deg, var(--green-deep), var(--green-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  transition: transform 0.4s var(--ease), box-shadow .4s var(--ease);
  flex-wrap: wrap;
}
.emergency-bar:hover { transform: translateY(-4px); box-shadow: 0 22px 56px rgba(31,61,28,0.35); }
.emergency-bar__pulse {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: pulse-dot-white 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot-white {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
  70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.emergency-bar__text { font-size: 1.05rem; }
.emergency-bar__phone {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

/* ---------- Contact card ---------- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-card__info { padding: 44px; }
.contact-card__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.contact-card__brand strong { display: block; font-family: var(--font-display); }
.contact-card__brand small { color: var(--muted); font-size: 0.8rem; }

.info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-list__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--green-tint);
  flex-shrink: 0;
}
.info-list small { display: block; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; margin-bottom: 3px; }
.info-list strong { font-weight: 600; font-size: 0.98rem; }
.info-list a:hover { color: var(--green-dark); }

.contact-card__map { position: relative; }
.map-mock {
  position: relative;
  height: 100%;
  min-height: 360px;
  background:
    radial-gradient(circle at 30% 30%, rgba(79,151,72,0.14), transparent 55%),
    var(--green-tint);
  overflow: hidden;
}
.map-mock__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.6;
}
.map-mock__pin {
  position: absolute;
  top: 46%; left: 48%;
  display: grid; place-items: center;
}
.map-mock__pin-dot {
  position: relative;
  z-index: 2;
  width: 18px; height: 18px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--green);
  box-shadow: var(--shadow-md);
}
.map-mock__pin-ring {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(79,151,72,0.25);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.map-mock__label {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow .4s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card__media {
  height: 160px;
  display: grid; place-items: center;
  font-size: 2.6rem;
  position: relative;
  overflow: hidden;
}
.blog-card__media span { position: relative; z-index: 1; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card__media span { transform: scale(1.15) rotate(-8deg); }
.blog-card__media--a { background: linear-gradient(135deg, var(--green-light), var(--cream-alt)); }
.blog-card__media--b { background: linear-gradient(135deg, #FFE9C7, var(--cream-alt)); }
.blog-card__media--c { background: linear-gradient(135deg, var(--green-tint), #DCEAFB); }
.blog-card__body { padding: 26px; }
.blog-card__date { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }
.blog-card h3 { font-size: 1.15rem; margin: 8px 0 10px; line-height: 1.3; }
.blog-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 16px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  text-align: center;
  background: linear-gradient(155deg, var(--green) 0%, var(--green-deep) 120%);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  overflow: hidden;
  color: #fff;
}
.cta-banner__glow {
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 65%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  animation: drift-a 18s ease-in-out infinite;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 30px; position: relative; }
.cta-banner__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 0;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer .brand__text strong { color: #fff; }
.footer .brand__text small { color: rgba(255,255,255,0.5); }
.footer__brand p { margin: 18px 0 20px; max-width: 36ch; color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer__contact a:hover { color: var(--green); }
.footer__title { color: #fff; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer__col a { transition: color .2s ease; }
.footer__col a:hover { color: var(--green); }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer__hours span { color: rgba(255,255,255,0.55); }
.footer__badge {
  margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.footer__badge strong { display: block; font-size: 0.85rem; color: #fff; }
.footer__badge small { color: rgba(255,255,255,0.5); font-size: 0.74rem; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 24px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease), background .25s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--green-dark); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .service-card--feature { grid-row: auto; }
  .cards-grid--3 { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 480px; margin-top: 30px; }
  .float-card--rating { right: auto; left: 0; top: 0; }
  .float-card--badges { left: auto; right: 0; bottom: 0; }
  .split, .split--reverse .split__copy, .split--reverse .split__visual { order: initial; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__visual { order: -1; }
  .contact-card { grid-template-columns: 1fr; }
  .map-mock { min-height: 280px; }
  .cards-grid--3 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .career-banner { padding: 38px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 76px 0; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__proof { font-size: 0.86rem; }
  .float-card { position: static; width: 100% !important; margin-bottom: 16px; animation: none; }
  .hero__visual { min-height: auto; display: flex; flex-direction: column; }
  .orbit-ring { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .emergency-bar__phone { margin-left: 0; }
  .career-banner { flex-direction: column; align-items: flex-start; }
}
