/* Claas & Freunde / Startseite: kurze Wege zur Anfrage, vor allem auf dem Smartphone. */

/* Hero: Anfrage als Hauptaktion, direkter Kontakt darunter. */
.hero.hero-domain-first .hero-actions{flex-wrap:wrap}
.hero-bottom .hero-direct{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin:22px 0 0;color:#aebcc4;font-size:12px;line-height:1.5;letter-spacing:.01em}
.hero-direct>span{color:#8fa2ad}
.hero-direct a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#e9f2f7;border-bottom:1px solid transparent;transition:border-color .2s,color .2s}
.hero-direct a:hover{color:#fff;border-bottom-color:#b8d4e7}
.hero-direct svg,.mobile-action svg{flex:0 0 auto;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* Feste Kontaktleiste: nur auf kleinen Bildschirmen. */
.mobile-actions{display:none}
@media(max-width:767px){
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .mobile-whatsapp,.floating-contact{display:none!important}
  .mobile-actions{position:fixed;z-index:103;left:0;right:0;bottom:0;display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(9,12,16,.94);border-top:1px solid #a3bfcc33;box-shadow:0 -14px 40px #0006;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s ease}
  .mobile-actions.is-hidden{transform:translateY(110%);opacity:0;pointer-events:none}
  .mobile-action{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:50px;padding:0 10px;border:1px solid #c5d8e166;border-radius:2px;background:transparent;color:#eef4f6;font:700 13px/1 "DM Sans",Arial,sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap}
  .mobile-action:active{background:#ffffff14}
  .mobile-action-primary{border-color:#e6ecee;background:#e6ecee;color:#0f1419}
  .mobile-action-primary:active{background:#b8d4e7;border-color:#b8d4e7}
  .mobile-action:focus-visible{outline:2px solid #b9e7ff;outline-offset:2px}
  @media(max-width:360px){.mobile-actions{gap:6px;padding-inline:8px}.mobile-action{gap:6px;padding:0 6px;font-size:12px}}
  .cf-privacy-banner{bottom:calc(84px + env(safe-area-inset-bottom))!important}
  #mobile-nav:not([hidden]){padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}

  /* Kein Intro-Vorhang auf dem Handy: die Seite ist sofort bedienbar. */
  .brand-intro{display:none!important}
}

/* Mobile Hero: Botschaft, Anfrage und Direktkontakt im ersten Bildschirm. */
@media(max-width:700px){
  .hero.hero-domain-first{padding:104px 20px 44px!important}
  .hero.hero-domain-first h1{font-size:clamp(46px,13.4vw,72px)!important;line-height:.96!important}
  .hero.hero-domain-first .hero-lead{margin-top:18px!important;font-size:17px!important;line-height:1.45!important}
  .hero.hero-domain-first .hero-actions{flex-direction:column!important;align-items:stretch!important;gap:6px!important;margin-top:24px!important}
  .hero.hero-domain-first .hero-link{justify-content:space-between!important;min-height:56px!important;padding:0 20px!important;font-size:14px!important}
  .hero.hero-domain-first .hero-audit{align-self:flex-start!important;display:inline-flex;align-items:center;gap:10px;min-height:44px;border-bottom:0!important;font-size:13px!important;text-decoration:underline;text-decoration-color:#b8d4e7;text-underline-offset:6px}
  .hero-bottom .hero-direct{margin-top:6px;font-size:13px;gap:0 20px}
  .hero-direct>span{flex-basis:100%}
  .hero.hero-domain-first .hero-domain-card{margin-top:40px!important}
}
@media(max-width:700px) and (max-height:700px){
  .hero.hero-domain-first{padding-top:92px!important}
  .hero.hero-domain-first h1{font-size:clamp(42px,12vw,60px)!important}
  .hero.hero-domain-first .hero-lead{margin-top:14px!important;font-size:16px!important}
}

/* Kontakt: auf dem Handy kommt das Formular zuerst. */
.contact-copy .whatsapp-contact,.contact-copy .email-contact{gap:12px}
@media(max-width:767px){
  .contact.section{padding-top:72px;scroll-margin-top:0}
  .contact h2{font-size:clamp(36px,10vw,52px)!important;line-height:1.02}
  .contact .contact-grid{display:flex;flex-direction:column;gap:44px;margin-top:28px}
  .contact #briefing{order:-1}
  .contact #briefing label{margin:20px 0 8px;font-size:13px}
  .contact #briefing label:first-child{margin-top:0}
  .contact #briefing input:not([type=checkbox]),.contact #briefing select,.contact #briefing textarea{min-height:52px;font-size:16px}
  .contact #briefing .privacy-check{margin-top:24px;font-size:12px}
  .contact .privacy-check input{width:22px;height:22px;min-height:22px;flex-basis:22px;margin-top:1px}
  .contact .submit{min-height:58px;font-size:15px;justify-content:center}
  .contact-copy{display:grid;gap:8px;padding-top:28px;border-top:1px solid #ffffff24}
  .contact-copy .email-contact,.contact-copy .whatsapp-contact{display:flex;align-items:center;justify-content:flex-start;min-height:52px;margin:0;padding:0 16px;border:1px solid #ffffff38;border-radius:2px;font-size:14px;overflow-wrap:anywhere}
  .contact-copy address{margin-top:16px}
}
