html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

:root {
  --orange-light: #ff9900;
  --orange-dark: #ff6600;
  --bg-dark: #111;
  --text-color: #eee;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-color);
  font-family: var(--font-family);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  position: relative;
}

.nav a::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  transition: 0.3s;
  transform: scaleX(0);
  transform-origin: left;
}

.nav a:hover::after {
  transform: scaleX(1);
}

footer {
  background-color: #000;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 4rem;
}

.title-section {
  text-align: center;
  font-size: 2.4rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  position: relative;
}

.title-section::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-light), var(--orange-dark));
  border-radius: 10px;
}

.content-section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}



.hero-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-button {
  padding: 0.8rem 2rem;
  background: transparent;
  border: 2px solid var(--orange-light);
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-button:hover {
  background: var(--orange-dark);
  color: white;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  position: relative;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}





.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  max-width: 800px;
  margin: -10vh auto 0 auto; /* Verschiebung nach oben */
  text-align: center;
}

.angebot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

@media (min-width: 768px) {
  .angebot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .angebot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.angebot-card {
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 0 0 transparent;
  transition: all 0.3s ease;
}

.angebot-card:hover {
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}

.angebot-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Angebot Icons farbig beim Hover */
.angebot-card:hover .angebot-icon {
  filter: brightness(1.2);
}

/* Icon-Größe anpassen, damit SVGs optimal dargestellt werden */
.angebot-icon {
  width: 48px;
  height: 48px;
}

/* Angebot Icons als Emojis */
.angebot-icon {
  font-size: 2rem;
  margin-right: 1rem;
  display: inline-block;
  line-height: 1;
}

/* Über mich Kastenstil */
.uebermich-card {
  background-color: #1a1a1a;
  color: var(--text-color);
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.uebermich-card ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.uebermich-card li {
  margin-bottom: 0.8rem;
}

/* Spezieller Abstand auf Angebotsseite */
.angebot-grid {
  margin-top: 3rem;
}

.card h3 {
  font-weight: 500;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
}



.angebot-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.angebot-card h3 svg, .angebot-card h3 i, .angebot-card h3 span.emoji {
  font-size: 1rem;
  vertical-align: middle;
  margin-top: 0.1rem;
}



.angebot-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-top: 0;
}

.angebot-icon {
  font-size: 1.5rem;
  line-height: 1;
  vertical-align: middle;
}



.angebot-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-top: 0;
}

.angebot-card .angebot-icon {
  font-size: 1.6rem;
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
}



.angebot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
}

.angebot-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.angebot-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-top: 0;
}

.angebot-card .angebot-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.leistung {
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistung h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.leistung p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.leistung:hover {
  transform: scale(1.03);
}

.angebot-cta {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.angebot-cta p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ddd;
}





.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: #ff6600;
  border: 2px solid #ff6600;
  border-radius: 999px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.cta-button:hover {
  background-color: #ff6600;
  color: #fff;
}





.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
}
@media (min-width: 768px) {
  .kontakt-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #333;
  border-radius: 10px;
  background-color: #1a1a1a;
  color: #fff;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: #ff6600;
}

.kontakt-info {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

.kontakt-info a {
  color: #ff6600;
  text-decoration: none;
}
.kontakt-info a:hover {
  text-decoration: underline;
}

/* Erfolgs-Popup */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.popup.visible {
  display: flex;
}

.popup-inner {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: white;
  max-width: 300px;
  
}

.popup-inner button {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: #ff6600;
  border: none;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}
.popup-inner button:hover {
  background-color: #e65c00;
}

.kontakt-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.kontakt-form {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 1rem;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  border-color: #ff6600;
  outline: none;
}

.full-width {
  width: 100%;
}

.kontakt-info-card {
  flex: 1 1 35%;
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
}

.kontakt-info-card a {
  color: #ff6600;
  text-decoration: none;
}

.kontakt-info-card a:hover {
  text-decoration: underline;
}

.kontakt-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.kontakt-form {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 1rem;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  border-color: #ff6600;
  outline: none;
}

.full-width {
  width: 100%;
}

.kontakt-info-card {
  flex: 1 1 35%;
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
}

.kontakt-info-card a {
  color: #ff6600;
  text-decoration: none;
}

.kontakt-info-card a:hover {
  text-decoration: underline;
}

.kontakt-wrapper-left {
  flex: 1 1 60%;
}

.kontakt-wrapper-right {
  flex: 1 1 35%;
}

.kontakt-form {
  flex: 1;
  min-width: 300px;
}

.kontakt-info-card {
  flex: 1;
  min-width: 250px;
}

.kontakt-form input,
.kontakt-form textarea {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.kontakt-form 

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: #ff6600;
  border: 2px solid #ff6600;
  border-radius: 999px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.cta-button:hover {
  background-color: #ff6600;
  color: #fff;
}



.popup-inner {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  color: white;
  max-width: 400px;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  border: none;
}

.popup-inner button {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: #ff6600;
  background-color: transparent;
  border: 2px solid #ff6600;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.popup-inner button:hover {
  background-color: #ff6600;
  color: white;
}

.popup-inner.danke-box {
  background-color: #1e1e1e;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  max-width: 600px;
  text-align: center;
}

.popup-inner.danke-box h1 {
  color: #ff6f00;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.popup-inner.danke-box p {
  color: #eee;
  font-size: 1rem;
}

.popup-button {
  display: inline-block;
  margin-top: 2rem;
  text-decoration: none;
  color: #ff6f00;
  border: 2px solid #ff6f00;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}

.popup-button:hover {
  background-color: #ff6f00;
  color: #fff;
}

.kontakt-info-card h2 {
  color: #ff6600;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.kontakt-info-card p {
  margin-bottom: 1.2rem;
}
.kontakt-info-card a:hover {
  color: #fff;
}

.kontakt-info-card {
  padding-top: 1rem !important;
}

.kontakt-info-card {
  padding-top: 0.2rem !important;
}

.angebot .cta-button {
  max-width: 260px;
  padding: 0.75rem 1.5rem;
  margin: 2rem auto 0 auto;
  display: block;
}

#angebot-button {
  max-width: 260px;
  padding: 0.75rem 1.5rem;
  display: block;
  margin: 2rem auto 0 auto;
}

#startseite-button {
  border: 2px solid #ff6600;
  color: #ff6600;
  background-color: transparent;
}

#startseite-button:hover {
  background-color: #ff6600;
  color: white;
}


#startseite-button {
  border: 2px solid #ff6600;
  color: #ff6600;
  background-color: transparent;
}

#startseite-button:hover {
  background-color: #ff6600;
  color: white;
}

.hero-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: #ff6600;
  border: 2px solid #ff6600;
  border-radius: 999px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.hero-button:hover {
  background-color: #ff6600;
  color: #fff;
}

.impressum-box {
  background-color: #1a1a1a;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  margin: 2rem auto;
  color: #eee;
}

.impressum-box h2 {
  color: #ff6600;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}



.content-box {
  background-color: #1e1e1e;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  margin-top: 40px;
}


.content-box {
  background-color: #1e1e1e;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  margin-top: 40px;
}


.title-section-smallmargin {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
  position: relative;
}


body, h1, h2, h3, h4, h5, h6, p, a, li {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer {
  background: #1a1a1a;
  
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
}
footer a {
  color: #ccc;
  text-decoration: none;
}
footer a:hover {
  color: #ffaa00;
  text-decoration: underline;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 2rem;
  color: white;
  text-align: center;
}
.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #ff8000, #ffaa00);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}


/* Einheitliche Schriftart für Header, Navigation, Überschriften */
header, nav, .nav-links a, .title-section, .section-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Neuer Header- und Navigation-Style */
header, nav, .nav-links, .nav-links a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ccc;
}

.nav-links a:hover {
  color: #ffaa00;
}


header {
  background-color: #1a1a1a !important;
}

.nav-links a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  color: #ccc !important;
}

.nav-links a:hover {
  color: #ffaa00 !important;
}


/* Einheitlicher Font-Stil für die gesamte Webseite */
body, header, nav, footer,
h1, h2, h3, h4, h5, h6,
.title-section, .section-title, .nav-links a, p, a, li, span, button, input, textarea {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400 !important;
}


/* Neuer Header- und Navigation-Style basierend auf Vorlage */
header {
  background-color: #121212;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  color: #eee;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff8000, #ffaa00);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}


/* FINALER Fix: Schriftanpassung für tatsächliche Header-Navigation */
.header .nav a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  font-size: 1rem;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* FINALER Feinschliff für gewünschte Navigation */
.header .nav a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 300 !important;
  font-size: 1.1rem;
  letter-spacing: 0.75px;
  text-transform: none;
  color: #eee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/* EXAKTE Umsetzung aus Version 134 */
.header .nav a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400 !important;
  font-size: 1rem;
  color: white !important;
  text-decoration: none;
  position: relative;
}


/* Navigation zentriert */
.header .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.header .nav a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400 !important;
  font-size: 1rem;
  color: white !important;
  text-decoration: none;
  position: relative;
}


/* Header und Navigation korrekt zentriert */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  background-color: #121212;
}

.header .logo {
  margin-right: auto;
}

.header .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.header .nav a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 400 !important;
  font-size: 1rem;
  color: white !important;
  text-decoration: none;
  position: relative;
}


/* Nur Navigation zentrieren */
.header nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}


/* Logo links, Navigation mittig */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #121212;
  padding: 1rem 0;
}

.header .logo {
  position: absolute;
  left: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
}

.header nav {
  display: flex;
  gap: 2rem;
}

.logo-img { height: 40px; object-fit: contain; }


.logo-img { height: 40px; object-fit: contain; }

/* Header Struktur verbessern */
.header {
  display: flex;
  position: relative;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  background-color: #121212;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-img { height: 40px; object-fit: contain; }

/* Sauber getrennte Headerstruktur */
.header {
  display: flex;
  position: relative;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  background-color: #121212;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.logo-img { height: 40px; object-fit: contain; }

/* Headerstruktur anpassen - Logo links und Navigation mittig */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  background-color: #121212;
}

.header-left {
  flex: 0 0 auto;
  margin-right: 30px;
}

.header-center {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.logo-img { height: 40px; object-fit: contain; }

/* Header mit Fixierung - Logo links, Navigation mittig */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  background-color: #121212;
}

.header-left {
  position: absolute;
  left: 30px;
}

.header-center {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.logo-img { height: 40px; object-fit: contain; }

/* Hero-Text abdunkeln für bessere Lesbarkeit */
.hero-text, .hero-title, .hero-subtitle {
  color: #DDDDDD;
}

/* Abstand zwischen Navigationpunkten vergrößern */
.nav-links a {
  margin: 0 20px; /* vorher war evtl. kleiner, jetzt größer */
}

/* Logo 100px weiter nach rechts verschieben */
.header-left {
  margin-left: 100px;
}

/* Navigation Schriftfarbe auf weiß setzen */
.nav-links a {
  color: #FFFFFF;
}

/* Navigation Schriftfarbe auf weiß setzen - mit Priorität */
.nav-links a {
  color: #FFFFFF !important;
}

/* Navigation Schriftfarbe korrekt setzen (auch auf Hover) */
.nav-links a {
  color: #FFFFFF;
}

.nav-links a:hover {
  color: #FFFFFF;
}
/* Schriftart auf Poppins setzen */
body, p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Navigation Poppins und Fett */
.nav-links a {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    color: #FFFFFF !important;
}


/* Speziell für Über mich Textbereiche */
.about-section, .uebermich-text, .text-about, p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
}


/* ALLE Texte auf Poppins umstellen */
body, p, h1, h2, h3, h4, h5, h6, a, li, label, input, textarea, button {
    font-family: 'Poppins', sans-serif !important;
}


/* Einheitlicher Abstand unter allen Hauptüberschriften */
.title-section {
    margin-bottom: 1rem; /* kleiner, damit Kasten näher dran ist, wie bei Angebot */
}


/* Hardfix: Abstand zum Kasten verkleinern */
.uebermich-text, .content-box {
    margin-top: 0 !important; /* Kein Abstand mehr oben */
    padding-top: 40px; /* Nur innen Abstand behalten */
}


.build-gallery-section {
  padding: 80px 20px;
  background-color: #121212;
}

.build-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.build-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

.build-grid img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);

  

  transition: transform 0.4s ease, filter 0.4s ease;
}

.build-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.build-gallery-section {
  padding: 80px 20px;
}

.build-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}
.build-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.build-grid img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;

  

  transition: transform 0.4s ease, filter 0.4s ease;
}

.build-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}


@media (min-width: 1024px) {
  .build-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .build-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .build-grid {
    grid-template-columns: 1fr;
  }
}








.build-grid img {
  

  

  transition: transform 0.4s ease, filter 0.4s ease;
}

.build-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}
.build-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  filter: brightness(1.05);
}


.build-grid img:hover {
  transform: scale(1.06);
}


.build-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00f7ff, 0 0 40px #00f7ff;
  filter: brightness(1.1);
}


.build-grid img:hover {
  box-shadow: 0 0 10px rgba(255, 125, 60, 0.6);
}


.build-grid img:hover {
  box-shadow: none;
}

/* Einfache eigene Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}
.lightbox .close-btn {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.lightbox .arrow {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 10000;
}
.lightbox .arrow.left {
  left: 10px;
}
.lightbox .arrow.right {
  right: 10px;
}

/* Fade-In Effekt beim Bildwechsel */
.lightbox img {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox img.loaded {
  opacity: 1;
}

/* Lightbox Basis */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox img.loaded {
  opacity: 1;
}
.lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  padding: 0 10px;
  z-index: 10000;
}
.lightbox .arrow.left {
  left: 10px;
}
.lightbox .arrow.right {
  right: 10px;
}
.lightbox .arrow svg {
  stroke: white;
  transition: stroke 0.3s ease;
}
.lightbox .arrow:hover svg {
  stroke: #ffaa00;
}
.lightbox .close-btn {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.lightbox .close-btn svg {
  transition: stroke 0.3s ease;
}
.lightbox .close-btn:hover svg {
  stroke: #ffaa00;
}

.button {
  background-color: #ffaa00;
  color: #000;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.button:hover {
  background-color: #ff8800;
  transform: translateY(-2px);
}



.build-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--orange-light);
  margin-bottom: 0.5rem;
  text-align: center;
}

.build-description {
  font-size: 1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 1.5rem;
}


.build-box {
  background-color: #1c1c1c;
  border-radius: 16px;
  padding: 40px 20px;
  margin: 0 auto 60px auto;
  max-width: 1280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


/* ===== Desktop Burger-Menü oben rechts ===== */

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links.show-nav {
  display: block;
  position: absolute;
  top: 60px;
  right: 2rem;
  background: #000;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-links.show-nav a {
  display: block;
  margin-bottom: 0.5rem;
}


/* Dropdown-Menü direkt unter dem Burger-Button */

.nav-dropdown {
  display: none;
  position: absolute;
  top: 3.6rem;
  right: 2rem;
  background: #000;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
}

.nav-dropdown.visible {
  display: block;
}

.nav-dropdown a {
  display: block;
  color: #fff;
  padding: 0.5rem 0;
  text-decoration: none;
}

.nav-dropdown a:hover {
  text-decoration: underline;
}


/* Angepasste Höhe für sauberes Einfügen im Header */
.nav-toggle-desktop {
  display: block;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1000;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 3.6rem;
  right: 2rem;
  background: #000;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
}

.nav-dropdown.visible {
  display: block;
}

.nav-dropdown a {
  display: block;
  color: #fff;
  padding: 0.5rem 0;
  text-decoration: none;
}

.nav-dropdown a:hover {
  text-decoration: underline;
}


/* Hover-Unterstreichung wie Hauptnavigation */
.nav-dropdown a {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-dropdown a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background-color: orange;
  transition: width 0.3s ease;
}

.nav-dropdown a:hover::after {
  width: 100%;
}

.nav-dropdown a:hover {
  text-decoration: none;
}


.nav-dropdown {
  background: #1a1a1a;
}


/* ======== Responsive Optimierung für Mobilgeräte ======== */
@media (max-width: 768px) {
  .nav-toggle-desktop {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    cursor: pointer;
    z-index: 1000;
  }

  .nav-dropdown {
    top: 4rem;
    right: 1rem;
    width: calc(100% - 2rem);
    background: #1a1a1a;
    border-radius: 8px;
    padding: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-dropdown.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-dropdown a {
    display: block;
    padding: 0.75rem 0;
    text-align: left;
  }

  .nav-dropdown a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background-color: orange;
    transition: width 0.3s ease;
  }

  .nav-dropdown a:hover::after {
    width: 100%;
  }

  .nav-links {
    display: none !important;
  }
}


@media (max-width: 768px) {
  .nav-dropdown {
    top: 3.2rem;
    right: 1rem;
    width: calc(100% - 2rem);
    padding: 0.75rem 1rem;
  }

  .nav-dropdown a {
    padding: 0.5rem 0;
  }
}


@media (max-width: 768px) {
  .nav-dropdown {
    top: 3.8rem;
    right: 1.2rem;
    width: 200px;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-dropdown.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-dropdown a {
    display: block;
    padding: 0.5rem 0;
    text-align: left;
    font-size: 1rem;
    color: #fff;
    position: relative;
    text-decoration: none;
  }

  .nav-dropdown a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background-color: orange;
    transition: width 0.3s ease;
  }

  .nav-dropdown a:hover::after {
    width: 100%;
  }

  .nav-links {
    display: none !important;
  }
}


/* ===== Mobile Layout Fixes für Datenschutz & Hero-Bereich ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    padding: 0 1rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero .btn {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .content {
    padding: 1.5rem 1rem !important;
  }

  section h2 {
    font-size: 1.6rem;
    padding-top: 1rem;
  }

  section p, .content p {
    font-size: 1rem;
    line-height: 1.6;
  }
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero .btn {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.05rem;
  }
}


@media (max-width: 768px) {
  .nav-toggle-desktop {
    top: 50%;
    transform: translateY(-50%);
  }
}


@media (max-width: 768px) {
  .nav-toggle-desktop {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}


/* Fix: Größeres Hamburger-Menü mobil */

@media (max-width: 768px) {
  #nav-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 16px;
    font-size: 32px;
    z-index: 1001;
  }
}



/* Fix: Logo im Header vertikal zentrieren */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
}

.logo-img {
  height: 60px;
  object-fit: contain;
}



/* Fix: Logo wirklich vertikal im Header zentrieren */
.header-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  display: block;
  height: auto;
  max-height: 60px;
  margin: 0;
}



/* Korrektur: Logo wieder auf ursprüngliche Größe, zentriert */
.header-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  display: block;
  height: auto;
  max-height: 40px;
  margin: 0;
}



/* Korrektur: Header-Höhe zurücksetzen auf ursprüngliche kompakte Darstellung */
.header {
  height: 60px;
  padding: 0 30px;
}



/* Burger-Menü auf Desktop ausblenden */
@media (min-width: 769px) {
  .nav-toggle-desktop {
    display: none !important;
  }
}


@media (max-width: 600px) {
  h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    font-size: 1.5rem;
  }
}
