:root {
  --primary: #257dfd;
  --bg: #fcfcfd;
  --text: #15171a;
  --muted: #6a7582;
  --accent: #f2f7fd;
  --border: #e9eef7;
  --highlight: #e4f1ff;
  --shadow-1: 0 2px 20px #e3eeff15;
  --shadow-2: 0 8px 32px #c9e3ff15;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
* { box-sizing: inherit;}
a { color: var(--primary); text-decoration: none;}
a:hover { text-decoration: underline;}
.container { max-width: 1350px; margin: 0 auto; padding: 0 28px;}
header {
  background: #fff;
  position: sticky;
  top: 0; z-index: 200;
  box-shadow: var(--shadow-1);
  padding: 0; margin: 0 auto 0 auto;
  transition: box-shadow .2s;
}
.navbar {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between;
  padding: 36px 0 12px 0;
}
.brand {
  font-size: 2.1rem; font-weight: 700;
  color: #23282d;
}
.nav-links { display: flex; gap: 36px; font-weight: 500;}
.nav-links a {
  color: #23282d; font-size: 1.11rem;
  border-radius: 7px; padding: 7px 13px;
  transition: color .13s, background .13s;
}
.nav-links a:hover, .nav-links .active {
  color: var(--primary); background: var(--highlight);
}
/* HERO--- */
.hero-sec {
  display: flex; flex-wrap: wrap; align-items: stretch;
  width: 100%; margin: 38px 0 0 0; min-height:320px;
}
.hero-left {
  flex: 1 1 500px; min-width: 355px; max-width: 570px;
  padding: 0 32px 0 0; display: flex; flex-direction: column;
  justify-content: center;
}
.hero-left h1 {
  font-size: 2.53rem; font-weight: 700;
  color: #161b1e; margin-bottom: 18px;
  line-height: 1.13; letter-spacing: .5px;
}
.hero-left .subtitle {
  font-size: 1.22rem; line-height: 1.58;
  color: var(--muted); margin-bottom: 19px; max-width: 480px;
}
.hero-left .problem-hook {
    font-weight: 600;
    color: #1d345d;
    margin-bottom: 19px;
    font-size: 1.1em;
}
.hero-cta {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top:11px;
}
.cta-btn {
  background: var(--primary); color: #fff;
  border: none; border-radius: 13px;
  padding: 15px 40px; font-size: 1.15rem; font-weight: 600;
  cursor: pointer; transition: background .11s, box-shadow .11s;
  box-shadow: 0 8px 36px #8dc5fe27, 0 1px 1px #e7f1ff;
  margin-bottom:10px;
}
.cta-btn:hover { background: #1760cd;}
.hero-right {
  flex: 1 1 520px; min-width:320px; max-width:680px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding:0;
  min-height: 320px;
  gap: 18px;
}
.hero-video {
  width: 100%; max-width: 520px; min-width: 280px; background: #f3f7fa;
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 2px 38px #d0e9ff23, 0 0.5px 1px #dbe7ee;
  aspect-ratio: 16/9; min-height: 210px;
  position: relative; 
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0;
}
.hero-video video {
  width: 100%; height: 100%; object-fit: cover; display: block; border:0;
}
/* --- SECTION SHARED STYLES --- */
.section-title {
    font-size: 2.15rem; font-weight: 800; color: #1d345d; 
    margin-bottom: 45px; text-align: center;
    letter-spacing:.5px;
}
.section-title span {
    color: var(--primary);
}
.section-wrapper {
    margin: 120px 0;
}
/* --- SOCIAL PROOF / FALLSTUDIEN --- */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.case-study-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px #c8dfff20;
    border: 1.4px solid #e8eef6;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px #c8dfff35;
}
.case-study-image {
    height: 180px;
    background: #e9eef7;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; color: var(--muted);
}
.case-study-content {
    padding: 24px;
}
.case-study-content h3 {
    font-size: 1.25rem; font-weight: 700; color: var(--text);
    margin-top: 0; margin-bottom: 12px;
}
.case-study-details {
    list-style: none;
    padding: 0; margin: 0;
    font-size: 1.05rem;
}
/* =============================================== */
/* ===== NEU: BILDER RESPONSIVE FORMATIEREN ===== */
/* =============================================== */
.case-study-image img, .about-us-image img {
  display: block;      /* Verhindert unerwünschte Abstände unter dem Bild */
  width: 100%;         /* Bild ist immer so breit wie der Container */
  height: 100%;        /* Bild ist immer so hoch wie der Container */
  object-fit: cover;   /* Füllt den Container, schneidet Überschuss ab (kein Verzerren!) */
}

.case-study-details li {
    margin-bottom: 8px;
    color: var(--muted);
}
.case-study-details b {
    color: var(--text);
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
}
/* --- ÜBER UNS --- */
.about-us-section {
    background: #f5faff;
    border-radius: 28px;
    padding: 60px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    border: 1px solid #e5eef8;
}
.about-us-image {
    flex: 1 1 300px;
    min-width: 250px;
    max-width: 350px;
    
    /* NEU: Höhe festlegen, um eine Eiform zu erzeugen */
    height: 420px; 
    
    /* Stellt sicher, dass das Bild beschnitten wird */
    overflow: hidden;
    
    /* Erzeugt die ovale/Ei-Form auf dem rechteckigen Container */
    border-radius: 50%; 
}
.about-us-image div {
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    border-radius: 50%;
    background: #e4e9f4;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; color: var(--muted);
    font-size: 1.2rem;
}
.about-us-content {
    flex: 2 1 500px;
}
.about-us-content h2 {
    margin-top: 0;
    font-size: 2.15rem; font-weight: 800; color: #1d345d;
}
.about-us-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 1.2em;
}
.about-us-content .highlight {
    color: var(--text);
    font-weight: 600;
}
/* --- VORTEILE --- */
.vorteile-section {
  background: #eef5ff;
  border-radius: 28px;
  box-shadow: var(--shadow-2);
  padding: 60px 40px;
  border:1.4px solid #deebff;
}
/* --- VERGLEICHSTABELLE --- */
.table-container {
    /* Standardmäßig kein Scrollen nötig */
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 50px auto;
    max-width: 1100px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 22px #b3d5ff20;
}
.comparison-table th, .comparison-table td {
    padding: 18px 15px;
    text-align: center;
    border-bottom: 1px solid #e9eef7;
    white-space: nowrap; /* Verhindert unschönen Zeilenumbruch in Zellen */
}
.comparison-table th {
    background-color: #f8fbff;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}
.comparison-table td {
    font-size: 1.05rem;
    color: var(--muted);
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table .feature-col {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}
.comparison-table .our-robot-col {
    background-color: var(--highlight);
    font-weight: 700;
    color: var(--primary);
}
.our-robot-col .ersparnis {
    font-size: 1.2em;
    font-weight: 800;
}
.andere-vorteile {
  background: #f5faff; border-radius: 24px; padding: 36px 35px 16px 35px;
  margin: 26px auto 0 auto; box-shadow: 0 2px 14px #bedffb15;
  max-width: 1000px; border:1.1px solid #e5eef8;
}
.andere-vorteile h3 {
  font-size: 1.5rem; font-weight: 800; color: var(--primary);
  margin-top: 0; margin-bottom: 25px; text-align: center; letter-spacing:.1px;
}
.andere-vorteile ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; font-size: 1.08rem; color: var(--text);
}
.andere-vorteile li {
  padding: 0 0 8px 0; font-weight: 500; line-height: 1.48;
}
 .andere-vorteile li b {
    font-weight: 700;
    color: #1d345d;
 }
.andere-vorteile li span {
  display: block; color: var(--muted); font-weight: 400;
  font-size: 0.94em; margin-top: 4px;
}
/* --- FAQ --- */
.faq-section {
    max-width: 900px;
    margin: 120px auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #e9eef7;
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform .2s;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out, padding .3s ease-out;
}
.faq-answer p {
    padding: 0 25px 20px 25px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--muted);
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
/* --- KONFIGURATOR --- */
.konfig-sec {
  width: 100%; 
  background: linear-gradient(135deg, #f3f7fe 70%, #e5f1ff 100%);
  border-radius: 28px;
  padding: 68px 0 46px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 34px #3776b51a;
  margin-bottom: 40px;
  border: 1.3px solid #e8eef6;
  min-height: 360px;
  max-width: 102vw;
}
.konfig-left {
  flex: 1 1 550px; min-width: 320px; max-width: 660px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 0 36px;
}
.produkt-bild-box {
  background: #e4e9f4;
  border-radius: 20px;
  box-shadow: 0 2px 25px #7ec3ff11;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 270px; max-width:560px; max-height: 430px;
  overflow: hidden; position: relative;
  margin-bottom: 32px;
  border:1.2px solid #e0e6f5;
}
.produkt-bild-box img, .produkt-bild-box video {
  width: 100%; height: 100%; max-width: 410px; object-fit: contain;
  display:block; border-radius:0;
}
.produkt-slider-nav {
  position: absolute; top: 50%; width: 100%; display: flex;
  justify-content: space-between; padding: 0 2vw; transform: translateY(-50%);
  z-index: 3;
}
.slider-arrow {
  background: #fffbe8e0;
  border: none;
  width: 40px;  /* Etwas größer für bessere Bedienbarkeit auf Touch-Geräten */
  height: 40px; /* Breite und Höhe müssen identisch sein */
  border-radius: 50%; /* Der exakte Wert für einen perfekten Kreis */
  font-size: 1.5rem; /* Konsistentere Schriftgröße */
  color: #a4b3d3;
  box-shadow: 0 2px 8px #789fff11;
  cursor: pointer;
  outline: none;
  opacity: .88;
  padding: 0; /* Setzt störendes Standard-Padding von Buttons zurück */

  /* --- NEU: Garantiert die perfekte Zentrierung des Pfeils --- */
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-arrow:hover { background: #dbe8ff; color: #2562cd;}
.produkt-slider-dots {
  display: flex; gap: 7px; position: absolute;
  left: 50%; bottom: 13px; transform: translateX(-50%); z-index:4;
}
.dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: #d0e3fd; border: 2px solid #fff; cursor: pointer;
  transition: background .13s;
}
.dot.active { background: var(--primary);}
.konfig-right {
  flex: 1 1 530px; min-width: 375px; max-width: 600px; 
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 18px;
}
.konfig-formbox {
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 32px #c8dfff13, 0 3px 9px #e1edf715;
  padding: 40px 38px 30px 38px;
  width: 100%; max-width: 475px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
  border: 1.11px solid #e7effc;
  align-items: stretch;
}
.konfig-formbox h3 {
  font-size: 1.6rem;
  color: var(--primary); font-weight: 800; margin-bottom: 0;
  letter-spacing: .1px; text-align: center;
}
.konfig-formbox .base-price-display {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}
.konfig-formbox .base-price-display span {
    font-weight: 400;
    color: var(--muted);
}
.konfig-formbox .info-txt {
  color:#72809b;font-size:1rem;text-align:center;margin-bottom:10px;
}
.konfig-row {
  display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap:wrap;
  margin: 0 0 5px 0;
}
.konfig-row label {font-weight: 500; flex: 1;}
.konfig-row input[type=number] {
  width: 61px; border-radius: 7px; border: 1px solid #e8ebf4; padding: 7px 9px;
  font-size: 1.08rem; color: #232e35; background: #f2f4f9;
}
.delivery-group {margin-top: 3px; width: 100%;}
.konfig-row input[type="text"] {
  width: 100px; border-radius: 6px; border: 1px solid #e6e7f1; padding: 7px 14px;
  font-size: 1.09rem; color: #232e35; background: #eef2fa;
}
.summary-box {
  background: #fafdff; border-radius: 12px;
  box-shadow: 0 1px 8px #a7bfff0d; padding: 15px 12px 10px 12px; font-size: 1.01rem;
  color: #23324c; margin-top: 6px;
}
.summary-titel { color: var(--primary); font-weight:700; margin-bottom:5px;}
.summary-liefer {font-size:1.07rem; color:var(--primary); font-weight:600;}
.summary-price {font-size:1.25rem; color:#1d345d; font-weight:700;margin-top:7px;letter-spacing:.2px;}
.to-contact {
  margin-top: 11px; background: var(--primary); color:#fff; border:none; outline:none;
  padding: 15px 24px; font-size: 1.15rem; border-radius: 10px; font-weight: 600; cursor: pointer;
  box-shadow: 0 2px 11px #94c1fa10; transition: background .15s, transform .15s; width:100%;
  letter-spacing:.2px;text-align:center;
}
.to-contact:hover { background: #1a5ec9; transform: translateY(-2px);}
/* --- KONTAKT ---- */
.contact-section {
  background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
  margin: 60px auto 40px auto; padding: 50px;
  border-radius: 24px; width: 100%; max-width: 900px;
  box-shadow: 0 8px 32px #c9e3ff20, 0 2px 8px #deeeff15;
  position: relative; overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), #4a9eff, var(--primary));
}
.contact-section h3 {
  font-size: 2rem; color: var(--primary); font-weight: 700; 
  margin-bottom: 12px; text-align: center; line-height: 1.2;
}
.contact-section .subtitle {
  font-size: 1.1rem; color: var(--muted); text-align: center;
  margin-bottom: 35px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.contact-section form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; width: 100%; margin: 0 auto;
}
.contact-section .form-group {
  display: flex; flex-direction: column;
}
.contact-section label {
  font-weight: 600; color: var(--text); margin-bottom: 8px;
  font-size: 1.02rem;
}
.contact-section input[type="text"], 
.contact-section input[type="email"], 
.contact-section input[type="tel"] {
  padding: 16px 18px; font-size: 1.08rem; border-radius: 12px;
  border: 2px solid #e1e8f4; background: #fff;
  transition: all .2s; box-shadow: 0 2px 8px #f0f6ff80;
}
.contact-section input:focus {
  border-color: var(--primary); outline: none;
  box-shadow: 0 2px 8px #2577fd20, 0 0 0 3px #e4f1ff;
  transform: translateY(-1px);
}
.contact-section button {
  grid-column: 1 / -1; justify-self: center;
  padding: 18px 50px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, var(--primary), #4a9eff);
  font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px;
  border: none; cursor: pointer; 
  box-shadow: 0 6px 20px #2577fd30, 0 2px 4px #2577fd20;
  transition: all .2s; text-transform: uppercase;
  margin-top: 15px; min-width: 280px;
}
.contact-section button:hover { 
  background: linear-gradient(135deg, #1a5ec9, #3d8fee);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #2577fd40, 0 4px 8px #2577fd25;
}
.contact-section button:active {
  transform: translateY(0);
}
.contact-bottom-text {
  margin-top: 25px; font-size: 1.05rem; color: var(--muted); 
  text-align: center; font-weight: 500;
}
.company-info {
  margin: 40px auto 30px auto; padding: 20px 25px;
  font-size: 1.02rem; color: #7c8591; max-width: 800px; border-radius: 16px;
  background: #f7fafd; text-align: center;
  box-shadow: 0 2px 12px #d0e5fa15; border: 1px solid #f2f7fa;
}
.company-info a { color: var(--primary); font-weight: 600;}
footer {
  background: #f7fafd; color: #93a3b8; text-align: center;
  font-size: .97rem; padding: 12px 0;
  border-top: 1px solid #e6edf9; letter-spacing: 1.2px;
}
/* --- NEU: Styles für Hamburger-Menü --- */
.nav-toggle {
    display: none; /* Auf dem Desktop ausblenden */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Stellt sicher, dass es über anderen Inhalten liegt */
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
/* =============================================================== */
/* --- NEU: Styles für Impressum/Datenschutz Modal & Footer --- */
/* =============================================================== */

footer {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 23, 26, 0.7);
  display: none; /* Standardmäßig ausgeblendet */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 15px;
}

.modal-overlay.open {
  display: flex; /* Wird per JS eingeblendet */
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  position: relative;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal-content h2 {
  margin: 0 0 20px 0;
  color: var(--primary);
  font-size: 1.8rem;
}

#modal-body {
  overflow-y: auto; /* Macht den Inhalt scrollbar, falls er zu lang ist */
  line-height: 1.6;
  color: var(--muted);
}

#modal-body p {
  margin-bottom: 1em;
}

#modal-body h3 {
  color: var(--text);
  margin-top: 1.5em;
}
/* ------ MOBIL ------ */
@media (max-width:1100px){
  .container, .konfig-left, .konfig-right{padding: 0 2vw;}
  .konfig-formbox{padding:26px 7px 17px 7px;}
}
@media (max-width:900px) {
  .konfig-left, .konfig-right{max-width: 98vw !important;}
  .comparison-table { font-size: 0.9rem; }
  .comparison-table th, .comparison-table td { padding: 12px 8px; }
  .table-container {
    overflow-x: auto; /* Erlaubt horizontales Scrollen NUR für diesen Container */
    -webkit-overflow-scrolling: touch; /* Sorgt für flüssiges Scrollen auf Apple-Geräten */
  }
}
@media (max-width:700px) {
  .container { padding: 0 6px;}
  .navbar {
    flex-direction: row; /* Elemente nebeneinander anordnen */
    justify-content: space-between; /* Elemente an die Enden schieben */
    align-items: center; /* Vertikal zentrieren */
    padding: 15px 10px; /* Kompakterer Abstand (oben/unten | links/rechts) */
  }
  .hero-left, .hero-right {width:100%; padding:0;}
  .hero-left h1 {font-size:2rem;}
    /* HIER DIE NEUE REGEL EINFÜGEN */
  .hero-sec { margin-top: -10px; } /* Reduziert den Abstand von 38px auf 10px */
  .nav-links { 
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    
  }
  .nav-links a { font-size: 1rem; padding: 6px 10px;}
  .hero-video {max-width: 99vw;min-width:0;}
  .section-wrapper, .faq-section { margin: 80px 0; }
  .about-us-section { padding: 40px 15px; text-align: center; }
    .about-us-image { 
    margin: 0 auto; 
    max-width: 280px; /* Etwas kleiner machen */
    height: 350px;    /* Höhe proportional anpassen */
  }
  .vorteile-section { padding: 40px 15px; }
  .section-title { font-size: 1.8rem; }
  /* Innerhalb von @media (max-width:700px) */
.nav-toggle {
    display: block; /* Auf Mobilgeräten anzeigen */
}

.nav-links-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateX(100%); /* Startet außerhalb des Bildschirms */
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
}

.nav-links-wrapper.open {
    transform: translateX(0);
    visibility: visible;
}

.nav-links {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%; /* Breite des Menüs */
    max-width: 300px;
    height: 100%;
    background-color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 80px; /* Platz für den Schließen-Button */
    gap: 10px;
}

.nav-links a {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.2rem;
}
 .hero-right {
    margin-top: -2.5cm;
  }
  
  /* NEU: Stellt sicher, dass die Buttons nebeneinander bleiben */
  .hero-cta {
    display: flex;       /* Aktiviert Flexbox für den Container */
    flex-wrap: nowrap;   /* Verhindert das Umbrechen in die nächste Zeile */
    width: 100%;         /* Stellt sicher, dass der Container die volle Breite nutzt */
    gap: 10px;           /* Reduziert den Abstand zwischen den Buttons */
    padding-top: 3pc;
  }

  /* NEU: Passt die Buttons an, damit sie den Platz dynamisch füllen */
  .cta-btn {
    flex-grow: 1;        /* Erlaubt den Buttons, den verfügbaren Platz zu füllen */
    flex-basis: 0;       /* Gibt beiden Buttons die gleiche Ausgangsbreite */
    padding-left: 10px;  /* Reduziert den inneren Abstand für kleine Bildschirme */
    padding-right: 10px; /* Reduziert den inneren Abstand für kleine Bildschirme */
    text-align: center;  /* Zentriert den Text innerhalb des Buttons */
    font-size: 1rem;     /* Verkleinert die Schriftgröße leicht, damit sie besser passt */
  }
}
@media (max-width:550px) {
  .brand { font-size: 1.5rem;}
  .contact-section { padding: 11px;}
  .contact-section h3 { font-size: 1.25rem;}
  .konfig-sec {padding:35px 0 6px 0;}
}
@media (max-width:500px) {
  .konfig-left, .konfig-right{ min-width:0 !important;}
  .konfig-formbox{padding:13px 2px 12px 2px;}
  .konfig-row label {font-size: .97rem;}
  .konfig-sec{border-radius: 11px;}
  .produkt-bild-box{margin-bottom:17px;min-height:120px;}
}
/* =============================================== */
/* ===== NEU: BUTTON-ANIMATIONEN FÜR KONTAKT ===== */
/* =============================================== */

.contact-section button {
  position: relative; /* Wichtig für die Positionierung des Spinners */
  overflow: hidden;   /* Verhindert, dass Elemente überstehen */
  transition: background-color 0.4s ease-in-out, width 0.4s ease-in-out, color 0.3s;
  min-height: 58px; /* Feste Höhe, damit der Kreis rund wird */
}

/* Der Text im Button */
.contact-section button .button-text {
  transition: opacity 0.3s ease-in-out;
}

/* Zustand: WIRD GESENDET */
.contact-section button.sending {
  width: 58px; /* Button schrumpft auf eine runde Form */
  pointer-events: none; /* Verhindert weitere Klicks während des Sendens */
}

.contact-section button.sending .button-text {
  opacity: 0; /* Text ausblenden */
}

/* Der Lade-Spinner (wird nur im "sending"-Zustand sichtbar) */
.contact-section button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-top-color: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg); /* Startposition */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  animation: spin 1s linear infinite;
}

.contact-section button.sending::after {
  opacity: 1; /* Spinner einblenden */
}

/* Zustand: ERFOLGREICH GESENDET */
.contact-section button.success {
  background: linear-gradient(135deg, #28a745, #218838); /* Grüner Farbverlauf */
  width: 100%; /* Button wieder auf volle Breite ausdehnen */
  border-color: #28a745;
  cursor: default;
}

.contact-section button.success .button-text {
  opacity: 1; /* Text wieder einblenden */
}

/* Die Keyframe-Animation für den Spinner */
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}