/* Erhardt Klüver Theme - Main Stylesheet v0.0.0.1 */

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

:root {
  --accent:      #E8B800;
  --accent-light:#F5C800;
  --accent-dark: #A07D00;
  --bg:          #FFFFFF;
  --bg2:         #F7F6F2;
  --bg3:         #EDECE7;
  --text:        #111110;
  --muted:       #6B6B65;
  --border:      rgba(0,0,0,0.12);
  --font-head:   'Barlow Condensed', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }

/* ── NAV ───────────────────────────────────── */
.ek-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  gap: 2rem;
}
.ek-nav__logo span { color: var(--accent-dark); }
.ek-nav__logo-name { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; letter-spacing: 0.03em; color: var(--text); white-space: nowrap; line-height: 1.1; }
.ek-nav__logo-name span { color: var(--accent-dark); }
.ek-nav__logo-sub { font-family: var(--font-body); font-size: 0.58rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; display: block; }
.ek-nav__links { display: flex; gap: 2.5rem; list-style: none; }
.ek-nav__links a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.ek-nav__links a:hover { color: var(--accent-dark); }
.ek-nav__cta { background: var(--accent); color: #111110; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.55rem 1.4rem; text-decoration: none; transition: background 0.2s; }
.ek-nav__cta:hover { background: var(--accent-light); color: #111110; }

/* ── HERO ──────────────────────────────────── */
.ek-hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 9rem 4rem 5rem; position: relative; overflow: hidden;
}
.ek-hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.ek-hero__accent { position: absolute; top: 20%; right: -10%; width: 55vw; height: 55vw; border-radius: 50%; background: radial-gradient(circle, rgba(232,184,0,0.15) 0%, transparent 65%); pointer-events: none; }
.ek-hero__eyebrow { position: relative; font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.8rem; opacity: 0; animation: fadeUp 0.7s 0.2s ease forwards; }
.ek-hero__eyebrow::before { content: ''; display: inline-block; width: 30px; height: 1px; background: var(--accent-dark); }
.ek-hero__title { position: relative; font-family: var(--font-head); font-weight: 900; font-size: clamp(3.5rem, 8vw, 8rem); line-height: 0.92; text-transform: uppercase; max-width: 900px; opacity: 0; animation: fadeUp 0.8s 0.35s ease forwards; }
.ek-hero__title em { font-style: normal; color: var(--accent-dark); }
.ek-hero__sub { position: relative; margin-top: 2.2rem; font-size: 1.05rem; font-weight: 300; color: var(--muted); max-width: 480px; line-height: 1.75; opacity: 0; animation: fadeUp 0.8s 0.5s ease forwards; }
.ek-hero__actions { position: relative; display: flex; gap: 1rem; margin-top: 2.8rem; opacity: 0; animation: fadeUp 0.8s 0.65s ease forwards; }
.ek-hero__stats { position: relative; display: flex; gap: 3.5rem; flex-wrap: wrap; margin-top: 5rem; padding-top: 2.5rem; border-top: 0.5px solid var(--border); opacity: 0; animation: fadeUp 0.8s 0.8s ease forwards; }
.ek-hero__stat-num { font-family: var(--font-head); font-weight: 900; font-size: 2.8rem; color: var(--accent-dark); line-height: 1; }
.ek-hero__stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.3rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── BUTTONS ───────────────────────────────── */
.btn-primary { background: var(--accent); color: #111110; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.9rem 2.2rem; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); color: #111110; }
.btn-outline { border: 1px solid var(--border); color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.9rem 2.2rem; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.btn-outline:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.btn-dark { background: #111110; color: var(--accent); font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 2.6rem; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: background 0.2s; }
.btn-dark:hover { background: #333; color: var(--accent); }

/* ── BRANDS BAR ────────────────────────────── */
.ek-brands { padding: 1.8rem 0; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); overflow: hidden; background: var(--bg3); }
.ek-brands__track { display: flex; animation: marquee 22s linear infinite; width: max-content; }
.ek-brands:hover .ek-brands__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ek-brands__item { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding: 0 3rem; white-space: nowrap; display: flex; align-items: center; gap: 1.5rem; }
.ek-brands__item::after { content: '·'; color: var(--accent-dark); font-size: 1.5rem; }

/* ── SECTION BASE ──────────────────────────── */
.ek-section { padding: 7rem 4rem; }
.ek-section--bg2 { background: var(--bg2); }
.ek-section--bg { background: var(--bg); }
.ek-section__label { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.ek-section__label::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--accent-dark); }
.ek-section__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 5vw, 4.5rem); text-transform: uppercase; line-height: 0.95; }
.ek-section__subtitle { font-size: 0.95rem; font-weight: 300; color: var(--muted); max-width: 460px; line-height: 1.8; margin-top: 1.2rem; }

/* ── LEISTUNGEN ────────────────────────────── */
.ek-leistungen__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 4rem;
}
.ek-leistung-card { background: var(--bg); border: 0.5px solid var(--border); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ek-leistung-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.ek-leistung-card__img-wrap { overflow: hidden; height: 200px; }
.ek-leistung-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ek-leistung-card:hover .ek-leistung-card__img { transform: scale(1.04); }
.ek-leistung-card__body { padding: 1.5rem; }
.ek-leistung-card__num { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent-dark); margin-bottom: 0.6rem; }
.ek-leistung-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.7rem; }
.ek-leistung-card__text { font-size: 0.86rem; color: var(--muted); line-height: 1.75; }

/* ── GALERIE ───────────────────────────────── */
.ek-galerie__grid {
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 300px 340px;
  gap: 6px; margin-top: 3.5rem;
}
.ek-galerie__item { overflow: hidden; position: relative; background: var(--bg3); }
.ek-galerie__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ek-galerie__item:hover img { transform: scale(1.04); }
.ek-galerie__caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); padding: 0.65rem 1rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); opacity: 0; transform: translateY(100%); transition: opacity 0.3s, transform 0.3s; }
.ek-galerie__item:hover .ek-galerie__caption { opacity: 1; transform: translateY(0); }
.ek-galerie__item--span-row { grid-row: span 2; }
.ek-galerie__item--full { grid-column: span 2; }

/* ── MARKEN ────────────────────────────────── */
.ek-marken__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; }
.ek-marken__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.ek-marken__card { background: var(--bg2); padding: 2.2rem; display: flex; flex-direction: column; transition: background 0.2s; }
.ek-marken__card:hover { background: var(--bg3); }
.ek-marken__card-name { font-family: var(--font-head); font-weight: 900; font-size: 2rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem; }
.ek-marken__card-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.4rem; }
.ek-marken__tag { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); border: 0.5px solid var(--border); padding: 0.3rem 0.8rem; align-self: flex-start; }

/* ── SONDERANFERTIGUNG ─────────────────────── */
.ek-sonder { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: stretch; }
.ek-sonder__visual { position: relative; aspect-ratio: 1 / 1.1; max-width: 480px; }
.ek-sonder__panel { width: 100%; height: 100%; background: var(--bg2); border: 0.5px solid var(--border); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.ek-sonder__panel-row { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 0.5px solid var(--border); }
.ek-sonder__panel-row:last-child { border-bottom: none; }
.ek-sonder__btn { padding: 1.2rem; border-right: 0.5px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; }
.ek-sonder__btn:last-child { border-right: none; }
.ek-sonder__btn-circle { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 0.5px solid var(--border); display: flex; align-items: center; justify-content: center; }
.ek-sonder__btn-circle--active { background: var(--accent); border-color: var(--accent); }
.ek-sonder__btn-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ek-sonder__badge { position: absolute; top: 1rem; right: 1rem; font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-dark); background: rgba(232,184,0,0.12); border: 0.5px solid var(--border); padding: 0.3rem 0.7rem; }
.ek-sonder__features { list-style: none; margin-top: 2rem; }
.ek-sonder__features li { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.85rem 0; border-bottom: 0.5px solid var(--border); font-size: 0.88rem; color: var(--muted); }
.ek-sonder__features li:last-child { border-bottom: none; }
.ek-sonder__features li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 0.45rem; flex-shrink: 0; }

/* ── SUPPORT ───────────────────────────────── */
.ek-support__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.ek-support__card { border: 0.5px solid var(--border); padding: 2rem; transition: border-color 0.2s, background 0.2s; display: flex; flex-direction: column; }
.ek-support__card:hover { border-color: var(--accent); background: rgba(232,184,0,0.04); }
.ek-support__card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.ek-support__icon { width: 38px; height: 38px; background: rgba(232,184,0,0.1); border: 0.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent-dark); flex-shrink: 0; }
.ek-support__card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.05em; }
.ek-support__card-text { font-size: 0.86rem; color: var(--muted); line-height: 1.75; flex: 1; }

/* ── CTA BAND ──────────────────────────────── */
.ek-cta { background: var(--accent); padding: 5rem 4rem; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.ek-cta h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; line-height: 0.95; color: #111110; }
.ek-cta p { font-size: 0.9rem; color: rgba(0,0,0,0.55); margin-top: 0.8rem; max-width: 340px; }

/* ── KONTAKT ───────────────────────────────── */
.ek-kontakt__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; margin-top: 4rem; }
.ek-kontakt__info { display: flex; flex-direction: column; gap: 2rem; }
.ek-kontakt__label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 0.4rem; }
.ek-kontakt__value { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }

/* ── FORMS ─────────────────────────────────── */
.ek-form { display: flex; flex-direction: column; gap: 1rem; }
.ek-form input,
.ek-form textarea,
.ek-form select { background: var(--bg); border: 0.5px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 0.9rem; padding: 0.85rem 1.1rem; outline: none; transition: border-color 0.2s; width: 100%; resize: vertical; }
.ek-form input::placeholder,
.ek-form textarea::placeholder { color: var(--muted); }
.ek-form input:focus,
.ek-form textarea:focus,
.ek-form select:focus { border-color: var(--accent-dark); }
.ek-form select { appearance: none; cursor: pointer; }
.ek-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ek-form__submit { background: var(--accent); color: #111110; font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; border: none; padding: 1rem; cursor: pointer; transition: background 0.2s; margin-top: 0.5rem; width: 100%; }
.ek-form__submit:hover { background: var(--accent-light); }
.ek-form__success { display: none; background: rgba(232,184,0,0.1); border: 1px solid var(--accent); padding: 1rem; color: var(--accent-dark); font-weight: 500; text-align: center; }

/* ── FOOTER ────────────────────────────────── */
.ek-footer { background: var(--bg); border-top: 0.5px solid var(--border); padding: 3rem 4rem; display: flex; justify-content: space-between; align-items: center; }
.ek-footer__logo { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; color: var(--muted); }
.ek-footer__logo span { color: var(--accent-dark); }
.ek-footer__copy { font-size: 0.78rem; color: var(--muted); }
.ek-footer__links { display: flex; gap: 2rem; }
.ek-footer__links a { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.ek-footer__links a:hover { color: var(--accent-dark); }

/* ── SCROLL REVEAL ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .ek-nav { padding: 0 2rem; }
  .ek-nav__links { display: none; }
  .ek-section { padding: 5rem 2rem; }
  .ek-hero { padding: 8rem 2rem 4rem; }
  .ek-leistungen__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ek-marken__grid { grid-template-columns: 1fr 1fr; }
  .ek-sonder { grid-template-columns: 1fr; gap: 3rem; }
  .ek-support__grid { grid-template-columns: 1fr; }
  .ek-cta { flex-direction: column; align-items: flex-start; padding: 4rem 2rem; }
  .ek-kontakt__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ek-footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem; }
  .ek-footer__links { flex-wrap: wrap; justify-content: center; }
  .ek-galerie__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .ek-galerie__item--full { grid-column: span 2; }
  .ek-galerie__item--span-row { grid-row: span 1; }
  .ek-marken__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 640px) {
  .ek-leistungen__grid { grid-template-columns: 1fr; }
  .ek-galerie__grid { grid-template-columns: 1fr; grid-template-rows: unset; }
  .ek-galerie__item { height: 220px !important; }
  .ek-galerie__item--full,
  .ek-galerie__item--span-row { grid-column: span 1; grid-row: span 1; }
  .ek-form__row { grid-template-columns: 1fr; }
}

/* ── UPLOAD FELD ────────────────────────────── */
.ek-upload { display: flex; flex-direction: column; gap: 0.6rem; }
.ek-upload__input { display: none; }
.ek-upload__label {
  display: flex; align-items: center; gap: 0.7rem;
  border: 1.5px dashed var(--border);
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-size: 0.88rem; color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ek-upload__label:hover,
.ek-upload__label.drag-over {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background: rgba(232,184,0,0.04);
}
.ek-upload__preview {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.ek-upload__thumb {
  position: relative; width: 80px; height: 80px;
  border: 0.5px solid var(--border); overflow: hidden;
  background: var(--bg3);
}
.ek-upload__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ek-upload__thumb-remove {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,0.65); color: #fff;
  border: none; cursor: pointer; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.ek-upload__thumb-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.ek-upload__hint {
  font-size: 0.75rem; color: var(--muted);
  min-height: 1.2em;
}
.ek-upload__hint--error { color: #c0392b; }

/* ── KONTAKT LINKS ──────────────────────────── */
.ek-kontakt__value a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.ek-kontakt__value a:hover {
  color: var(--accent);
}

/* ── SONDER BILD ────────────────────────────── */
.ek-sonder__img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.5px solid var(--border);
  background: var(--bg2);
  padding: 3rem 2.5rem;
  min-height: 500px;
}
.ek-sonder__img {
  max-width: 75%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}
.ek-sonder__img-wrap .ek-sonder__badge {
  position: absolute;
  top: 1rem; right: 1rem;
}

/* ── SCHALTPLÄNE SUCHE ──────────────────────── */
.ek-support__card--full {
  grid-column: span 2;
}
.ek-schaltplan-search {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ek-schaltplan-search__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.ek-schaltplan-search__input-wrap svg {
  position: absolute;
  left: 0.9rem;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
}
.ek-schaltplan-search__input {
  width: 100%;
  background: var(--bg);
  border: 0.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 2.8rem 0.75rem 2.6rem;
  outline: none;
  transition: border-color 0.2s;
}
.ek-schaltplan-search__input:focus { border-color: var(--accent-dark); }
.ek-schaltplan-spinner {
  position: absolute;
  right: 0.9rem;
  font-size: 1rem;
  color: var(--muted);
  display: none;
  animation: spin 0.8s linear infinite;
}
.ek-schaltplan-spinner.active { display: block; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ek-schaltplan-results { display: flex; flex-direction: column; gap: 0.4rem; }

.ek-schaltplan-results__empty {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.6rem 0;
}
.ek-schaltplan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 0.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.ek-schaltplan-item:hover { border-color: var(--accent); background: rgba(232,184,0,0.04); }
.ek-schaltplan-item__info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.ek-schaltplan-item__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ek-schaltplan-item__meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.ek-schaltplan-item__meta span::before { content: '· '; }
.ek-schaltplan-item__meta span:first-child::before { content: ''; }
.ek-schaltplan-item__dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #111110;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.ek-schaltplan-item__dl:hover { background: var(--accent-light); color: #111110; }

@media (max-width: 640px) {
  .ek-support__card--full { grid-column: span 1; }
}

/* ── SCHALTPLÄNE SUCHE ──────────────────────── */
.ek-support__card--full {
  grid-column: span 2;
}
.ek-schaltplan-search {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ek-schaltplan-search__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.ek-schaltplan-search__input-wrap svg {
  position: absolute;
  left: 0.9rem;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
}
.ek-schaltplan-search__input {
  width: 100%;
  background: var(--bg);
  border: 0.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 2.8rem 0.75rem 2.6rem;
  outline: none;
  transition: border-color 0.2s;
}
.ek-schaltplan-search__input:focus { border-color: var(--accent-dark); }
.ek-schaltplan-spinner {
  position: absolute;
  right: 0.9rem;
  font-size: 1rem;
  color: var(--muted);
  display: none;
  animation: spin 0.8s linear infinite;
}
.ek-schaltplan-spinner.active { display: block; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ek-schaltplan-results { display: flex; flex-direction: column; gap: 0.4rem; }

.ek-schaltplan-results__empty {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.6rem 0;
}
.ek-schaltplan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 0.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.ek-schaltplan-item:hover { border-color: var(--accent); background: rgba(232,184,0,0.04); }
.ek-schaltplan-item__info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.ek-schaltplan-item__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ek-schaltplan-item__meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.ek-schaltplan-item__meta span::before { content: '· '; }
.ek-schaltplan-item__meta span:first-child::before { content: ''; }
.ek-schaltplan-item__dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #111110;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.ek-schaltplan-item__dl:hover { background: var(--accent-light); color: #111110; }

@media (max-width: 640px) {
  .ek-support__card--full { grid-column: span 1; }
}

/* ── WHATSAPP BUTTON ────────────────────────── */
.ek-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.ek-wa__bubble {
  background: #fff;
  border: 0.5px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 1rem 1.2rem;
  max-width: 260px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  display: none;
  animation: waFadeIn 0.25s ease;
}
.ek-wa__bubble.visible { display: block; }
.ek-wa__bubble::after {
  content: '';
  position: absolute;
  bottom: -8px; right: 20px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}
.ek-wa__bubble-close {
  position: absolute;
  top: 0.4rem; right: 0.5rem;
  background: none; border: none;
  font-size: 0.85rem; color: var(--muted);
  cursor: pointer; line-height: 1;
  padding: 2px 4px;
}
.ek-wa__bubble-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent-dark);
  margin-bottom: 0.3rem;
}
.ek-wa__btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.ek-wa__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
.ek-wa__btn svg { width: 30px; height: 30px; }
.ek-wa__dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  background: #ff4444;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: waPulse 2s ease infinite;
}
@keyframes waFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.3); }
}
@media (max-width: 640px) {
  .ek-wa { bottom: 1.2rem; right: 1.2rem; }
  .ek-wa__bubble { max-width: 220px; font-size: 0.8rem; }
}

/* ── MARKEN TAG LINK ────────────────────────── */
a.ek-marken__tag {
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.ek-marken__tag:hover {
  background: var(--accent);
  color: #111110;
  border-color: var(--accent);
}

/* ── WHATSAPP BUTTON entfernt — siehe Support-Karte ── */

/* ── LEGAL PAGES (Datenschutz, Impressum) ───── */
.ek-legal {
  padding: 8rem 4rem 6rem;
  max-width: 860px;
  margin: 0 auto;
}
.ek-legal__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.ek-legal__updated {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid var(--border);
}
.ek-legal__section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 0.5px solid var(--border);
}
.ek-legal__section:last-of-type {
  border-bottom: none;
}
.ek-legal__section h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  margin-bottom: 0.9rem;
}
.ek-legal__section p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.ek-legal__section ul {
  margin: 0.5rem 0 0.75rem 1.2rem;
}
.ek-legal__section ul li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}
.ek-legal__section a {
  color: var(--accent-dark);
  text-decoration: none;
}
.ek-legal__section a:hover {
  text-decoration: underline;
}
.ek-legal__back {
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .ek-legal { padding: 6rem 1.5rem 4rem; }
}

/* ── SONDER CROSSFADE HOVER ─────────────────── */
.ek-sonder__crossfade {
  position: relative;
  width: 100%;
  height: 100%;
}
.ek-sonder__cf-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.6s ease;
}
.ek-sonder__cf-img--base {
  position: relative;
  z-index: 1;
}
.ek-sonder__cf-img--hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  object-fit: contain;
}
.ek-sonder__img-wrap:hover .ek-sonder__cf-img--hover {
  opacity: 1;
}
.ek-sonder__img-wrap:hover .ek-sonder__cf-img--base {
  opacity: 0;
}

/* ── NAV LOGO MIT BILD ──────────────────────── */
.ek-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.ek-nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.ek-nav__logo:hover .ek-nav__logo-img {
  opacity: 1;
}
.ek-nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

/* ── STATS WIDGET ───────────────────────────── */
.ek-stats-widget {
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: center;
  gap: 0;
}
.ek-stats-widget__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem 3rem;
  border-right: 0.5px solid var(--border);
  position: relative;
}
.ek-stats-widget__card:last-child { border-right: none; }
.ek-stats-widget__card--live .ek-stats-widget__num { color: #2ecc71; }
.ek-stats-widget__icon {
  position: relative;
  color: var(--muted);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ek-stats-widget__pulse {
  position: absolute;
  top: -3px; right: -4px;
  width: 8px; height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46,204,113,0.5);
  animation: statsPulse 2s ease infinite;
}
.ek-stats-widget__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  transition: all 0.4s ease;
  min-width: 3ch;
  text-align: center;
}
.ek-stats-widget__num.updated {
  transform: scale(1.15);
  color: var(--accent-dark);
}
.ek-stats-widget__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes statsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}
@media (max-width: 768px) {
  .ek-stats-widget { padding: 1rem; gap: 0; }
  .ek-stats-widget__card { padding: 0.75rem 1.5rem; }
  .ek-stats-widget__num { font-size: 1.5rem; }
}

/* ── MOBILE OPTIMIERUNG ─────────────────────── */
@media (max-width: 768px) {

  /* NAV */
  .ek-nav {
    padding: 0 1.2rem;
    height: 60px;
  }
  .ek-nav__logo-img {
    width: 28px; height: 28px;
  }
  .ek-nav__logo-name {
    font-size: 0.95rem;
  }
  .ek-nav__logo-sub {
    font-size: 0.5rem;
  }
  .ek-nav__cta {
    font-size: 0.72rem;
    padding: 0.45rem 0.9rem;
    white-space: nowrap;
  }

  /* HERO */
  .ek-hero {
    padding: 5rem 1.2rem 3rem;
    min-height: auto;
  }
  .ek-hero__title {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }
  .ek-hero__sub { font-size: 0.9rem; margin-top: 1.2rem; }
  .ek-hero__actions { flex-direction: column; gap: 0.6rem; }
  .ek-hero__actions .btn-primary,
  .ek-hero__actions .btn-outline { text-align: center; padding: 0.85rem 1.5rem; }
  .ek-hero__stats { gap: 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; flex-wrap: wrap; }
  .ek-hero__stat-num { font-size: 2rem; }

  /* BRANDS */
  .ek-brands__item { font-size: 0.9rem; padding: 0 1.5rem; }

  /* SECTIONS */
  .ek-section { padding: 3.5rem 1.2rem; }
  .ek-section__title { font-size: clamp(2rem, 10vw, 3rem); }

  /* LEISTUNGEN */
  .ek-leistungen__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ek-leistung-card__img-wrap { height: 180px; }

  /* GALERIE */
  .ek-galerie__grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    gap: 4px;
  }
  .ek-galerie__item,
  .ek-galerie__item--span-row,
  .ek-galerie__item--full {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 220px;
  }

  /* MARKEN */
  .ek-marken__header { flex-direction: column; gap: 0.8rem; }
  .ek-marken__grid { grid-template-columns: 1fr; }

  /* SONDERANFERTIGUNG */
  .ek-sonder {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.5rem 1.2rem;
  }
  .ek-sonder__img-wrap { min-height: auto; padding: 1.5rem; }
  .ek-sonder__img { max-width: 85%; }

  /* SUPPORT */
  .ek-support__grid { grid-template-columns: 1fr; gap: 1rem; }
  .ek-support__card--full { grid-column: span 1; }

  /* CTA BAND */
  .ek-cta {
    padding: 3rem 1.2rem;
    flex-direction: column;
    gap: 1.5rem;
  }
  .ek-cta h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .btn-dark { text-align: center; width: 100%; }

  /* KONTAKT */
  .ek-kontakt__grid { grid-template-columns: 1fr; gap: 2rem; }

  /* STATS WIDGET */
  .ek-stats-widget { padding: 1rem 0.5rem; }
  .ek-stats-widget__card { padding: 0.75rem 1rem; }
  .ek-stats-widget__num { font-size: 1.6rem; }
  .ek-stats-widget__label { font-size: 0.6rem; }

  /* FOOTER */
  .ek-footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.2rem;
    text-align: center;
  }
  .ek-footer__links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* WHATSAPP */


  /* LEGAL */
  .ek-legal { padding: 5rem 1.2rem 3rem; }

  /* FORM */
  .ek-form__row { grid-template-columns: 1fr; }
}

/* Extra klein */
@media (max-width: 380px) {
  .ek-nav__logo-name { font-size: 0.82rem; }
  .ek-nav__logo-sub { display: none; }
  .ek-stats-widget__card { padding: 0.6rem 0.5rem; }
  .ek-stats-widget__num { font-size: 1.3rem; }
}

/* ── OVERFLOW FIX ───────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* {
  max-width: 100%;
}
img, video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  /* Verhindere dass irgendein Element breiter als Viewport ist */
  .ek-nav,
  .ek-hero,
  .ek-section,
  .ek-sonder,
  .ek-cta,
  .ek-stats-widget,
  .ek-footer,
  .ek-stats-bar,
  .ek-legal,
  .ek-galerie__grid,
  .ek-leistungen__grid,
  .ek-marken__grid,
  .ek-support__grid {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Support Karte volle Breite */
  .ek-support__card--full {
    grid-column: 1 / -1;
    width: 100%;
  }

  /* Schaltplan Suche */
  .ek-schaltplan-search__input {
    font-size: 16px; /* Verhindert iOS Auto-Zoom */
  }
  .ek-schaltplan-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .ek-schaltplan-item__dl {
    width: 100%;
    justify-content: center;
  }

  /* Galerie Items korrekte Höhe */
  .ek-galerie__item {
    width: 100%;
    height: 240px !important;
  }

  /* Hero Grid Background nicht über Viewport */
  .ek-hero__grid-bg {
    max-width: 100vw;
    overflow: hidden;
  }

  /* Sektions-Titel kein Overflow */
  .ek-section__title,
  .ek-hero__title {
    word-break: break-word;
    hyphens: auto;
  }

  /* Stats Widget gleichmäßig */
  .ek-stats-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem 0;
  }
  .ek-stats-widget__card {
    border-right: 0.5px solid var(--border);
    padding: 0.75rem 0.5rem;
  }
  .ek-stats-widget__card:last-child {
    border-right: none;
  }
}

/* ── SONDER BILD MOBILE ─────────────────────── */
@media (max-width: 768px) {
  .ek-sonder__img-wrap {
    padding: 1rem;
    min-height: auto;
  }
  .ek-sonder__crossfade {
    display: flex;
    justify-content: center;
  }
  .ek-sonder__cf-img--base,
  .ek-sonder__cf-img--hover {
    max-height: 60vh;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    position: relative;
  }
  .ek-sonder__cf-img--hover {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100%;
  }
}

/* ── WhatsApp Support Card ── */
.ek-support__card--whatsapp {
  border: 1.5px solid #25D366 !important;
  background: linear-gradient(135deg, #f0fff4 0%, #fff 100%);
}
.ek-support__icon--wa {
  background: #25D366 !important;
  color: #fff !important;
}
.ek-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .6rem 1.1rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: background .15s, transform .12s;
}
.ek-wa-btn:hover {
  background: #1ebe59;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}
