/* Elbtal Elektrotechnik: frisch und grün, Energiewende. Weiß, kräftiges Grün, Sonnengelb als Akzent,
   kräftige Schrift. Eigene Bewegung: Textmarker, Zähler, wachsende Balken, sich zeichnende Zeitleiste. */
body {
  --bg: #FFFFFF; --surface: #FFFFFF; --soft: #F1F8F3; --line: #E2ECE5;
  --text: #0E1E17; --muted: #55665D; --accent: #12A150; --accent-ink: #FFFFFF;
  --sun: #FFD54A; --deep: #0B3B25; --radius: 18px;
  --head-weight: 800; --head-spacing: -.04em;
}
.wrap { max-width: 1200px; }
.section { padding-block: clamp(56px, 7vw, 100px); }
[id] { scroll-margin-top: 84px; }
::selection { background: var(--sun); }
.lead { color: var(--muted); text-wrap: pretty; }
.btn { border-radius: 14px; font-weight: 700; min-height: 52px; padding: 0 24px; }
.btn:hover { filter: brightness(1.05); }
.btn--ghost { background: #fff; border: 2px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* Kopf */
.d-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.d-head .wrap { min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.logo__name { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo__sub { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.d-nav { align-items: center; font-weight: 500; }
.d-nav .btn { min-height: 42px; padding: 0 18px; font-size: 14px; color: #fff; }
@media (max-width: 720px) { .d-nav { display: flex; } .d-nav a:not(.btn) { display: none; } .logo__sub { display: none; } }

/* Start */
.e-hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); background: linear-gradient(180deg, var(--soft), #fff 70%); }
.e-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .e-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.e-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.e-pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(18, 161, 80, .2); animation: livepulse 2s infinite; }
.e-hero h1 { font-size: clamp(42px, 6vw, 82px); line-height: .98; letter-spacing: -.05em; margin-bottom: 22px; text-wrap: balance; }
.e-hero h1 mark { color: var(--text); }
.e-hero .lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; margin-bottom: 28px; }
.e-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 34px 0 0; padding: 0; }
.e-stats b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.e-stats span { font-size: 14px; color: var(--muted); }
.e-hero__media { position: relative; margin: 0; }
.e-hero__media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -46px rgba(11, 59, 37, .55); }
.e-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(11, 59, 37, .35); font-size: 13.5px; color: var(--muted); max-width: 270px; animation: e-bob 6s ease-in-out infinite; }
.e-float b { display: block; color: var(--text); font-size: 15px; }
.e-float__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--sun); font-weight: 800; }
.e-float--a { left: -22px; top: 26px; }
.e-float--b { right: -16px; bottom: 30px; animation-delay: -3s; }
.e-float--b .e-float__icon { background: var(--accent); color: #fff; }
@keyframes e-bob { 50% { transform: translateY(-8px); } }
@media (max-width: 920px) { .e-float--a { left: 10px; top: 10px; } .e-float--b { right: 10px; bottom: 10px; } }
@media (max-width: 520px) { .e-float { position: static; max-width: none; margin-top: 10px; animation: none; } }

/* Abschnittsköpfe */
.e-head { margin-bottom: clamp(24px, 3.4vw, 40px); max-width: 760px; }
.e-head--center { text-align: center; margin-inline: auto; }
.e-head h2, .e-azubi h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 14px; text-wrap: balance; }
.e-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.e-head .lead a { color: var(--accent); font-weight: 700; }

/* Stellen */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 760px) { .jobs { grid-template-columns: minmax(0, 1fr); } }
.job { display: grid; grid-template-columns: 38% minmax(0, 1fr); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
@media (max-width: 520px) { .job { grid-template-columns: minmax(0, 1fr); } .job img { aspect-ratio: 16 / 9; } }
.job img { width: 100%; height: 100%; object-fit: cover; }
.job__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; }
.job__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.tag--green { background: var(--accent); color: #fff; }
.tag--sun { background: var(--sun); color: var(--text); }
.job h3 { font-size: 19px; line-height: 1.2; letter-spacing: -.02em; }
.job p { color: var(--muted); font-size: 15px; }
.job__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; font-weight: 700; }

/* Ausbildung */
.e-azubi { background: var(--deep); color: #E6F3EA; }
.e-azubi .lead { color: #B7D3C2; }
.e-azubi .e-kicker { color: var(--sun); }
.e-azubi h2 { color: #fff; }
.e-azubi__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .e-azubi__grid { grid-template-columns: minmax(0, 1fr); } }
.e-azubi__pic { position: relative; }
.e-azubi__pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.e-badge { position: absolute; right: -14px; bottom: 28px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; align-content: center; text-align: center; background: var(--sun); color: var(--text); padding: 18px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); animation: e-bob 7s ease-in-out infinite; }
.e-badge b { font-size: 34px; font-weight: 800; line-height: 1; }
.e-badge span { font-size: 12px; font-weight: 600; line-height: 1.3; margin-top: 4px; }
@media (max-width: 520px) { .e-badge { right: 10px; bottom: 10px; width: 120px; height: 120px; } .e-badge b { font-size: 26px; } }
.e-label { font-weight: 700; color: #fff; margin: 26px 0 12px; }
.pay { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pay li { display: grid; grid-template-columns: 62px minmax(0, 1fr) 80px; gap: 12px; align-items: center; font-size: 14px; }
.pay i { display: block; height: 14px; width: var(--w); border-radius: 7px; background: linear-gradient(90deg, var(--accent), var(--sun)); }
.pay b { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.e-note { font-size: 13px; color: #94B7A3; margin: 14px 0 24px; }
.e-azubi .btn { background: var(--sun); color: var(--text); }

/* Was wir bieten */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .perks { grid-template-columns: minmax(0, 1fr); } }
.perk { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 16px; padding: 20px; border-radius: 20px; background: var(--soft); transition: background-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.perk__icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--accent); }
.perk b { font-size: 17px; }
.perk span:last-child { color: var(--muted); font-size: 14.5px; }
@media (hover: hover) { .perk:hover { background: #E3F4E9; transform: translateY(-3px); } }

/* Ein Tag bei uns: Zeitleiste, die sich beim Scrollen zeichnet */
.e-day-sec { background: var(--soft); }
.day { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; display: grid; gap: 18px; }
.day::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: linear-gradient(var(--accent), var(--sun)); transform-origin: top; }
html.a-on .day::before { transform: scaleY(0); transition: transform 2.2s cubic-bezier(.65, 0, .35, 1); }
html.a-on .day.is-in::before { transform: none; }
.day li { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr) 220px; gap: 16px 24px; align-items: center; padding: 18px 20px; border-radius: 20px; background: #fff; }
html.a-on .day li { opacity: 0; transform: translateX(-16px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.a-on .day.is-in li { opacity: 1; transform: none; }
.day.is-in li:nth-child(2) { transition-delay: .35s; }
.day.is-in li:nth-child(3) { transition-delay: .7s; }
.day.is-in li:nth-child(4) { transition-delay: 1.05s; }
.day.is-in li:nth-child(5) { transition-delay: 1.4s; }
.day li::before { content: ""; position: absolute; left: -32px; top: 50%; width: 17px; height: 17px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.day time { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
.day b { font-size: 18px; }
.day p { color: var(--muted); font-size: 15px; }
.day img { width: 220px; height: 120px; object-fit: cover; border-radius: 14px; }
.day li:not(:has(img)) { grid-template-columns: 74px minmax(0, 1fr); }
@media (max-width: 760px) { .day li { grid-template-columns: 60px minmax(0, 1fr); } .day img { grid-column: 1 / -1; width: 100%; height: 150px; } }
@media (prefers-reduced-motion: reduce) { .day li { opacity: 1; transform: none; transition: none; } .day::before { transform: none; transition: none; } }

/* Bewerben in 60 Sekunden: eine Frage nach der anderen */
.e-apply-sec { background: linear-gradient(180deg, #fff, var(--soft)); }
.apply { max-width: 760px; margin-inline: auto; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(11, 59, 37, .45); overflow: hidden; }
.apply__top { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.apply__bar { flex: 1; height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.apply__bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--sun)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.apply__clock { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--accent); }
.apply__stage { position: relative; min-height: 420px; padding: clamp(24px, 4vw, 44px); }
.q { animation: q-in .55s cubic-bezier(.2, .8, .2, 1) both; }
.q.is-out { animation: q-out .3s ease both; }
@keyframes q-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes q-out { to { opacity: 0; transform: translateX(-40px); } }
.q__num { font-size: 14px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.q h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 8px; }
.q__hint { color: var(--muted); margin-bottom: 22px; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .opts--2 { grid-template-columns: minmax(0, 1fr); } }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: #fff; text-align: left; font-size: 16px; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.opt:hover { border-color: var(--accent); transform: translateY(-1px); }
.opt__key { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--soft); color: var(--accent); font-size: 13px; font-weight: 800; }
.opt small { display: block; color: var(--muted); font-weight: 500; font-size: 13.5px; }
.q .field input { border-radius: 14px; padding: 14px 16px; font-size: 17px; }
.q .btn { margin-top: 6px; }
.upload-cv { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 14px; border-radius: 14px; border: 2px dashed var(--line); color: var(--muted); cursor: pointer; font-size: 15px; position: relative; }
.upload-cv input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.done-e { text-align: center; }
.done-e__time { display: inline-block; font-size: clamp(54px, 9vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.done-e h3 { margin: 10px 0 6px; }
.next { list-style: none; padding: 0; margin: 26px auto 0; max-width: 520px; display: grid; gap: 10px; text-align: left; }
.next li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 15px; opacity: 0; transform: translateY(8px); animation: q-in .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.next li span:first-child { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; }
.next li.is-wait span:first-child { background: var(--sun); color: var(--text); }
.next small { display: block; color: var(--muted); font-size: 13px; }

/* Fragen */
.e-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .e-faq { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); color: var(--text); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Fuß */
.e-foot { padding-block: 56px 28px; background: var(--deep); color: #B7D3C2; font-size: 15px; }
.e-foot .logo__name { color: #fff; }
.e-foot .logo__sub { color: #94B7A3; }
.e-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .e-foot__grid { grid-template-columns: 1fr; } }
.e-foot h4 { margin: 0 0 12px; color: #fff; font-size: 14px; }
.e-foot p { line-height: 1.7; }
.e-foot__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.e-foot a { color: #fff; }

.toast .toast__icon { background: var(--accent); color: #fff; }
.mail { --accent: #12A150; --accent-ink: #fff; --soft: #F1F8F3; }
