/* Ruhigere, besser lesbare Smartphone-Ansicht; Desktop-Layout bleibt unverändert. */
@media (max-width: 767.98px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; line-height: 1.65; color: #414b59; }
  #hauptinhalt .container, #navigation .container, footer .container { --bs-gutter-x: 36px; }
  #intro .carousel-inner img { width:100%; height:auto; aspect-ratio:1280/850; object-fit:contain; max-height:none; }
  #intro .carousel-control-prev, #intro .carousel-control-next { width:44px; }
  #intro .carousel-indicators { margin-bottom:8px; }
  #navigation { box-shadow:0 2px 10px rgba(26,42,66,.07); border-bottom:1px solid #e7ebf0; }
  #navigation .navbar { padding:5px 0; }
  #navigation .site-logo img { width:128px; height:auto; }
  #navigation .navbar-toggler { border:1px solid #dce2ea; border-radius:9px; }
  #hauptinhalt h1,#hauptinhalt h2,#hauptinhalt h3 { color:#23354a; text-transform:none; letter-spacing:normal; }
  #haupttitel { font-size:clamp(24px,6.2vw,29px); line-height:1.2; margin:0 0 13px; font-weight:700; }
  #hauptinhalt .section-heading h2,#hauptinhalt #auto-und-einsatzgebiet { font-size:clamp(23px,5.7vw,27px); line-height:1.25; font-weight:600; margin:0 0 10px; }
  #hauptinhalt .section-heading p { font-size:16px; line-height:1.6; font-weight:400; color:#526070; margin:0 0 10px; }
  #hauptinhalt .section-heading p:last-child { margin-bottom:0; }
  #hauptinhalt p { line-height:1.65; }
  #hauptinhalt .divider-header { width:28px; height:2px; margin:0 auto 12px; background:#3647ee; opacity:.7; }
  .intro-summary.py-4 { padding-top:29px!important; padding-bottom:28px!important; }
  .intro-summary > p { max-width:35em; margin:0 auto 18px; }
  .intro-summary > p:last-child { font-size:14px; color:#536273; }
  .hero-call { width:auto; max-width:100%; gap:10px; min-height:62px; padding:10px 14px; border-radius:11px; box-shadow:0 3px 10px #3647ee24; }
  .hero-call .hero-call-icon { width:38px; height:38px; flex-basis:38px; font-size:18px; }
  .hero-call .hero-call-number { font-size:23px; }
  .hero-call .hero-call-arrow { display:none; }
  .home-section { padding:34px 0 32px; }
  .home-section > .container.marginbot-50 { margin-bottom:20px!important; }
  #about,#works,#bewertungen { background:#f7f9fc; }
  #service,#contact,#faq,#impressum { background:#fff; }
  #datenschutz { background:#f7f9fc; }
  #about img { border-radius:11px; margin-bottom:19px; }
  #about .col-md-6 p { margin-bottom:15px; }
  #about p strong { font-weight:600; color:#28394d; }
  /* Die alten, nicht erklärten Prozentbalken werden mobil als Leistungsübersicht dargestellt. */
  .service-overview { display:flex; flex-wrap:wrap; gap:7px; margin-top:20px; }
  .service-overview .service-meter { margin:0; min-width:0; }
  .service-overview .meter-label { display:block; margin:0; padding:6px 10px; background:#fff; color:#43536a; border:1px solid #dce4ee; border-radius:7px; font-size:13px; font-weight:500; line-height:1.4; }
  .service-overview .progress { display:none; }
  #service .row.g-4 { --bs-gutter-y:12px; }
  #service .service-box { display:grid; grid-template-columns:42px minmax(0,1fr); gap:12px; padding:16px 14px; text-align:left; border:1px solid #e1e7ef; border-radius:12px; box-shadow:none; }
  #service .service-icon { width:42px;height:42px;display:grid;place-items:center;margin:0;background:#eef1ff;border-radius:10px;color:#3647b7; }
  #service .service-icon .fa { font-size:21px; }
  #service .service-desc h3 { font-size:17px; font-weight:600; line-height:1.35; margin:0 0 6px; overflow-wrap:normal; }
  #service .service-desc p { font-size:15px; line-height:1.55; }
  .area-section { padding-top:34px; padding-bottom:32px; }
  .area-section h3 { font-size:18px; font-weight:600; line-height:1.45; margin:20px 0 8px; }
  .area-section .service-actions { gap:8px; margin-top:20px; }
  .service-actions .service-action { min-height:48px; font-size:15px; padding:10px 13px; gap:10px; border-radius:9px; }
  .service-actions .service-action .fa { font-size:17px; }
  .service-actions .service-action-primary { box-shadow:none; }
  .service-actions .service-action-secondary { border-color:#dce3f0; color:#354e87; background:#f8faff; }
  .product-gallery { gap:10px; }
  .product-gallery a { border-color:#e0e6ee; border-radius:10px; }
  .product-gallery img { padding:10px; }
  #faq .accordion-item { border-color:#e0e6ee; }
  #faq .accordion-button { font-size:15px; line-height:1.45; color:#28394d; padding:14px; min-height:48px; }
  #faq .accordion-button:not(.collapsed) { background:#f2f5ff; color:#2938a5; box-shadow:none; }
  #faq .accordion-body { font-size:15px; line-height:1.65; padding:14px; }
  #bewertungen .google-badge { font-size:12px; padding:5px 10px; background:#fff; }
  #bewertungen #googleReviewCarousel .review-slide { padding:0; }
  #bewertungen .review-card { border-color:#e0e6ee; padding:16px; border-radius:12px; box-shadow:none; }
  #bewertungen .review-head { gap:8px; margin-bottom:10px; }
  #bewertungen .review-person { gap:9px; }
  #bewertungen .review-author { font-size:15px; line-height:1.3; }
  #bewertungen .review-meta,#bewertungen .review-age { font-size:12px; line-height:1.4; }
  #bewertungen .review-body p { font-size:15px; line-height:1.55; }
  #bewertungen .review-actions { margin-top:12px; }
  #bewertungen .review-link-btn { font-size:14px; min-height:46px; padding:10px 12px; border-radius:9px; background:#fff; color:#24528f; border:1px solid #d4deec; }
  #bewertungen .review-link-btn:hover { background:#edf3fc; }
  #contact-form .row.marginbot-20 { margin-bottom:12px!important; }
  #contact-form .row.mt-3 { margin-top:0!important; }
  #contact-form .form-control { font-size:16px; border:1px solid #d8e0e9; border-radius:9px; padding:12px 13px; background:#fbfcfe; }
  #contact-form .form-control:focus { border-color:#3647ee; background:#fff; }
  #contact .privacy-check { font-size:14px; line-height:1.55; color:#566477; }
  #btnContactUs { font-size:16px; min-height:48px; border-radius:9px; letter-spacing:normal; text-transform:none; }
  #impressum address { text-align:left; font-size:15px; line-height:1.7; background:#f7f9fc; padding:16px; border-radius:11px; margin-bottom:0; }
  #datenschutz .privacy-content h3 { font-size:17px; margin:20px 0 8px; font-weight:600; }
  #datenschutz .privacy-content p { font-size:15px; line-height:1.7; }
  footer { padding:24px 0; font-size:14px; }
}
/* Die Langfassung bleibt vorhanden; mobil spart eine Vorschau Platz, ohne Pfeilsprünge. */
.review-read-more { display:none; }
#review-dialog { width:min(92vw,600px); max-height:85vh; max-height:85dvh; overflow:auto; border:1px solid #dce3ec; border-radius:14px; padding:22px; color:#344054; background:#fff; }
#review-dialog::backdrop { background:rgba(16,24,40,.58); }
#review-dialog h2 { font-size:22px; font-weight:600; margin:0 0 8px; }
#review-dialog .review-dialog-stars { color:#a76c00; margin:0 0 12px; }
#review-dialog .review-dialog-text { font-size:16px; line-height:1.65; }
#review-dialog button { min-height:44px; border-radius:8px; }
@media (max-width:767.98px) {
  #googleReviewCarousel.review-preview-ready .review-long p { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
  #googleReviewCarousel.review-preview-ready .review-read-more:not([hidden]) { display:inline-flex; align-items:center; min-height:44px; border:0; background:none; color:#24528f; text-decoration:underline; padding:0; font-size:14px; font-weight:600; text-align:left; }
  #service .row.g-4 > div:nth-child(1) .service-icon .fa:before { content:"\f0f3"; }
  #service .row.g-4 > div:nth-child(2) .service-icon .fa:before { content:"\f084"; }
  #service .row.g-4 > div:nth-child(3) .service-icon .fa:before { content:"\f03d"; }
  #service .row.g-4 > div:nth-child(4) .service-icon .fa:before { content:"\f09c"; }
}

/* Startslider: kontrastreiche Navigation und sichtbare Bildtexte auf allen Displays. */
#intro .carousel-control-prev, #intro .carousel-control-next {
  top:50%; bottom:auto; transform:translateY(-50%); width:48px; height:48px;
  background:#15263d; color:#fff; border:1px solid #ffffffb0; border-radius:50%;
  opacity:.95; z-index:3; box-shadow:0 2px 10px #0004;
}
#intro .carousel-control-prev { left:16px; }
#intro .carousel-control-next { right:16px; }
#intro .carousel-control-prev-icon, #intro .carousel-control-next-icon { width:22px;height:22px; }
#intro .carousel-control-prev:hover,#intro .carousel-control-next:hover { opacity:1; background:#3647b7; }
#intro .carousel-control-prev:focus-visible,#intro .carousel-control-next:focus-visible,#intro .hero-carousel-pause:focus-visible { outline:3px solid #fff;outline-offset:3px; }
#intro .hero-carousel-pause:not([hidden]) { position:absolute; top:10px; right:12px; z-index:4; display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffffb0; border-radius:50%; background:#15263de8; color:#fff; font-size:15px; }
#intro .carousel-indicators { z-index:4; }
#intro .carousel-indicators [data-bs-target] { background-color:#fff; opacity:.55; }
#intro .carousel-indicators .active { opacity:1; background-color:#fff; }
@media (max-width: 991.98px) {
  #intro .header-text { inset:clamp(54px,13vw,92px) 0 auto; width:100%; padding:0 16px; background:none; color:#fff; align-items:flex-start; }
  #intro .header-text .col-md-12 { width:100%; max-width:540px; margin:0 auto; padding:12px 14px 14px; border-radius:16px; background:linear-gradient(180deg,rgba(15,26,44,.76),rgba(15,26,44,.88)); box-shadow:0 8px 24px rgba(0,0,0,.18); }
  #intro .header-text br { display:none; }
  #intro .header-text .hero-caption-2, #intro .header-text .hero-caption-3 { font-size:clamp(16px,3vw,24px); font-weight:600; line-height:1.28; letter-spacing:normal; text-transform:none; margin:0; color:#fff; text-shadow:none; }
  #intro .header-text .hero-caption-2 + .hero-caption-2,
  #intro .header-text .hero-caption-2 + .hero-caption-3 { margin-top:8px; }
  #intro .header-text .hero-caption-2:first-child { font-size:clamp(19px,4vw,30px); font-weight:700; margin-bottom:0; }
  #intro .header-text .hero-caption-2 span { padding:0; text-transform:none; background:none; }
  #intro .header-text .col-md-12 > div { display:none; } /* Die gleichen Links befinden sich in der Navigation direkt unter dem Slider. */
  #intro .carousel-control-prev, #intro .carousel-control-next { top:30%; width:44px; height:44px; }
  #intro .carousel-control-prev { left:8px; }
  #intro .carousel-control-next { right:8px; }
  #intro .carousel-indicators { margin-bottom:2px; }
  #intro .hero-carousel-pause:not([hidden]) { right:auto; left:50%; top:6px; transform:translateX(-50%); }
}
@media(max-width: 767.98px) {
  #intro .header-text { inset:58px 0 auto; padding:0 12px; }
  #intro .header-text .col-md-12 { max-width:92%; padding:10px 12px 12px; border-radius:14px; }
  #intro .header-text .hero-caption-2, #intro .header-text .hero-caption-3 { font-size:clamp(13px,3.5vw,16px); }
  #intro .header-text .hero-caption-2:first-child { font-size:clamp(17px,4.5vw,23px); }
}
@media(max-width: 420px) {
  #intro .header-text { inset:54px 0 auto; }
  #intro .header-text .col-md-12 { max-width:94%; padding:9px 10px 11px; }
}

/* Lokal erzeugtes Sicherheitsbild */
.contact-captcha .captcha-row{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.contact-captcha #contact-captcha-image{display:block;width:250px;max-width:100%;min-width:0;flex:0 1 250px;height:auto;border:1px solid #ccd6e0;border-radius:8px}
.contact-captcha .captcha-refresh:not([hidden]){min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;padding:0;color:#24528f;border-color:#9aacc0}
.contact-captcha #contact-answer{max-width:310px}

.contact-captcha .captcha-refresh svg{display:block;flex:none}
.contact-captcha .captcha-refresh:hover,.contact-captcha .captcha-refresh:focus-visible{color:#fff;background:#24528f;border-color:#24528f}
