:root {
  color-scheme: only light;
  --primary-color: #293860;
  --background-color: #FAFAFA;
  --accent-color: #E67E22;
  --accent-hover: #d85d1f;
  --text-color: #FFF;
  --min-font-size: 32px;
  --max-font-size: 224px;
  --fluid-font: clamp(32px, 7vw + 1rem, 224px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: var(--primary-color);
  line-height: 1.6;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(49,61,93,0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  padding: 2rem 5%;
}

nav img {
  height: 50px;
}

nav a, nav .nav a, .footer-logo a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  line-height: 0.75;
}

nav .nav a:hover {
  color: var(--accent-color);
}

nav .nav a {
  margin-right: 1rem;
}

nav span {
  color: white;
  font-size: 2rem;
  line-height: 0.75;
}
nav a span, 
.footer-logo a span {
  color: white;
  font-size: 2rem;
  line-height: 0.75;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  display: inline-block;
}

header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  min-height: 650px;
}

.header-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.header-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 2;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 5%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color);
  animation: fadeIn 1s ease forwards;
  min-width: 30%;
}

.header-usps {
  position: absolute;
  bottom: 2rem;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  color: var(--text-color);
  margin-top: 5rem;
}

.header-usps ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 2rem;
}

.header-usps li {
  font-size: 1.2rem;
}

.checkmark {
  color: #E67E22;
  font-size: 1.5rem;
  font-weight: bold;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-60%); }
  100% { opacity: 1; transform: translateY(-50%); }
}

.header-content h1 {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.header-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.cta-button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.why {
  background: #f9f9f9;
  padding: 80px 5%;
}

.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.why-text h2 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.why-text p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}
.why-text ul {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  padding: 2rem;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-item {
  background: #ffffff65;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.why-item h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 1.2rem;
  color: #555;
}

.form-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 90%;
  max-width: 600px;
}
.form-wrapper h2 , .form-wrapper p {
  color: var(--text-color);
}

.why-item form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-item label {
  font-weight: bold;
  color: var(--background-color);
}

.why-item input,
.why-item textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  background: #cecece;
}

.cta-fullwidth {
  width: 100%;
  background-color: #f9f9f9;;
  padding: 60px 20px;
  text-align: center;
}

.cta-container h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.cta-container p {
  font-size: 1.2em;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 40px 20px;
  font-size: 1rem;
  border-top: 1px solid #2c2c2c;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo, .footer-info, .footer-links {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-info h3, .footer-links h4 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 5px;
}

.footer a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
}

.footer a span {
  text-decoration: none;
  line-height: 0.75;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #2c2c2c;
}

@media (max-width: 1200px) {
  .why-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    text-align: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .header-content h1 {
    font-size: 3rem;
  }
  
  .header-content p {
    font-size: 1.2rem;
  }
  
  .header-usps {
    z-index: 1;
    padding: 20px;
    margin-top: 2rem;
  }

  .header-usps ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .header-usps li {
    font-size: 1em;
    list-style: none;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    flex-wrap: wrap;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Rechtsbündig */
    gap: 10px;
    margin-top: 10px;
  }

  .nav a {
    display: block;
    padding: 0 12px;
    text-decoration: none;
  }

  nav a span,
  .footer-logo a span {
    font-size: 1.5rem;
  }

}

@media (prefers-color-scheme: dark) {
  body {
    background: #4e4e4e;
    color: #f1f1f1;
  }

  nav {
    background: rgba(28, 28, 28, 0.7);
    border-bottom: 1px solid var(--background-color);
  }

  .header-overlay {
    background: rgba(0, 0, 0, 0.65);
  }

  .why {
    background: #000;
  }

  .why-text h2 {
    color: #3254AF;
  }
  
  .why-text p {
    color: #f1f1f1;
  }
  
  .why-text ul {
    font-size: 1.2rem;
    color: #f1f1f1;
    line-height: 1.6;
    padding: 2rem;
  }

  .why-item {
    background: #16161699;
    color: #f1f1f1;
  }
  
  .why-item p {
    color: #f1f1f1;
  }

  .why-item h3 {
    color: var(--accent-color);
  }

  .cta-fullwidth {
    background-color: #222;
  }

  .footer {
    background-color: #000;
    color: #eee;
  }

  .footer a {
    color: #ccc;
  }
}  



