/* Ihr freundlicher Helfer – Bootstrap 5.3.8 Ergänzungen */ 
/* ==========================================
   LOKALE SCHRIFTART – OUTFIT
========================================== */

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}




:root {
  --yellow: #ffe629;
  --pale: #fff58b;
  --ink: #3c3c3b;
  --gray: #444;
  --gray-hover: #aaa;
  --content: 1180px
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--ink);
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 17px
}

.justify {
  text-align: justify;
  hyphens: auto;
}
/* Allgemeine Textformatierung – Fett */
.fett {
  font-weight: 700;
}

a {
  color: inherit
}
.container {
  max-width: var(--content)
}
.main-nav {
  background: var(--yellow);
  min-height: 108px;
  z-index: 1000
}
.nav-wrap {
  max-width: 1450px;
  padding: 0 3%
}
.navbar-brand {
  position: relative;
  width: 315px;
  height: 70px;
  margin-right: 25px;
  flex-shrink: 0
}
.navbar-brand img {
  position: absolute;
  top: -7px;
  left: 0;
transform: translateX(30px);
  width: 315px;
  height: auto;
  z-index: 2
}
.navbar-nav {
  gap: 20px
}
.nav-link {
  color: #111 !important;
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: 600;
  position: relative;
  text-align: center;
  padding: 12px 6px !important
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform .2s
}
.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scale(1)
}
.phone-button, .action-button {
  background: var(--gray);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 5px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 600;
  transition: background .2s, color .2s
}
.phone-button:hover, .action-button:hover {
  background: var(--gray-hover);
  color: #111
}
.hero {
  background: #fff
}
.hero-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-inner {
  width: 100%;
  max-width: 720px;
  margin-left: max(12px, calc((100vw - 1180px) / 2));
  padding: 72px 35px 65px 0;
}
.hero-inner {
  width: 100%;
  max-width: 720px;
  padding: 72px 35px 65px 0;
}
.eyebrow {
  font-size: 1.45rem;
  letter-spacing: .025em;
  line-height: 1.15;
  margin-bottom: 24px
}
.hero h1 {
  font-size: clamp(1.5rem, 3.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 12
	  px
}
.hero-sub {
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 9px
}
.hero-note {
  font-weight: 600;
  font-size: .91rem;
  margin-bottom: 26px
}
.hero-inner > p:not(.eyebrow):not(.hero-sub):not(.hero-note) {
  line-height: 1.6;
  max-width: 100%;
}






.hero-photo {
  overflow: hidden;
  min-height: 530px
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: slowZoom 16s ease-in-out infinite alternate
}
@keyframes slowZoom {
  from {
    transform: scale(1)
  }
  to {
    transform: scale(1.065)
  }
}
.section-heading {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: .015em;
  margin: 0 0 42px
}
.services {
  background: var(--pale);
  padding: 60px 0 42px
}
.services-grid {
  align-items: stretch
}
.service-card {
  height: 100%;
  padding: 16px 15px 12px
}
.service-card.certificate {
  border: 1px solid #a69e56;
  padding: 15px
}

.service-card.certificate p.justify {
  text-align: justify;
  hyphens: auto;
}


.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 68px;
  margin-bottom: 20px;
  color: #111
}

.service-icon img {
  width: 100%;
  max-width: 64px;
  height: auto;
  object-fit: contain;
}

.service-icon svg {
  width: 62px;
  height: 62px;
  fill: currentColor
}
.service-icon.seal {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-top: -10px;
  margin-bottom: 8px
}



/* Icons innerhalb der Leistungsspalten zentrieren */
.service-card .service-icon {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-card .service-icon img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}




.service-card h3 {
  font-size: 1.2rem;
  line-height: 1.28;
  font-weight: 600;
  margin-bottom: 13px
}
.service-card p, .service-card li {
  font-size: 1.0rem;
  line-height: 1.3;
}
.service-card ul {
  padding-left: 19px;
  margin: 0
}
.info-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 38px 0 25px;
  height: auto;
  background: none;
  box-shadow: none;
}

.info-divider img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
}
.good-to-know {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .98rem
}
.good-to-know strong {
  text-transform: uppercase
}
.contact {
  background: #fff;
  padding: 68px 0 75px
}
.contact-details h3 {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700
}

/* Telefon-Icon im Kontaktbereich */
.contact-details img {
  width: 100%;
  max-width: 70px;
  height: auto;
  margin: 20px 0;
}



.contact-details p, .contact-details address {
  line-height: 1.65
}
.contact-details a {
  text-decoration: none
}
.contact-details a:hover {
  text-decoration: underline
}
.contact-form label:not(.check-label) {
  display: block;
  font-size: .87rem;
  margin-bottom: 5px
}
.contact-form .form-control {
  border-radius: 2px;
  border-color: #ccc;
  min-height: 43px
}
.contact-form textarea.form-control {
  min-height: 150px
}
.check-label {
  font-size: .82rem;
  display: flex;
  gap: 10px;
  align-items: flex-start
}
.check-label input {
  margin-top: 4px
}
.form-status {
  margin: 10px 0 0;
  font-size: .94rem
}
.site-footer {
  background: var(--yellow);
  padding: 30px 0
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px
}
.footer-links {
  margin-top: 10px;
  font-size: .9rem
}
.footer-links a {
  text-decoration: none
}
.footer-motto {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.5rem
}
.footer-motto img {
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-motto .footer-herz {
  width: 115px;
}

.footer-motto .footer-schriftzug {
  width: 300px;
}
@media(max-width:1199.98px) {
  .navbar-brand {
    width: 260px
  }
  .navbar-brand img {
    width: 260px
  }
  .navbar-nav {
    gap: 10px
  }
  .hero-inner {
    padding-left: 6%;
    padding-right: 6%
  }
  .service-card {
    padding: 16px 18px
  }
  .service-card.certificate {
    padding: 15px 17px
  }
}
@media(max-width:991.98px) {
  .main-nav {
    min-height: 72px
  }
  .navbar-brand {
    height: 55px;
    width: 230px
  }
  .navbar-brand img {
    width: 230px;
    top: -12px
  }
  .navbar-collapse {
    padding: 22px 0 15px
  }
  .navbar-nav {
  gap: 0;
  align-items: center;
}
 .nav-link {
  text-align: center;
}
  .nav-link::after {
    left: 50%;
  }
 
	
.navbar-collapse {
  text-align: center;
}

.phone-button {
  margin-top: 12px;
}	
	
	
	
.hero-inner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding: 60px 6%;
}
  .hero-photo {
    min-height: 430px
  }
  .footer-motto {
    font-size: 1.1rem
  }
}
@media(max-width:767.98px) {
  .hero-photo {
    min-height: 340px;
    height: 55vw
  }
	
	/* Aufzählungen mobil mit Punkten zentrieren */
.service-card ul {
  display: table;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
}

.service-card li {
  text-align: left;
}
	
	
	
	
	
	
	/* Mobile Ansicht – einheitliche Textbreite */
.hero-inner {
  width: 100%;
  max-width: none;
  padding: 58px 6% 45px;
}

.hero-inner h1,
.hero-inner .hero-sub,
.hero-inner .hero-note,
.hero-inner p {
  width: 100%;
  max-width: none;
}
	
	

  .services {
    padding: 48px 0 40px
  }
  .section-heading {
    margin-bottom: 25px
  }
  .service-card {
    padding: 14px
  }
}

/* Footer ab unter 992 px zentrieren */
@media (max-width: 991.98px) {
  .site-footer .footer-row > div {
    text-align: center;
  }
  .site-footer .footer-motto {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .site-footer .footer-schriftzug {
    max-width: 100%;
    height: auto;
  }
}

/* Zweispaltige Ansicht */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .navbar-brand img {
    width: 340px;
  }

  .hero-inner {
    padding-top: 115px;
  }
}
/* Einspaltige Ansicht */
@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar-brand img {
    width: 250px;
  }
}

@media(max-width:575.98px) {
  .navbar-brand {
    width: 190px
  }
  .navbar-brand img {
    width: 215px;
    top: -5px
  }
  .hero h1 {
    font-size: 2rem
  }
  .hero-photo {
    height: 320px
  }
  .service-card {
    border-bottom: 1px solid #d2c976
  }
  .service-card.certificate {
    border: 1px solid #a69e56
  }
  .services-grid {
    row-gap: 10px !important
  }
  .contact {
    padding: 48px 0
  }
  .footer-motto {
    gap: 8px
  }
	
	
	
	
	
	
}

/* Sprungmarken Desktop */
#home,
#leistungen {
  scroll-margin-top: 105px;
}

#kontakt {
  scroll-margin-top: 155px;
}



/* Zweispaltige Ansicht */
@media (min-width: 768px) and (max-width: 991.98px) {
  #home,
  #leistungen,
  #kontakt {
    scroll-margin-top: 220px;
  }
}



/* Einspaltige Ansicht */
@media (min-width: 576px) and (max-width: 767.98px) {
  #home,
  #leistungen,
  #kontakt {
    scroll-margin-top: 325px;
  }
}



/* Kleinste Smartphone-Ansicht */
@media (max-width: 575.98px) {
  #home,
  #leistungen,
  #kontakt {
    scroll-margin-top: 320px;
  }
}
	


@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  .hero-photo img {
    animation: none
  }
  * {
    transition: none !important
  }
}