:root {
  --logo-blue: #46b4e8;
  --light-gray: #f5f7fa;
  --dark-gray: #222;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--dark-gray);
  background: white;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1; /* Nimmt den verbleibenden Platz ein */
}
  
header {
  background: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 40px 0 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
header.shrink {
  padding: 8px 20px;
  align-items: center;
  background: rgba(255, 255, 255, 0.7); /* leichte Transparenz beim Scrollen */
  backdrop-filter: blur(6px);
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}
nav a:hover {
  opacity: 0.7;
}
.logo {
  height: 120px;
  transition: height 0.9s ease, margin 0.9s ease, transform 0.9s ease;
  transform-origin: center;
}
header.shrink .logo {
  height: 40px;
  margin: 0 20px;
  transform: scale(0.95);
}

.hero {
  color: white;
  text-align: center;
  max-height: 60vh;
  width: 100%;
  height: 650px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: last baseline;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.0);
}
.hero-content {
  position: relative;
  z-index: 1;
}
    
.btn-primary {
  display: inline-block;
  background: white;
  color: var(--logo-blue);
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #d5d5d5;
}
.btn-secondary {
  display: inline-block;
  background: white;
  color: #000000;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-secondary:hover {
  background: #d5d5d5;
}
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

iframe {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
    
h3 {
  font-size: clamp(1.0rem, 1.2vw, 1.9rem);
  color: #46b4e8;
  margin-bottom: 1px;
  margin-top: 50px;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(1.2rem, 1.6vw, 2.1rem);
  color: #46b4e8;
  margin-bottom: 1px;
  margin-top: 50px;
  text-transform: uppercase;
}  
h1 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: #46b4e8;
  margin-bottom: 50px;
  text-transform: uppercase;
}
    
.topic {
  justify-content: center;
  align-items: center;
  display: flex;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.textsite {
  display: grid;
  align-items: center;
  height: 100%;
}
.about img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.leistungen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.leistung-box {
  background: #f6f6f6;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  text-shadow: 3px 3px 4px white,
              0 0 1em white,
              0 0 0.2em white;
  font-weight: bold;
  transition: transform 0.25s, box-shadow 0.25s, scale 0.25s;
  background-repeat: no-repeat;
  background-size: contain;
  filter: grayscale(0.5);
  height: 125px;
}
.leistung-box:hover {
  background: #f6f6f6;
  transform: translateY(-5px);
  transform: scale(1.5);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  background-repeat: no-repeat;
  background-size: contain;
  filter: grayscale(0);
  z-index: 1;
}
.impressionen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.impressionen img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.25s, box-shadow 0.25s, scale 0.25s;
  filter: grayscale(0.5);
}
.impressionen img:hover {
  transform: translateY(-5px);
  transform: scale(1.5);
  box-shadow: 0 12px 20px rgba(0,0,0,0.1);
  background-repeat: no-repeat;
  background-size: contain;
  filter: grayscale(0);
  z-index: 1;
}
    
.social-box {
  position: fixed;
  right: 0;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 12px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #e0e0e0;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.social-box a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-box img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-box a:hover img {
  transform: scale(1.3);
  opacity: 0.8;
}

    
#kontakt {
  text-align: center;
}
footer {
  background: var(--dark-gray);
  color: white;
  text-align: center;
  padding: 2px 2px;
  margin-top: 30px;
  position: fixed;
  width: 100%;
  bottom: 0;
}
footer a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
  nav {
    flex-direction: column;
    gap: 10px;
  }
  .logo {
    margin: 15px 0 0 0;
    height: 70px;
  }
  header.shrink .logo {
    height: 40px;
    margin: 0;
    transform: scale(1);
  }
}

/* Container Jobs */
.job-card {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    cursor: pointer;
}

.job-subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

.job-header h2 {
    margin: 0;
    font-size: 22px;
}

/* Arrow */
.arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Arrow open */
.job-card.open .arrow {
    transform: rotate(-135deg);
}

/* Content */
.job-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.job-content-inner {
    padding: 0 26px 26px;
}

/* Section styles */
.job-content h3 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.job-content ul {
    padding-left: 20px;
}

.job-content li {
    margin-bottom: 8px;
}