
:root {
  --orange: #f39200;
  --gold: #ffb52e;
  --yellow: #ffd477;
  --dark: #30343a;
  --text: #41464d;
  --light: #f5f6f7;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
}

table {border:2px;color:black;}
tr {border:2px;color:black;}
td {border:2px;color:black; background: #f0f0f0;}
th {border:2px;color:black; background: #c0c0c0;}

a { color: inherit; text-decoration: none; } 
a:hover {
  transform: translateY(-5px);
  background: white;
  border-color: var(--orange);
}

.header {
  min-height: 90px;
  padding: 12px 5%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 18px #0000000d;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
}

.brand-symbol {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(145deg,var(--orange),var(--yellow));
}

.brand-symbol span { color: var(--dark); }

.brand-name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-name small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navigation > a,
.nav-button {
  font-size: 13px;
  font-weight: 650;
  color: var(--dark);
  white-space: nowrap;
}

.navigation a:hover,
.navigation .active,
.nav-button:hover {
  color: var(--orange);
}

.nav-group { position: relative; }

.nav-button {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -15px;
  min-width: 235px;
  padding: 10px 0;
  background: white;
  box-shadow: 0 12px 30px #0002;
  border-top: 3px solid var(--orange);
  border-radius: 0 0 5px 5px;
}

.dropdown a {
  display: block;
  padding: 9px 17px;
  font-size: 13px;
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown,
.nav-group.open .dropdown {
  display: block;
}

.scrollable-div {
  height: 400px; /* set a fixed height for the div */
  overflow-y: scroll; /* enable vertical scrollbar */
  overflow-X: scroll; /* enable vertical scrollbar */
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 25px;
  cursor: pointer;
}

.hero {
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 9%;
  overflow: hidden;
  color: white;
  background:
/*    linear-gradient(90deg,#25292eeF,#30343a80), */
    linear-gradient(90deg,#8CBBE9EE,#B6DAF0AA),
    url("../assets/100_1107.jpg") center/cover, 
    var(--dark);
}

.hero-inner {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--orange);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(42px,6vw,70px);
  line-height: 1.1;
  margin: 20px 0;
}

.hero p {
  max-width: 600px;
  font-size: 18px;
  color: #eee;
}

.hero-mark {
  position: absolute;
  right: 7%;
  bottom: 5%;
  font-size: clamp(100px,18vw,230px);
  font-weight: 900;
  color: #ffffff12;
}

.hero-mark span { color: #f3920040; }

.button {
  display: inline-block;
  padding: 13px 24px;
  margin-top: 20px;
  background: var(--orange);
  color: white;
  border-radius: 4px;
  font-weight: 700;
  transition: .2s;
}

.button:hover {
  background: #d77d00;
  transform: translateY(-2px);
}

.section {
  padding: 85px 8%;
}

.section h2,
.project-section h2 {
  color: var(--dark);
  font-size: clamp(30px,4vw,44px);
  line-height: 1.2;
}

.intro { max-width: 1100px; margin: auto; }

.intro p { max-width: 850px; font-size: 18px; }

.light { background: var(--light); }

.cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin: 35px 0;
}

.service-card {
  padding: 27px;
  background: white;
  border-bottom: 3px solid transparent;
  border-radius: 5px;
  box-shadow: 0 5px 20px #0000000b;
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
}

.service-card span {
  color: var(--orange);
  font-weight: 800;
}

.service-card h3 { color: var(--dark); }

.text-link {
  color: #bd6900;
  font-weight: 700;
}

.project-section {
  padding: 85px 9%;
  color: white;
  background:
    linear-gradient(90deg,#25292ef2,#30343a50), 
/*    linear-gradient(90deg,#4CBBE980,#88DAF090), */
    url("../assets/Fertig1.jpg") center/cover,
    var(--dark);
}

.project-section h2 { color: white; }

.button-light {
  background: white;
  color: var(--dark);
}

.contact-section {
  text-align: block;
  background: #fff9ef;
}
.contact-section h2 {
  text-align: center;
}

footer {
  padding: 45px 8% 25px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  background: var(--dark);
  color: white;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--yellow);
}

.footer-bottom {
  grid-column: 1/-1;
  padding-top: 20px;
  border-top: 1px solid #ffffff30;
  font-size: 13px;
}

.page-hero {
  padding: 75px 8%;
  background: var(--dark);
  color: white;
}

.page-hero h1 { font-size: 48px; }

.content {
  max-width: 1150px;
  margin: auto;
  padding: 65px 25px;
}

.content h2 { color: var(--dark); }

.leistungsbereich {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}
.leistungsbild { flex: 0 0 180px;}

.leistungsbild img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.leistungstext { flex: 1;}
.leistungstext h2 {
    text-align: left;
    margin-top: 0;
    color: #24465a;
    background: none;  
}


@media(max-width:1100px) {
  .navigation { gap: 10px; }
  .navigation > a,.nav-button { font-size: 12px; }
}

@media(max-width:850px) {
  .menu-toggle { display: block; }

  .navigation {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    padding: 20px 6%;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }

  .navigation.open { display: flex; }

  .dropdown {
    position: static;
    box-shadow: none;
    border-left: 3px solid var(--orange);
    border-top: 0;
    margin-top: 8px;
    padding-left: 10px;
  }

  .cards { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:550px) {
  .brand-name { font-size: 17px; }
  .hero { min-height: 480px; padding: 55px 7%; }
  .section { padding: 60px 7%; }
  .cards { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-bottom { grid-column: auto; }
}

@media (max-width: 550px) {
    .leistungsbereich { flex-direction: column; }
    .leistungsbild {
        width: 100%;
        max-width: 350px;
        flex-basis: auto;
    }
}



/* =========================================
   MENÜ LINKS STATT OBEN
   ========================================= */
/* Gallery-Dropdown scrollbar machen funktioniert nicht*/
.nav-group .dropdown.scrollable-div {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
/* Gallery-Dropdown scrollbar machen funktioniert nicht*/
body.menu-links {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/* Header wird zur linken Seitenleiste */

body.menu-links .header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    width: 250px;
    height: 100vh;
    min-height: 100vh;

    padding: 20px 15px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    overflow-y: none; 
    box-shadow: 3px 0 15px #00000015;
}

/* Firmenlogo */

body.menu-links .brand {
    margin-bottom: 30px;
    flex-shrink: 0;
}

/* Navigation untereinander */

body.menu-links .navigation {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

/* Menüeinträge */

body.menu-links .navigation > a,
body.menu-links .nav-button {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: left;
}

/* Untermenüs */

body.menu-links .nav-group {
    position: relative;
    width: 100%;
}

body.menu-links .dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border-left: 3px solid var(--orange);
    border-top: 0;
    margin-top: 5px;
    padding-left: 10px;
}

/* Hauptinhalt nach rechts verschieben */

body.menu-links main {
    margin-left: 250px;
    width: calc(100% - 250px);
}

/* Footer ebenfalls nach rechts */

body.menu-links footer {
    margin-left: 250px;
    width: calc(100% - 250px);
}

/* Hamburger-Menü bei linker Navigation ausblenden */

body.menu-links .menu-toggle {
    display: none;
}

/* Mobile Darstellung */

@media(max-width:850px) {

    body.menu-links {
        display: block;
    }

    body.menu-links .header {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 90px;
    }

    body.menu-links .navigation {
        display: flex;
    }

    body.menu-links main,
    body.menu-links footer {
        margin-left: 0;
        width: 100%;
    }
}
