/*
Theme Name: EstateBotic Theme
Theme URI: https://estatebotics.com
Description: Custom Theme für EstateBotic
Author: Dein Name
Version: 1.0.0
*/

/* Google Fonts einbinden */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Grundlegende Seitengestaltung */
body {
  background-color: #fcfcfc;
  color: #4c4c4c;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}



/* ---------- HEADER STYLING ---------- */
.site-header {
    background-color: #fcfcfc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo Styling */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    border-color: #c6ac69;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 172, 105, 0.2);
}

.site-logo-link {
    text-decoration: none;
    display: block;
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #212020;
    letter-spacing: 0.5px;
}

.highlight {
    color: #c6ac69;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-container {
    margin-right: 20px;
}

#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu li {
    margin-left: 30px;
    position: relative;
}

#primary-menu li a {
    color: #4c4c4c;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

#primary-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c6ac69;
    transition: width 0.3s ease;
}

#primary-menu li a:hover {
    color: #c6ac69;
}

#primary-menu li a:hover::after {
    width: 100%;
}

.contact-button {
    background-color: #c6ac69;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.contact-button:hover {
    background-color: #d2ac4b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(198, 172, 105, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #212020;
    transition: all 0.3s ease;
}

/* Scroll Effect */
.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(252, 252, 252, 0.95);
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
  color: #121212;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background-color: #c6ac69;
}

/* Links */
a {
  color: #c6ac69;
  transition: color 0.3s ease;
  text-decoration: none;
}

a:hover {
  color: #d2ac4b;
}

/* Stilvoller erster Inhalt */
.first-content-container {
    text-align: center;
    padding: 40px 0;
    margin-top: 20px;
    position: relative;
}

.first-content-heading {
    font-size: 32px;
    font-weight: 500;
    color: #121212;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.first-content-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #c6ac69;
}

/* Test-Überschrift mit Hover-Effekt */
.test-heading {
  font-size: 36px;
  color: #121212;
  border-bottom: 2px solid #c6ac69;
  padding-bottom: 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

.test-heading:hover {
  color: #c6ac69;
  border-bottom: 2px solid #121212;
  transform: translateY(-3px);
}

/* Buttons */
.button,
button,
input[type="button"],
input[type="submit"] {
  background-color: #c6ac69;
  color: #fcfcfc;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: #d2ac4b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(198, 172, 105, 0.3);
}

/* Standard Button (ohne spezifischen Stil) */
.wp-block-button:not(.is-style-ghost-button):not(.is-style-arrow-button):not(.is-style-minimal-button):not(.is-style-outline):not(.is-style-fill) .wp-block-button__link {
  background-color: #c6ac69;
  color: #fcfcfc;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wp-block-button:not(.is-style-ghost-button):not(.is-style-arrow-button):not(.is-style-minimal-button):not(.is-style-outline):not(.is-style-fill) .wp-block-button__link:hover {
  background-color: #d2ac4b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(198, 172, 105, 0.3);
}

/* Content-Bereich */
.site-content {
  padding: 40px 0;
}

.content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0;
}

/* Footer-Bereich */
.site-footer {
  background-color: transparent;
  color: inherit;
  padding: inherit;
  text-align: inherit;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: inherit;
}

/* Call-to-Action Bereich */
.cta-section {
  background-color: #fcfcfc;
  border-left: 4px solid #c6ac69;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonial-box {
  background-color: #fcfcfc;
  border-radius: 5px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-box:before {
  content: """;
  font-family: Georgia, serif;
  font-size: 60px;
  color: #c6ac69;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 10px;
}

/* Team-Mitglieder */
.team-member {
  text-align: center;
  margin-bottom: 30px;
}

.team-member img {
  border-radius: 50%;
  border: 3px solid #c6ac69;
}

.team-member h4 {
  margin-top: 15px;
  margin-bottom: 5px;
}

.team-member .position {
  color: #c6ac69;
  font-style: italic;
  margin-bottom: 10px;
}

/* Subtile Animationen */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover-Effekte für Karten/Boxen */
.service-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Container für Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0;
  display: flex;
  flex-wrap: wrap;
}

.site-content .container {
  margin-top: 40px;
  margin-bottom: 40px;
}

.content-area {
  flex: 1;
  min-width: 0;
}

.widget-area {
  width: 300px;
  margin-left: 40px;
}

/* Konsistenter Header auf allen Seiten */
.estatebotics-header {
    background-color: #fcfcfc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo-Größenbeschränkungen - Erweitert und spezifischer */
.custom-logo-link,
a.custom-logo-link,
.site-branding a {
    display: block;
    max-width: 180px !important;
    width: 180px !important;
    overflow: hidden;
}

.custom-logo,
img.custom-logo,
.site-branding img,
.logo-wrapper img,
.site-branding a img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    max-height: 60px !important;
}

.logo-wrapper,
.site-branding,
.logo-area {
    max-width: 180px !important;
    max-height: 60px !important;
    overflow: hidden;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  
  .widget-area {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .gold-gradient-right {
    width: 100%;
  }
  
  .test-heading {
    font-size: 28px;
  }
  
  .header-container {
    height: 70px;
  }
    
  .logo-text {
    font-size: 24px;
  }
    
  .main-navigation {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fcfcfc;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
    
  .main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
    
  .menu-container {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
    
  #primary-menu {
    flex-direction: column;
  }
    
  #primary-menu li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
    
  #primary-menu li a {
    padding: 15px 0;
  }
    
  .contact-button {
    width: 100%;
    text-align: center;
    padding: 15px;
  }
    
  .mobile-menu-toggle {
    display: flex;
  }
  
    
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
    
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
    
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .test-heading {
    font-size: 24px;
  }
}

/* Stile für Block-Editor Elemente */

/* Corporate Heading Stil */
.is-style-corporate-heading {
    font-size: 36px;
    color: #121212;
    border-bottom: 2px solid #c6ac69;
    padding-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.is-style-corporate-heading:hover {
    color: #c6ac69;
    border-bottom: 2px solid #121212;
    transform: translateY(-3px);
}

/* Corporate Text Stil */
.is-style-corporate-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4c4c4c;
    border-left: 3px solid #c6ac69;
    padding-left: 15px;
}

/* EstateBotic Button Stil */
.is-style-estatebotics-button .wp-block-button__link {
    background-color: #c6ac69;
    color: #fcfcfc;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.is-style-estatebotics-button .wp-block-button__link:hover {
    background-color: #d2ac4b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(198, 172, 105, 0.3);
}

/* ----- BLOCK STYLES ----- */

/* Corporate Heading Style */
.is-style-corporate-heading {
    font-size: 36px;
    color: #121212;
    border-bottom: 2px solid #c6ac69;
    padding-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.is-style-corporate-heading:hover {
    color: #c6ac69;
    border-bottom: 2px solid #121212;
    transform: translateY(-3px);
}

/* Gold Underline Heading */
.is-style-gold-underline {
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.is-style-gold-underline:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #c6ac69;
}

/* Modern Split Heading */
.is-style-modern-split {
    font-weight: 600;
}

.is-style-modern-split span {
    color: #c6ac69;
    font-weight: 700;
}

/* Elegant Border Heading */
.is-style-elegant-border {
    border: 2px solid transparent;
    border-bottom-color: #c6ac69;
    border-right-color: #c6ac69;
    padding: 10px 15px;
    display: inline-block;
    position: relative;
}

/* ----- TEXT STILE ----- */

/* Corporate Text Style */
.is-style-corporate-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4c4c4c;
    border-left: 3px solid #c6ac69;
    padding-left: 15px;
}

/* Highlighted Text */
.is-style-highlighted-text {
    font-size: 20px;
    line-height: 1.6;
    color: #121212;
    font-weight: 500;
    background: linear-gradient(to right, rgba(198, 172, 105, 0.1), transparent);
    padding: 15px;
    border-radius: 3px;
}

/* Quote Style */
.is-style-quote-style {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.is-style-quote-style:before {
    content: """;
    font-family: Georgia, serif;
    font-size: 60px;
    color: #c6ac69;
    opacity: 0.4;
    position: absolute;
    top: -10px;
    left: -5px;
    line-height: 1;
}

/* Key Facts */
.is-style-key-facts {
    background-color: #f5f5f5;
    border-left: 4px solid #c6ac69;
    padding: 15px 20px;
    font-weight: 500;
    color: #121212;
}

/* ----- BUTTON STILE ----- */

/* EstateBotic Button */
.is-style-estatebotics-button .wp-block-button__link {
    background-color: #c6ac69;
    color: #fcfcfc;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.is-style-estatebotics-button .wp-block-button__link:hover {
    background-color: #d2ac4b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(198, 172, 105, 0.3);
}

/* Ghost Button */
.is-style-ghost-button .wp-block-button__link {
    background-color: transparent;
    color: #121212;
    border: 2px solid #c6ac69;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.is-style-ghost-button .wp-block-button__link:hover {
    background-color: #c6ac69;
    color: #fcfcfc;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(198, 172, 105, 0.2);
}

/* Arrow Button */
.is-style-arrow-button .wp-block-button__link {
    background-color: transparent;
    color: #121212;
    border: none;
    border-bottom: 2px solid #c6ac69;
    padding: 8px 0;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.is-style-arrow-button .wp-block-button__link:after {
    content: "→";
    margin-left: 8px;
    transition: all 0.3s ease;
}

.is-style-arrow-button .wp-block-button__link:hover {
    color: #c6ac69;
    padding-right: 5px;
}

.is-style-arrow-button .wp-block-button__link:hover:after {
    margin-left: 12px;
}

/* Minimal Button - mit erhöhter Spezifität */
body .wp-block-button.is-style-minimal-button .wp-block-button__link {
    background-color: transparent !important;
    color: #121212 !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 0 !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: none !important;
    box-shadow: none !important;
}

body .wp-block-button.is-style-minimal-button .wp-block-button__link:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c6ac69;
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

body .wp-block-button.is-style-minimal-button .wp-block-button__link:hover {
    color: #c6ac69 !important;
    background-color: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

body .wp-block-button.is-style-minimal-button .wp-block-button__link:hover:before {
    transform: translateX(0);
}

/* ----- GRUPPEN STILE ----- */

/* EstateBotic Card */
.is-style-estatebotics-card {
    background-color: #fcfcfc;
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.is-style-estatebotics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Shadow Box */
.is-style-shadow-box {
    background-color: #fcfcfc;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Gold Border */
.is-style-gold-border {
    border: 2px solid #c6ac69;
    border-radius: 5px;
    padding: 25px;
    transition: all 0.3s ease;
}

.is-style-gold-border:hover {
    box-shadow: 0 5px 15px rgba(198, 172, 105, 0.2);
}

/* Gold Accent */
.is-style-gold-accent {
    position: relative;
    padding: 30px;
    background-color: #fcfcfc;
    border-radius: 5px;
}

.is-style-gold-accent:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #c6ac69;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

/* ----- LISTEN STILE ----- */

/* Gold Checkmark Liste */
.is-style-gold-check {
    list-style: none;
    padding-left: 0;
}

.is-style-gold-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.is-style-gold-check li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #c6ac69;
    font-weight: bold;
}

/* Elegante Liste */
.is-style-elegant-list {
    list-style: none;
    padding-left: 0;
}

.is-style-elegant-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.is-style-elegant-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #c6ac69;
    font-size: 18px;
}

/* Feature Liste */
.is-style-feature-list {
    list-style: none;
    padding-left: 0;
}

.is-style-feature-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-weight: 500;
}

.is-style-feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: #c6ac69;
    font-weight: bold;
    font-size: 18px;
}

/* ----- SPALTEN STILE ----- */

/* Goldene Trennlinie */
.is-style-gold-separator {
    position: relative;
}

.is-style-gold-separator .wp-block-column:not(:first-child) {
    position: relative;
}

.is-style-gold-separator .wp-block-column:not(:first-child):before {
    content: "";
    position: absolute;
    top: 10%;
    left: -30px;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #c6ac69, transparent);
}

/* Cards Layout */
.is-style-cards-layout {
    gap: 30px;
}

.is-style-cards-layout .wp-block-column {
    padding: 0;
}

/* ----- BILD STILE ----- */

/* Gold Frame */
.is-style-gold-frame {
    border: 3px solid #c6ac69;
    border-radius: 3px;
    padding: 5px;
    background-color: #fcfcfc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Elegant Shadow */
.is-style-elegant-shadow {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

/* Hover Zoom */
.is-style-hover-zoom {
    overflow: hidden;
    border-radius: 3px;
}

.is-style-hover-zoom img {
    transition: transform 0.5s ease;
}

.is-style-hover-zoom:hover img {
    transform: scale(1.05);
}

/* ----- TRENNLINIE STILE ----- */

/* Gold Gradient */
.is-style-gold-gradient {
    height: 2px;
    background: linear-gradient(to right, transparent, #c6ac69, transparent);
    border: none;
}

/* Elegant Thin */
.is-style-elegant-thin {
    height: 1px;
    background-color: rgba(198, 172, 105, 0.3);
    border: none;
    margin: 30px auto;
}

/* ----- PATTERN-SPEZIFISCHE STILE ----- */

/* Hero Section */
.hero-section {
    padding: 60px 0;
}

/* Process Steps */
.process-steps-container {
    position: relative;
    padding-left: 60px;
    border-left: 2px solid #c6ac69;
}

.process-step {
    margin-bottom: 40px;
    position: relative;
}

.process-step:before {
    content: "";
    position: absolute;
    left: -71px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-color: #c6ac69;
    border-radius: 50%;
    border: 5px solid #fcfcfc;
}

.step-number {
    font-size: 32px;
    color: #c6ac69;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Features Grid */
.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card .wp-block-buttons {
    margin-top: auto;
}

/* Features mit Icons */
.feature-icon-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-icon-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 15px;
}

/* Team Member */
.team-member {
    text-align: center;
}

.team-photo {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.team-member:hover .team-photo {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.position {
    color: #c6ac69;
    font-style: italic;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-box {
    position: relative;
    padding: 30px;
    background-color: #fcfcfc;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    margin-top: auto;
    gap: 15px;
}

/* Case Studies */
.case-study-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-category {
    color: #c6ac69;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-card .wp-block-buttons {
    margin-top: auto;
}

/* Metrics */
.metric-box {
    text-align: center;
    padding: 20px;
    background-color: #fcfcfc;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.metric-number {
    font-size: 42px;
    color: #c6ac69;
    font-weight: 700;
    margin-bottom: 10px;
}

.metric-label {
    font-weight: 500;
    margin: 0;
}

/* Contact Form */
.estatebotics-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-container input {
    margin-top: 4px;
}

.submit-button {
    background-color: #c6ac69;
    color: #fcfcfc;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: #d2ac4b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(198, 172, 105, 0.3);
}

/* Contact Info */
.contact-detail {
    margin-bottom: 20px;
    gap: 10px;
}

/* Stats Section */
.stats-number {
    font-size: 42px;
    color: #c6ac69;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
}

.stats-description {
    text-align: center;
    font-weight: 500;
}

/* About Us */
.company-values {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    text-align: center;
    gap: 20px;
}

.value-item {
    flex: 1;
}

.value-item h3 {
    color: #c6ac69;
    font-size: 20px;
    margin-bottom: 5px;
}

/* Animationen */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .company-values {
        flex-direction: column;
    }
    
    .process-steps-container {
        padding-left: 40px;
    }
    
    .process-step:before {
        left: -51px;
    }
    
    .is-style-gold-separator .wp-block-column:not(:first-child):before {
        display: none;
    }
}

@media (max-width: 480px) {
    .testimonial-author {
        flex-direction: column;
        align-items: center;
    }
}

/* Fix für die Frontpage-Layout-Probleme */
.home .first-content-container {
    width: 100%;
    clear: both;
    margin-bottom: 40px;
}

.home .entry-content {
    width: 100%;
    clear: both;
    display: block;
}

.home .site-content .container {
    flex-direction: column;
}

.home .content-area {
    max-width: 100%;
    width: 100%;
}


.custom-separator {
  height: 2px;
  background-color: rgba(0,0,0,0.1);
  width: 117.8%;
  margin: 30px 0;
  transform: scaleY(0.9); /* Makes the line 10 times thinner */
}

/* Standard Heading - Basis ohne Hervorhebung */
.is-style-standard-heading {
    font-size: inherit;
    color: #121212;
    font-weight: 500;
    border: none;
}

.is-style-standard-heading:after {
    display: none;
}

/* Elegant Slim Heading */
.is-style-elegant-slim {
    font-size: inherit;
    color: #121212;
    font-weight: 300;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid #c6ac69;
}

/* Corporate Line Heading */
.is-style-corporate-line {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: #121212;
}

.is-style-corporate-line:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #c6ac69 50%, transparent 50%);
}

/* Modern Gradient Heading */
.is-style-modern-gradient {
    position: relative;
    display: inline-block;
    color: #121212;
    background: linear-gradient(
        to right, 
        rgba(198, 172, 105, 0.1) 0%, 
        transparent 70%
    );
    padding: 5px 10px;
    line-height: 1.3;
}

/* Standard Button - Basisstil */
.is-style-standard-button .wp-block-button__link {
    background-color: #c6ac69;
    color: white;
    transition: background-color 0.3s ease;
}

.is-style-standard-button .wp-block-button__link:hover {
    background-color: #d2ac4b;
}

/* Hover Zoom Button */
.is-style-hover-scale-button .wp-block-button__link {
    background-color: #c6ac69;
    color: white;
    transition: transform 0.3s ease;
}

.is-style-hover-scale-button .wp-block-button__link:hover {
    transform: scale(1.05);
}

/* Slide Fill Button */
.is-style-slide-fill-button .wp-block-button__link {
    background-color: transparent;
    color: #c6ac69;
    border: 2px solid #c6ac69;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.is-style-slide-fill-button .wp-block-button__link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #c6ac69;
    transition: left 0.3s ease;
    z-index: -1;
}

.is-style-slide-fill-button .wp-block-button__link:hover {
    color: white;
}

.is-style-slide-fill-button .wp-block-button__link:hover:before {
    left: 0;
}

/* Border Transform Button */
.is-style-border-transform-button .wp-block-button__link {
    background-color: #c6ac69;
    color: white;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.is-style-border-transform-button .wp-block-button__link:hover {
    border-color: #c6ac69;
    background-color: transparent;
    color: #c6ac69;
}

/* Underline Animation Button */
.is-style-underline-animation-button .wp-block-button__link {
    background-color: transparent;
    color: #c6ac69;
    position: relative;
    padding-bottom: 5px;
}

.is-style-underline-animation-button .wp-block-button__link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #c6ac69;
    transition: width 0.3s ease;
}

.is-style-underline-animation-button .wp-block-button__link:hover:after {
    width: 100%;
}

/* Shadow Lift Button */
.is-style-shadow-lift-button .wp-block-button__link {
    background-color: #c6ac69;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.is-style-shadow-lift-button .wp-block-button__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Ripple Effect Button */
.is-style-ripple-effect-button .wp-block-button__link {
    background-color: #c6ac69;
    color: white;
    position: relative;
    overflow: hidden;
}

.is-style-ripple-effect-button .wp-block-button__link:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.is-style-ripple-effect-button .wp-block-button__link:hover:before {
    width: 200%;
    height: 200%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Gradient Shift Button */
.is-style-gradient-shift-button .wp-block-button__link {
    background: linear-gradient(45deg, #c6ac69, #d2ac4b);
    color: white;
    background-size: 200% 200%;
    transition: background-position 0.5s ease;
}

.is-style-gradient-shift-button .wp-block-button__link:hover {
    background-position: 100% 0;
}

/* Neuer Header-Stil für EstateBotic - Für Integration in style.css */

/* Transparenter Header, der mit dem Hintergrund verschmilzt */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: transparent; /* Transparent statt feste Farbe */
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Scrolled-Zustand, leicht transparenter Hintergrund */
.site-header.scrolled {
    background-color: rgba(252, 252, 252, 0.85);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px); /* Moderner Unschärfe-Effekt */
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

/* Logo-Styling mit abgerundeten Ecken */
.logo-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
    border: none;
    max-width: none;
}

.logo-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(198, 172, 105, 0.3);
    outline: 2px solid #c6ac69;
}

.logo-wrapper img,
.custom-logo {
    max-height: 45px;
    width: auto;
    display: block;
    border-radius: 10px;
}

/* Rechter Header-Bereich */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    
}

/* Styling für den Beratungstermin-Button */
.consultation-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.consultation-button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c6ac69;
    border-radius: 50px;
    z-index: -2;
}

.consultation-button:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #a38c55; /* Dunklere Goldvariante */
    transition: all 0.3s;
    border-radius: 50px;
    z-index: -1;
}

.consultation-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(198, 172, 105, 0.3);
}

.consultation-button:hover:before {
    width: 100%;
}

/* Neue Styles für das verbesserte Slide-In Menü */

/* Menu Background für den Effekt */
.menu-background {
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.95);
    height: 100%;
    width: 0;
    transition: all 500ms cubic-bezier(.62, .04, .3, 1.8);
    transition-delay: 50ms;
    z-index: 998;
    opacity: 1;
}

.menu-background.active {
    width: 50%;
    opacity: 1;
}

/* Slide-In Menü mit professionellerem Design */
.slide-menu {
    background: #c6ac69;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    z-index: 999;
    opacity: 0;
    transition: all 600ms cubic-bezier(.62, .04, .3, 1.56);
    transition-delay: 100ms;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-menu.active {
    width: 50%;
    opacity: 1;
}

/* Menü-Container für bessere Ausrichtung */
.slide-menu-container {
    width: 84%;
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 15%;
    margin-bottom: 10%;
    position: relative; /* Stabile Positionierung */
}

/* Menü-Kategorie-Design */
.menu-category {
    position: relative;
    margin-bottom: 2vh;
    opacity: 0;
    transform: translateX(50px); /* Startposition */
    transition: opacity 0.4s ease, transform 0.4s ease; /* Präzise Transition-Eigenschaften */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slide-menu.active .menu-category {
    opacity: 1;
    transform: translateX(0);
}

/* Verzögerung für Kategorien */
.slide-menu.active .menu-category:nth-child(1) {
    transition-delay: 0.3s;
}

.slide-menu.active .menu-category:nth-child(2) {
    transition-delay: 0.4s;
}

.slide-menu.active .menu-category:nth-child(3) {
    transition-delay: 0.5s;
}

.slide-menu.active .menu-category:nth-child(4) {
    transition-delay: 0.6s;
}

/* Kategorie-Link Styling */
.menu-category a {
    color: #fff;
    text-decoration: none;
    font-size: 2.5vw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    padding: 15px 0;
    transition: transform 0.3s ease;
}

/* Nummer vor dem Menüpunkt */
.menu-category a::before {
    content: attr(data-index);
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2vw;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    transition: all 0.3s ease;
}

/* Linie unter dem Menüpunkt */
.menu-category a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -11px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s cubic-bezier(0.55, 0, 0.1, 1);
}

/* Hover-Effekte */
.menu-category a:hover {
    transform: translateX(10px);
}

.menu-category a:hover::before {
    color: white;
    transform: translateY(-50%) translateX(-5px);
}

.menu-category a:hover::after {
    width: 100%;
}



/* Beschreibungen */
.category-description {
    position: relative;
    margin-top: 5px;
    opacity: 0;
    display: block;
    transform: translateY(10px);
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, height 0s linear 0.3s;
}

.menu-category:hover .category-description {
    opacity: 1;
    transform: translateY(0);
    height: auto;
   transition: opacity 0.3s ease, transform 0.3s ease, height 0s linear;
}

.slide-menu-container {
   position: relative;
}

/* Absolute Positionierung für jede Menü-Kategorie */
.menu-category {
   position: absolute;
   left: 0;
   width: 100%;
}

.menu-category:nth-child(1) {
   top: 0;
}

.menu-category:nth-child(2) {
   top: 149px; /* Anpassen je nach gewünschtem Abstand */
}

.menu-category:nth-child(3) {
   top: 298px; /* Anpassen je nach gewünschtem Abstand */
}

.menu-category:nth-child(4) {
   top: 447px; /* Anpassen je nach gewünschtem Abstand */
}

.category-description span {
    display: inline-block;
    padding-top: 5px;
}
/* Icon-Design für die Menüpunkte */
.menu-icon {
    position: absolute;
    right: 10px;
    top: 50% !important;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    stroke: #fff;
    margin-top: -10px;
}
/* Spezifische Regel für alle Icons */
 .slide-menu-container .menu-category svg.menu-icon {
     top: 40% !important;
 }
/* Spezifische Korrektur für das Haus-Icon */
.slide-menu-container .menu-category:first-child svg.menu-icon {
    top: 40%; /* Position anpassen */
}

.menu-category:hover .menu-icon {
    opacity: 0.7;
    transform: translateY(-50%) translateX(-10px);
}

/* Hamburger-Icon Styling */
.hamburger-icon {
    position: relative;
    height: 50px;
    width: 50px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.hamburger-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(198, 172, 105, 0.2);
}

.icon-1, .icon-2, .icon-3 {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #121212;
    transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
}

.icon-1 {
    transform: translateY(-7px);
}

.icon-3 {
    transform: translateY(7px);
}

.hamburger-icon.active .icon-1 {
    transform: rotate(40deg);
    background-color: #fff;
}

.hamburger-icon.active .icon-3 {
    transform: rotate(-40deg);
    background-color: #fff;
}

.hamburger-icon.active .icon-2 {
    opacity: 0;
}

.clear {
    clear: both;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .slide-menu.active, 
    .menu-background.active {
        width: 100%;
    }
    
    .menu-category a {
        font-size: 24px;
    }
    
    .subcategory-item a {
        font-size: 18px;
    }
    
    .category-description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .menu-category a::before {
        display: none;
    }
    
    .menu-category a {
        font-size: 20px;
    }
    
    .subcategory-item a {
        font-size: 16px;
    }
    
    .category-description {
        font-size: 12px;
    }
}

/* Anpassungen für bestehende Elemente */
.main-navigation,
.mobile-menu-toggle,
.contact-button {
    display: none !important; /* Alte Elemente ausblenden */
}

/* Korrektur für Content-Padding, damit kein Content unterm Header verschwindet */
.site-content {
    padding-top: 40px; /* Anpassen je nach Header-Höhe */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  /* Grundlegendes Button-Styling */
  .consultation-button {
    display: inline-block;
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: 0.2px;
    line-height: 1.2;
    max-width: 95px;
    height: 36px;
    text-align: center;
    margin-right: -30px; /* Abstand zum Menü-Button */
    background-color: #c6ac69;
    position: relative;
    overflow: visible;
  }
  .consultation-button:hover {
    background-color: #a38c55;
  }

  /* nur bei Nicht-Top-Buttons die Pseudo-Elemente entfernen */
    .consultation-button:not(.consultation-button-top)::before,
    .consultation-button:not(.consultation-button-top)::after {
       content: none;
    }
    
.consultation-button.consultation-button-top:before {
    display: none;
  }

  /* Nur in der Top-Variante: Originaltext verbergen */
  .consultation-button.consultation-button-top {
        display: block;
        /* doppelt so breit */
        width: 200%;
        max-width: 220px;
        /* halb so viel Abstand oben */
        margin: 1px auto 60px;
        height: 12px;
    padding: 0;
        font-size: 0;
        line-height: 1.2;
        text-align: center;
        border-radius: 50px;
        color: transparent;
    }

  /* Den kurzen Text per ::after reinschieben */
  .consultation-button.consultation-button-top::after {
    content: "Jetzt Beratungstermin vereinbaren";
    font-size: 14px;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Hover-Zustand für Top-Button */
  .consultation-button.consultation-button-top:hover {
    background-color: #a38c55;
  }

  /* Abstand Header-Elemente */
  .header-right {
    gap: 27px;
  }

  /* Content-Padding unter dem Header */
  .site-content {
    padding-top: 80px;
  }
}


/* Body Zustand wenn Menü offen ist */
body.menu-open {
    overflow: hidden; /* Verhindert Scrollen, wenn Menü offen ist */
}

 /* Stabilisieren der Menükategorien */
 .menu-categories-wrapper {
     position: relative;
     width: 100%;
 }
 
 /* Verhindere Sprünge beim Hover mit einer konstanten Höhe */
 .slide-menu.active .menu-category {
     will-change: transform;
     backface-visibility: hidden;
 }
 
 /* Spezifischere Regel für den Trennstreifen */
 
/* ----- FOOTER STYLES ----- */
.estatebotics-footer {
    color: #4c4c4c;
    padding: 40px 0 20px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

/* Logo Spalte */
.footer-logo-column {
    display: flex;
    align-items: center;
    width: 25%;
    justify-content: center;  /* Logo zentrieren */
}

/* Logo identisch zum Header */
.footer-logo-wrapper {
    margin: 0 auto; /* Für mittige Ausrichtung */
}

/* Content-Spalten Container */
.footer-content-columns {
    display: flex;
    width: 70%;
    gap: 40px;
}

/* Einzelne Content-Spalte */
.footer-column {
    flex: 1;
    text-align: center;
}

/* Überschriften */
.footer-heading {
    color: #c6ac69;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #c6ac69;
}

/* Kontakt-Informationen */
.contact-item {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    height: 21px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;  /* Horizontal zentrieren */
}

.contact-item:nth-child(1) {
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-item:nth-child(2) {
    margin-top: 10px;
    margin-bottom: 0;
}

/* AGBs und Datenschutz Website speziell ausrichten */
.footer-links li:nth-child(1) {
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-links li:nth-child(2) {
    margin-top: 10px;
    margin-bottom: 10px;
}

.contact-item span {
    color: #121212;
    font-weight: 500;
    margin-right: 5px;
    display: inline-block;
}

.contact-item a {
    color: #4c4c4c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #c6ac69;
}

/* Social Media Buttons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.social-btn {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.social-btn:before {
    content: '';
    width: 120%;
    height: 120%;
    position: absolute;
    top: 90%;
    left: -110%;
    transform: rotate(45deg);
    transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.social-btn i {
    font-size: 18px;
    vertical-align: middle;
    transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.social-btn.linkedin:before {
    background-color: #0077B5;
}

.social-btn.youtube:before {
    background-color: #FF0000;
}

.social-btn.linkedin i {
    color: #0077B5;
}

.social-btn.youtube i {
    color: #FF0000;
}

.social-btn:hover:before {
    top: -10%;
    left: -10%;
}

.social-btn:hover i {
    color: #fff;
    transform: scale(1.1);
}

/* Rechtliche Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 8px 0;
    height: 21px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: #4c4c4c;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c6ac69;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #c6ac69;
}

.footer-links a:hover:after {
    width: 100%;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 12px;
    padding-bottom: 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.footer-copyright p {
    margin: 0;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .footer-logo-column {
        width: 100%;
    }
    
    .footer-content-columns {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .estatebotics-footer {
        padding: 30px 0 15px;
    }
}

/* Aden Immobilien Case Study - Spezifische Styles ohne !important */
.aden-case-study-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    font-family: 'Roboto', Arial, sans-serif;
    box-sizing: border-box;
   width: 100%;
   overflow-x: hidden;
}

/* Text Layout Optimierung */
.aden-case-study-container .aden-case-study-content {
    padding: 0 0 40px;
    margin: 0 auto;
    width: 85%;
    position: relative;
    left: 0; /* Zentriert */
}

.aden-case-study-container .aden-case-study-content h1,
.aden-case-study-container .aden-services-section h2,
.aden-case-study-container .aden-results-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    padding-top: 0px; /* Reduziert von 40px */
    margin-top: 0;
    font-weight: 500;
    color: #121212;
    line-height: 1.3;
    text-align: left;
    border: none;
    background: none;
    text-transform: none;
    letter-spacing: normal;
}

.aden-case-study-container .aden-case-study-content h1:after,
.aden-case-study-container .aden-services-section h2:after,
.aden-case-study-container .aden-results-section h2:after {
    display: none;
}

.aden-case-study-container .aden-case-study-content p {
    font-size: 20px; /* Von 17px auf 20px erhöht */
    line-height: 1.6;
    margin-bottom: 20px;
    color: #4c4c4c;
    font-weight: normal;
    text-align: left;
}

.aden-case-study-container .aden-case-study-content strong {
    font-weight: 600;
    color: #121212;
}

/* Services Bereich (Was wir geleistet haben) */
.aden-case-study-container .aden-services-section {
    margin: 10px auto; /* Zentral ausgerichtet */
    clear: both;
    width: 85%;
    position: relative;
    left: 0; /* Zentriert */
}

.aden-case-study-container .aden-services-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    justify-content: flex-start;
}

.aden-case-study-container .aden-service-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
    min-width: 90px;
    text-align: center;
    box-shadow: none;
    border: none;
    margin: 0;
    background: none; /* Entfernt Hintergrund, der durch :after gesetzt wird */
}

.aden-case-study-container .aden-service-button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c6ac69;
    border-radius: 50px;
    z-index: -2;
}

.aden-case-study-container .aden-service-button:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #a38c55; /* Dunklere Goldvariante */
    transition: all 0.3s;
    border-radius: 50px;
    z-index: -1;
}

.aden-case-study-container .aden-service-button:hover {
    color: #fff;
    box-shadow: none;
    transform: none;
}

.aden-case-study-container .aden-service-button:hover:before {
    width: 100%;
}

/* Ergebnisse Bereich */
.aden-case-study-container .aden-results-section {
    margin: 10px auto; /* Zentral ausgerichtet */
    clear: both;
    width: 85%;
    position: relative;
    left: 0; /* Zentriert */
}

.aden-case-study-container .aden-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 25px;
    width: 100%;
}

.aden-case-study-container .aden-result-item {
    text-align: center;
    padding: 24px 5px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    float: none;
}

.aden-case-study-container .aden-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.aden-case-study-container .aden-result-number {
    font-size: 42px;
    font-weight: 700;
    color: #c6ac69;
    margin-bottom: 8px;
    line-height: 1;
    text-align: center;
    display: block;
}

.aden-case-study-container .aden-result-text {
    font-size: 15px;
    font-weight: 500;
    color: #121212;
    text-align: center;
    display: block;
    line-height: 1.4;
}

/* Komplett neu überarbeiteter Zitat-Bereich */
.aden-case-study-container .aden-quote-section {
    margin: 10px auto;
    padding: 0;
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
    clear: both;
    width: 85%;
    left: 0; /* Zentriert */
}

.aden-case-study-container .aden-quote-text {
    font-size: 19px;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    padding: 30px 40px 60px 40px;
    background-color: #ffffff;
    color: #4c4c4c;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.aden-case-study-container .aden-quote-text:before,
.aden-case-study-container .aden-quote-text:after {
    position: absolute;
    font-family: Georgia, serif;
    font-size: 60px;
    color: #c6ac69;
    opacity: 0.25;
    line-height: 1;
}

.aden-case-study-container .aden-quote-text:before {
    content: "\201D"; /* Unicode für schließendes Anführungszeichen */
    top: 10px;
    left: 15px;
    height: 30px;
    position: absolute;
}

.aden-case-study-container .aden-quote-text:after {
    content: "\201D"; /* Unicode für schließendes Anführungszeichen */
    bottom: -30px;
    right: 15px;
    height: 30px;
    position: absolute;
}

.aden-case-study-container .aden-quote-author {
    font-weight: 600;
    color: #121212;
    font-size: 16px;
    margin: 0;
    padding: 0;
    display: block;
    text-align: left;
    position: relative;
    position: absolute;
   bottom: 20px;
   left: 40px;
}

.aden-case-study-container .aden-quote-author:before {
    content: '';
    width: 80px;
    height: 2px;
    background-color: #c6ac69;
    position: absolute;
    top: -10px;
    left: 0;
}

/* Responsive Anpassungen mit spezifischen Selektoren */
@media (max-width: 992px) {
    .aden-case-study-container .aden-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aden-case-study-container .aden-case-study-content,
    .aden-case-study-container .aden-services-section,
    .aden-case-study-container .aden-results-section,
    .aden-case-study-container .aden-quote-section {
        width: 90%;
        left: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .aden-case-study-container {
        padding: 0 20px;
    }
    
    .aden-case-study-container .aden-case-study-content,
    .aden-case-study-container .aden-services-section,
    .aden-case-study-container .aden-results-section,
    .aden-case-study-container .aden-quote-section {
        width: 100%;
        left: 0;
    }
    
    .aden-case-study-container .aden-case-study-content h1,
    .aden-case-study-container .aden-services-section h2,
    .aden-case-study-container .aden-results-section h2 {
        font-size: 22px;
        padding-top: 15px;
    }
    
    .aden-case-study-container .aden-case-study-content p {
        font-size: 18px;
    }
    
    .aden-case-study-container .aden-services-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    .aden-case-study-container .aden-service-button {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .aden-case-study-container .aden-results-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .aden-case-study-container .aden-result-number {
        font-size: 36px;
    }
    
    .aden-case-study-container .aden-result-text {
        font-size: 14px;
    }
    
    .aden-case-study-container .aden-quote-text {
        font-size: 18px;
        padding: 25px 25px 70px 25px;
    }
     .aden-case-study-container .aden-quote-text:before {
        font-size: 50px;
       top: 5px;
       left: 10px;
    }
    
    .aden-case-study-container .aden-quote-text:after {
        font-size: 50px;
       bottom: -20px;
       right: 10px;
    }
       .aden-case-study-container .aden-quote-author {
       left: 25px;
       bottom: 20px;
       font-size: 15px;
   }
   
   .aden-case-study-container .aden-quote-author:before {
       width: 60px; /* Etwas kürzer auf mobilen Geräten */
       top: -12px;
   }
}
    
    .aden-case-study-container .aden-quote-text:before {
        font-size: 50px;
    }
    
    .aden-case-study-container .aden-quote-text:after {
        font-size: 50px;
    }


@media (max-width: 480px) {
    .aden-case-study-container .aden-services-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .aden-case-study-container .aden-service-button {
        width: 80%;
    }
    
    .aden-case-study-container .aden-quote-text {
       padding: 20px 20px 65px 20px;
       font-size: 16px;
    }
    
    .aden-case-study-container .aden-quote-text:before {
       font-size: 40px;
       top: 5px;
       left: 5px;
    }
    
    .aden-case-study-container .aden-quote-text:after {
       font-size: 40px;
       bottom: -15px;
       right: 5px;
    }
    
   .aden-case-study-container .aden-quote-author {
       left: 20px;
       bottom: 15px;
       font-size: 14px;
   }
   
   .aden-case-study-container .aden-quote-author:before {
       width: 50px;
       height: -8px;
       top: -5px;
   }
}

/* ----- UNSER PROZESS SEITE STYLES ----- */

/* Animationen */
.fade-in-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-bottom.in-view {
  opacity: 1;
  transform: translateY(0);
}




/* Phasen-Header mit reduziertem Abstand */
.phase-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 15px;
  gap: 15px;
}

/* Phasen-Sektionen */
.process-phase-section {
  max-width: 1200px;
  margin: 50px auto 70px;
  padding: 0 0;
  position: relative;
}

.phase-number {
  font-size: 16px;
  color: #777;
  font-weight: 400;
}

.phase-heading {
  font-size: 36px;
  color: #121212;
  margin: 0;
}

.phase-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.phase-content p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: #4c4c4c;
  font-weight: 100;
}

/* Phase Included Items */
.phase-included h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 400;
}

.included-items {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Button Style wie Case Study */
.case-study-button {
  background-color: transparent;
  color: #121212;
  border: none;
  border-bottom: 2px solid #c6ac69;
  padding: 8px 0;
  border-radius: 0;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.case-study-button:after {
  content: "→";
  margin-left: 8px;
  transition: all 0.3s ease;
}

.case-study-button:hover {
  color: #c6ac69;
}

.case-study-button:hover:after {
  margin-left: 12px;
}

/* Bubble-Stil für Phase 3 */
.included-bubbles {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.case-study-button.bubble {
  background-color: #f5f5f5;
  padding: 12px 20px;
  border-radius: 50px;
  text-align: center;
  border-bottom: none;
}

.case-study-button.bubble:after {
  display: none;
}

.case-study-button.bubble:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}

/* Werte Sektion */
.values-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 0;
}

.values-section .reference-heading {
  margin-top: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.value-item {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid #f0f0f0;
}

.value-title {
  color: #c6ac69;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 500;
}

.value-description {
  font-size: 16px;
  line-height: 1.6;
  color: #4c4c4c;
  font-weight: 100;
}

/* Highlight Text */
.highlight-text {
  color: #c6ac69;
  font-weight: 400;
}

/* CTA-Bereich im Stil der Referenzseite */
.reference-cta-section {
  background-color: #0e0e0e;
  color: white;
  text-align: center;
  padding: 60px 30px;
  margin: 80px auto;
  border-radius: 15px;
  max-width: 1200px;
}

.reference-cta-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.gold-line {
  height: 2px;
  width: 120px;
  background-color: #c6ac69;
  margin: 20px auto;
}

.reference-cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.reference-cta-section .wp-block-buttons {
  justify-content: center;
  display: flex;
}

.reference-cta-section .wp-block-button__link {
  background-color: #c6ac69;
  color: white;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.reference-cta-section .wp-block-button__link:hover {
  background-color: #d6bc79;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(198, 172, 105, 0.3);
}

/* Gold underline Stil für CTA-Überschrift */
.is-style-gold-underline {
  position: relative;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.is-style-gold-underline:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #c6ac69;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .phase-heading {
    font-size: 30px;
  }
  
  .phase-header {
    flex-direction: column;
    gap: 5px;
  }
  
  .included-bubbles {
    flex-direction: column;
    gap: 15px;
  }
  
  .case-study-button.bubble {
    width: 100%;
  }
  
  .reference-cta-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .phase-heading {
    font-size: 26px;
  }
  
  .included-items {
    flex-direction: column;
  }
  
  .case-study-button {
    width: 100%;
    text-align: left;
  }
}
/* Animationen für "Unser Prozess" Seite */
.fade-in-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-bottom.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* CTA-Bereich im Stil der Referenzseite */
.reference-cta-section {
  background-color: #0e0e0e;
  color: white;
  text-align: center;
  padding: 60px 30px;
  margin: 80px auto;
  border-radius: 15px;
  max-width: 1200px;
}

.reference-cta-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.reference-cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.reference-cta-section .wp-block-buttons {
  justify-content: center;
  display: flex;
}

.reference-cta-section .wp-block-button__link {
  background-color: #c6ac69;
  color: white;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.reference-cta-section .wp-block-button__link:hover {
  background-color: #d6bc79;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(198, 172, 105, 0.3);
}


.reference-description {
    margin-bottom: 100px; /* Verdoppelter Abstand */
  }
  
.process-phase-section:last-of-type {
    margin-bottom: 100px; /* Verdoppelter Abstand */
}

.reference-intro-section {
  width: 100%;
  max-width: 2584px !important;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  
}

/* Phase Header Styling */
.phase-number {
  font-size: 16px;
  color: #777;
  font-weight: 400;
  display: block;
  margin-bottom: 5px;
}

.phase-heading {
  font-size: 36px;
  color: #121212;
  margin: 0 0 20px 0;
}

/* Buttons im Aden-Stil */
.aden-service-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  min-width: 90px;
  text-align: center;
  box-shadow: none;
  border: none;
  margin: 0 10px 10px 0;
  background: none;
  pointer-events: none; /* Macht den Button nicht klickbar */
  cursor: default;       /* Ändert den Mauszeiger nicht */
}

.aden-service-button:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c6ac69;
  border-radius: 50px;
  z-index: -2;
}

.aden-service-button:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #a38c55;
  transition: all 0.3s;
  border-radius: 50px;
  z-index: -1;
}

.aden-service-button:hover {
  color: #fff;
  box-shadow: none;
  transform: translateY(-2px);
}

.aden-service-button:hover:before {
  width: 100%;
}

/* Referenz-CTA ohne Gold-Linie */
.reference-cta-section {
  border-radius: 15px;
  padding: 40px;
}

/* Included Items Spacing */
.included-items, .included-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

/* CTA-Bereich mit abgerundeten Ecken und angepasstem Padding */
.wp-block-group.reference-cta-section.has-black-background-color {
    border-radius: 15px;
    padding: 40px;
    background-color: #0e0e0e;
    color: white;
    text-align: center;
    margin: 80px auto;
    max-width: 1200px;
    display: block;
}

/* Diese können unverändert bleiben, da sie spezifisch genug sind */
.cta-heading {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.cta-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button .wp-block-button__link {
    background-color: #c6ac69;
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button .wp-block-button__link:hover {
    background-color: #d6bc79;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 172, 105, 0.3);
}
/* ----- HOME PAGE CASE STUDIES SECTION ----- */
.home-case-studies-section {
    max-width: 1200px;
    margin: 16px auto 0 0;
    padding: 0 0;
}

.case-studies-heading {
    font-size: 32px;
    margin-bottom: 20px;
    color: #121212;
    display: inline-block;
}

.case-studies-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #4c4c4c;
    max-width: 800px;
    margin-bottom: 30px;
}

.home-case-grid {
    margin-top: 40px;
    gap: 60px;
}
.wp-block-column.is-layout-flow {
    flex-basis: 32% !important;
}

.home-case-study-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #fff;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card-left .wp-block-buttons {
    margin-top: auto;
    padding-top: 400px; /* Dieser Wert kann feinjustiert werden */
}

.home-case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-study-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    border-radius: 10px;
}

.home-case-logo {
    margin: 0 auto 15px;
    display: block;
}

.home-case-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 300;
}

.home-case-title {
    font-size: 22px;
    margin-bottom: 8px;
    color: #121212;
    text-align: left;
    min-height: 80px;
}

.home-case-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4c4c4c;
    margin-bottom: 10px;
    text-align: left;
    min-height: 130px;
}

.highlight-text {
    color: #c6ac69;
    font-weight: 400;
}

/* Fade-in Animation */
.fade-in-bottom {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-bottom.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .home-case-grid {
        flex-direction: column;
    }
    
    .home-case-title {
        min-height: auto;
        font-size: 20px;
    }
    
    .home-case-description {
        min-height: auto;
    }
    
    .case-studies-heading {
        font-size: 28px;
    }
    
    .case-studies-intro {
        font-size: 16px;
    }
}

/* ----- SERVICES GRID LAYOUT STYLES ----- */
.services-section-grid {
    max-width: 1400px !important;
    margin: 80px auto 60px;
    padding: 0 0;
    
}

.services-heading {
    font-size: 32px;
    margin-bottom: 20px;
    color: #121212;
    display: inline-block;
}

.services-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #4c4c4c;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Grid Layout - 2x2 mit Überlauf */
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 110%;
    margin-left: -5%;
    position: relative;
    
}

/* Grid Item Styling */
.service-grid-item {
    position: relative;
    border: 1px solid #c6ac69;
    border-radius: 12px;
    background-color: #fff;
    padding: 30px;
    transition: all 0.4s ease;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform: perspective(1000px);
    will-change: transform;
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    
}

.wp-block-group.services-grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    width: 100%;
    max-width: 1400px !important;
    margin: 0 auto;
    position: relative;
}

.wp-block-group.service-grid-item {
    position: relative;
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}

.service-grid-item:hover {
    border-color: #d2ac4b;
    transform: translateY(-5px);
}



/* Columns-Layout optimieren */
.wp-block-columns.services-row {
    gap: 30px;
    margin-bottom: 30px;
}

.wp-block-column {
    display: flex;
    justify-content: center;
}

/* Größerer Halbkreis in der oberen rechten Ecke */
.service-semicircle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #c6ac69;
    opacity: 0.08;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(1);
    z-index: 1;
}

.service-grid-item:hover .service-semicircle {
    opacity: 0.15;
    transform: scale(1.05);
}

/* Größere Icons, besser positioniert */
.service-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    z-index: 2;
    transition: transform 0.4s ease;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: #c6ac69;
}

.service-icon.active {
    transform: rotateY(180deg);
}

/* Title */
.service-grid-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #121212;
    position: relative;
    z-index: 2;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(198, 172, 105, 0.2);
}

/* Description */
.service-grid-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4c4c4c;
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* Link */
.service-grid-link {
    margin-top: auto;
    margin-bottom: 5px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.service-grid-link a {
    color: #0066cc;
    text-decoration: none;
    position: relative;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    display: inline-block;
    padding-bottom: 2px;
}

.service-grid-link a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c6ac69;
    transition: width 0.3s ease;
}

.service-grid-link a:hover {
    color: #c6ac69;
}

.service-grid-link a:hover:after {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        margin-left: 0;
    }
    
    .service-grid-item {
        max-width: 100%;
        margin: 0 auto;
        height: auto;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .services-heading {
        font-size: 28px;
    }
    
    .services-intro {
        font-size: 16px;
    }
    
    .service-grid-item {
        padding: 25px;
        height: auto;
        min-height: 250px;
    }
    
    .service-semicircle {
        width: 120px;
        height: 120px;
        top: -50px;
        right: -50px;
    }
    
    .service-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .service-grid-item {
        padding: 20px;
        min-height: auto;
    }
    
    .service-grid-title {
        font-size: 20px;
    }
    
    .service-semicircle {
        width: 100px;
        height: 100px;
        top: -40px;
        right: -40px;
    }
    
    .service-icon {
        width: 32px;
        height: 32px;
        top: 12px;
        right: 12px;
    }
    
    /* Disable 3D effect on small screens for performance */
    .service-grid-item {
        transform: none !important;
    }
}



.consulting-icon {
     width: 70px;
     height: 70px;
     top: -5px;
     right: 0px;
}

@media (max-width: 1200px) {
    .consulting-icon {
        width: 60px;
        height: 60px;
        top: 0px;
        right: 5px;
    }
}

@media (max-width: 992px) {
    .consulting-icon {
        width: 55px;
        height: 55px;
        top: 5px;
        right: 5px;
    }
}

@media (max-width: 768px) {
    .consulting-icon {
        width: 50px;
        height: 50px;
        top: 5px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .consulting-icon {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
}
/* Video Section Styling */
.video-section-container {
    max-width: 925px;
    margin: 50px auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    position: relative;
}

.video-section-container.in-view {
    opacity: 1;
    transform: translateY(0);
}

.video-header {
    text-align: center;
    margin-bottom: 15px;
}

.video-title {
    color: #121212;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: relative;
    display: inline-block;
    margin: 0 0 5px 0;
    padding-bottom: 5px;
}

.video-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 360px; /* Doppelt so lang wie zuvor */
    height: 2px;
    background: linear-gradient(to right, transparent, #c6ac69, transparent);
}

.video-wrapper {
    position: relative;
    background: #fff;
    border-radius: 20px; /* Rundere Ecken */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 3px solid #c6ac69; /* Dickerer Goldrand */
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    overflow: hidden;
}

/* Vollständig schwarzer Overlay zum Verbergen des Thumbnails */
.thumbnail-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.play-button-container {
    position: relative;
    z-index: 4;
}

.custom-play-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease;
}

.custom-play-button:hover {
    transform: scale(1.1);
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .video-section-container {
        max-width: 770px;
    }
    
    .video-title {
        font-size: 22px;
    }
    
    .video-title:after {
        width: 300px;
    }
    
    .video-wrapper {
        border-radius: 16px;
        border-width: 2px;
    }
    
    .custom-play-button svg {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .video-section-container {
        max-width: 570px;
        margin: 35px auto;
    }
    
    .video-title {
        font-size: 20px;
    }
    
    .video-title:after {
        width: 240px;
    }
    
    .video-wrapper {
        border-radius: 14px;
    }
    
    .custom-play-button svg {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .video-section-container {
        max-width: 95%;
    }
    
    .video-wrapper {
        border-radius: 12px;
    }
    
    .video-title {
        font-size: 18px;
    }
    
    .video-title:after {
        width: 200px;
    }
    
    .custom-play-button svg {
        width: 80px;
        height: 80px;
    }
}

/* Optimierte Styles für die Case Study Container */
.case-study-container {
  padding: 40px 40px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
  background-color: #fcfcfc !important;
  border-radius: 10px !important;
  
}

.case-study-container:hover {
  
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Verbesserte Spalten-Layout für Case Studies */
.case-study-item {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 30px !important;
}

/* Linke Spalte mit Logo und Informationen */
.case-study-item .wp-block-column:first-child {
  flex: 0 0 auto !important;
  width: 180px !important;
  min-width: 180px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Rechte Spalte mit Inhalt */
.case-study-item .wp-block-column:last-child {
  flex: 1 1 auto !important;
  padding-left: 20px !important;
  min-width: 0 !important; /* Verhindert Überlauf */
  display: flex !important;
  flex-direction: column !important;
}

/* Logo-Bereich optimieren */
.case-study-logo {
  max-width: 150px !important;
  height: auto !important;
  margin: 0 auto 15px !important;
  display: block !important;
}

/* Client-Name und Service-Info */
.case-study-client {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 5px !important;
  text-align: center !important;
  width: 100% !important;
}

.case-study-service {
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #555 !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  width: 100% !important;
}

.case-study-date {
  font-size: 13px !important;
  color: #777 !important;
  text-align: center !important;
  width: 100% !important;
}

/* Fallstudie Titel */
.case-study-title {
  font-size: 22px !important;
  line-height: 1.4 !important;
  margin-bottom: 15px !important;
  color: #121212 !important;
  width: 100% !important;
}

/* Fallstudie Einleitung */
.case-study-intro {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #4c4c4c !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

/* Zitat-Block */
.case-study-quote {
  background-color: #f8f8f8 !important;
  border-left: 3px solid #c6ac69 !important;
  padding: 15px 20px !important;
  margin: 20px 0 !important;
  font-style: italic !important;
  width: 100% !important;
}

.case-study-quote p {
  margin-bottom: 5px !important;
  font-size: 15px !important;
}

.case-study-quote cite {
  font-size: 14px !important;
  color: #666 !important;
}

/* Button Styling */
.case-study-button {
  margin-top: 20px !important;
  display: flex !important;
 justify-content: center !important;
}

.case-study-button a {
  display: inline-block !important;
  background-color: #c6ac69 !important;
  color: white !important;
  padding: 12px 25px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  width: auto !important;
}

.case-study-button a:hover {
  background-color: #d2ac4b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(198, 172, 105, 0.3) !important;
}

 /* Entferne den schwarzen Pfeil und den goldenen Strich */
 .wp-block-button__link::after {
   display: none !important;
 }

 /* Entferne den goldenen Strich unter dem Button */
 .case-study-button a::after,
 .case-study-button::after {
   display: none !important;
 }
 
 /* Entferne auch den Unterstrich, falls vorhanden */
 .custom-separator + .wp-block-buttons,
 .wp-block-buttons + .custom-separator {
   display: none !important;
 }

/* Trennlinie zwischen Case Studies */
.custom-separator {
  height: 1px !important;
  background-color: rgba(0, 0, 0, 0.08) !important;
  width: 100% !important;
  margin: 40px 0 !important;
  transform: none !important;
}

/* Fallstudie Titel und Inhalt - vertikal anordnen */
.wp-block-buttons {
  width: 100% !important;
}

.is-style-shadow-lift-button::after,
.is-style-shadow-lift-button .wp-block-button__link::after,
.wp-block-button.is-style-shadow-lift-button::after,
.wp-block-button.is-style-shadow-lift-button .wp-block-button__link::after,
.wp-block-button__link::after,
.wp-element-button::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
@media (max-width: 768px) {
  .wp-block-button__link::after,
  .is-style-shadow-lift-button .wp-block-button__link::after {
    width: auto !important;
    max-width: 100% !important;
    left: 0 !important;
    right: auto !important;
  }
}
/* Responsive Anpassungen */
@media (max-width: 991px) {
  .case-study-item {
    flex-wrap: wrap !important;
    gap: 20px !important;
  }
  
  .case-study-item .wp-block-column:first-child {
    width: 100% !important;
    min-width: 100% !important;
    margin-bottom: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 15px !important;
  }
  
  .case-study-logo {
    width: 120px !important;
    margin: 0 !important;
  }
  
  .case-study-client, 
  .case-study-service, 
  .case-study-date {
    flex: 1 1 100% !important;
  }
  
  .case-study-item .wp-block-column:last-child {
    padding-left: 0 !important;
    flex-direction: column !important;
  }
}

@media (max-width: 768px) {
  .case-study-container {
    padding: 30px 20px !important;
  }
  
  .case-study-title {
    font-size: 20px !important;
  }
  
  .case-study-intro {
    font-size: 15px !important;
  }
  
  .case-study-button a {
    width: auto !important;
    padding: 12px 15px !important;
  }
}

@media (max-width: 480px) {
  .case-study-container {
    padding: 25px 15px !important;
  }
  
  .case-study-title {
    font-size: 18px !important;
  }
  
  .case-study-item .wp-block-column:first-child {
    gap: 10px !important;
  }
}

body {
  background-color: #fcfcfc;
  color: #4c4c4c;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0 40px; /* Padding links und rechts hinzufügen */
  line-height: 1.6;
}

/* Für Responsive Design: Padding auf kleineren Bildschirmen anpassen */
@media (max-width: 768px) {
  body {
    padding: 0 20px; /* Weniger Padding auf Tablets */
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 15px; /* Noch weniger Padding auf Smartphones */
  }
}



@media (max-width: 767px) {
    /* Container für die Heading + Animation mit fester Höhe */
    body .first-content-container {
        position: relative !important;
        min-height: 300px !important;
        padding-bottom: 5px !important;
    }
    
    /* Überschrift-Positionierung und Schriftgrößenreduktion */
    body .first-content-container .first-content-heading {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        z-index: 5 !important;
        font-size: 28px !important; /* Reduzierte Größe */
        font-weight: 400 !important;
        white-space: normal !important;
    }
    
    /* Fix für die goldene KI-Hervorhebung */
    body .first-content-container .first-content-heading .ki-highlight {
        font-size: 28px !important;
        font-weight: 1200 !important;/* Anpassung an Überschriftgröße */
    }
    
    /* Fix für den Typing-Text */
    body .first-content-container .typing-text {
        display: block !important; /* Ändert von inline-block zu block für Zeilenumbruch */
        min-height: 50px !important;
        line-height: 1.2 !important;
        max-height: 120px !important;
        overflow: hidden !important;
        font-size: 28px !important; /* Anpassung an Überschriftgröße */
        font-weight: 400 !important;
        position: relative !important;
        margin-top: 5px !important; /* Leichter Abstand zur vorherigen Zeile */
    }
    
    /* Verstecke den ursprünglichen Cursor vollständig */
    body .first-content-container .typing-text::after {
        content: none !important;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Die Untertitel-Zeile mit reduziertem Zeilenabstand */
    body .first-content-container .subtitle {
        position: relative !important;
        margin-top: 120px !important; /* Kompromiss zwischen 1px und 400px */
        z-index: 1 !important;
        display: block !important;
        clear: both !important;
        font-size: 18px !important;
        line-height: 1.4 !important; /* Wie gewünscht */
    }
    
    /* Neuer Code für den Komma-Stil */
    body .first-content-container .first-content-heading .comma-after-highlight {
        color: #121212 !important; /* Gleiche Farbe wie die Überschrift */
        font-weight: 400 !important; /* Gleiche Stärke wie die Überschrift */
    }
    
    /* Den ursprünglichen Zeilenumbruch unterdrücken */
    body .first-content-container .first-content-heading br {
        display: none !important;
    }
    
    /* "die" inline mit dem vorherigen Text darstellen */
    body .first-content-container .first-content-heading br + * {
        display: inline !important;
        
    }
}

@media only screen and (max-width: 768px) {
  .hamburger-icon {
    margin-right: -30px; /* Moves the hamburger icon 30px to the right */
    position: relative; /* Ensures the positioning works */
    z-index: 1001; /* Keep it above other elements */
  }
  
  
}

@media only screen and (max-width: 768px) {
  .consultation-button {
    margin-right: 10px !important; /* Moves the button to the left */
  }
  
  .header-right {
    justify-content: space-between !important; /* Distributes space better */
    padding-right: 0 !important; /* Removes any right padding */
  }
}

/* Responsive Anpassungen nur für mobile Geräte */
@media (max-width: 768px) {
  /* Container-Einstellungen für mobile Geräte */
  .container, #primary, .content-area, .site-main, .entry-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  /* Textumbruch für lange Inhalte auf kleinen Bildschirmen */
  .privacy-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    padding: 0 10px;
  }
  
  /* Anpassung der Abstände */
  .is-style-gold-accent {
    padding: 5px 10px !important;
  }
  
  /* Überschriften ohne seitliche Abstände */
  h1, h2, h3, h4 {
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Verbesserte Darstellung von Links mit langen URLs */
  a {
    word-break: break-word;
  }
  
  /* Listeneinrückung auf kleinen Bildschirmen reduzieren */
  .is-style-gold-accent ul {
    padding-left: 20px;
  }
}

/* For mobile screens */
@media (max-width: 768px) {
    .consultation-button {
        /* Adjust padding for better fit */
        padding: 3px 7px;
        font-size: 9px; /* Slightly smaller font on mobile */
        
        display: flex; /* Ermöglicht vertikale Zentrierung */
        align-items: center; /* Zentriert Text vertikal */
        justify-content: center; /* Zentriert Text horizontal */
        
        line-height: 1; /* Verbessert die Textzentrierung */
    }
}



/* Verbesserter Basis-Container für Hintergrundeffekte */
.background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.gold-gradient-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(
      90deg,
      rgba(252, 252, 252, 1) 0%,
      rgba(252, 252, 252, 0.98) 55%,
      rgba(230, 214, 170, 0.09) 80%, /* Hellerer, champagnerfarbener Goldton */
      rgba(225, 200, 115, 0.18) 100% /* Champagner-Gold am Rand */
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(225, 200, 115, 0.12) 0%,
      rgba(230, 214, 170, 0.04) 25%,
      transparent 60%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(225, 200, 115, 0.08) 0%,
      rgba(230, 214, 170, 0.03) 30%,
      transparent 60%
    );
  opacity: 1;
}

.network-graphic {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60%; /* Linke 60% des Bildes */
    z-index: -1;
    pointer-events: none;
    
    /* Verwende die externe SVG-Datei als Hintergrund */
    background-image: url('https://estatebotics.com/wp-content/uploads/2025/05/4034229_85207-1.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 82% auto; /* Angepasst auf 80% der Originalgröße (166.7% weil wir nur 60% anzeigen) */
    
    /* Abschneiden, um nur die linken 60% zu behalten */
    clip-path: inset(0 60% 0 0);
    
    /* An Y-Achse spiegeln */
    transform: scaleX(-1);
    
    /* Farben anpassen für echtes Gold und viel stärker eingebleicht */
    filter: sepia(1) hue-rotate(325deg) saturate(0.2) brightness(1.5) opacity(0.05);
    
    /* Nur auf Desktop anzeigen */
    display: none;
}

/* Zeige das Netzwerk nur auf größeren Bildschirmen an */
@media (min-width: 992px) {
    .network-graphic {
        display: block;
    }
}

@media (min-width: 1467px) {
  /* Only apply this style on screens wider than 768px (desktop) */
  .hamburger-icon {
    margin-right: -80px; /* This will shift the icon 30px to the right */
    position: relative; /* Ensures the positioning works */
    z-index: 1001; /* Keep it above other elements */
  }
}

/* ----- ABOUT US PAGE STYLES ----- */
/* Einführungsbereich - Änderung der Klassen zur Konsistenz mit anderen Seiten */
.reference-intro-section {
  max-width: 1200px;
  margin: 60px auto 80px;
  padding: 0 0;
}

/* Diese Stile werden nur benötigt, wenn sie nicht in der bestehenden CSS definiert sind */
.reference-subtitle {
  font-size: 18px;
  color: #777;
  font-weight: 400;
  margin-bottom: 5px;
}

.reference-heading {
  font-size: 48px;
  color: #121212;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.2;
  position: relative;
}

.reference-description {
  font-size: 18px;
  line-height: 1.6;
  color: #4c4c4c;
  max-width: 800px;
  margin-bottom: 40px;
}

/* Hervorhebung von Text, falls nicht in bestehender CSS */
.highlight-text {
  color: #c6ac69;
  font-weight: 400;
}

/* Mission-Ziele */
.mission-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.mission-goal {
  background-color: #f5f5f5;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  color: #121212;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-goal:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(198, 172, 105, 0.2);
}

/* Expertise-Abzeichen */
.expertise-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.expertise-badge {
  background-color: #c6ac69;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(198, 172, 105, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(198, 172, 105, 0.3);
  background-color: #b49b5d;
}

/* Responsive Anpassungen, falls nicht bereits vorhanden */
@media (max-width: 991px) {
  .reference-heading {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .reference-heading {
    font-size: 30px;
  }
  
  .reference-description {
    font-size: 16px;
  }
  
  .reference-intro-section,
  .process-phase-section {
    padding: 0 20px;
  }
  
  .mission-goals, 
  .expertise-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .mission-goal,
  .expertise-badge {
    width: auto;
   display: inline-block;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .reference-heading {
    font-size: 28px;
  }
}

/* Video Coming Soon Page Styles */
.video-coming-soon-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Roboto', Arial, sans-serif;
    text-align: center;
}

.main-heading {
    font-size: 36px;
    color: #121212;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

.video-description {
    text-align: center;
    margin-bottom: 40px;
}

.subtitle {
    font-size: 20px;
    color: #4c4c4c;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: 200px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(198, 172, 105, 0.2);
    border: 2px solid #c6ac69;
    position: relative;
    background-color: #1a1a1a;
}

.video-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
}

.coming-soon-text {
    color: white;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    background: linear-gradient(to right, #ffffff, #c6ac69);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
}

.play-icon {
    opacity: 0.8;
    transition: all 0.3s ease;
    transform: scale(1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.video-placeholder:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Countdown Styles */
.countdown-container {
    text-align: center;
    margin-bottom: 50px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.countdown-unit {
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-unit span:first-child {
    font-size: 36px;
    font-weight: 700;
    color: #c6ac69;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 14px;
    color: #4c4c4c;
    font-weight: 500;
}

.release-date {
    font-size: 18px;
    color: #121212;
    font-weight: 500;
}

/* Video Content Preview */
.video-content-preview {
    background-color: #fcfcfc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    border-left: 4px solid #c6ac69;
    text-align: left;
}

.video-content-preview h2 {
    color: #121212;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.video-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-features li {
    padding: 12px 15px 12px 40px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.video-features li:last-child {
    border-bottom: none;
}

.video-features li:before {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 12px;
    color: #c6ac69;
    font-weight: bold;
    font-size: 18px;
}

.video-features li strong {
    color: #c6ac69;
}

/* Notification Box */
.notification-box {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.notification-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #121212;
}

.notification-box p {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-note {
    margin-top: 25px;
    font-size: 16px;
    color: #555;
    font-style: italic;
}

/* MailPoet Form Styling */
.mailpoet_form {
    max-width: 600px !important;
    margin: 0 auto 20px !important;
}

.mailpoet_paragraph {
    margin-bottom: 15px !important;
}

.mailpoet_text_label, 
.mailpoet_checkbox_label {
    display: none !important;
}

input.mailpoet_text {
    width: 100% !important;
    padding: 15px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.mailpoet_submit {
    background-color: #c6ac69 !important;
    color: white !important;
    border: none !important;
    padding: 15px 25px !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
}

.mailpoet_submit:hover {
    background-color: #d2ac4b !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(198, 172, 105, 0.3) !important;
}

.mailpoet_validate_success {
    color: #0c9c49 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

.mailpoet_validate_error {
    color: #c51919 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.disclaimer {
    font-size: 14px;
    color: #777;
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-heading {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .video-placeholder {
        height: 200px;
    }
    
    .coming-soon-text {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .play-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-unit {
        min-width: 60px;
        padding: 10px;
    }
    
    .countdown-unit span:first-child {
        font-size: 28px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .video-content-preview {
        padding: 20px;
    }
    
    .video-content-preview h2 {
        font-size: 20px;
    }
    
    .notification-box {
        padding: 25px;
    }
    
    .notification-box h3 {
        font-size: 20px;
    }
    
    .notification-box p {
        font-size: 16px;
    }
    
    .mailpoet_form {
        max-width: 100% !important;
    }
    
    .mailpoet_submit {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .video-placeholder {
        height: 200px;
    }
    
    .coming-soon-text {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .play-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .countdown-unit {
        min-width: 50px;
        padding: 8px;
    }
    
    .countdown-unit span:first-child {
        font-size: 24px;
    }
    
    .video-features li {
        padding: 10px 10px 10px 35px;
        font-size: 15px;
    }
    
    .video-features li:before {
        left: 5px;
        font-size: 16px;
    }
    
    .notification-box {
        padding: 20px;
    }
}