/* === GLOBAL: Grundlayout und Farbvariablen === */
:root {
  --primary-color: #2E3192;
  --primary-light: #2E3192;
  --bg-gray: #f0f0f0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* === HEADER === */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  position: relative;
  z-index: 20;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* === NAVIGATION === */
.nav-container {
  background-color: var(--bg-gray);
  padding: 0.5rem 0;
  position: relative;
  z-index: 100;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  padding: 0.3rem 0.6rem;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-light);
}
.nav-links a:hover::after, .nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}
.nav-links a.active {
  font-weight: bold;
}

/* === HERO-BEREICH (nur visuell) === */
.hero {
  position: relative;
  height: 400px;
  z-index: 10;
  clip-path: inset(0);
}

.hero::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  background: url('bilder/bildschweisser.jpeg') no-repeat center center / cover;
  z-index: -1;
}
/* === MAIN CONTENT === */
main {
  background-color: white;
  max-width: 1200px;
  margin: -50px auto 2rem auto;
  border-radius: 15px 15px 0 0;
  padding: 2rem 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 30;
}

h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.intro .subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #555;
}

.btn-primary {
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
}

h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1rem;
}

/* === SECTION LIGHT === */
.section-light {
  background-color: var(--primary-light);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.section-light li {
  margin-bottom: 0.5rem;
}

/* === GALERIE === */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.galerie img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.galerie img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* === FOOTER === */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 4rem;
  font-size: 0.95rem;
}

footer p {
  margin: 0.3rem 0;
  color: #fff;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 1.2rem 0 0.5rem;
}

.footer-btn {
  display: inline-block;
  padding: 0.65rem 1.7rem;
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.footer-btn:hover,
.footer-btn:focus-visible {
  background-color: #fff;
  color: var(--primary-color);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.footer-btn:active {
  transform: translateY(0);
}
/* === LOGO UND TITEL === */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  height: 120px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

@media (max-width: 600px) {
  .logo-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  h1 { font-size: 1.8rem; }
  .intro .subtitle { font-size: 1rem; }
  h2 { font-size: 1.4rem; }
}

/* === STANDORT === */
.karte-container {
  max-width: 1000px;
  margin: 2rem auto;
  border: 4px solid var(--primary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* === PROJEKTBLÖCKE (Portfolio) === */
.projekt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  background-color: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.projekt:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.projekt img {
  width: 300px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.projekt img:hover {
  transform: scale(1.05);
}
.projekt-info {
  flex: 1;
  min-width: 250px;
}
