/* 1) Schrift "ExpansivaRegular" */
@font-face {
  font-family: 'ExpansivaRegular';
  src: url('fonts/expansiva-webfont.woff2') format('woff2'),
       url('fonts/expansiva-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* 2) RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Automatische Silbentrennung */
html, body {
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
}

/* 3) Grundlegendes BODY-Styling – brushed-look mit verstärktem Lichteffekt */
body {
  position: relative;
  background-color: #8a8a8a;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      50deg,
      transparent 0,
      transparent 2px,
      rgba(0, 0, 0, 0.15) 2px,
      rgba(0, 0, 0, 0.15) 3px,
      transparent 3px,
      transparent 5px
    );
  background-blend-mode: overlay;
  color: #000;
  font-family: Arial, sans-serif;
  min-height: 200vh;
}

body::before {
  content: "";
  position: fixed;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  filter: blur(20px);
  z-index: -1;
}

:root {
  --vh: 1vh;
}

/* FIXIERTER HEADER */
header {
  background: #111;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
}

.header-left {
  display: flex;
  align-items: center;
}

#headerText {
  font-family: 'ExpansivaRegular', sans-serif;
  color: red;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s linear;
  margin-left: 10px;
}

#headerText .desktop-header { display: inline; }
#headerText .mobile-header { display: none; }

@media (max-width: 600px) {
  #headerText .desktop-header { display: none; }
  #headerText .mobile-header { display: inline; }
}

#smallLogo {
  height: 90px;
  width: auto;
  margin-top: 5px;
  transition: opacity 0.2s linear;
  opacity: 0;
}

.desktop-nav {
  display: flex;
  gap: 20px;
}

/* Navigation – Links verweisen auf Index-Anker */
.desktop-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.desktop-nav a:hover { color: #f00; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: space-around;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  margin: 4px 0;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100px;
  right: 20px;
  background: #111;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 10px;
  z-index: 1500;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu nav a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  padding: 5px 10px;
  transition: color 0.2s ease;
}

.mobile-menu nav a:hover { color: #f00; }

.content-wrapper {
  margin-top: 100px;
  margin-bottom: 60px;
}

footer {
  background: #222;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.hero-fullwidth {
  background: #000;
  width: 100%;
  padding: 20px 0;
}

.logo-section {
  height: calc((var(--vh) * 90) - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.logo-container {
  position: relative;
  width: 300px;
  height: 300px;
  z-index: 1;
}

.center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: spin 8s linear infinite;
  z-index: 1;
}

.full-circle {
  width: 100%;
  height: 100%;
  border: 5px solid red;
  border-radius: 50%;
  box-sizing: border-box;
}

.cover-top-left,
.cover-bottom-right {
  position: absolute;
  width: 170px;
  height: 170px;
  background: #000;
}

.cover-top-left { top: 0; left: 0; }
.cover-bottom-right { bottom: 0; right: 0; }

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spacer { height: calc(var(--vh) * 10); }

.brushed-area {
  position: relative;
  width: 80%;
  margin: 30px auto;
  padding: 20px;
  background: #979797;
  overflow: hidden;
  border: 1px solid #707070;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.8),
              inset 0px 2px 4px rgba(255, 255, 255, 0.1);
}

.brushed-area::after { display: none; }
.brushed-area h2 { margin-bottom: 20px; }
.brushed-area p { margin-bottom: 1em; }

#welcome img {
  display: block;
  margin: 20px auto 10px auto;
  max-width: calc(100% - 20px);
}

.headline {
  font-family: 'ExpansivaRegular', sans-serif;
  font-size: 28px;
  color: red;
  margin: 20px 0;
  position: relative;
  z-index: 3;
}

.mobile-headline { display: none; }
.subline { font-size: 18px; color: #fff; margin: 10px 0 0 0; }
.contact { font-size: 18px; color: red; margin: 10px 0 0 0; }

@media (max-width: 600px) {
  .desktop-nav { display: none; }
  .hamburger {
    display: flex;
    width: 30px;
    height: 100px;
    align-items: center;
    justify-content: center;
  }
  .mobile-headline { display: inline; }
}

/* LEISTUNGEN – Liste der Leistungen */
#services ul { list-style: none; padding-left: 0; }
#services li {
  position: relative;
  padding-left: 120px;
  margin-bottom: 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
}

/* Bullet Icon */
.bullet-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

.bullet-icon::before,
.bullet-icon::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid red;
  border-radius: 50%;
  box-sizing: border-box;
}

.bullet-icon::before {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 50% 0, 0 50%);
}

.bullet-icon::after {
  bottom: 0;
  right: 0;
  clip-path: polygon(50% 100%, 100% 50%, 100% 100%);
}

.bullet1 .bullet-icon { background-image: url("electrician-thumbs-up.png"); }
.bullet2 .bullet-icon { background-image: url("imageedit_13_8527993170.png"); }
.bullet3 .bullet-icon { background-image: url("imageedit_15_7100126597.png"); }
.bullet4 .bullet-icon { background-image: url("imageedit_21_3897948026.png"); }
.bullet5 .bullet-icon { background-image: url("imageedit_3_7771431357.png"); }
.bullet6 .bullet-icon { background-image: url("imageedit_5_7473259478.png"); }
.bullet7 .bullet-icon { background-image: url("imageedit_19_9179402578.png"); }
.bullet8 .bullet-icon { background-image: url("imageedit_17_6508342802.png"); }
.bullet9 .bullet-icon { background-image: url("imageedit_7_9353190606.png"); }
.bullet10 .bullet-icon { background-image: url("imageedit_11_6584759035.png"); }
.bullet11 .bullet-icon { background-image: url("imageedit_23_8098421637.png"); }

/* Leistungspunkte – gesamter Bereich als Link, vertikal zentriert */
#services li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: red;
  width: 100%;
  height: 100%;
}

/* Service-Titel – linksbündig und größer */
#services li .service-title {
  font-weight: bold;
  text-align: left;
  width: 100%;
  font-size: 1.5rem;
}

/* Kontaktbereich – Telefonnummer in Rot */
#contact a[href^="tel:"] {
  color: red;
  text-decoration: none;
}

/* LINKES MENÜ – Design bleibt erhalten */
.left-menu {
  position: fixed;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  width: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: transparent;
  z-index: 1000;
  border-right: 2px solid red;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.left-menu::before {
  content: "";
  position: absolute;
  top: 2px;
  right: -2px;
  width: 55px;
  height: 2px;
  background: red;
  transform: rotate(35deg);
  transform-origin: right top;
  border-top-right-radius: 4px;
}

.left-menu::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: -2px;
  width: 55px;
  height: 2px;
  background: red;
  transform: rotate(-35deg);
  transform-origin: right bottom;
  border-bottom-right-radius: 4px;
}

.left-menu a {
  margin: 0 auto;
}

.left-menu a img {
  display: block;
  width: 20px;
  height: auto;
  z-index: 1;
  margin-left: -8px;
}
