*, *::before, *::after {
  box-sizing: border-box;
}


:root {
  --dark: #1b1b19;
  --light: #f5f5f5 ;
  --accent: #ffbd21 ;
}

body {
  margin: 0;
  font-family: sans-serif;
  background-color: var(--dark);
  color: var(--light);
}

a {
  color: var(--accent);
  text-decoration: none;
}



.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--dark);
}

.logo img {
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--accent);
}
.nav-links a.active {
  color: #c9a14a;
  font-weight: 600;
}

.nav-links .cta {
  background-color: var(--accent);
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
}


.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}



.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  color: black;
  background: var(--light);
  align-items: center;
  min-height: 60vh;
}



.banner {
  grid-column: 1 / 4;
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 0;
  background: #1b1b19;
}

.banner img {
  margin:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.4rem;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  border-radius: 8px;
}



@media (max-width: 600px) {
  .banner {
    height: 200px;
  }

  .banner h1 {
    font-size: 1.3rem;
    padding: 0.5rem 1.2rem;
    white-space: normal; 
  }
    .navbar .logo img,
  .footer .logo img {
    height: 38px;
    padding: 0;
  }
}

.hero-left {
  grid-column: 1 / 2;
  padding: 30px 0;
  display: flex;
}

.hero-left h2 {
  font-size: 60px;
  margin-left: 15%;
}

.hero-right {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  align-self: center;
  margin-right: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}
.hero-right .cta {
  align-self: flex-start;
  margin-top: 1.5rem;
}

.hero-right p{
  line-height: 1.6;
  hyphens: auto;
  text-align: justify;
}



.grid-container {
  background-color: #1b1b19;
  display: grid;
  gap: 4rem;
  padding: 2rem;
  color: #000;
  
}

.hero-grid-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 2vw, 100px);
  align-items: stretch;
  background: var(--light);
}

.hero-grid-services .banner {
  grid-column: 1 / -1;
}

.hero-grid-services .hero-left-services {
  display: flex;
  align-items: center;
  grid-column: 1 / 2;
  margin-left: 50px; /* Desktop */
}

.hero-grid-services .hero-right-services {
  grid-column: 2 / -1;
  margin-left: 2%; /* Desktop */
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.hero-grid-services .services-title {
  font-size: 64px;
  line-height: 1.15;
  margin: 0;
  color: #000;
}

.hero-grid-services .services-title .no-break {
  white-space: nowrap;
}

.hero-grid-services .hero-right-services p {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  margin: 0 0 12px 0;
  padding-bottom: 16px;
}


@media (max-width: 1100px) {
  .hero-grid-services {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-grid-services .banner,
  .hero-grid-services .hero-left-services,
  .hero-grid-services .hero-right-services {
    grid-column: 1 / -1;
  }

  .hero-grid-services .hero-left-services {
    margin-left: 0;
    justify-content: center;
  }

  .hero-grid-services .hero-right-services {
    margin-left: 0;
    max-width: 700px;
    margin-inline: auto;
  }

  .hero-grid-services .services-title {
    font-size: 52px;
  }
}

/* =========================
   <= 640px
========================= */
@media (max-width: 640px) {
  .hero-grid-services {
    gap: 24px;
  }

  .hero-grid-services .hero-left-services,
  .hero-grid-services .hero-right-services {
    padding: 0 16px;
  }

  .hero-grid-services .hero-right-services {
    max-width: 100%;
    margin-inline: 0;
    padding-bottom: 16px;
  }

  .hero-grid-services .services-title {
    font-size: clamp(34px, 8vw, 48px);
  }

  .hero-grid-services .services-title .no-break {
    white-space: normal;
  }
}






.services-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.service-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ddd;
}

.service-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-text {
  margin-top: 20px;
}

.service-text h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--accent);
}

.service-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--light);
}


@media (min-width: 800px) {
  .service-item {
    flex-direction: row;
    gap: 30px;
  }

  .service-item img {
    width: 40%;
  }

  .service-text {
    width: 60%;
  }
}


.why-us {
  background-color: var(--light);
  color: #000;
  padding: 3rem 2rem 4rem;
  justify-items: center;
  
}

.why-us h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
  
}

.checklist {
  list-style: none;
  
}

.checklist li::before {
  content: "✓";
  color: var(--accent); 
  font-weight: 700;
  font-size: 1.4rem;
  margin-right: 5px;

}






.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.services h2 {
  font-size: 40px;
  color: var(--light);
}

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

.services a {
  padding: 14px 25px;
  border-radius: 12px;
  text-align: center;
  display: inline-block;
}

.highlight {
  color: var(--accent);
  font-weight: bold;
}

.service-box {
  background-color: var(--light);
  padding: 1.5rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-box img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
}

.service-box:hover img {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.service-box h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

.service-box p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.service-box a {
  font-weight: bold;
  color: black;
  width: 100%;
  text-decoration: none;
  display: inline-flex;
  align-self: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.service-box a:hover {
  color: #444;
}



.pillars {
  padding: 4rem 2rem;
  color: #000;
  background-color: var(--light);
}

.pillars h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pillars h3 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.pillars p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.pillars-box {
  display: flex;
  align-items: center;
  background-color: #1c1c1c;
  gap: 3rem;
  color: #fff;
  border-radius: 2rem;
  padding: 2rem;
}

.pillars-box img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center;
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}
.pillars-box:hover img{
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.pillars-box .pillars-label {
  font-weight: bold;
  color:var(--accent);
  text-transform: uppercase;
}



.hero-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}



.faqContact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin: 2rem auto;
  padding: 1rem;
}

.faq {
  grid-column: 1;
  max-width: 900px;
}
.faq .faq-content{
  max-height: 0;
  overflow: hidden;
  transition: max-height 200ms ease; 
}




.faq details {
  background: #0d2d2c;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid #2d2d2c;
  overflow: hidden;
  transition: box-shadow 0.3s;
  box-shadow: 0 2px 2px rgba(0,0,0,0.08);
}

.faq details[open] {
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  border-color: var(--accent);
  background: var(--light);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 1.1em 1.6em 1.1em 2.6em;
  background: linear-gradient(90deg, #222 0%, #222 90%);
  color: #f5f5f5;
  position: relative;
  transition: background-color 0.2s, color 0.2s;
  font-size: 1.15rem;
  outline: none;
  border: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  background: linear-gradient(90deg,#1b1b19 0%, #1b1b19 90%);
  color: var(--accent);
}

.faq summary::before {
  content: '\f105';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.2em;
  color: var(--accent);
}

.faq details[open] summary::before {
  content: '\f107';
  transform: translateY(-50%) rotate(0deg);
  color:var(--accent);

}

.faq details p {
  padding: 1em 2.6em;
  color: #1b1b19;
  font-size: 1.05rem;
  line-height: 1.7;
  background: var(--light);
  animation: none;
}





textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px;
  max-height: 300px;
  border-radius: 6px;
  border: 1px solid #ccc;
  overflow-y: auto;
  font-family: inherit;
  font-size: 1rem;
}

.contact {
  grid-column: 2;
  color: white;
  max-width: 400px;
  font-family: sans-serif;
}

.contact h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.contact textarea{
  margin-top: 15px;
}

.contact input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
  width: 100%;
  color: white;
}

.contact input:focus {
  outline: none;
  border-bottom: 1px solid #FFD700;
}
.contact textarea:focus {
  outline: 1px solid #FFD700;

}

.contact button,
.cta {
  background-color: var(--accent);
  color: black;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;

}


.bottom-image {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.bottom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.bottom-overlay {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #1b1b19;
  padding: 1rem 2rem;

}

.bottom-overlay h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  white-space:nowrap;

}

.bottom-subline {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent); 
  margin: 0;
}


#rotating-word {
  display: inline-block;
  opacity: 1;
  min-width: 20ch;
  text-align: left;
  transition: opacity 0.5s ease-in-out;
  color: var(--accent); 
}





@media (max-width: 480px) {
  .bottom-overlay h2 {
    font-size: 1.7rem;
    line-height: 1.3;
    padding: 0;
    margin: 0;
  }

  #rotating-word {
    font-size: 1.7rem;
  }

    .about-container,
  .kontakt-main,
  .impressum-hero .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .services h2 {
    font-size: 30px;
  }
}

.footer {

  background-color: #1b1b19;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  text-align: center;
}
#homefooter{
  border-top: 1px solid #ffbd21; 
}

.footer .logo img {
  width: 120px;
  height: auto;
}

.details {
  grid-column: 2;
  text-align: center;
  line-height: 1.6;
}



.legal {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal h2 {
  margin-bottom: 1%;
}


.about-main {
  background-color: #ffffff;
  color: #000;
  width: 100%;  
  margin: 0 auto; 
}


.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  color: #000;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center; 
}
.about-team {
  text-align: center;
}

.about-team p {
  max-width: 800px;
  margin: 0 auto;
}



.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; 
  align-items: center;
  background: var(--light);
  width: 100%;
  padding-top: 0;

}




.about-hero-left {
  grid-column: 1 / 2;
  padding: 2rem 10%;
}

.about-hero-left h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0;
}


.about-hero-right {
  grid-column: 2 / 4;
  padding: 2rem 10% 2rem 0;
  align-self: center;
}

.about-hero-right p {
  line-height: 1.7;
  margin-bottom: 1rem;
}


.about-values{
  justify-self: center;
  padding-top: 1%;
}
.about-team h2,
.about-values h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-team p {
  line-height: 1.7;
}




.team-member {
  flex: 1 1 220px;
  background: #f3f3f3;
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.team-member img {
  width: 100%;
  max-width: 220px;
  height: auto;

  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member h3 {
  margin: 0.5rem 0 0.25rem;
}

.team-member p {
  margin: 0;
  font-size: 0.95rem;
}


.about-values ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-values li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}








@media (min-width: 1501px){
  .keep-together{
    white-space: nowrap;
  }
}
  

@media (max-width: 1200px) {
  .hero-left h2 {
    font-size: 48px;
  }
}


@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns:1fr;

    
  }
  .banner {
    grid-column: 1 / -1;
    
  }
  
  .hero-right {
    grid-column: 1;
    margin: 0 1.5rem 1.5rem;
  }
    .hero-left {
    grid-column: 1;
    margin: 0 1.5rem 1.5rem;

  }
  .hero-left h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-left: 0;
  }

  .faqContact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact {
    grid-column: 1;
    max-width: 100%;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }
  .about-hero-left h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-left: 1.5rem;
  }
  .about-hero-right {
    margin: 1rem 1.5rem 2rem;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
    .banner {
    height: 280px;
  }

  .banner h1 {
    font-size: 1.7rem;
    padding: 0.6rem 1.4rem;
  }
    .about-hero {
    grid-template-columns: 1fr; 
  }

  .about-hero-left,
  .about-hero-right {
    grid-column: 1 / -1;
    padding: 1.5rem 1.5rem 0;
  }

  .about-hero-right {
    padding-bottom: 2rem;
  }

  .team-grid {
    justify-content: center;
  }
}


@media (max-width: 768px) {
.hero-left,
  .hero-right,
  .hero-left-services,
  .hero-right-services,
  .about-hero-left,
  .about-hero-right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }
  h2 {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  }

 
  .navbar {
    padding: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background-color: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  body.nav-open {
    overflow: hidden;
  }

  .services-grid,
  .pillars-grid {
    gap: 20px;
  }

  .footer, #homefooter {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer .logo,
  .footer .legal,
  #homefooter .logo,
  #homefooter .legal {
    justify-self: center;
  }

  .details, .legal {
    grid-column: 1;
    grid-row: auto;
  }

    .bottom-overlay h2 {
    font-size: 2rem;
    white-space: normal;  
    text-align: center;
  }

  #rotating-word {
    min-width: auto;       
  }

    .form-row{ grid-template-columns: 1fr; }
  .form-card{ padding: 1.5rem; }
    .services {
    padding: 2.5rem 1.5rem;
  }

  .why-us {
    padding: 2.5rem 1.5rem 3rem;
  }

  .why-us h2 {
    font-size: 1.6rem;
  }
    .bottom {
    height: 400px;
  }


  .bottom-subline {
    font-size: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .navbar .logo img,
  .footer .logo img {
    height: 48px;
  }
    .bottom-overlay h2 {
    font-size: 2.5rem;
  }

  #rotating-word {
    min-width: 10ch;     
  }
}



@media (max-width: 576px) {
  body {
    font-size: 16px;
  }

  .hero-grid {
    min-height: auto;
  }

  .banner img {
    margin-left: 0;
    width: 100%;
    height: auto;
  }

  .grid-container {
    padding: 1.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .service-box,
  .pillars-box {
    padding: 14px;
  }

  .cta {
    display: inline-block;
    width: auto;
    text-align: center;
  }

    .services {
    padding: 2rem 1.25rem;
  }

  .why-us {
    padding: 2rem 1.25rem 3rem;
  }

    .about-main {
    padding: 2rem 1.25rem;
  }

  .about-hero-left h2 {
    font-size: clamp(1.7rem, 6vw, 2.1rem);
  }

  .team-grid {
    flex-direction: column;
  }

  .team-member {
    max-width: 340px;
    margin: 0 auto;
  }
}


.service-box img,
.pillars-box img {
  border-radius: 8px;
  display: block;
}

.impressum-hero {
  min-height: auto;              
  grid-template-columns: 1fr;    
}

.impressum-hero .hero {
  background: var(--light);
  padding: 2rem 10%;
}

.datenschutz-section h2 p{
  color: white;
}


.kontakt-main{
  background: #e0e0e0;
  color: #000;
  padding: 3rem 2rem;
}

.contact-form{
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.form-card{
  background: #1c1c1a;
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  border: 1px solid rgba(255, 214, 0, 0.15);
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-field label{
  font-weight: 600;
  color: #e0e0e0;
}

.form-field option{
  color: black;
}

.form-field input,
.form-field select,
.form-field textarea{
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 0.85rem 0.3rem 0.3rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color: #FFD600;
  box-shadow: 0 0 0 4px rgba(255,214,0,0.18);
  background: rgba(255,255,255,0.09);
}

.form-submit{
  width: auto;
  align-self: flex-start;
   padding: 0.5rem 1.2rem;
  font-size: 15px;
  margin-top: 0.75rem;
}

.form-hint{
  margin: 0.9rem 0 0;
  opacity: 0.85;
  font-size: 0.95rem;
}


.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}




.form-field input:invalid,
.form-field select:invalid,
.form-field textarea:invalid {
  border-color: #ffbd21;
}

.form-field input:invalid:focus,
.form-field select:invalid:focus,
.form-field textarea:invalid:focus {
  box-shadow: 0 0 0 4px #ffbd21;
}


.field-error {
  font-size: 0.9rem;
  color: #ffb3b3;
  margin-top: 0.2rem;
  display: none;
}

.form-field.has-error .field-error {
  display: block;
}
