/* ===== system-helper UG – Flyer-inspiriertes Design ===== */

:root {
  --navy: #0d1733;
  --navy-2: #16244f;
  --navy-3: #1d2f66;
  --blue: #2d56b8;
  --blue-light: #3f6fd8;
  --blue-pale: #e8eef9;
  --yellow: #ffd500;
  --yellow-dark: #f0b400;
  --text: #25304a;
  --text-muted: #5a6680;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

img, svg { display: block; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: .7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--white);
  margin-right: auto;
}

.brand-mark { height: 40px; width: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; font-weight: 700; }
.brand-text small { font-size: .68rem; opacity: .65; }

.main-nav { display: flex; gap: 1.6rem; }

.main-nav a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s;
}

.main-nav a:hover { color: var(--yellow); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}

.header-phone:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .4rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: url("assets/cityscape.webp") center bottom / cover no-repeat var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  padding: 5.5rem 0 clamp(16rem, 26vw, 26rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero-copy { text-shadow: 0 2px 18px rgba(10, 18, 40, .65); }

.hero-kicker {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 800;
  color: var(--white);
}

.hero-highlight { color: var(--yellow); }

.hero-claim {
  display: inline-block;
  margin-top: 1.6rem;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  padding: .45rem 1.4rem .45rem 1.1rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.hero-icons {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.hero-icons li {
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, .04);
}

.hero-icons svg { width: 28px; height: 28px; }

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-size: 1.05rem;
  transition: transform .15s, background .2s, box-shadow .2s;
}

.btn svg { width: 20px; height: 20px; }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 6px 22px rgba(255, 213, 0, .25);
}

.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: var(--white);
}

.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); }

.hero-hours {
  margin-top: 1.1rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .9);
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: var(--navy);
  margin-bottom: .6rem;
}

.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.section-head-light h2 { color: var(--white); }
.section-head-light p { color: rgba(255, 255, 255, .7); }

/* ===== Services ===== */
.section-services { background: var(--blue-pale); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.8rem 1.7rem;
  box-shadow: 0 4px 18px rgba(13, 23, 51, .07);
  border-top: 4px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13, 23, 51, .13);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--yellow);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.service-icon svg { width: 30px; height: 30px; }

.service-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: .8rem;
}

.service-lead {
  font-weight: 600;
  color: var(--blue);
  font-size: .92rem;
  margin-bottom: .5rem;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .93rem;
}

.service-card ul li {
  padding-left: 1.15rem;
  position: relative;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
}

.service-examples {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px solid var(--blue-pale);
  font-size: .85rem;
  color: var(--text-muted);
}

.service-examples strong { color: var(--blue); }

/* ===== Elektro ===== */
.section-elektro {
  background: var(--navy);
  color: var(--white);
}

.elektro-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

.elektro-icon {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.elektro-icon svg { width: 48px; height: 48px; }

.elektro-copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: .6rem;
}

.elektro-copy .service-lead { color: var(--yellow); margin-bottom: 1.2rem; }

.elektro-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}

.elektro-cols ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  font-size: .95rem;
}

.elektro-cols ul li {
  padding-left: 1.2rem;
  position: relative;
}

.elektro-cols ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.elektro-examples {
  background: var(--navy-3);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  align-self: start;
}

.elektro-examples h3 {
  font-size: 1.15rem;
  color: var(--yellow);
  margin-bottom: .8rem;
}

/* ===== Region ===== */
.section-region { background: var(--blue-pale); }

.region-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.region-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.region-copy p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 1.8rem;
  max-width: 46ch;
}

.region-map img {
  width: min(280px, 70%);
  margin: 0 auto;
  filter: drop-shadow(0 10px 24px rgba(45, 86, 184, .3));
}

/* ===== Kontakt ===== */
.section-contact {
  background:
    radial-gradient(900px 400px at 50% -20%, #27407e 0%, transparent 65%),
    var(--navy);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 2rem 1.7rem;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  transition: transform .2s, border-color .2s, background .2s;
}

a.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  background: rgba(255, 255, 255, .08);
}

.contact-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.contact-icon svg { width: 28px; height: 28px; }

.contact-card h3 {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .75);
  margin-bottom: .4rem;
}

.contact-main {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yellow);
  word-break: break-word;
}

.contact-sub {
  margin-top: .35rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

/* ===== Footer ===== */
.site-footer {
  background: #0a1228;
  color: rgba(255, 255, 255, .7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.brand-footer .brand-text strong { color: var(--white); }

.footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: .05em;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}

.footer-nav a:hover { color: var(--yellow); }

.footer-copy { font-size: .8rem; color: rgba(255, 255, 255, .4); }

/* ===== Impressum ===== */
.page-legal {
  background: var(--blue-pale);
  min-height: 60vh;
}

.legal-inner {
  width: min(760px, 92%);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.legal-inner h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--navy);
  margin-bottom: 2rem;
}

.legal-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 4px 18px rgba(13, 23, 51, .07);
  border-top: 4px solid var(--blue);
}

.legal-card h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 1.8rem 0 .6rem;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p { margin-bottom: .5rem; font-size: .97rem; }

.legal-card a { color: var(--blue); font-weight: 600; }

.legal-note {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
  font-style: italic;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .elektro-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .region-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .region-copy p { margin-inline: auto; }
}

@media (max-width: 760px) {
  .header-inner { gap: 1rem; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 14px 24px rgba(0, 0, 0, .35);
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: .95rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .hero-inner { padding-top: 3.5rem; }
  .section { padding: 3.5rem 0; }

  .elektro-inner { grid-template-columns: 1fr; }
  .elektro-icon { width: 66px; height: 66px; }
  .elektro-icon svg { width: 36px; height: 36px; }

  .legal-card { padding: 1.6rem 1.4rem; }
}
