@charset "UTF-8";

/*--------------------------------------------------------------
# AndyStone MOD
--------------------------------------------------------------*/

/* Aufklapp-FAQs */
.services .service-item.faq-item {
  padding: 0;
}
.services .service-item.faq-item .faq-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  cursor: pointer;
}
.services .service-item.faq-item .faq-header .icon {
  margin-right: 0;
}
.services .service-item.faq-item .faq-header .title {
  flex: 1;
  margin-bottom: 0;
}
.services .service-item.faq-item .faq-header .faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
}
.services .service-item.faq-item .faq-header .faq-toggle i {
  transition: transform 0.3s ease;
}
.services .service-item.faq-item .faq-content {
  display: grid;
  grid-template-rows: 0px;
  transition: all 0.35s ease;
  visibility: hidden;
  opacity: 0;
}
.services .service-item.faq-item .faq-content .content-inner {
  overflow: hidden;
  padding: 0 30px;
}
.services .service-item.faq-item .faq-content .content-inner p {
  margin: 0;
  padding-bottom: 30px;
  line-height: 24px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}
.services .service-item.faq-item.faq-active {
  border-color: var(--accent-color);
}
.services .service-item.faq-item.faq-active .faq-header .title {
  color: var(--accent-color);
}
.services .service-item.faq-item.faq-active .faq-header .faq-toggle i {
  transform: rotate(180deg);
  color: var(--accent-color);
}
.services .service-item.faq-item.faq-active .faq-content {
  grid-template-rows: 240px; /* fixe Höhe für alle Karten, ggf. anpassen falls Text abgeschnitten wird */
  visibility: visible;
  opacity: 1;
}


/*  Menü Abstand nach unten */
main.main > section:first-of-type {
  padding-top: 142px; /* 60px Standard-Section-Padding + 82px Header-Höhe */
}

@media (max-width: 1199px) {
  main.main > section:first-of-type {
    padding-top: 133px; /* 60px + 73px */
  }
}

@media (max-width: 768px) {
  .services .service-item.faq-item .faq-content {
    grid-template-rows: 0fr;
  }

  .services .service-item.faq-item.faq-active .faq-content {
    grid-template-rows: 1fr;
  }
}


/*  Startseite DI Peter Raffold */
.why-choose-us .name-highlight {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 2.75rem;
}

@media (max-width: 768px) {
  .why-choose-us .name-highlight {
    font-size: 2.25rem;
  }
}


.why-choose-us .subtitle-text {
  font-size: 1.15rem;
   line-height: 1.2;
  font-weight: 500;
  color: var(--default-color);
  margin-bottom: 1.5rem;
}


/*  Wasserzeichen */
body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), url('../img/background.png');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.section {
  --background-color: transparent;
}

.about-2 {
  background: transparent !important;
}

.about-2 .image-column .main-image .gradient-overlay {
  background: none;
}

.about-2 .image-column .badge-card {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}



/* Marker */
.highlight-mark {
  background-image: linear-gradient(to top, color-mix(in srgb, var(--accent-color), transparent 85%) 50%, transparent 50%);
  background-repeat: no-repeat;
  color: var(--default-color);
  font-weight: 700;
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* schwarzer Header und Footer */
.header {
  background: linear-gradient(to right, #000000, #4d4d4d) !important;
}

.footer {
  padding-bottom: 40px;
  background: linear-gradient(to right, #000000, #4d4d4d) !important;
  margin-top: 60px;
}


.header {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.footer {
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

.footer .copyright {
  align-items: center;
}

.footer .copyright a.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--default-color, #ffffff);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 50px;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer .copyright a.footer-link i {
  font-size: 1.5rem;
  line-height: 1;
}

.footer .copyright a.footer-link:hover {
  background: #ffffff;
  color: #000000;
}

@media (max-width: 576px) {
  .footer .copyright {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.footer .copyright {
  border-top: none;
}
/* Schriften angleichen */

.about-4 .content p.lead {
  font-size: 1rem !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
}

.tos-content .content-section p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}

.portfolio .copy p {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
}

.contact-form-container p {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
}

/* Startseite */

.why-choose-us .feature-text p {
  font-size: 1.05rem !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
}

.why-choose-us .features-image {
  height: 100%;
}

.why-choose-us .features-image .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bilder/Cards abrunden */

.team .team-member {
  border-radius: 16px;
}

.about-2 .image-column .main-image {
  border-radius: 16px;
}

.services .service-item {
  border-radius: 16px;
}


/* Abstände der Sektionen verringern */
section,
.section {
  padding: 40px 0;
}


/* Seite Unternehmen */

.about-2 .image-column .main-image {
  box-shadow: none;
}

/* Seite Kontakt */
a.contact-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/*--------------------------------------------------------------
# Korrekturschleife 2026-08
--------------------------------------------------------------*/

/* Grauer Bilderrahmen (Unternehmen: Peter-Foto + Team-Farbfoto) */
.about-2 .image-column .main-image,
.about-4 .image-group .main-image {
  border: 8px solid #d6d6d6;
}

.about-4 .image-group .main-image {
  border-radius: 16px;
  overflow: hidden;
}

.about-2 .image-column .main-image {
  box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.15);
}

/* Unternehmen: Überschrift + Text kleiner, Bild kleiner */
.about-2 .content-column h2 {
  font-size: 1.9rem !important;
}

@media (max-width: 768px) {
  .about-2 .content-column h2 {
    font-size: 1.6rem !important;
  }
}

.about-2 .content-column p.lead {
  font-size: 1rem !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
}

.about-2 .image-column {
  min-height: 420px;
}

@media (max-width: 992px) {
  .about-2 .image-column {
    min-height: 340px;
  }
}

/* Unternehmen: Team-Bereich Überschrift kleiner */
.about-4 .content h2 {
  font-size: 1.6rem !important;
}

/* Team-Farbfoto + Graufoto: Graufoto = 80% der Größe des Farbfotos,
   überdeckt davon aber nur das letzte Sechstel (horizontal versetzt) */
.about-4 .image-group .main-image {
  width: 70%;
}

.about-4 .image-group .secondary-image {
  width: 47.6%;
  left: 58.3%;
  right: auto;
  bottom: 0;
}

/* Mobil: überlappende Bilder rechts abgeschnitten -> stattdessen untereinander, gleiche Größe */
@media (max-width: 768px) {
  .about-4 .image-group {
    padding-bottom: 0;
  }

  .about-4 .image-group .main-image,
  .about-4 .image-group .secondary-image {
    position: static;
    width: 100%;
    margin: 0 0 20px 0;
  }

  .about-4 .image-group .secondary-image {
    margin-bottom: 0;
  }
}

/* Team-Sektion: "Unser Team" wie "Präzision aus Erfahrung", dicht an den Bildern */
.team .section-title {
  padding-bottom: 0;
}

.team .section-title h3 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .team .section-title h3 {
    font-size: 1.6rem;
  }
}

.team .team-member .member-info h4 {
  color: #000000;
}

/* Leistungen: "Kataster"/"Ingenieur" rot, "vermessung" schwarz */
.heading-black {
  color: #000000;
}

/* Leistungen: Karten kompakter, Text schwarz, Rahmen wie bei den Mitarbeiter-Fotos */
.services .service-item {
  border: 1px solid color-mix(in srgb, var(--default-color) 8%, transparent);
}

.services .service-item .title,
.services .service-item.faq-item .faq-header .title,
.services .service-item.faq-item.faq-active .faq-header .title {
  color: #000000;
}

.services .service-item .icon {
  font-size: 28px;
}

.services .service-item.faq-item .faq-header {
  padding: 18px 22px;
  gap: 14px;
}

.services .service-item:not(.faq-item) {
  padding: 18px 22px;
}

.services .row.gy-4 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.services .service-intro {
  font-size: 1rem;
}

/* Kontakt: Pflichthinweis mit rotem Stern */
.req-star {
  color: var(--accent-color);
  font-weight: 700;
}

.contact-form-container .form-group {
  position: relative;
}

.contact-form-container .form-group .input-star {
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 1.1rem;
}

/* Impressum: insgesamt kleinere Schrift */
.terms-of-service .tos-header h2 {
  font-size: 1.8rem;
}

.tos-content .content-section h3 {
  font-size: 1.3rem;
}
