/* ENERGY.ONE Website Zypern (baut auf energy-one-tokens.css auf) */
@font-face { font-family: "Heebo"; src: url("fonts/Heebo-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root:lang(he) { --eo-font: "Heebo", "Inter", system-ui, sans-serif; }
:lang(he) h1, :lang(he) h2, :lang(he) h3 { letter-spacing: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; font-family: var(--eo-font); }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
.wrap { max-width: var(--eo-container); margin: 0 auto; padding: 0 24px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.eo-btn--hell { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.eo-btn--hell:hover { background: #fff; color: var(--eo-schwarz); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--eo-linie); }
.kopf-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { height: 42px; width: auto; display: block; }
.navi { display: flex; gap: 26px; margin-inline-start: auto; }
.navi a { color: var(--eo-text); text-decoration: none; font-size: var(--eo-fs-sm); font-weight: 500; }
.navi a:hover { color: var(--eo-rot); }
.kopf-rechts { display: flex; align-items: center; gap: 14px; }
.sprachen { display: flex; border: 1px solid var(--eo-linie); border-radius: 2px; direction: ltr; }
.sprachen button { all: unset; cursor: pointer; font: 600 11px/1 "Heebo", "Inter", sans-serif; letter-spacing: .06em; padding: 9px 8px; color: var(--eo-grau-600); }
.sprachen button[aria-pressed=true] { background: var(--eo-schwarz); color: #fff; }
.sprachen button:focus-visible { box-shadow: var(--eo-fokus); }
.kopf-cta { padding: 12px 18px; }

/* Hero */
.hero { background: var(--eo-dunkel); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.8rem); margin-bottom: 24px; }
.hero h1 span { color: var(--eo-orange); display: block; }
.hero-lead { color: #c9c9c9; font-size: var(--eo-fs-lg); max-width: 540px; margin: 0 0 32px; }
.hero-klein { color: var(--eo-grau-400); font-size: var(--eo-fs-sm); max-width: 480px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #2a2a2a; }
.szene { width: 100%; height: auto; display: block; }
.marken circle { fill: #fff; }
.marken text { fill: var(--eo-schwarz); font: 700 14px "Inter", sans-serif; text-anchor: middle; }
.fenster rect { fill: #2a2a2a; animation: licht 4.8s ease-in-out infinite; }
.fenster rect:nth-child(2) { animation-delay: .3s; } .fenster rect:nth-child(3) { animation-delay: .6s; } .fenster rect:nth-child(4) { animation-delay: .9s; }
@keyframes licht { 0%, 35% { fill: #2a2a2a; } 55%, 85% { fill: #F2C46A; } 100% { fill: #2a2a2a; } }
.ladung rect { animation: laden 4.8s steps(1) infinite; opacity: .15; }
.ladung rect:nth-child(1) { animation-delay: 0s; } .ladung rect:nth-child(2) { animation-delay: .5s; } .ladung rect:nth-child(3) { animation-delay: 1s; } .ladung rect:nth-child(4) { animation-delay: 1.5s; }
@keyframes laden { 0% { opacity: .15; } 10%, 80% { opacity: 1; } 100% { opacity: .15; } }
.strahlen path { stroke-dasharray: 3 11; animation: strahl 1.4s linear infinite; opacity: .85; }
@keyframes strahl { to { stroke-dashoffset: -28; } }
.kranz { animation: drehen 30s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.legende { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.legende li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--eo-fs-xs); color: #d6d6d6; line-height: 1.35; }
.legende b { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--eo-schwarz); font-size: 11px; }

/* großer Satz */
.satz { background: var(--eo-schwarz); color: #fff; padding: 56px 0; border-top: 1px solid #222; }
.satz p { margin: 0; max-width: 900px; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.satz p::first-line { color: #fff; }

/* Abschnitte */
.abschnitt { padding: var(--eo-s9) 0; }
.hell { background: var(--eo-hell); }
.dunkel { background: var(--eo-dunkel); color: #fff; }
.titel { max-width: 780px; margin-bottom: var(--eo-s7); }
.dunkel .titel { color: #fff; }
h3 { font-size: var(--eo-fs-h4); margin: 0 0 6px; }

.zeichnungen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.zeichnungen svg { width: 100%; max-width: 200px; height: auto; display: block; margin-bottom: 18px; }
.zeichnungen p { color: var(--eo-text-leise); margin: 0; font-size: var(--eo-fs-sm); }

.teile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.teile svg { width: 100%; max-width: 260px; display: block; margin-bottom: 20px; }
.teile h3 { color: #fff; }
.teile p { color: var(--eo-grau-400); margin: 0; font-size: var(--eo-fs-sm); }
.teile-note { color: var(--eo-grau-400); font-size: var(--eo-fs-sm); margin: 48px 0 0; max-width: 640px; }
.leitung { animation: strahl 1.2s linear infinite; }

.weg { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.weg::before { content: ""; position: absolute; top: 32px; inset-inline: 40px; border-top: 2px dashed #d6d2ca; }
.weg li { position: relative; }
.weg svg { width: 64px; height: 64px; display: block; margin-bottom: 18px; background: #fff; position: relative; padding: 0 6px; }
.weg h3 { font-size: var(--eo-fs-md); }
.weg p { color: var(--eo-text-leise); font-size: var(--eo-fs-sm); margin: 0; }

.ueber { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.gross { font-size: var(--eo-fs-lg); }
.claim { font-size: 20px; margin-top: 28px; }
.karte svg { width: 100%; height: auto; display: block; }
.karte .ort { font: 600 13px var(--eo-font); fill: var(--eo-schwarz); text-anchor: middle; }
.flugbahn { animation: strahl 1.6s linear infinite; }

/* Formular */
.check { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.sprach-hinweis { font-weight: 600; }
.formular { background: #fff; border: 1px solid var(--eo-linie); border-top: 4px solid var(--eo-rot); padding: 32px; border-radius: var(--eo-radius-m); box-shadow: var(--eo-schatten); display: grid; gap: 16px; }
.feld2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formular label { display: grid; gap: 6px; font-size: var(--eo-fs-xs); font-weight: 600; }
.formular input, .formular select { font: 400 var(--eo-fs-md) var(--eo-font); padding: 13px 14px; border: 1px solid #cfccc5; border-radius: 2px; background: #fff; color: var(--eo-text); width: 100%; }
.formular input:focus, .formular select:focus { outline: none; border-color: var(--eo-orange); box-shadow: var(--eo-fokus); }
.formular .zustimmung { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--eo-text-leise); }
.zustimmung input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--eo-rot); }
.senden { justify-content: center; font-size: var(--eo-fs-md); }
.fehler { color: var(--eo-rot); font-size: var(--eo-fs-sm); margin: 0; }
.danke { background: var(--eo-orange-zart); padding: 16px; border-inline-start: 4px solid var(--eo-orange); }
.danke small { display: block; color: var(--eo-grau-600); margin-top: 4px; }
.formular.ungueltig :invalid { border-color: var(--eo-rot); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.fragen details { border-bottom: 1px solid var(--eo-linie); }
.fragen summary { cursor: pointer; list-style: none; padding-block: 22px; padding-inline-end: 40px; font-weight: 600; font-size: var(--eo-fs-md); position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--eo-rot); transition: transform var(--eo-dauer) var(--eo-ease); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen p { margin: 0 0 22px; color: var(--eo-text-leise); max-width: 640px; }

/* Fuß */
.fuss { background: var(--eo-dunkel); color: #fff; }
.fuss-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 56px; padding-bottom: 32px; flex-wrap: wrap; }
.fuss-in img { height: 40px; width: auto; }
.fuss .claim { font-size: 15px; margin-top: 16px; }
.fuss-links { display: flex; gap: 28px; flex-wrap: wrap; }
.fuss-links a { color: #e6e6e6; text-decoration: none; font-size: var(--eo-fs-sm); }
.fuss-links a:hover { color: var(--eo-orange); }
.fuss-note { border-top: 1px solid #262626; padding-top: 20px; padding-bottom: 32px; color: var(--eo-grau-400); font-size: var(--eo-fs-xs); }
.fuss-note p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kranz, .strahlen path, .fenster rect, .ladung rect, .leitung, .flugbahn { animation: none; }
  .fenster rect { fill: #F2C46A; } .ladung rect { opacity: 1; }
}

/* Responsiv */
@media (max-width: 1080px) {
  .navi { display: none; }
  .kopf-rechts { margin-inline-start: auto; }
  .zeichnungen { grid-template-columns: repeat(2, 1fr); }
  .weg { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .weg::before { display: none; }
}
@media (max-width: 900px) {
  .hero-in, .ueber, .check, .faq { grid-template-columns: 1fr; gap: 40px; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; }
  .teile { grid-template-columns: 1fr; }
  .legende { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .abschnitt { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .kopf-in { height: 64px; gap: 10px; }
  .logo img { height: 30px; }
  .kopf-cta { display: none; }
  .sprachen button { padding: 8px 6px; }
  .zeichnungen, .weg, .feld2 { grid-template-columns: 1fr; }
  .formular { padding: 22px; }
  .titel { margin-bottom: 32px; }
}

/* ---------- v2: Foto im Kopf ---------- */
.hero-foto { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--eo-dunkel); }
.hero-foto .hero-bg { position: absolute; inset: 0; display: block; }
.hero-foto .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.hero-foto::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(12,12,12,.9) 0%, rgba(12,12,12,.78) 30%, rgba(12,12,12,.35) 52%, rgba(12,12,12,0) 68%),
              linear-gradient(0deg, rgba(12,12,12,.55) 0%, rgba(12,12,12,0) 30%); }
.hero-foto .hero-in { position: relative; z-index: 2; grid-template-columns: minmax(0, 560px); width: 100%; }
.hero-foto .hero-lead { color: #e2e2e2; }
.hero-foto .hero-klein { color: #bdbdbd; border-top-color: rgba(255,255,255,.18); }
[dir=rtl] .hero-foto .hero-bg img { transform: scaleX(-1); }
[dir=rtl] .hero-foto::before { background: linear-gradient(270deg, rgba(12,12,12,.9) 0%, rgba(12,12,12,.78) 30%, rgba(12,12,12,.35) 52%, rgba(12,12,12,0) 68%), linear-gradient(0deg, rgba(12,12,12,.55) 0%, rgba(12,12,12,0) 30%); }

.strom-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.strom-text { color: #cfcfcf; font-size: var(--eo-fs-lg); max-width: 460px; }

@media (max-width: 900px) {
  .hero-foto { display: block; min-height: 0; }
  .hero-foto .hero-bg { position: relative; height: 52vh; min-height: 300px; }
  .hero-foto::before { inset: auto 0 auto 0; top: 0; height: 52vh; min-height: 300px; background: linear-gradient(0deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 35%); }
  [dir=rtl] .hero-foto::before { background: linear-gradient(0deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 35%); }
  .hero-foto .hero-in { margin-top: -40px; padding-top: 0; }
  .strom-in { grid-template-columns: 1fr; gap: 32px; }
}

.sprachen a { font: 600 11px/1 "Heebo", "Inter", sans-serif; letter-spacing: .06em; padding: 9px 8px; color: var(--eo-grau-600); text-decoration: none; }
.sprachen a[aria-current=page] { background: var(--eo-schwarz); color: #fff; }
.sprachen a:focus-visible { outline: none; box-shadow: var(--eo-fokus); }
@media (max-width: 600px) { .sprachen a { padding: 8px 6px; } }
.fuss-gebiete { display: flex; gap: 18px; flex-wrap: wrap; align-items: baseline; padding-bottom: 24px; font-size: var(--eo-fs-sm); }
.fuss-gebiete b { color: #fff; } .fuss-gebiete nav { display: flex; gap: 18px; flex-wrap: wrap; } .fuss-gebiete a { color: var(--eo-grau-400); text-decoration: none; } .fuss-gebiete a:hover { color: var(--eo-orange); }
.ort-kopf { background: var(--eo-dunkel); color: #fff; }
.ort-kopf-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.ort-kopf h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); margin: 18px 0 20px; }
.ort-kopf h1 span { color: var(--eo-orange); display: block; }
.ort-kopf .hero-lead { color: #cfcfcf; font-size: var(--eo-fs-lg); max-width: 560px; margin: 0 0 28px; }
.krumen { font-size: var(--eo-fs-xs); color: var(--eo-grau-400); display: flex; gap: 8px; flex-wrap: wrap; }
.krumen a { color: #d6d6d6; text-decoration: none; } .krumen a:hover { color: var(--eo-orange); } .krumen i { font-style: normal; opacity: .5; }
.ort-karte { width: 100%; height: auto; display: block; }
.ort-karte .insel { fill: #262626; stroke: #3a3a3a; stroke-width: 2; }
.ort-karte .dot { fill: #6b6b6b; } .ort-karte .hier { fill: #C6201B; stroke: #fff; stroke-width: 3; }
.ort-karte .puls { fill: #EC9E0E; opacity: .35; transform-box: fill-box; transform-origin: center; animation: puls 2.4s ease-out infinite; }
@keyframes puls { 0% { transform: scale(.5); opacity: .55; } 100% { transform: scale(1.8); opacity: 0; } }
.ort-karte-box figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; color: #d6d6d6; font-size: var(--eo-fs-sm); }
.ort-karte-box figcaption b { color: #fff; font-size: var(--eo-fs-md); }
.zonen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.zonen svg { width: 44px; height: 44px; margin-bottom: 14px; } .zonen p { color: var(--eo-text-leise); margin: 0; font-size: var(--eo-fs-sm); }
.leist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.leist li { border-top: 3px solid var(--eo-rot); padding-top: 14px; } .leist b { display: block; font-size: var(--eo-fs-md); margin-bottom: 4px; } .leist span { color: var(--eo-text-leise); font-size: var(--eo-fs-sm); }
.kurz-schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.kurz-schritte li { display: flex; gap: 12px; } .kurz-schritte span { flex: none; width: 32px; height: 32px; display: grid; place-items: center; background: var(--eo-schwarz); color: #fff; font-weight: 700; border-radius: 2px; }
.kurz-schritte li:first-child span { background: var(--eo-orange); color: var(--eo-schwarz); } .kurz-schritte b { font-size: var(--eo-fs-sm); } .kurz-schritte p { margin: 2px 0 0; color: var(--eo-text-leise); font-size: var(--eo-fs-xs); }
.orte-liste { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.orte-liste a { display: inline-block; padding: 9px 14px; border: 1px solid var(--eo-linie); background: #fff; border-radius: 2px; color: var(--eo-text); text-decoration: none; font-size: var(--eo-fs-sm); }
.orte-liste a:hover { border-color: var(--eo-rot); color: var(--eo-rot); } .orte-liste a.alle { background: var(--eo-schwarz); color: #fff; border-color: var(--eo-schwarz); }
.zone-gruppe { margin-bottom: 32px; } .zone-gruppe h3 { display: flex; align-items: center; gap: 10px; } .zone-gruppe h3 svg { width: 28px; height: 28px; }
.bezirke { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; } .bezirk h2 { font-size: var(--eo-fs-h3); } .bezirk h2 a { color: var(--eo-text); text-decoration: none; } .bezirk h2 a:hover { color: var(--eo-rot); }
.cta-band { background: var(--eo-rot); color: #fff; padding: 56px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin: 0 0 6px; font-size: var(--eo-fs-h3); } .cta-in p { margin: 0; color: #ffe1df; }
.cta-band .eo-btn--primaer { background: #fff; color: var(--eo-rot); } .cta-band .eo-btn--primaer:hover { background: var(--eo-schwarz); color: #fff; }
@media (prefers-reduced-motion: reduce) { .ort-karte .puls { animation: none; } }
@media (max-width: 1080px) { .leist { grid-template-columns: repeat(2, 1fr); } .kurz-schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .ort-kopf-in, .bezirke { grid-template-columns: 1fr; gap: 32px; } .zonen { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .leist, .kurz-schritte { grid-template-columns: 1fr; } }
