/* ==========================================================================
   Tims-Bau Main Stylesheet — Authentic Style + Neue Blöcke (Bulma 1.0.2)
   Basis: Original main.css (tims-bau)
   ========================================================================== */

:root {
  --primary: #043464;
  --secondary: #043464;
  --accent: #2E8CBE;
  --third: #0f172a;
  --link-color: #2E8CBE;
  --bg-offwhite: #FAF9F6;
}

/* --------------------------------------------------------------------------
   Base (Original)
   -------------------------------------------------------------------------- */
html {
  margin: 0;
  scroll-behavior: smooth;
}

@font-face {
  font-family: "OpenSans";
  src: url('../fonts/OpenSans.ttf');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: var(--bg-offwhite);
  font-family: "OpenSans", sans-serif;
  color: #1E293B;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
.page-fullwidth-content,
.page-contact,
.page-content,
body>.section,
body>main {
  flex: 1 0 auto;
}

/* --------------------------------------------------------------------------
   Typography (Original)
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}

h1.wp-block-heading::after,
h2.wp-block-heading::after,
h3.wp-block-heading::after,
h4.wp-block-heading::after {
  content: '';
  background-color: var(--accent);
  height: 3px;
  width: 20rem;
  max-width: 100%;
  display: block;
  margin-top: .7rem;
  border-radius: 2px;
}

hr {
  background: var(--accent);
  border: none;
  height: 2px;
}

.block-divider {
  border: none;
  height: 3px;
  background: var(--accent);
  width: 6rem;
  margin: 1rem 0;
  display: block;
  border-radius: 2px;
}

.block-divider.is-centered {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Section (Original)
   -------------------------------------------------------------------------- */
.section {
  display: block;
}

.section-heading {
  margin-bottom: 2.5rem;
  width: 100%;
}

.section-heading.has-text-centered .block-divider {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Navbar (Original)
   -------------------------------------------------------------------------- */
.navbar-item {
  background: none;
}

body>nav>div>div.navbar-brand>a.navbar-item>img {
  min-height: 4rem;
}

.navbar-link.is-active,
.navbar-link:hover,
a.navbar-item.is-active,
a.navbar-item:hover {
  background-color: #fafafa ;
  color: var(--secondary) ;
}

.navbar-start {
  justify-content: flex-start;
  margin-inline-start: auto;
  margin-right: 2rem;
}

.placeholder.hidden {
  z-index: -1;
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Buttons — Colors & Text are enforced in the "Button White Text Enforcer"
   section further down. These are base shape/transition rules only.
   -------------------------------------------------------------------------- */

.tag {
  border-radius: 6px;
  font-weight: 600;
}

.tag.is-primary.is-light {
  background-color: #ededed;
  color: var(--secondary);
  border-left: 3px solid var(--secondary);
}

.box,
.card {
  border-radius: 16px;
}

/* --------------------------------------------------------------------------
   Footer (Original style + Text color)
   -------------------------------------------------------------------------- */
.footer p,
.footer strong,
.footer a {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Hero & Titlebar (Original)
   -------------------------------------------------------------------------- */
.hero {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

body section.start-element.frontpage {
  min-height: calc(100vh - 5rem);
}

body section.start-element>.hero {
  margin: auto 0;
}

section.start-element .hero p,
section.start-element .hero h1 span {
  text-align: center;
}

.text-hero {
  
}

.hero-body.no-padding {
  padding-left: 0 ;
  padding-right: 0 ;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.no-padding>* {
  max-width: 100%;
}

.hero-body {
  max-height: 100vh;
}

.hero-body.no-padding h1 {
  text-shadow: 0 0 2rem rgba(255, 255, 255, .2);
  color: var(--secondary);
  text-align: center;
}

.hero .contact {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-flow: wrap;
  justify-content: center;
}

.hero .center {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.center p {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Count Boxes
   -------------------------------------------------------------------------- */
.count-boxes {
  margin-top: 1rem;
}

.count-boxes .stat-card {
  background-color: var(--primary, #043464) ;
  color: #ffffff;
  border-radius: 16px ;
  border: 1px solid rgba(46, 140, 190, 0.3);
  box-shadow: 0 8px 24px rgba(4, 52, 100, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.count-boxes .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(4, 52, 100, 0.2);
  border-color: var(--accent, #2E8CBE);
}

.count-boxes .number-animated {
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff ;
}

/* --------------------------------------------------------------------------
   Video Hero (Original)
   -------------------------------------------------------------------------- */
.video-hero,
.hero.start-element {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary, #043464);
}

.video-hero::before,
.hero.start-element::before {
  content: '';
  position: absolute;
  inset: 0;
  background:  rgba(15, 23, 42, 0.5) ;
  z-index: 1;
}

.hero-fallback,
.hero-video-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-fallback {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-content-wrapper,
.hero.start-element .hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.video-hero .title,
.hero.start-element .title {
  color: rgba(255, 255, 255, 0.92) ;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
}

.video-hero .subtitle,
.hero.start-element .subtitle {
  color: rgba(255, 255, 255, 0.92) ;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Rating Badge & Trust Bar */
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-rating-badge .stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0.875rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.trust-pill i {
  color: var(--accent, #2E8CBE);
}

.hero-cta-btn {
  background-color: var(--accent, #2E8CBE) ;
  border-color: var(--accent, #2E8CBE) ;
  color: #ffffff ;
  box-shadow: 0 8px 25px rgba(46, 140, 190, 0.4);
  font-weight: 700 ;
}

.hero-cta-btn:hover {
  background-color: #043464 ;
  border-color: #043464 ;
  transform: translateY(-2px);
}

.hero-video-mobile {
  display: none;
}

/* --------------------------------------------------------------------------
   Services / Grid (Original)
   -------------------------------------------------------------------------- */
#about,
#services {
  flex-direction: column;
  gap: 1rem;
}

#services .container,
#services .section-heading {
  width: 100%;
}

#about .section-heading,
#services .section-heading {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.grid .column {
  width: 100%;
}

.image-preview {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.image-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   Post & Article Cards (Off-White Elevation)
   -------------------------------------------------------------------------- */
.post {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(4, 52, 100, 0.06);
  border: 1px solid rgba(4, 52, 100, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post:hover {
  box-shadow: 0 8px 30px rgba(4, 52, 100, 0.1);
}

.sidebar .widget {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(4, 52, 100, 0.06);
  border: 1px solid rgba(4, 52, 100, 0.08);
  margin-bottom: 1.5rem;
}

.post .entry h1,
.post .entry h2,
.post .entry h3,
.post .entry h4 {
  margin-bottom: 1.2rem;
}

.post .entry p {
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

/* ==========================================================================
   NEUE BLÖCKE — Im Stil des Originals
   ========================================================================== */

/* --------------------------------------------------------------------------
   Block: Text & Bild
   -------------------------------------------------------------------------- */
.block-text-image {
  flex-direction: column;
}

.block-text-image .block-image-wrapper {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(4, 52, 100, 0.1);
  background-color: #ffffff;
  box-shadow: 0 6px 24px rgba(4, 52, 100, 0.08);
}

.block-text-image .block-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
  border-radius: 16px;
}

.block-text-image .block-image-placeholder {
  background-color: #f1f5f9;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--accent, #2E8CBE);
}

.block-text-image .block-feature-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.block-text-image .block-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 500;
}

.block-text-image .block-feature-list li:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   Block: FAQ Accordion
   -------------------------------------------------------------------------- */
.block-faq {
  flex-direction: column;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item.box {
  border: 1px solid rgba(4, 52, 100, 0.08);
  border-radius: 12px ;
  box-shadow: 0 4px 16px rgba(4, 52, 100, 0.04);
  background-color: #ffffff;
  padding: 0;
  margin-bottom: 0 ;
  transition: all 0.25s ease;
}

.faq-item.box:hover {
  border-color: var(--accent, #2E8CBE);
  box-shadow: 0 6px 20px rgba(4, 52, 100, 0.08);
}

.faq-item[open].box {
  border-left: 4px solid var(--accent, #2E8CBE);
  border-color: var(--accent, #2E8CBE);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  text-transform: uppercase;
  padding: 1.1rem 1.25rem;
  gap: 0.75rem;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: #f1f5f9;
  color: var(--accent, #2E8CBE);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.faq-item[open] .faq-number {
  background-color: var(--accent, #2E8CBE);
  color: #fff;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: #f1f5f9;
  color: var(--accent, #2E8CBE);
  border-radius: 8px;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background-color: var(--accent, #2E8CBE);
  color: #fff;
}

.faq-content {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Block: CTA
   -------------------------------------------------------------------------- */
.block-cta {
  flex-direction: column;
}

.block-cta .cta-box {
  background-color: var(--primary, #043464) ;
  color: #fff;
  border-radius: 16px ;
  box-shadow: 0 10px 35px rgba(4, 52, 100, 0.15);
  padding: 3rem 2rem;
  border: 1px solid rgba(46, 140, 190, 0.2);
}

/* --------------------------------------------------------------------------
   Block: Prozess
   -------------------------------------------------------------------------- */
.block-process {
  flex-direction: column;
}

.process-card {
  height: 100%;
  border: 1px solid rgba(4, 52, 100, 0.08);
  background-color: #ffffff;
  border-radius: 16px ;
  box-shadow: 0 4px 20px rgba(4, 52, 100, 0.06);
  transition: all 0.25s ease;
}

.process-card:hover {
  border-color: var(--accent, #2E8CBE);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(4, 52, 100, 0.12);
}

.process-badge {
  background-color: var(--accent, #2E8CBE);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Block: Features / USPs
   -------------------------------------------------------------------------- */
.block-features {
  flex-direction: column;
}

.feature-card {
  height: 100%;
  border: 1px solid rgba(4, 52, 100, 0.08);
  background-color: #ffffff;
  border-radius: 16px ;
  box-shadow: 0 4px 20px rgba(4, 52, 100, 0.06);
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: var(--accent, #2E8CBE);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(4, 52, 100, 0.12);
}

/* --------------------------------------------------------------------------
   Block: Testimonials
   -------------------------------------------------------------------------- */
.block-testimonials {
  flex-direction: column;
}

.testimonial-card {
  height: 100%;
  border: 1px solid rgba(4, 52, 100, 0.08);
  background-color: #ffffff;
  border-radius: 16px ;
  box-shadow: 0 4px 20px rgba(4, 52, 100, 0.06);
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  border-color: var(--accent, #2E8CBE);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(4, 52, 100, 0.12);
}

.author-avatar {
  width: 42px;
  height: 42px;
  background-color: var(--accent, #2E8CBE);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Kontaktseite (page-contact.php)
   -------------------------------------------------------------------------- */
.page-contact {
  flex-direction: column;
}

.contact-card {
  height: 100%;
  border: 1px solid #dbdbdb;
  background-color: #fff;
  border-radius: 0 ;
  transition: border-color 0.2s ease;
}

.contact-card:hover {
  border-color: var(--secondary);
}

.contact-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Contact Form 7
   -------------------------------------------------------------------------- */
.wpcf7 {
  width: 100%;
}

.wpcf7 form {
  width: 100%;
}

.wpcf7 p {
  margin-bottom: 1rem;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-url,
.wpcf7-number,
.wpcf7-select {
  width: 100% ;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 0 ;
  padding: 0.65em 0.85em;
  font-size: 1rem;
  color: #363636;
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.wpcf7-textarea {
  width: 100% ;
  min-height: 130px;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 0 ;
  padding: 0.75em;
  font-size: 1rem;
  color: #363636;
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.05);
  resize: vertical;
  outline: none;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
  border-color: var(--secondary) ;
  box-shadow: 0 0 0 2px rgba(4, 52, 100, 0.15) ;
}

.wpcf7-submit {
  background-color: var(--primary, #043464) ;
  color: #ffffff ;
  border-radius: 8px ;
  border: none;
  padding: 0.875em 2em ;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  transition: all 0.25s ease;
}

.wpcf7-submit:hover {
  background-color: var(--accent, #2E8CBE) ;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(46, 140, 190, 0.3);
}

.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

.wpcf7-response-output {
  border-radius: 8px ;
  margin: 1.5rem 0 0 ;
  padding: 1rem 1.25rem ;
  font-size: 0.95rem;
  font-weight: 600;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid #27ae60 ;
  background-color: #eafaf1;
  color: #27ae60;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border: 2px solid #e74c3c ;
  background-color: #fdedec;
  color: #e74c3c;
}

/* --------------------------------------------------------------------------
   Kontaktbereich / #contact Hero (im Footer)
   -------------------------------------------------------------------------- */
#contact.contact-section {
  background: url(https://www.tims-bau.de/wp-content/uploads/2024/10/WhatsApp-Image-2024-09-14-at-12.52.23-7.jpeg) center/cover no-repeat;
  border-top: 4px solid var(--accent, #2E8CBE);
  position: relative;
  width: 100%;
}

#contact.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 52, 100, 0.94) 0%, rgba(15, 23, 42, 0.92) 100%);
}

#contact .hero-body {
  position: relative;
  z-index: 2;
  max-height: unset;
  padding: 4rem 1.5rem;
}

.contact_form .form-wrapper {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 16px ;
  box-shadow: 0 10px 35px rgba(4, 52, 100, 0.15);
  border: 1px solid rgba(46, 140, 190, 0.15);
}

.contact_form .form-wrapper .content-wrapper {
  margin-bottom: 0;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent, #2E8CBE);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: background 0.25s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Solid Blue Button White Text Enforcer */
.button.is-primary,
a.button.is-primary,
.button.is-primary *,
a.button.is-primary *,
.button.is-accent,
a.button.is-accent,
.button.is-accent *,
a.button.is-accent * {
  color: #ffffff ;
}

.button.is-primary,
a.button.is-primary {
  background-color: #043464 ;
  border-color: #043464 ;
}

.button.is-primary:hover,
a.button.is-primary:hover {
  background-color: #2E8CBE ;
  border-color: #2E8CBE ;
  color: #ffffff ;
}

.button.is-primary.is-outlined,
a.button.is-primary.is-outlined {
  background-color: transparent ;
  border: 2px solid #043464 ;
  color: #043464 ;
}

.button.is-primary.is-outlined *,
a.button.is-primary.is-outlined * {
  color: #043464 ;
}

.button.is-primary.is-outlined:hover,
a.button.is-primary.is-outlined:hover {
  background-color: #043464 ;
  border-color: #043464 ;
  color: #ffffff ;
}

.button.is-primary.is-outlined:hover *,
a.button.is-primary.is-outlined:hover * {
  color: #ffffff ;
}

/* Glassmorphism Breadcrumb Styling */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  padding: 0.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
}

.breadcrumb ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li+li::before {
  content: "›";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.92) ;
  font-weight: 700;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.92) ;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent, #2E8CBE) ;
}

.breadcrumb li.is-active a,
.breadcrumb li.is-active span {
  color: rgba(255, 255, 255, 0.6) ;
  font-weight: 700;
}

/* Service Card Modern Style */
.service-card {
  background-color: #ffffff ;
  border-radius: 16px ;
  border: 1px solid rgba(4, 52, 100, 0.08);
  box-shadow: 0 6px 24px rgba(4, 52, 100, 0.06) ;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(4, 52, 100, 0.12) ;
  border-color: var(--accent, #2E8CBE);
}

.service-title-link {
  color: #043464 ;
  font-weight: 700;
  transition: color 0.2s ease;
}

.service-title-link:hover {
  color: #2E8CBE ;
}

.service-thumb-img {
  transition: transform 0.4s ease;
}

.service-card:hover .service-thumb-img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Moderner Site-Footer & Dynamic Widgets
   -------------------------------------------------------------------------- */
footer.site-footer {
  background-color: var(--primary, #043464) ;
  color: #ffffff;
  padding: 4rem 1.5rem 2rem;
  margin-top: auto;
  border-top: 4px solid var(--accent, #2E8CBE);
}

.site-footer .columns {
  display: grid ;
  grid-template-columns: repeat(12, 1fr) ;
  gap: 1.5rem ;
}

.site-footer .widget {
  background: transparent ;
  box-shadow: none ;
  border: none ;
  padding: 0 ;
  margin-bottom: 1.5rem;
}

.site-footer p,
.site-footer strong,
.site-footer a {
  color: #ffffff ;
}

.site-footer .footer-title,
.site-footer .widget .widgettitle,
.site-footer .widgettitle {
  color: #ffffff ;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  display: block;
}

.site-footer .footer-title::after,
.site-footer .widget .widgettitle::after,
.site-footer .widgettitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background-color: var(--accent, #2E8CBE);
  border-radius: 2px;
}

.site-footer .widget ul,
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .widget ul li,
.footer-menu-list li {
  margin-bottom: 0.5rem;
}

.site-footer .widget ul li a,
.footer-menu-list a {
  color: rgba(255, 255, 255, 0.75) ;
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer .widget ul li a:hover,
.footer-menu-list a:hover {
  color: var(--accent, #2E8CBE) ;
  padding-left: 0.3rem;
}



.footer-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.footer-phone-link {
  color: #ffffff ;
  transition: color 0.2s ease;
}

.footer-phone-link:hover {
  color: var(--accent, #2E8CBE) ;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.back-to-top-btn {
  color: rgba(255, 255, 255, 0.65) ;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.back-to-top-btn:hover {
  color: var(--accent, #2E8CBE) ;
}

/* Stat Card Counters */
.stat-card {
  background-color: var(--primary, #043464) ;
  border-radius: 16px ;
  border: 1px solid rgba(46, 140, 190, 0.25);
  box-shadow: 0 6px 24px rgba(4, 52, 100, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(4, 52, 100, 0.18);
  border-color: var(--accent, #2E8CBE);
}

/* Utility */
.text-accent {
  color: var(--accent, #2E8CBE) ;
}

#sb_instagram {
      max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   Responsive (Original + Erweiterungen)
   ========================================================================== */
@media screen and (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .video-hero::before, .hero.start-element::before{
    background: rgba(15, 23, 42, 0.8);
    z-index: 2;
  }

  .subtitle.is-4 {
    font-size: 1rem!important;
}

  .faq-content,
  .faq-summary{
    padding: 0;
  }
  .faq-number,
  .breadcrumb {
    display: none;
  }

  .hero-rating-badge {
    display: flex;
    flex-direction: column;
  }

  .navbar-start {
    margin-right: 0;
  }

  #contact .hero-body {
    max-height: unset;
    padding: 0;
  }

  #contact .hero-body .contact_form .form-wrapper {
    padding: 2rem;
  }

  .hero-video-mobile {
    display: block;
  }

  .hero-fallback {
    display: none;
  }

  footer.site-footer {
    padding: 3rem 1rem 2rem;
  }

  .is-reversed-on-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}





/* ==================================================
   MASONRY GRID
================================================== */

.modern-gallery {
	display: grid;

	grid-template-columns:
		repeat(12, minmax(0, 1fr));

	gap: 18px;
}


/*
 * Unterschiedliche Größen erzeugen
 * einen modernen Bento-/Masonry-Look.
 */

.gallery-card:nth-child(10n + 1) {
	grid-column: span 5;
}

.gallery-card:nth-child(10n + 2) {
	grid-column: span 7;
}

.gallery-card:nth-child(10n + 3) {
	grid-column: span 4;
}

.gallery-card:nth-child(10n + 4) {
	grid-column: span 4;
}

.gallery-card:nth-child(10n + 5) {
	grid-column: span 4;
}

.gallery-card:nth-child(10n + 6) {
	grid-column: span 7;
}

.gallery-card:nth-child(10n + 7) {
	grid-column: span 5;
}

.gallery-card:nth-child(10n + 8) {
	grid-column: span 5;
}

.gallery-card:nth-child(10n + 9) {
	grid-column: span 7;
}

.gallery-card:nth-child(10n + 10) {
	grid-column: span 12;
}


/* ==================================================
   CARD
================================================== */

.gallery-card {
	position: relative;

	min-width: 0;

	overflow: hidden;

	border-radius: 14px;

	background: #f2f2f2;

	opacity: 1;

	transform: translateY(0);

	transition:
		opacity .5s ease,
		transform .5s ease;
}


/* Animation beim Nachladen */

.gallery-card.gallery-card--animate {
	animation: galleryReveal .65s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes galleryReveal {

	from {
		opacity: 0;
		transform: translateY(25px) scale(.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

}


/* ==================================================
   IMAGE
================================================== */

.gallery-link {
	position: relative;

	display: block;

	aspect-ratio: 4 / 3;

	overflow: hidden;

	text-decoration: none;
}

.gallery-image {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition:
		transform .7s cubic-bezier(.2, .7, .2, 1),
		filter .5s ease;
}


/* ==================================================
   HOVER
================================================== */

.gallery-overlay {
	position: absolute;
	inset: 0;

	display: flex;
	align-items: flex-end;

	padding: 1.5rem;

	opacity: 0;

	background:
		linear-gradient(
			to top,
			rgba(0, 0, 0, .7),
			rgba(0, 0, 0, 0) 65%
		);

	transition: opacity .35s ease;
}

.gallery-overlay-content {
	width: 100%;
}

.gallery-view {
	display: inline-flex;
	align-items: center;
	gap: .6rem;

	color: #fff;

	font-size: .9rem;
	font-weight: 700;

	transform: translateY(12px);

	transition: transform .35s ease;
}

.gallery-view-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 36px;
	height: 36px;

	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;

	font-size: 1.1rem;
}

.gallery-link:hover .gallery-image {
	transform: scale(1.06);
}

.gallery-link:hover .gallery-overlay {
	opacity: 1;
}

.gallery-link:hover .gallery-view {
	transform: translateY(0);
}


/* ==================================================
   LOAD MORE
================================================== */

.gallery-load-more {
	margin-top: 3rem;
}

.gallery-load-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;

	min-height: 54px;

	padding: .85rem 1.4rem;

	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 999px;

	background: transparent;

	font: inherit;
	font-size: .9rem;
	font-weight: 700;

	cursor: pointer;

	transition:
		background .25s ease,
		color .25s ease,
		transform .25s ease,
		border-color .25s ease;
}

.gallery-load-button:hover {
	background: #111;
	color: #fff;
	border-color: #111;

	transform: translateY(-2px);
}

.gallery-button-arrow {
	font-size: 1.15rem;

	transition: transform .25s ease;
}

.gallery-load-button:hover .gallery-button-arrow {
	transform: translateY(3px);
}


/* Loading */

.gallery-button-loader {
	display: none;

	width: 17px;
	height: 17px;

	border: 2px solid currentColor;
	border-right-color: transparent;

	border-radius: 50%;

	animation: gallerySpin .7s linear infinite;
}

.gallery-load-button.is-loading .gallery-button-loader {
	display: inline-block;
}

.gallery-load-button.is-loading .gallery-button-arrow {
	display: none;
}

@keyframes gallerySpin {
	to {
		transform: rotate(360deg);
	}
}


/* ==================================================
   EMPTY
================================================== */

.gallery-empty {
	padding: 3rem;

	border-radius: 14px;

	text-align: center;

	background: #f7f7f7;

	color: #777;
}