/* Leistungsbilder ohne die eingebettete dunkelblaue Fußleiste */
.service-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1254 / 1107;
  object-fit: cover;
  object-position: top;
  background: #f4f8fa;
}

.form-thanks {
  padding: 28px 12px;
  text-align: center;
}

.form-thanks[hidden] { display: none; }

.thanks-check {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e8f7ff;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}

.form-thanks h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1.15;
}

.form-thanks > p:not(.eyebrow) { color: var(--muted); }
.thanks-fallback { margin: 22px 0; font-size: .88rem; }
.thanks-fallback a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-thanks .button { margin-top: 4px; cursor: pointer; font: inherit; }

.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-link:focus-visible {
  outline: 3px solid #57c9ff;
  outline-offset: 4px;
}

.service-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: .9rem;
}

.service-more span { font-size: 1.35rem; transition: transform .2s; }
.service-link:hover .service-more span { transform: translateX(5px); }

/* Persönlicher Ansprechpartner – bleibt bis zum Einbau des Portraits ausgeblendet. */
.owner-section {
  background: #f4f8fa;
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(290px, .85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}

.owner-grid-text {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}

.owner-grid.owner-grid-text {
  grid-template-columns: minmax(0, 760px);
  gap: 0;
}

.owner-grid-text .owner-copy { min-width: 0; }

.owner-grid-text .owner-copy > p { margin-left: auto; margin-right: auto; }
.owner-grid-text .owner-actions { display: flex; flex-wrap: wrap; justify-content: center; }

.owner-photo {
  aspect-ratio: 4 / 5;
  min-height: 420px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #dce8ee, #edf4f7);
  box-shadow: 0 22px 55px rgba(3, 47, 85, .16);
}

.owner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.owner-copy h2 {
  margin: 7px 0 8px;
}

.owner-role {
  margin: 0 0 26px;
  color: var(--blue);
  font-weight: 850;
}

.owner-copy > p:not(.eyebrow):not(.owner-role) {
  max-width: 650px;
  color: #516476;
  line-height: 1.75;
}

.owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.owner-contact-button {
  color: var(--navy);
  border-color: #b8cad5;
}

/* Anfrageformular */
.contact-grid {
  grid-template-columns: .78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.contact-intro > p:not(.eyebrow) {
  color: #c6dbe7;
  margin: 25px 0 30px;
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.direct-contact a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  transition: .2s;
}

.direct-contact a:hover {
  background: rgba(255, 255, 255, .11);
  transform: translateY(-2px);
}

.direct-contact span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: #7ed5ff;
  font-weight: 900;
}

.direct-contact strong {
  font-size: 1rem;
  color: #fff;
  overflow-wrap: anywhere;
}

.contact-card { padding: 34px; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: grid; gap: 7px; margin-bottom: 17px; }
.form-row label { font-size: .82rem; font-weight: 850; color: var(--navy); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #cddbe5;
  border-radius: 9px;
  background: #f9fbfc;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 12px 13px;
  transition: border-color .2s, box-shadow .2s;
}

.form-row textarea { resize: vertical; min-height: 125px; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(9, 139, 211, .14);
  background: #fff;
}

.privacy-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #516476;
  font-size: .81rem;
  line-height: 1.45;
  margin: 4px 0 20px;
  cursor: pointer;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
}

.form-submit { width: 100%; border: 0; cursor: pointer; font-size: .96rem; }

.button-whatsapp {
  background: #168548;
  color: #fff;
  border-color: #168548;
}

.button-whatsapp:hover { background: #0f6f3b; border-color: #0f6f3b; transform: translateY(-2px); }
.contact-whatsapp { width: 100%; margin-top: 4px; }
.whatsapp-hint { margin: 10px 0 20px !important; color: #bcd6e5 !important; font-size: .84rem; }

.mobile-contact-bar { display: none; }

@media (max-width: 900px) {
  .service-card { display: block; }
  .service-card > img { height: auto; aspect-ratio: 1254 / 1107; }
  .owner-grid { grid-template-columns: minmax(240px, .72fr) 1fr; gap: 38px; }
  .owner-photo { min-height: 350px; }
  .contact-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 620px) {
  body { padding-bottom: 68px; }
  .service-card > img { aspect-ratio: 1254 / 1107; }
  .owner-grid { grid-template-columns: 1fr; gap: 34px; }
  .owner-photo { min-height: 0; max-height: 540px; }
  .owner-actions { display: grid; }
  .form-columns { grid-template-columns: 1fr; gap: 0; }
  .contact-card { padding: 23px; }
  .direct-contact a { padding: 14px; }
  .mobile-contact-bar {
    position: fixed;
    z-index: 45;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(3,47,85,.14);
  }
  .mobile-contact-bar a { display: grid; place-items: center; min-height: 47px; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 850; }
  .mobile-contact-bar .whatsapp-link { background: #168548; }
}

/* Drei gleichwertige Leistungsbereiche im Einstieg */
.equal-services-title {font-size:clamp(2.5rem,4.7vw,4.6rem);line-height:1.08;letter-spacing:-.045em;}
.hero-visual.equal-services {grid-template-columns:minmax(0,1fr);gap:16px;}
.equal-services .feature-card {grid-column:auto;min-height:116px;padding:24px 28px;align-items:center;background:var(--navy);color:#fff;border:1px solid var(--navy);box-shadow:0 15px 40px rgba(7,42,67,.08);}
.equal-services .feature-card strong {font-size:1.3rem;line-height:1.3;}
.equal-services .feature-card small {display:block;margin-top:6px;font-size:1rem;color:#cfe6f4;}
.equal-services .area-badge {position:static;transform:none;width:auto;height:auto;border-radius:10px;padding:14px 20px;background:var(--pale);color:var(--navy);box-shadow:none;justify-content:flex-start;gap:14px;}
.equal-services .area-badge b {font-size:1.2rem;}
.equal-services .area-badge span {font-size:.8rem;text-transform:none;}
#leistungen .service-link {display:flex;flex-direction:column;}
#leistungen .service-content {display:flex;flex-direction:column;flex:1;}
#leistungen .service-more {margin-top:auto;padding-top:20px;}
#preise .service-card {display:flex;flex-direction:column;}
#preise .service-card strong {margin-top:auto;}
@media(max-width:620px){.equal-services-title{font-size:clamp(2rem,8.8vw,3rem);}.equal-services .feature-card{min-height:116px;padding:22px;}.equal-services .feature-card strong{font-size:1.2rem;}}

.customer-review{padding:72px 0;background:var(--pale);}
.review-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;align-items:center;}
.customer-review h2{font-size:clamp(2rem,3.5vw,3.3rem);line-height:1.1;letter-spacing:-.04em;color:var(--navy);}
.customer-review .review-layout>div>p:last-child{color:var(--muted);}
.review-card{margin:0;padding:32px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);}
.review-stars{color:#a86500;font-size:1.7rem;letter-spacing:.08em;}
.review-card blockquote{margin:20px 0;font-size:1.1rem;line-height:1.7;}
.review-card figcaption{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--navy);}
.review-card figcaption span{font-size:.9rem;color:var(--muted);}
.review-card>a{display:inline-block;margin-top:18px;font-size:.9rem;font-weight:700;text-decoration:underline;color:var(--navy);}
@media(max-width:900px){.review-layout{grid-template-columns:1fr;gap:25px;}.customer-review{padding:54px 0;}.review-card{padding:24px;}}

.fugen-price-card .button{margin-top:18px;min-height:48px;text-align:center}.polymer-price-link{display:flex;align-items:center;min-height:44px;margin-top:6px;color:var(--navy);font-weight:750;text-decoration:underline;text-underline-offset:3px}

/* Geplante Leistungen */
#leistungen .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.equal-services .planned-feature{background:#eaf6fc;color:var(--navy);border-color:#a8d8f0}
.equal-services .planned-feature small{color:#395469;font-size:.875rem}
.horizontal-card-image{position:relative;margin:0;aspect-ratio:1254/1107;overflow:hidden}
.horizontal-card-image img{width:100%;height:100%;object-fit:cover}
.horizontal-card-image figcaption{position:absolute;bottom:12px;left:14px;padding:4px 9px;background:#fff;color:#395469;border-radius:5px;font-size:.875rem}
.planned-service .service-content>span{font-size:.875rem;letter-spacing:.06em}
@media(max-width:900px){#leistungen .services-grid{grid-template-columns:1fr}}

.planned-feature strong,.planned-service h3{hyphens:auto;overflow-wrap:anywhere}

/* Die zusätzliche Leistung bleibt auf großen und kleinen Bildschirmen erreichbar. */
.equal-services .feature-card[href]:hover{background:#075a8f;border-color:#075a8f}
.equal-services .planned-feature:hover{background:#dceff9;color:var(--navy)}
#preise .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:901px){.site-header .brand{width:245px;flex-shrink:0}.site-header .header-inner{gap:20px}.site-header nav{gap:18px;font-size:.86rem}}
@media(min-width:901px) and (max-width:1120px){.menu-button{display:block}.site-header nav{display:none;position:absolute;left:0;right:0;top:88px;background:#fff;padding:20px;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line);box-shadow:0 16px 30px rgba(0,0,0,.08)}.site-header nav.open{display:flex}.site-header nav a{text-align:center;padding:9px}}
@media(max-width:900px){#preise .services-grid{grid-template-columns:1fr}}
@media(max-width:1120px){.site-header nav{gap:10px;max-height:calc(100dvh - 150px);overflow-y:auto}}

/* Schlichter Einstieg; die Leistungen folgen in einer gemeinsamen Übersicht. */
.hero-simple .hero-grid{grid-template-columns:minmax(0,1fr);min-height:0;gap:0;padding-top:74px;padding-bottom:70px}
.hero-simple .hero-copy{max-width:1000px;margin-inline:auto;text-align:center}
.hero-simple .hero-title{font-size:clamp(2.25rem,5.6vw,5rem);line-height:1.1;letter-spacing:-.045em;max-width:1000px;margin:0 auto 22px}
.hero-simple .hero-text{max-width:790px;margin:24px auto 0}
.hero-simple .hero-actions{justify-content:center;flex-wrap:wrap;margin:30px 0}
.hero-simple .trust-list{justify-content:center;margin:28px auto 0}
.hero-simple .hero-area{margin:18px 0 0;color:var(--muted);font-size:.9rem}
@media(max-width:620px){.hero-simple .hero-grid{padding-top:54px;padding-bottom:52px}.hero-simple .hero-title{font-size:clamp(2.25rem,9vw,3.3rem);overflow-wrap:break-word}.hero-simple .hero-actions{margin:27px 0}.hero-simple .trust-list{gap:9px}}
