/* Carrosserie & Unfallschaden – Landingpage (Autorea) */
.cr-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 70px 0 60px;
  color: #fff;
}
.cr-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,38,54,.92) 0%, rgba(66,119,157,.82) 60%, rgba(66,119,157,.55) 100%);
}
.cr-hero .container { position: relative; }
.cr-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 50px;
  align-items: center;
}
.cr-badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  margin-bottom: 20px;
}
.cr-hero h1 {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.cr-hero-sub { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.9); margin-bottom: 30px; }
.cr-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.cr-hero .whiteButton { border-radius: 5px; padding: 14px 24px; font-size: 16px; }
.cr-btn-ghost {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all .3s;
}
.cr-btn-ghost:hover, .cr-btn-ghost:focus { background: #fff; color: #42779d; text-decoration: none; }
.cr-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.cr-trust i { margin-right: 6px; }

/* Form */
.cr-form-card {
  background: #fff;
  color: #333;
  border-radius: 8px;
  border-top: 5px solid #42779d;
  padding: 28px;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
}
.cr-form-card h2 { font-size: 24px; color: #42779d; text-transform: uppercase; margin: 0 0 4px; font-weight: 500; }
.cr-form-intro { font-size: 14px; color: #666; margin-bottom: 18px; }
.cr-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cr-group { margin-bottom: 13px; }
.cr-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; color: #333; }
.cr-group input[type=text], .cr-group input[type=tel], .cr-group select {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  font-size: 15px;
  background: #fff;
  transition: border-color .2s;
}
.cr-group input:focus, .cr-group select:focus { outline: none; border-color: #42779d; box-shadow: 0 0 0 3px rgba(66,119,157,.15); }
.cr-upload {
  display: block !important;
  border: 2px dashed #c7c7c7;
  border-radius: 5px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  color: #42779d !important;
  font-size: 14px !important;
  background: #f2f2f3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cr-upload:hover { border-color: #42779d; }
.cr-file { position: absolute; left: -9999px; }
.cr-hp { position: absolute; left: -9999px; }
.cr-submit { width: 100%; padding: 14px 20px; font-size: 17px; text-transform: uppercase; }
.cr-form-note { font-size: 12px; color: #888; text-align: center; margin: 10px 0 0; }
.cr-alert { padding: 14px 16px; border-radius: 5px; font-size: 15px; margin-bottom: 14px; }
.cr-alert-ok { background: #e3f1e8; color: #1e6b3f; }
.cr-alert-err { background: #fdecea; color: #a12a1f; }

/* USP */
.cr-usp { background: #fff; border-bottom: 1px solid #e2e2e2; }
.cr-usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cr-usp-item { padding: 26px 15px; text-align: center; border-right: 1px solid #e9e9e9; }
.cr-usp-item:last-child { border-right: none; }
.cr-usp-item i { font-size: 26px; color: #42779d; display: block; margin-bottom: 8px; }
.cr-usp-item strong { display: block; font-size: 16px; font-weight: 500; color: #333; }
.cr-usp-item span { font-size: 14px; color: #777; }

/* Sections */
.cr-section { padding: 70px 0; }
.cr-section-white { background: #fff; }
.cr-title {
  font-size: 30px;
  color: #42779d;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
  margin: 0 0 15px;
}
.cr-lead { font-size: 18px; color: #333; text-align: center; max-width: 760px; margin: 0 auto 40px; }

/* Services – same look as .service on Fahrzeugreparatur */
.cr-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.cr-service {
  background: #e9ecef;
  border-left: 5px solid #42779d;
  border-radius: 8px;
  padding: 24px 22px;
  transition: transform .2s, box-shadow .2s;
}
.cr-service:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.cr-service > i { font-size: 28px; color: #42779d; margin-bottom: 12px; display: block; }
.cr-service h3 { font-size: 20px; color: #42779d; margin: 0 0 10px; font-weight: 500; }
.cr-service p { font-size: 16px; color: #333; margin-bottom: 14px; }
.cr-tag { display: inline-block; background: #fff; color: #42779d; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 20px; }

/* Steps */
.cr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.cr-step { text-align: center; padding: 0 10px; position: relative; }
.cr-step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: calc(50% + 38px); right: calc(-50% + 26px);
  border-top: 2px dashed #c7c7c7;
}
.cr-step-num {
  width: 56px; height: 56px; line-height: 56px; border-radius: 50%;
  background: #42779d; color: #fff; font-size: 22px; font-weight: 500;
  margin: 0 auto 16px;
}
.cr-step h4 { font-size: 18px; color: #333; font-weight: 500; margin: 0 0 8px; }
.cr-step p { font-size: 15px; color: #555; }

/* Insurance */
.cr-insurance { background: #42779d; color: #fff; padding: 70px 0; }
.cr-insurance-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.cr-insurance h2 { color: #fff !important; font-size: 30px; text-transform: uppercase; font-weight: 400; margin: 0 0 18px; padding: 0; }
.cr-insurance p { font-size: 18px; color: rgba(255,255,255,.9); }
.cr-checks { list-style: none; padding: 0; margin: 20px 0 28px; }
.cr-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 16px; }
.cr-checks li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px; color: #fff; }
.cr-insurance .whiteButton { border-radius: 5px; padding: 14px 24px; font-size: 16px; }
.cr-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.cr-stat {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px; padding: 24px 18px; text-align: center; font-size: 14px; color: rgba(255,255,255,.85);
}
.cr-num { font-size: 34px; font-weight: 500; color: #fff; margin-bottom: 4px; }

/* FAQ */
.cr-faq { max-width: 820px; margin: 30px auto 0; }
.cr-faq-item { background: #fff; border-radius: 8px; margin-bottom: 10px; border-left: 5px solid #42779d; overflow: hidden; }
.cr-faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 50px 18px 20px; font-size: 17px; font-weight: 500; color: #333;
  position: relative; cursor: pointer;
}
.cr-faq-q i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #42779d; transition: transform .2s; }
.cr-faq-item.open .cr-faq-q i { transform: translateY(-50%) rotate(45deg); }
.cr-faq-a { display: none; padding: 0 20px 20px; font-size: 16px; color: #555; line-height: 1.6; }
.cr-faq-a a { color: #42779d; text-decoration: underline; }
.cr-faq-item.open .cr-faq-a { display: block; }

/* Sticky mobile CTA */
.cr-sticky { display: none; }

/* ── Header fix: style.css forces .navigation .container to 1400px,
      which pushes the burger menu off-screen on smaller devices ── */
@media (max-width: 1439px) {
  .navigation .container { width: 100% !important; max-width: 1400px; }
}
body { overflow-x: hidden; overflow-x: clip; }

/* Safari: Grid-/Formular-Elemente dürfen schrumpfen (sonst wird die Seite breiter als das Display) */
.cr-hero-inner > *, .cr-row > *, .cr-usp-grid > *, .cr-services > *, .cr-steps > *,
.cr-insurance-inner > *, .cr-stats > *, .cr-service > *, .cr-step > *, .cr-usp-item > * { min-width: 0; }
.cr-group input, .cr-group select, .cr-upload { min-width: 0; max-width: 100%; }
.cr-hero-text, .cr-form-card { max-width: 100%; }
.cr-hero h1, .cr-hero-sub, .cr-faq-q, .cr-service p { overflow-wrap: break-word; }

/* ── Tablet: Hauptmenü passt auf eine Zeile ── */
@media (min-width: 768px) and (max-width: 1199px) {
  .navigacija .navbar-default li a,
  .navigacija .navbar-default li a:focus,
  .navigacija .navbar-default li a:visited { font-size: 15px !important; padding: 0 8px !important; }
  .navbar-nav { white-space: nowrap; }
  .navigacija .menu-item-has-children { width: auto; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .navigacija .navbar-default li a,
  .navigacija .navbar-default li a:focus,
  .navigacija .navbar-default li a:visited { font-size: 14px !important; padding: 0 6px !important; }
  .navigacija .navbar-collapse { padding-left: 0; padding-right: 0; }
}

/* ── Tablet ── */
@media (max-width: 991px) {
  .cr-hero-inner, .cr-insurance-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cr-hero h1 { font-size: 36px; }
  .cr-usp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cr-usp-item:nth-child(2) { border-right: none; }
  .cr-usp-item:nth-child(-n+2) { border-bottom: 1px solid #e9e9e9; }
  .cr-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 36px; }
  .cr-step::after { display: none; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  #firstline { margin-bottom: 0; }

  /* Mobile-Menü sauber untereinander */
  .navigacija #meni { padding: 0; border: none; box-shadow: none; }
  .navigacija #meni .navbar-nav { margin: 0; padding: 6px 0 12px; float: none; }
  .navigacija #meni .navbar-nav > li { float: none; display: block; border-top: 1px solid #eee; }
  .navigacija .navbar-default #meni li a {
    display: block; padding: 13px 4px !important; border-right: none !important;
    font-size: 18px; text-align: left;
  }
  .navigacija #meni .sub-menu { list-style: none; padding: 0 0 6px 16px; margin: 0; position: static; display: block; box-shadow: none; background: none; }
  .navigacija #meni .sub-menu li { border: none; }
  .navigacija .navbar-default #meni .sub-menu li a { font-size: 16px; padding: 8px 4px !important; color: #42779d; }
  .navigation header .logo img { max-width: 120px; height: auto; }

  /* Hero: short, form reachable quickly */
  .cr-hero { padding: 28px 0 24px; background-position: 30% center; }
  .cr-hero .container { padding: 0 16px; }
  .cr-badge { font-size: 12px; padding: 4px 12px; margin-bottom: 14px; }
  .cr-hero h1 { font-size: 28px; margin-bottom: 12px; }
  .cr-hero-sub { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
  .cr-hero-ctas { flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .cr-hero-ctas a { width: 100%; text-align: center; padding: 14px 16px; }
  .cr-trust { flex-direction: column; gap: 6px; font-size: 14px; }
  .cr-hero-inner { gap: 24px; }

  /* Form */
  .cr-form-card { padding: 20px 16px; border-radius: 8px; }
  .cr-form-card h2 { font-size: 22px; }
  .cr-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .cr-group input[type=text], .cr-group input[type=tel], .cr-group select {
    height: 48px; font-size: 16px; /* 16px verhindert Auto-Zoom auf iOS */
  }
  .cr-upload { padding: 14px; }
  .cr-submit { padding: 16px; font-size: 16px; }

  /* USP: compact list */
  .cr-usp-grid { grid-template-columns: minmax(0, 1fr); padding: 6px 0; }
  .cr-usp-item {
    display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px;
    text-align: left; padding: 12px 4px; border-right: none !important; border-bottom: 1px solid #eee;
  }
  .cr-usp-item:last-child { border-bottom: none; }
  .cr-usp-item i { grid-row: span 2; font-size: 22px; margin: 2px 0 0; text-align: center; }
  .cr-usp-item strong { font-size: 15px; }
  .cr-usp-item span { font-size: 13px; }

  /* Sections */
  .cr-section, .cr-insurance { padding: 42px 0; }
  .cr-section .container, .cr-insurance .container { padding: 0 16px; }
  .cr-title, .cr-insurance h2 { font-size: 23px; line-height: 1.25; }
  .cr-lead { font-size: 16px; margin-bottom: 24px; }

  /* Services: compact cards, icon beside title */
  .cr-services { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cr-service {
    display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px;
    padding: 16px 16px 16px 14px;
  }
  .cr-service:hover { transform: none; box-shadow: none; }
  .cr-service > i { font-size: 22px; margin: 0; grid-row: span 3; }
  .cr-service h3 { font-size: 18px; margin: 0 0 6px; }
  .cr-service p { font-size: 15px; margin-bottom: 10px; }
  .cr-service .cr-tag { justify-self: start; font-size: 12px; }

  /* Steps: vertical timeline */
  .cr-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .cr-step {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px;
    text-align: left; padding: 0 0 22px; position: relative;
  }
  .cr-step:not(:last-child)::after {
    display: block; content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; right: auto;
    border-top: none; border-left: 2px dashed #c7c7c7;
  }
  .cr-step-num { width: 44px; height: 44px; line-height: 44px; font-size: 18px; margin: 0; grid-row: span 2; text-align: center; }
  .cr-step h4 { font-size: 17px; margin: 10px 0 4px; }
  .cr-step p { font-size: 15px; margin: 0; }

  /* Insurance */
  .cr-insurance p { font-size: 16px; }
  .cr-checks li { font-size: 15px; }
  .cr-insurance .whiteButton { display: block; text-align: center; }
  .cr-stats { gap: 10px; }
  .cr-stat { padding: 16px 10px; font-size: 13px; }
  .cr-num { font-size: 26px; }

  /* FAQ */
  .cr-faq { margin-top: 18px; }
  .cr-faq-q { font-size: 16px; padding: 16px 44px 16px 16px; }
  .cr-faq-q i { right: 16px; }
  .cr-faq-a { padding: 0 16px 16px; font-size: 15px; }

  /* Site CTA block */
  .termin { padding: 40px 0; }
  .termin h3 { font-size: 26px; }
  .termin p { font-size: 16px; }

  /* Sticky call/form bar */
  .cr-sticky {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(0,0,0,.12);
    transition: transform .25s;
  }
  .cr-sticky.cr-hide { transform: translateY(110%); }
  .cr-sticky a { flex: 1; text-align: center; padding: 13px 8px; border-radius: 5px; font-weight: 500; font-size: 15px; }
  .cr-sticky-call { border: 2px solid #42779d; color: #42779d; }
  .cr-sticky-form { background: #42779d; color: #fff; }
  .cr-sticky a:hover, .cr-sticky a:focus { text-decoration: none; }
  .cr-sticky-call:hover, .cr-sticky-call:focus { color: #42779d; }
  .cr-sticky-form:hover, .cr-sticky-form:focus { color: #fff; }
  body { padding-bottom: 76px; }
  body .cookies-message { bottom: 70px; }
}

@media (max-width: 374px) {
  .cr-hero h1 { font-size: 25px; }
  .cr-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cr-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cr-num { font-size: 22px; }
}

/* ── WhatsApp / Bewertungen / Header-Call (v1.4) ── */
.cr-btn-wa {
  display: inline-block; padding: 14px 22px; border-radius: 5px;
  background: #25D366; color: #fff; font-size: 16px; font-weight: 500; transition: background .2s;
}
.cr-btn-wa:hover, .cr-btn-wa:focus { background: #1ebe58; color: #fff; text-decoration: none; }
.cr-btn-wa i, .cr-wa-btn i, .cr-sticky-wa i { font-size: 1.15em; }
.cr-rating {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px; color: #fff; font-size: 15px;
  background: rgba(255,255,255,.12); border-radius: 20px; padding: 5px 14px;
}
.cr-rating:hover, .cr-rating:focus { color: #fff; text-decoration: none; background: rgba(255,255,255,.2); }
.cr-stars { color: #FBBC04; letter-spacing: 1px; }
.cr-weekend { font-size: 13px; color: #42779d; background: #eef3f7; border-radius: 5px; padding: 9px 12px; margin: 12px 0 0; }
.cr-weekend i { margin-right: 4px; }

.cr-rating-big { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 32px; color: #333; }
.cr-rating-big:hover, .cr-rating-big:focus { color: #333; text-decoration: none; }
.cr-rating-num { font-size: 46px; font-weight: 500; color: #42779d; line-height: 1; }
.cr-rating-big .cr-stars { font-size: 20px; display: block; }
.cr-rating-sub { font-size: 15px; color: #666; }
.cr-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; }
.cr-review {
  margin: 0; background: #f2f2f3; border-left: 5px solid #42779d; border-radius: 8px;
  padding: 22px 20px; font-size: 16px; display: flex; flex-direction: column;
}
.cr-review p { color: #333; line-height: 1.55; margin: 10px 0 14px; flex: 1; font-size: 16px; }
.cr-review footer { font-size: 14px; color: #777; }
.cr-review footer { background: none; border: none; padding: 0; margin: 0; }
.cr-review footer::before { content: none; }
.cr-center { text-align: center; }
.cr-center .redButton { padding: 12px 22px; }

.termin .cr-cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.termin .cr-wa-btn { background: #25D366; }
.termin .cr-wa-btn:hover, .termin .cr-wa-btn:focus { background: #1ebe58; color: #fff; }

.cr-head-call { display: none; }

@media (max-width: 991px) {
  .cr-reviews { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 767px) {
  .navigation header .container { position: relative; }
  .navigation header .logo { position: static; }
  .cr-head-call {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    position: absolute; right: 78px; top: 50%; transform: translateY(-50%);
    background: #42779d; color: #fff !important; border-radius: 5px;
    padding: 9px 12px; font-size: 14px; font-weight: 500; white-space: nowrap; z-index: 5;
  }
  .cr-head-call:hover, .cr-head-call:focus { text-decoration: none; }
  .cr-btn-wa { width: 100%; text-align: center; padding: 14px 16px; }
  .cr-rating { font-size: 14px; }
  .cr-rating-num { font-size: 38px; }
  .cr-review { padding: 16px; }
  .cr-review p { font-size: 15px; }
  .cr-center .redButton { display: block; }
  .termin .cr-cta-row a { flex: 1 1 100%; }
  .cr-sticky-wa { background: #25D366; color: #fff; }
  .cr-sticky-wa:hover, .cr-sticky-wa:focus { color: #fff; text-decoration: none; }
}
@media (max-width: 374px) {
  .cr-head-call span { display: none; }
  .cr-head-call { padding: 10px 13px; font-size: 16px; }
}