/* ===== Elektro Bauer - Reportage / bildlastig ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

:root {
  --bg: #FFFFFF;
  --paper: #FFFFFF;
  --ink: #14181D;
  --ink-2: #353A42;
  --muted: #6B7280;
  --line: #ECEDEF;
  --line-2: #DCDEE2;
  --soft: #F6F6F4;
  --primary: #C42626;
  --primary-deep: #9C1A1A;
  --wood: #B98A5A;
  --gold: #C8A165;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --serif: 'Lora', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Demo Bar ---------- */
.demobar { background: var(--ink); color: rgba(255,255,255,.9); font-size: 12px; }
.demobar__inner {
  max-width: var(--max); margin: 0 auto; padding: 7px var(--pad);
  display: flex; align-items: center; gap: 12px;
  flex-wrap: nowrap; white-space: nowrap; overflow: hidden;
}
.demobar__inner > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.demobar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 4px rgba(196,38,38,.25);
  flex-shrink: 0;
}
.demobar a { color: var(--gold); text-decoration: none; font-weight: 500; }
.demobar__cta { margin-left: auto; flex-shrink: 0; }
@media (max-width: 600px) { .demobar__inner { font-size: 10px; gap: 8px; } }

/* ---------- Emergency Strip ---------- */
.emergency { background: var(--primary); color: #fff; font-size: 14px; }
.emergency__inner {
  padding: 10px var(--pad);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto;
}
.emergency__icon { font-size: 18px; }
.emergency strong { font-weight: 700; }
.emergency a { color: #fff; text-decoration: underline; font-weight: 700; }
.emergency__hours { margin-left: auto; opacity: 0.9; font-size: 13px; }
@media (max-width: 720px) {
  .emergency__hours { display: none; }
  .emergency__inner { font-size: 13px; }
}

/* ---------- Top Nav ---------- */
.topnav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30; isolation: isolate;
}
.topnav__inner { height: 84px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__logo {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  font-size: 22px; border-radius: 8px;
  box-shadow: 0 6px 16px rgba(196,38,38,.3);
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.25rem; letter-spacing: -0.025em;
  color: var(--ink); line-height: 1.05;
}
.brand__tag {
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.brand__logo--footer { width: 44px; height: 44px; font-size: 18px; }
.brand__name--footer { font-size: 1.2rem; }
.mainnav { display: flex; gap: 28px; margin-left: auto; }
.mainnav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 600;
  color: var(--ink-2); padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.mainnav a:hover { color: var(--primary); }
.mainnav a.is-active { color: var(--primary); border-bottom-color: var(--primary); }

.navtoggle {
  display: none;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink);
  width: 42px; height: 42px; margin-left: auto;
  cursor: pointer; position: relative; padding: 0; border-radius: 6px;
}
.navtoggle:hover { border-color: var(--primary); }
.navtoggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: currentColor;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.navtoggle span:nth-child(1) { top: 13px; }
.navtoggle span:nth-child(2) { top: 20px; }
.navtoggle span:nth-child(3) { top: 27px; }
.navtoggle.is-open { color: var(--primary); border-color: var(--primary); }
.navtoggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.navtoggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navtoggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .topnav__inner { gap: 12px; height: 72px; }
  .topnav .btn--sm { display: none; }
  .navtoggle { display: inline-flex; align-items: center; justify-content: center; }
  .mainnav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 0; display: none;
  }
  .mainnav.is-open { display: flex; }
  .mainnav a { padding: 14px var(--pad); border: none; border-top: 1px solid var(--line); }
  .mainnav a:first-child { border-top: none; }
  .mainnav a.is-active { border-color: var(--line); }
  .brand__name { font-size: 1.15rem; }
  .brand__tag { font-size: 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 22px rgba(196,38,38,.32);
}
.btn--primary:hover {
  background: var(--primary-deep); transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(196,38,38,.4);
}
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--bg); transform: translateY(-1px); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(0,0,0,0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }

/* ---------- Eyebrow / Headings ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--primary);
  font-weight: 700; margin-bottom: 14px;
}
.eyebrow::before { content: "-  "; opacity: 0.5; }
.h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 1.5rem + 3.3vw, 4.3rem);
  line-height: 1.05; letter-spacing: -0.025em; font-weight: 500;
  margin-bottom: 22px; color: var(--ink);
}
.h1 em { font-style: italic; color: var(--primary); font-weight: 500; }
.h2 {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.022em; font-weight: 600; color: var(--ink);
}
.h2 em { font-family: var(--serif); font-style: italic; color: var(--primary); font-weight: 500; }
.lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: var(--ink-2); max-width: 60ch; margin-bottom: 28px; line-height: 1.55;
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--cream { background: var(--soft); }
.section--paper { background: var(--paper); }
.section__head { margin-bottom: 56px; max-width: 720px; }
.section__head .lead { margin-bottom: 0; }

/* ---------- HERO (full-bleed photo) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.0) 28%, rgba(26,20,16,0.55) 60%, rgba(26,20,16,0.92) 100%),
    linear-gradient(90deg, rgba(26,20,16,0.55) 0%, transparent 55%);
}
@media (max-width: 760px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(26,20,16,0.55) 35%, rgba(26,20,16,0.92) 75%, rgba(26,20,16,0.97) 100%);
  }
}
.hero__inner {
  padding: 64px 0 72px;
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding-left: var(--pad); padding-right: var(--pad);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: end;
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; gap: 32px; } }
.hero__copy { max-width: 720px; }
.hero .badge-pill {
  display: inline-block;
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.15em; font-weight: 700;
  background: var(--primary); color: #fff;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(196,38,38,.4);
}
.hero .h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero .h1 em { color: #FFB8B8; text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.hero .lead {
  color: rgba(255,255,255,.95); max-width: 56ch;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; margin-bottom: 32px; }
.hero__trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 24px 28px; border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.15);
  align-self: end;
}
@media (max-width: 600px) {
  .hero__trust { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
}
.trust-item__num {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
  font-weight: 700; color: #fff; line-height: 1; margin-bottom: 6px;
}
.trust-item__label { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.4; }
.hero__sticker {
  position: absolute;
  top: 64px; right: var(--pad);
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-family: var(--serif);
  transform: rotate(-12deg);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
  border: 4px solid rgba(255,255,255,.15);
}
.hero__sticker strong {
  font-size: 2.1rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1;
}
.hero__sticker__top, .hero__sticker__bottom {
  display: block;
  font-family: var(--sans);
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600; line-height: 1.4;
}
@media (max-width: 760px) {
  .hero { min-height: 78vh; }
  .hero__sticker { width: 88px; height: 88px; top: 20px; }
  .hero__sticker strong { font-size: 1.3rem; }
  .hero__bg img { object-position: center 70%; }
  .hero__inner { padding-bottom: 40px; }
  .hero .h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .hero .lead { font-size: 0.95rem; }
}

/* ---------- Photo Strip ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 0;
  height: clamp(260px, 36vw, 440px);
}
@media (max-width: 720px) { .photo-strip { grid-template-columns: 1fr; height: auto; } }
.photo-strip figure { position: relative; overflow: hidden; margin: 0; }
.photo-strip img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.photo-strip figure:hover img { transform: scale(1.05); }
.photo-strip figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7) 60%);
  padding: 40px 16px 14px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 720px) { .photo-strip figure { aspect-ratio: 16/10; } }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--paper);
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(26,20,16,0.12); }
.service__photo { aspect-ratio: 16/10; overflow: hidden; background: var(--line); }
.service__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__photo img { transform: scale(1.04); }
.service__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.service__icon {
  font-size: 1.6rem; width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(196,38,38,0.1); color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.service h3 {
  font-family: var(--sans);
  font-size: 1.35rem; font-weight: 600;
  letter-spacing: -0.015em; margin-bottom: 10px; color: var(--ink);
}
.service p { color: var(--ink-2); margin-bottom: 16px; }
.service ul { font-size: 0.92rem; color: var(--muted); }
.service ul li {
  padding: 7px 0 7px 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.service ul li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--primary); font-weight: 700;
}
.service ul li:first-child { border-top: none; }
.service__tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary); color: #fff;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(196,38,38,.4);
}
.service--featured { border-color: var(--primary); }
.service--accent {
  background: var(--ink); color: rgba(255,255,255,.9);
  border-color: var(--ink);
}
.service--accent .service__icon { background: rgba(255,255,255,.1); color: #FFB8B8; }
.service--accent h3 { color: #fff; }
.service--accent p { color: rgba(255,255,255,.8); }
.service--accent ul { color: rgba(255,255,255,.7); }
.service--accent ul li { border-color: rgba(255,255,255,.1); }
.service--accent ul li::before { color: #FFB8B8; }

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "photo intro"
    "photo body"
    "photo crew";
  grid-template-rows: auto auto 1fr;
  gap: 32px 64px;
  align-items: start;
}
.about__photo { grid-area: photo; align-self: center; }
.about__intro { grid-area: intro; align-self: end; }
.about__body  { grid-area: body; }
.about__crew  { grid-area: crew; align-self: start; }
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "crew"
      "photo"
      "body";
    gap: 24px;
  }
}
.about__photo { position: relative; }
.about__photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(26,20,16,0.18);
}
.about__photo::after {
  content: ""; position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  background: var(--primary);
  border-radius: 50%;
  z-index: -1;
}
.about__copy p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 18px; }
.signature { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.signature em {
  font-family: var(--serif);
  font-size: 1.5rem; font-style: italic;
  color: var(--primary); font-weight: 500;
}
.signature span { color: var(--muted); font-size: 0.9rem; }
.signature__mail {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: transform .25s ease;
}
.signature__mail:hover { transform: translateX(4px); text-decoration: underline; }

/* Smooth swap animation for about content */
.about__photo img,
[data-about-story],
[data-about-name],
[data-about-role] {
  transition: opacity .25s ease;
}
.about__photo.swapping img,
[data-about-story].swapping,
.signature.swapping em,
.signature.swapping span { opacity: 0; }
.about__crew {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (max-width: 600px) { .about__crew { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .about__crew { grid-template-columns: 1fr; } }
.crew {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .2s ease;
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  overflow: hidden;
  padding: 0;
}
.crew__head {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
}
.crew:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 12px 28px rgba(196,38,38,0.1); }
.crew.is-active {
  border-color: var(--primary);
  background: rgba(196,38,38,0.04);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.crew.is-active .crew__avatar { box-shadow: 0 0 0 3px rgba(196,38,38,0.15); }

/* Detail (mobile only) */
.crew__detail { display: none; }
.crew__detail__photo {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  display: block;
}
.crew__detail__story { padding: 18px 18px 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.crew__detail__story p { margin-bottom: 12px; }
.crew__detail__story p:last-child { margin-bottom: 0; }
.crew__detail__mail {
  display: inline-block;
  margin: 4px 18px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.crew__detail__mail:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .crew { transition: border-color .25s ease, box-shadow .25s ease; }
  .crew:hover { transform: none; }
  .crew__head { padding: 16px; gap: 14px; }
  .crew__arrow {
    margin-left: auto;
    font-size: 14px; color: var(--muted);
    transition: transform .35s ease, color .25s ease;
    display: inline-block;
    line-height: 1;
  }
  .crew.is-active .crew__arrow { transform: rotate(90deg); color: var(--primary); }
  .crew.is-active {
    border-color: var(--primary);
    background: var(--paper);
    box-shadow: 0 12px 32px rgba(196,38,38,0.10);
  }
  .crew.is-active .crew__avatar { box-shadow: 0 0 0 3px rgba(196,38,38,0.15); }

  /* Accordion: detail only when active */
  .crew__detail { display: none; }
  .crew.is-active .crew__detail {
    display: block;
    animation: crewExpand .35s ease;
  }
  @keyframes crewExpand {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .about__intro,
  .about__photo,
  .about__body { display: none; }
  .about { display: block; }
  .about__crew { gap: 14px; grid-template-columns: 1fr; }
}
.crew__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.crew__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.crew__avatar--2 { background: var(--gold); }
.crew__avatar--3 { background: var(--wood); }
.crew__avatar--4 { background: var(--ink); }
.crew b { font-size: 14px; font-weight: 600; display: block; line-height: 1.2; }
.crew span { font-size: 12px; color: var(--muted); }
.crew__arrow {
  margin-left: auto;
  color: var(--muted);
  transition: transform .25s ease, color .25s ease;
  font-weight: 400;
  font-size: 18px;
}
a.crew:hover .crew__arrow { color: var(--primary); transform: translateX(4px); }

/* ---------- ABLAUF ---------- */
.ablauf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .ablauf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ablauf { grid-template-columns: 1fr; } }
.ablauf__step {
  background: var(--paper);
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  position: relative;
}
.ablauf__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 800; font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 22px rgba(196,38,38,.3);
}
.ablauf__step h3 {
  font-family: var(--sans);
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px; color: var(--ink);
}
.ablauf__step p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }

/* ---------- REGION ---------- */
.region__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px; align-items: center;
}
@media (max-width: 900px) { .region__inner { grid-template-columns: 1fr; gap: 32px; } }
.map-card {
  background: var(--paper);
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(26,20,16,0.1);
}
.map-card__map {
  aspect-ratio: 4/3;
  background:
    radial-gradient(circle at 50% 50%, rgba(196,38,38,0.15) 0%, transparent 30%),
    linear-gradient(135deg, #E8DFD2 0%, #F5EFE3 100%);
  position: relative;
  display: grid; place-items: center;
  font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.map-card__pin {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 2rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.map-card__info {
  padding: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.map-card__info strong {
  display: block;
  font-family: var(--sans);
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 4px;
}
.map-card__info span { color: var(--muted); }

/* ---------- CTA Block ---------- */
.cta-block {
  background:
    linear-gradient(135deg, rgba(26,20,16,0.92), rgba(26,20,16,0.78)),
    url('/img/elektro-bauer/wallbox.webp') center/cover;
  color: #fff;
  padding: clamp(72px, 9vw, 120px) 0;
}
.cta-card { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-card .h2 { color: #fff; }
.cta-card .h2 em { color: #FFB8B8; }
.cta-card .lead { color: rgba(255,255,255,.85); margin: 0 auto 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row--center { justify-content: center; }

/* ---------- Page hero (Sub-Seiten) ---------- */
.page-hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* ---------- Leistungen Detail ---------- */
.leist__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.leist__row:first-of-type { border-top: none; padding-top: 16px; }
.leist__row:nth-child(even) > .leist__photo { order: 2; }
@media (max-width: 800px) {
  .leist__row { grid-template-columns: 1fr; gap: 24px; }
  .leist__row:nth-child(even) > .leist__photo { order: 0; }
}
.leist__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.leist__content h2 { margin-bottom: 16px; }
.leist__content ul { margin-top: 16px; }
.leist__content ul li {
  padding: 8px 0 8px 24px;
  border-top: 1px solid var(--line);
  position: relative;
}
.leist__content ul li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--primary); font-weight: 700;
}
.leist__content ul li:first-child { border-top: none; }

/* ---------- Kontakt ---------- */
.kontakt {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.kontakt__channels { display: grid; gap: 12px; align-content: start; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.channel:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 12px 30px rgba(26,20,16,0.08); }
.channel__icon {
  font-size: 1.4rem;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(196,38,38,0.08);
  border-radius: 12px;
  flex-shrink: 0;
}
.channel strong {
  display: block;
  font-family: var(--sans);
  font-size: 1rem; font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 2px;
}
.channel span { display: block; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.channel em { display: block; font-size: 12px; color: var(--muted); font-style: normal; margin-top: 2px; }
.channel--accent { background: var(--primary); border-color: var(--primary); color: #fff; }
.channel--accent .channel__icon { background: rgba(255,255,255,0.18); }
.channel--accent strong, .channel--accent span { color: #fff; }
.channel--accent em { color: rgba(255,255,255,0.85); }

.kontakt__form .h2 { margin-bottom: 12px; }
.kontakt__form .lead { font-size: 1rem; margin-bottom: 24px; }
.field select {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line-2);
  background: #fff; font-size: 1rem; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(196,38,38,0.15); }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; } }
.kontakt__form {
  background: var(--paper);
  padding: 36px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(26,20,16,0.06);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line-2);
  background: #fff; font-size: 1rem;
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196,38,38,0.15);
}
.field textarea { resize: vertical; }
.field .hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.kontakt__info { display: grid; gap: 16px; align-content: start; }
.info-block {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.info-block h3 {
  font-family: var(--sans);
  font-size: 1rem; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.info-block p { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.info-block a { color: var(--primary); text-decoration: none; font-weight: 600; }
.info-block--accent { background: var(--primary); color: #fff; border-color: var(--primary); }
.info-block--accent h3 { color: #fff; }
.info-block--accent p { color: rgba(255,255,255,.92); }
.info-block--accent a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.55); }
.footer__addr { font-size: 14px; line-height: 1.8; margin-top: 16px; }
.footer__addr a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer__addr a:hover { color: #fff; text-decoration: underline; }
.footer__col h4 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 14px;
  color: #fff; font-weight: 700;
}
.footer__col a {
  display: block; padding: 4px 0;
  font-size: 14px; color: rgba(255,255,255,.6);
  text-decoration: none;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  font-size: 12px; color: rgba(255,255,255,.45);
}

/* ---------- Scroll-collapse Nav ---------- */
.demobar, .emergency {
  transition: transform .3s ease, max-height .35s ease, opacity .25s ease;
  max-height: 80px; overflow: hidden;
}
body.scrolled .demobar,
body.scrolled .emergency {
  transform: translateY(-100%);
  max-height: 0; opacity: 0;
}
.topnav__inner { transition: height .3s ease; }
body.scrolled .topnav__inner { height: 64px; }
.brand__logo { transition: width .3s ease, height .3s ease, font-size .3s ease; }
body.scrolled .brand__logo { width: 40px; height: 40px; font-size: 17px; }
.brand__logo svg, .brand__logo img { transition: width .3s ease, height .3s ease; }
body.scrolled .brand__name { font-size: 1.1rem; transition: font-size .3s; }
body.scrolled .brand__tag { display: none; }
.topnav { transition: box-shadow .3s ease; }
body.scrolled .topnav { box-shadow: 0 4px 16px rgba(20,24,29,0.08); }

/* ---------- Subtle living-page animations ---------- */

/* Hero: very slow ken-burns zoom on background */
@keyframes kenburns {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.06) translate(-1%, -0.5%); }
}
.hero__bg img { animation: kenburns 28s ease-in-out infinite; }

/* Hero sticker: tiny continuous wobble */
@keyframes wobble {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(-9deg); }
}
.hero__sticker { animation: wobble 5s ease-in-out infinite; }
.hero__sticker:hover { animation-play-state: paused; transform: rotate(0deg) scale(1.05); transition: transform .4s ease; }

/* Brand logo bolt: occasional electric pulse */
@keyframes spark {
  0%, 92%, 100% { box-shadow: 0 6px 16px rgba(196,38,38,.3); }
  94% { box-shadow: 0 6px 16px rgba(196,38,38,.3), 0 0 0 6px rgba(255,224,80,.0); }
  96% { box-shadow: 0 6px 16px rgba(196,38,38,.5), 0 0 0 12px rgba(255,224,80,.18); }
  98% { box-shadow: 0 6px 16px rgba(196,38,38,.4), 0 0 0 18px rgba(255,224,80,.0); }
}
.brand__logo { animation: spark 7s ease-in-out infinite; }

/* Map pin: gentle hover-bob */
@keyframes pinbob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -58%); }
}
.map-card__pin { animation: pinbob 2.6s ease-in-out infinite; }

/* Emergency strip: gentle red glow pulse on the bolt icon */
@keyframes glow {
  0%, 100% { text-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { text-shadow: 0 0 16px rgba(255,255,255,0.55); }
}
.emergency__icon { display: inline-block; animation: glow 3.2s ease-in-out infinite; }

/* Photo strip: captions fade up on hover */
.photo-strip figcaption {
  transform: translateY(8px);
  opacity: 0.85;
  transition: transform .4s ease, opacity .4s ease;
}
.photo-strip figure:hover figcaption { transform: translateY(0); opacity: 1; }

/* Service cards: photo subtle lighten on hover (already has scale) */
.service__photo img { will-change: transform, filter; }
.service:hover .service__photo img { filter: brightness(1.05); }

/* Buttons: micro arrow nudge on primary */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn--primary:hover::after { transform: translateX(100%); }

/* About photo: red accent circle gentle scale on hover */
.about__photo::after { transition: transform .5s ease, background .3s ease; }
.about__photo:hover::after { transform: scale(1.4); background: var(--primary-deep); }

/* Crew avatars: tiny rotate on hover */
.crew { transition: transform .25s ease; }
.crew:hover { transform: translateX(3px); }
.crew__avatar { transition: transform .35s ease; }
.crew:hover .crew__avatar { transform: rotate(-8deg); }

/* Ablauf number: scale on card hover */
.ablauf__step { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ablauf__step:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(196,38,38,0.12);
}
.ablauf__num { transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ablauf__step:hover .ablauf__num { transform: rotate(-8deg) scale(1.1); }

/* Channel cards: icon nudge on hover */
.channel__icon { transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.channel:hover .channel__icon { transform: scale(1.1) rotate(-6deg); }

/* ---------- Soft animations (existing reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Ablauf: stronger sequential entrance */
.ablauf .reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity .65s cubic-bezier(0.22, 1, 0.36, 1), transform .65s cubic-bezier(0.22, 1, 0.36, 1);
}
.ablauf .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
