 #bewertungen .bewertungs-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1100px;
  }

  #bewertungen .bewertung-box {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 320px;
    background: linear-gradient(135deg, rgb(255, 255, 255), #ffffff);
    color: #222;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #bewertungen .bewertung-box.fade-out {
    opacity: 0;
    transform: translateY(20px);
  }

  #bewertungen .sterne {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #f5b301; /* goldene Sterne */
  }

  #bewertungen .text {
    font-size: 0.95em;
    color: #333;
    margin-bottom: 12px;
  }

  #bewertungen .autor {
    font-size: 0.9em;
    color: #555;
    margin-top: auto;
    font-weight: bold;
  }


  #jobs {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
  }

  #jobs h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #1e1e1e;
  }

  .job-card {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    border: 1px solid #fdfeff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
  }

  .job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  }

  .job-card h3 {
    font-size: 1.4em;
    color: #00729f;
    margin-bottom: 15px;
  }

  .job-card p {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
  }

  .job-card .btn-bewerben {
    margin-top: 25px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #00729f;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
  }

  .job-card .btn-bewerben:hover {
    background-color: #005577;
  }



    @media (max-width: 700px) {
  body { font-size: 1em; }
  nav { flex-direction: row !important; flex-wrap: wrap; gap: 10px; padding: 8px 0; }
  nav a { font-size: 1em; padding: 8px 0; white-space: nowrap; }
  section { padding: 10px 2vw; }
  .card {
    padding: 18px 10px;
    font-size: 1em;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(120deg, rgba(255,255,255,0.93) 70%, rgba(200,235,255,0.18) 100%);
    box-shadow: 0 6px 24px 0 rgba(0, 174, 255, 0.10), 0 1.5px 8px 0 rgba(0, 174, 255, 0.05);
    border: 1.5px solid rgba(200,235,255,0.13);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.3s, background 0.4s, border 0.3s;
    color: #00334d;
    position: relative;
    overflow: hidden;
  }
  .card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 10%, rgba(0,212,255,0.08) 0%, rgba(255,255,255,0.04) 80%);
    z-index: 0;
  }
  .card > * {
    position: relative;
    z-index: 1;
  }
  .card.visible {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(120deg, rgba(255,255,255,0.98) 70%, rgba(200,235,255,0.22) 100%);
    border: 2px solid rgba(200,235,255,0.18);
    box-shadow: 0 10px 32px 0 rgba(0, 174, 255, 0.13), 0 2px 12px 0 rgba(0, 174, 255, 0.07);
  }
  .card:hover {
    box-shadow: 0 12px 36px rgba(0,212,255,0.13);
    background: linear-gradient(120deg, rgba(255,255,255,0.99) 70%, rgba(200,235,255,0.28) 100%);
    border: 2px solid rgba(200,235,255,0.22);
  }
  header { padding: 12px 4px 8px; }
  header img { height: 44px; }
  h1 { font-size: 1.1em; }
  h2 { font-size: 1em; }
  h3 { font-size: 0.95em; }
  #code-modal > div { min-width: 0; width: 96vw; padding: 12px 4px; }
  iframe { height: 140px !important; }
}

    /* ...dein gesamtes CSS bleibt wie gehabt... */
    @keyframes modalFadeIn {
      from { opacity: 0; transform: scale(0.92) translateY(40px);}
      to   { opacity: 1; transform: scale(1) translateY(0);}
    }
    @keyframes modalFadeOut {
      from { opacity: 1; transform: scale(1) translateY(0);}
      to   { opacity: 0; transform: scale(0.92) translateY(40px);}
    }
    @keyframes shake {
      0% { transform: translateX(0);}
      20% { transform: translateX(-10px);}
      40% { transform: translateX(10px);}
      60% { transform: translateX(-8px);}
      80% { transform: translateX(8px);}
      100% { transform: translateX(0);}
    }
    #code-modal.show > div {
      animation: modalFadeIn 0.45s cubic-bezier(.4,0,.2,1);
    }
    #code-modal.hide > div {
      animation: modalFadeOut 0.35s cubic-bezier(.4,0,.2,1);
    }
    #code-error.animated {
      animation: shake 0.4s;
    }
 
    
    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: var(--bg);
      color: #1a1a1a;
      overflow-x: hidden;
      user-select: none;
      font-size: 1em;
    }
    header {
      text-align: center;
      padding: 50px 20px 30px;
      background: #fff;
    }
    header img {
      height: 110px;
      margin-bottom: 15px;
      filter: grayscale(0.1);
    }
    h1 {
      font-size: 2em;
      color: var(--primary);
      letter-spacing: 1px;
    }
    nav {
      background-color: var(--accent);
      display: flex;
      justify-content: center;
      gap: 20px;
      padding: 14px;
      flex-wrap: wrap;
      box-shadow: 0 2px 8px rgba(98,184,233,0.07);
    }
    nav a {
      position: relative;
      color: white;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: 0.3s;
      padding: 6px 0;
      letter-spacing: 0.5px;
      font-size: 1em;
      white-space: nowrap;
    }
    nav a::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: -2px;
      height: 3px;
      background: linear-gradient(90deg, #ffffff 0%, #00d9ff 100%);
      border-radius: 2px;
      transform: scaleX(0);
      transition: transform 0.3s cubic-bezier(.4,0,.2,1);
      pointer-events: none;
    }
    nav a:hover::after,
    nav a.active::after {
      transform: scaleX(1);
    }
    nav a:hover {
      color: #ffffff;
    }
    section {
      max-width: 950px;
      margin: auto;
      padding: 40px 20px;
      display: none;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s;
      animation: fadeIn 0.7s;
    }
    section.active {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(30px);}
      to   { opacity: 1; transform: translateY(0);}
    }
    .card {
      background: rgba(255,255,255,0.97);
      border-radius: 12px;
      padding: 25px 30px;
      box-shadow: var(--shadow);
      margin-bottom: 25px;
      backdrop-filter: blur(1px);
      transition: box-shadow 0.3s, opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
      font-size: 1em;
      opacity: 0;
      transform: translateY(30px);
    }
    .card.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .card:hover {
      box-shadow: 0 10px 32px rgba(98,184,233,0.13);
    }
    .fancy-btn {
      background: linear-gradient(90deg, #00447c 0%, #62b8e9 100%);
      color: #fff;
      border: none;
      padding: 14px 38px;
      border-radius: 32px;
      font-size: 1em;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 6px 24px rgba(0,80,255,0.13);
      transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
      letter-spacing: 0.5px;
      outline: none;
      position: relative;
      overflow: hidden;
    }
    .fancy-btn:hover, .fancy-btn:focus {
      background: linear-gradient(90deg, #62b8e9 0%, #00447c 100%);
      transform: scale(1.04);
      box-shadow: 0 12px 32px rgba(0,80,255,0.18);
      color: #fff;
    }
    #code-input:focus {
      box-shadow: 0 0 0 3px #62b8e9;
      border-color: #00447c;
      transition: box-shadow 0.3s, border-color 0.3s;
      animation: code-glow 0.7s alternate infinite;
    }
    @keyframes code-glow {
      from { box-shadow: 0 0 0 3px #62b8e9; }
      to   { box-shadow: 0 0 12px 6px #62b8e9; }
    }
    #loading-screen {
      position: fixed;
      z-index: 99999;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(255,255,255,0.97);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: opacity 0.5s;
    }
    .loader {
      border: 6px solid #e0f7fa;
      border-top: 6px solid #62b8e9;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      animation: spin 1s linear infinite;
    }
    @keyframes spin {
      0% { transform: rotate(0deg);}
      100% { transform: rotate(360deg);}
    }
    @keyframes slideUp {
      from { transform: translateY(100px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    footer {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 20px;
      font-size: 0.9em;
      border-top: 2px solid #e0e7ef;
      position: relative;
    }
    footer a {
      color: white;
      text-decoration: underline;
      margin: 0 5px;
    }
    ::-webkit-scrollbar {
      width: 10px;
      background: #e0e7ef;
    }
    ::-webkit-scrollbar-thumb {
      background: #b3d8f6;
      border-radius: 8px;
    }
    @media (max-width: 700px) {
      body { font-size: 1em; }
      nav { flex-direction: row !important; flex-wrap: wrap; gap: 10px; padding: 8px 0; }
      nav a { font-size: 1em; padding: 8px 0; white-space: nowrap; }
      section { padding: 10px 2vw; }
      .card { padding: 10px 6px; font-size: 1em; }
      header { padding: 12px 4px 8px; }
      header img { height: 44px; }
      h1 { font-size: 1.1em; }
      h2 { font-size: 1em; }
      h3 { font-size: 0.95em; }
      #code-modal > div { min-width: 0; width: 96vw; padding: 12px 4px; }
      iframe { height: 140px !important; }
    }



/* --- Dezente Keyframes --- */
@keyframes cardFadeInGlow {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
    box-shadow: 0 0 0 0 rgba(0,212,255,0.06);
  }
  60% {
    opacity: 1;
    box-shadow: 0 0 12px 2px rgba(0,212,255,0.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 16px 0 rgba(0,212,255,0.06);
  }
}

@keyframes cardFloat {
  0% { transform: translateY(0);}
  100% { transform: translateY(-2px) scale(1.01);}
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(98,184,233,0.08);}
  70% { box-shadow: 0 0 0 6px rgba(98,184,233,0);}
  100% { box-shadow: 0 0 0 0 rgba(98,184,233,0);}
}

@keyframes btnPulseActive {
  0% { box-shadow: 0 0 0 0 rgba(0,212,255,0.10);}
  100% { box-shadow: 0 0 0 8px rgba(0,212,255,0);}
}

 body {
      -webkit-user-select: none; /* Safari, Chrome */
      -moz-user-select: none;    /* Firefox */
      -ms-user-select: none;     /* Internet Explorer/Edge */
      user-select: none;         /* Standard */
    }

.code-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto; /* oben etwas Abstand, zentriert */
  padding: 12px 25px;
  background-color: #00729f;
  color: white;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
}

.code-btn:hover {
  background-color: #005d80;
}
#code-btn {
  display: block;
  margin: 18px auto 0 auto;
}
/* Container für den Personal-Zugang */
#personal-container {
  display: flex;
  justify-content: center;    /* horizontal zentrieren */
  align-items: center;        /* vertikal in Container zentrieren */
  padding: 40px 0;            /* Luft über und unter dem Button */
}

/* Optional: max-width, damit der Container nicht zu breit wird */
#personal-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Dein Button behält hier nur noch seine Styling-Klasse */
/* Beispiel-Fallback, falls .fancy-btn noch nichts definiert */
#personal-container .fancy-btn {
  padding: 12px 24px;
  font-size: 1em;
  background-color: #00aeff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#personal-container .fancy-btn:hover {
  background-color: #0095d6;
  transform: translateY(-2px);
}
/* Leistungs Buttons */
.animated-button {
  position: relative;
  overflow: hidden;
}

/* ------------- */
/* Hintergund‑Span */
/* ------------- */
.animated-button span:last-child {
  position: absolute;
  top: 0;
  left: 0;

  /* volle Breite, damit das Pill‑Shape hinter dem gesamten Text sitzt */
  width: 100%;
  height: 100%;

  /* Rundungen übernehmen */
  border-radius: inherit;

  background: #00AEFF;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s;
}

/* Hover: einblenden */
.animated-button:hover span:last-child {
  transform: scaleX(1);
}


 /* Container */
    .services.container {
      text-align: center;
      padding: 4rem 1rem;
    }
    /* Überschrift */
    .services h1 {
      color: rgb(0, 174, 255);
      margin-bottom: 0;
      font-size: 2rem;
    }
    .services hr {
      width: 60%;
      margin: 24px auto 1.5rem auto;
      border: 0;
      border-top: 3px solid #00b7ff;
      border-radius: 2px;
    }
    /* Button‑Styles (Basis) */
    .animated-button {
      position: relative;
      display: inline-block;
      padding: 0.75rem 1.5rem;
      margin: 0.5rem 0.25rem;
      font-size: 1rem;
      color: #00AEFF;
      border: 2px solid #00AEFF;
      border-radius: 999px;
      background: transparent;
      cursor: pointer;
      overflow: hidden;
      transition: color 0.3s;
    }
    .animated-button span:last-child {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: #00AEFF;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s;
      z-index: 1;
    }
    .animated-button span:first-child {
      position: relative;
      z-index: 2;
      transition: color 0.3s;
    }
    .animated-button:hover span:last-child {
      transform: scaleX(1);
    }
    .animated-button:hover span:first-child {
      color: white;
    }
    /* Responsive: untereinander auf schmalen Bildschirmen */
    @media (max-width: 768px) {
      .animated-button {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
      }
    }



/* From Uiverse.io by alexruix */ 
.card1 {
 width: 190px;
 height: 254px;
 border-radius: 20px;
 background: #f5f5f5;
 position: relative;
 padding: 1.8rem;
 border: 2px solid #fedc00;
 transition: 0.5s ease-out;
 overflow: visible;
}

.card1-details {
 color: #fedc00;
 height: 100%;
 gap: .5em;
 display: grid;
 place-content: center;
}

.card1-button {
 transform: translate(-50%, 125%);
 width: 60%;
 border-radius: 1rem;
 border: none;
 background-color: #008bf8;
 color: #fff;
 font-size: 1rem;
 padding: .5rem 1rem;
 position: absolute;
 left: 50%;
 bottom: 0;
 opacity: 0;
 transition: 0.3s ease-out;
}

.text1-body {
 color: rgb(0, 110, 255);
}

/*Text*/
.text1-title {
 font-size: 1.5em;
 font-weight: bold;
}

/*Hover*/
.card1:hover {
 border-color: #008bf8;
 box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card1:hover .card-button {
 transform: translate(-50%, 50%);
 opacity: 1;
}
/* Container zentriert ausrichten (falls noch nicht geschehen) */
#angebote,
section#angebote {
  text-align: center;
}

/* Card zentriert mit Abstand vom Header */
.card1 {
  /* feste oder maximal gewünschte Breite */
  max-width: 300px;
  /* oben Abstand, rechts/links auto = zentriert */
  margin: 2rem auto 0;
  /* optional: Block-Level sicherstellen */
  display: block;
}
.card1 {
  /* feste Breite – passe den Wert nach deinem Geschmack an */
  width: 350px;
  /* mehr Innenabstand */
  padding: 2rem 1.5rem;
  /* zentrieren */
  margin: 2rem auto 0;
  /* optisch feinjustieren */
  border: 2px solid #00AEFF;
  border-radius: 1rem;
  background: #F8F8F8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.text1-title {
  /* verhindern, dass der Text umbricht */
  white-space: nowrap;
  /* ggf. Schriftgröße reduzieren, wenn’s sonst zu eng wird */
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.text1-body {
  color: #000000;
  line-height: 1.4;
}

/* Button nach unten schieben und zentrieren */
.card1-button {
  display: block;
  margin: 1.5rem auto 0;
  padding: 0.75rem 1.5rem;
  border: none;
  background: #00AEFF;
  color: white;
  border-radius: 999px;
  cursor: pointer;
}


/* Container */
.pep-card {
  position: relative;
  width: 360px;
  margin: 2rem auto;
  padding: 2rem 1.5rem 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f1f9ff 100%);
  border-radius: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 174, 255, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover‑Effekt: leichtes „Popp“ */
.pep-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 174, 255, 0.2);
}

/* Rabatt‑Badge oben links */
.pep-card .badge {
  position: absolute;
  top: -10px; left: -10px;
  background: #00AEFF;
  color: white;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Icon über dem Titel */
.pep-card .icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Titel mit Farbverlauf‑Text */
.text1-title {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00AEFF, #00d4ff);
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 0.75rem;
}

/* Beschreibung */
.text1-body {
  font-size: 1rem;
  color: #444;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* Call‑to‑Action‑Button */
.card1-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #00AEFF;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

/* Button Hover */
.card1-button:hover {
  background: #008ecc;
  transform: translateY(-2px);
}
.offer-card {
  max-width: 320px;
  margin: 2rem auto;                    /* zentriert mit Abstand oben */
  background: #fff;
  border: 1.5px solid #00AEFF;          /* dezenter als vorher */
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.offer-badge {
  position: absolute;
  top: 0; left: 0;
  transform: translateY(-50%);
  background: #00AEFF;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 0.5rem 0;
}

.offer-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.offer-title {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: #007bbf;
  text-align: center;
}

.offer-desc {
  font-size: 1rem;
  color: #555;
  text-align: center;
  margin-bottom: 1.25rem;
}

.offer-cta {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #00AEFF;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.offer-cta:hover {
  background: #008ecc;
  transform: translateY(-2px);
}

/* Auf sehr kleinen Bildschirmen etwas schmaler */
@media (max-width: 360px) {
  .offer-card {
    margin: 1.5rem auto;
    padding: 1rem;
  }
  .offer-title {
    font-size: 1.1rem;
  }
}
/* ---------- */
/* Badge-Feinschliff */
/* ---------- */
.offer-card {
  /* Falls du overflow:hidden drin hast, kannst du es hier weglassen oder auf visible setzen */
  overflow: visible;  
}

.offer-badge {
  position: absolute;
  top: 1rem;       /* Abstand von oben */
  left: 1rem;      /* Abstand von links */
  transform: none; /* entfernt das vorherige translateY */
  
  /* Styling wie vorher */
  background: #00AEFF;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.75rem;
  
  /* nur die rechte Seite abrunden */
  border-radius: 0 0.5rem 0.5rem 0;
}




/* in style.css ganz am Ende einfügen */
@media only screen and (max-width: 767px) {
  /* 1A) Verstecke erstmal _alle_ Cards */
  .card,
  .offer-card,
  .job-card,
  .bewertung-box {
    display: none !important;
  }

}
@media only screen and (max-width: 767px) {
  /* alle angezeigten Cards sauber weiß stylen */
  #angebote   .offer-card,
  #bewertungen .bewertung-box,
  #jobs       .job-card,
  #kontakt    .card {
    background-color: #ffffff !important;
    background-image: none       !important;
    border: none                 !important;
    /* optional: leichter Schatten, wenn du magst */
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
  }
}
@media only screen and (max-width: 767px) {
  /* 1) Stelle sicher, dass Start-, Leistungen- und Angebots‑Cards nicht ausgeblendet werden */
  #start .card,
  #leistungen .card,
  #angebote > .card {
    display: block !important;
  }

  /* 2) Vereine das Aussehen aller Cards auf Mobil auf den Job‑Card‑Look */
  .card,
  .offer-card,
  .job-card,
  .bewertung-box {
    display: block         !important;
    max-width: 600px       !important;
    margin: 1rem auto      !important;
    padding: 30px          !important;
    background: linear-gradient(135deg, #e0f7ff, #ffffff) !important;
    border: 1px solid #c0e6f7                          !important;
    border-radius: 16px                                !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06)            !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }

  /* 3) Hover‑Effekt übertragen (optional) */
  .card:hover,
  .offer-card:hover,
  .job-card:hover,
  .bewertung-box:hover {
    transform: translateY(-5px)                            !important;
    box-shadow: 0 14px 28px rgba(0,0,0,0.08)               !important;
  }

  /* 4) Entferne alle extra Overlays/Before‑Pseudo‑BGs, die hellblau‑weiß‑Verläufe erzeugen */
  .card::before,
  .card1::before,
  .offer-card::before,
  .pep-card::before {
    background: none !important;
  }
}
@media only screen and (max-width: 767px) {
  /* 1) Header‑Cards mit Überschriften (Start, Leistungen, Angebote) sauber zurücksetzen */
  #start  .card,
  #leistungen .card,
  #angebote > .card {
    display: block !important;
    background: transparent !important;
    border: none         !important;
    box-shadow: none     !important;
    padding: 20px 10px   !important; /* etwas Innenabstand für den Text */
    margin: 20px auto    !important;
  }

  /* 2) Nur diese vier Content‑Cards weiterhin als White‑Card stylen */
  #angebote    .offer-card,    /* Angebote-Special */
  #bewertungen .bewertung-box, /* Bewertungen */
  #jobs        .job-card,      /* Jobs */
  #kontakt     .card           /* Kontakt-Box */ {
    display: block           !important;
    background-color: #fff   !important;
    border: 1px solid #c0e6f7!important;
    border-radius: 16px      !important;
    padding: 30px            !important;
    margin: 20px auto        !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06)!important;
    transition: transform 0.3s ease, box-shadow 0.3s ease!important;
  }

  /* 3) Entferne alle verbliebenen hellblau‑weißen Verläufe */
  #angebote .offer-card,
  #bewertungen .bewertung-box,
  #jobs .job-card,
  #kontakt .card {
    background-image: none !important;
  }
}
/* ——————————————
   Dein gesamter bestehender CSS‑Code
   (lassen wir hier unberührt und unverändert) 
   ——————————————
*/
#bewertungen .track {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
/* ================================
   Bewertungen‑Carousel (neu)
   ================================ */
#bewertungen {
  position: relative;
  overflow: hidden;
  padding: 20px;
  margin: 40px auto;
}
#bewertungen .track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s ease;
}
#bewertungen .slide {
  flex: 0 0 calc(33.333% - 10px); /* 3 pro Reihe minus Gap */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 20px;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.6s ease;
  display: flex;
  flex-direction: column;
}
#bewertungen .slide.show {
  opacity: 1;
}
#bewertungen .sterne {
  font-size: 1.2em;
  color: #f5b301;
  margin-bottom: 8px;
}
#bewertungen .text {
  font-size: 0.95em;
  color: #333;
  margin-bottom: 12px;
  flex-grow: 1;
}
#bewertungen .autor {
  font-size: 0.9em;
  color: #555;
  font-weight: bold;
  margin-top: auto;
}

/* Tablet: 2‑in‑a‑row */
@media (max-width: 1023px) {
  #bewertungen .slide {
    flex: 0 0 calc(50% - 8px);
  }
}

/* Mobile: 1‑in‑a‑row */
@media (max-width: 767px) {
  #bewertungen .slide {
    flex: 0 0 100%;
  }
}
/* ================================
   3‑in‑a‑row Continuous Carousel
   ================================ */
#bewertungen {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  margin: 40px auto;
}
#bewertungen .track {
  display: flex;
  gap: 16px;
  /* Länge: n Slides × 3s, hier z.B. 10 Slides → 30s */
  animation: scroll-carousel 30s linear infinite;
}
#bewertungen .slide {
  flex: 0 0 calc(33.333% - 10px); /* 3 pro Reihe */
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
#bewertungen .sterne {
  font-size: 1.2em;
  color: #f5b301;
  margin-bottom: 8px;
}
#bewertungen .text {
  font-size: 0.95em;
  color: #333;
  margin-bottom: 12px;
  flex-grow: 1;
}
#bewertungen .autor {
  font-size: 0.9em;
  color: #555;
  font-weight: bold;
  margin-top: auto;
}

/* ──────────────────────────────────────────────────────
   Bewertungen Swipe‑Carousel (3‑in‑a‑row Desktop)
   ────────────────────────────────────────────────────── */
#bewertungen {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  margin: 40px auto;
}

/* Der Track wird von JS per transform verschoben */
#bewertungen .track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s ease;
}

/* Jede Slide nimmt 1/3 der sichtbaren Breite minus Gap */
#bewertungen .slide {
  flex: 0 0 calc(33.333% - 10.666px);
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Sternchen, Text und Autor stylen */
#bewertungen .sterne {
  font-size: 1.2em;
  color: #f5b301;
  margin-bottom: 8px;
}
#bewertungen .text {
  font-size: 0.95em;
  color: #333;
  margin-bottom: 12px;
  flex-grow: 1;
}
#bewertungen .autor {
  font-size: 0.9em;
  color: #555;
  font-weight: bold;
  margin-top: auto;
}

/* Tablet: 2 nebeneinander */
@media (max-width: 1023px) {
  #bewertungen .slide {
    flex: 0 0 calc(50% - 8px);
  }
}

/* Mobile: 1 nebeneinander */
@media (max-width: 767px) {
  #bewertungen .slide {
    flex: 0 0 100%;
  }
}

#bewertungen .track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}


.stellen-flex {
  display: flex;
  gap: 40px; /* Abstand zwischen den Boxen */
  justify-content: center;
  flex-wrap: wrap; /* Damit es auf kleinen Bildschirmen untereinander geht */
  margin-top: 40px;
}
/* Flex‑Container für nebeneinander */
.stellen-flex {
  display: flex;
  flex-wrap: wrap;       /* auf schmalen Bildschirmen untereinander */
  gap: 40px;             /* Abstand zwischen den Boxen */
  justify-content: center;
  margin-top: 40px;
}

/* Box‑Größen */
.stellen-box {
  flex: 1 1 300px;       /* wächst, schrumpft, Basis 300px */
  max-width: 400px;      /* nicht breiter als 400px */
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Mobil‑Fallback: untereinander */
@media (max-width: 600px) {
  .stellen-flex {
    flex-direction: column;
    gap: 20px;
  }
}
/* Flex‑Container für die beiden Job‑Cards */
#jobs .stellen-flex {
  display: flex;
  flex-wrap: wrap;       /* auf schmalen Displays untereinander */
  gap: 40px;             /* gleichmäßiger Abstand */
  justify-content: center;
  margin-top: 40px;
}

/* Job‑Card Basis */
#jobs .job-card {
  flex: 1 1 320px;       /* wächst, schrumpft, Basis 320px */
  max-width: 400px;      /* nie breiter als 400px */
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-align: left;
}

/* Mobile Fallback */
@media (max-width: 600px) {
  #jobs .stellen-flex {
    flex-direction: column;
    gap: 20px;
  }
}
/* in dein style.css ganz unten einfügen */
#angebote .offer-cta {
  display: block;           /* macht den Link zum Block‑Element */
  width: fit-content;       /* passt die Breite exakt an den Inhalt an */
  margin: 20px auto 0 auto; /* 20px Abstand oben, auto links/rechts zentriert */
}
/* Beispiel für .card1-button */
.card1-button {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
}
@media (max-width: 768px) {
  /* Falls du ein Flex‑Grid mit .bewertungs-container und .bewertung-box nutzt: */
  #bewertungen .bewertungs-container {
    justify-content: center; /* zentriert auch die einzelne Box */
  }
  #bewertungen .bewertung-box {
    flex: 1 1 100% !important;  /* volle Breite */
    max-width: 100% !important; /* nicht kleiner als die ganze Zeile */
  }

  /* Falls du stattdessen ein Carousel mit .slide nutzt: */
  #bewertungen .slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
/* Smooth‑Scroll (optional) */
html {
  scroll-behavior: smooth;
}


:root {
  --primary: #62b8e9;
  --accent: #62b8e9;
  --bg: #f6f9fc;
  --card-shadow: 0 6px 16px rgba(0,0,0,0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: #1a1a1a;
  overflow-x: hidden;
}

/* Loading */
#loading-screen {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.97);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10000;
}
.loader {
  border: 6px solid #e0f7fa;
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  width: 60px; height: 60px;
  animation: spin 1s linear infinite;
}
.loader-text { margin-top: 18px; color: var(--primary); font-weight: bold; letter-spacing: 1px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
header {
  text-align: center;
  padding: 50px 20px 30px;
  background: #fff;
}
header img { height: 110px; margin-bottom: 15px; filter: grayscale(0.1); }
header h1 { color: var(--primary); letter-spacing: 1px; }

/* Nav */
nav {
  background: var(--accent);
  display: flex; justify-content: center;
  gap: 20px; padding: 14px;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(98,184,233,0.07);
}
nav a {
  color: white; font-weight: 600; text-decoration: none;
  padding: 6px 0; position: relative; cursor: pointer;
}
nav a.active::after,
nav a:hover::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: #00d9ff;
  border-radius: 2px;
}

/* Main Sections */
main section {
  max-width: 950px; margin: 40px auto;
  padding: 0 20px;
  display: none; opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s;
}
main section.active {
  display: block; opacity: 1; transform: translateY(0);
}

/* Cards */
.card {
  background: rgba(255,255,255,0.97);
  border-radius: 12px; padding: 25px 30px;
  box-shadow: var(--card-shadow);
  margin-bottom: 25px;
  backdrop-filter: blur(1px);
  transition: box-shadow .3s;
}
.card:hover { box-shadow: 0 10px 32px rgba(98,184,233,0.13); }

/* Fancy Button */
.fancy-btn {
  background: linear-gradient(90deg,#00447c 0%,#62b8e9 100%);
  color: #fff; border: none; padding: 14px 38px;
  border-radius: 32px; font-weight:600; cursor:pointer;
  box-shadow: 0 6px 24px rgba(0,80,255,0.13);
  transition: background .3s, transform .2s, box-shadow .2s;
}
.fancy-btn:hover {
  background: linear-gradient(90deg,#62b8e9 0%,#00447c 100%);
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0,80,255,0.18);
}


/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}
footer a {
  color: #fff; text-decoration: underline; margin: 0 5px;
}

/* Responsive */
@media (max-width:768px) {
  nav { gap:10px; padding:8px 0; }
  nav a { font-size: .9em; }
  .card { padding: 18px 10px; }
}
/* Mehr Abstand zwischen den Termin‑ und Öffnungszeiten im Header */
header p {
  margin: 0.5rem 0;  /* oben und unten je 0.5rem Abstand */
}

/* Optional: noch etwas mehr Abstand nur zwischen den beiden Absätzen */
header p + p {
  margin-top: 1rem;  /* zusätzlich 1rem Abstand über dem 2. Absatz */
}
/* Jobs-Section: mehr Padding um den gesamten Bereich */
#jobs {
  padding: 80px 20px;
}

/* Titel der gesamten Section */
#jobs .job-wrapper > h2 {
  margin-bottom: 50px;
  font-size: 2.2rem;
  line-height: 1.2;
}

/* Abstand zwischen den beiden Job‑Cards */
#jobs .stellen-flex {
  gap: 60px;
}

/* Die eigentlichen Job‑Cards */
#jobs .job-card {
  padding: 40px 30px;
  margin-bottom: 40px;
}

/* Überschrift innerhalb jeder Card */
#jobs .job-card h3 {
  margin-bottom: 24px;
  font-size: 1.6rem;
  line-height: 1.3;
}

/* Fließtext und Listen innerhalb der Card */
#jobs .job-card p,
#jobs .job-card ul {
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Wenn du Bullet‑Points nutzt */
#jobs .job-card ul {
  padding-left: 1.2em;
}

/* „Jetzt bewerben“-Button */
#jobs .job-card .btn-bewerben {
  margin-top: 30px;
  padding: 14px 28px;
  font-size: 1rem;
}
/* Mehr Abstand zwischen H1 und dem ersten Paragraphen im Header */
header h1 {
  margin-bottom: 1rem; /* je nach Geschmack anpassen */
}

header p:first-of-type {
  margin-top: 0;  /* stellt sicher, dass nur der H1‑Abstand wirkt */
}

/* Optional: etwas Luft zwischen Terminvereinbarung und Öffnungszeiten */
header p + p {
  margin-top: 0.75rem;
}
/* Auf Mobil nur 1 Bewertung pro Reihe */
@media (max-width: 767px) {
  /* falls du das Carousel mit .slide nutzt: */
  #bewertungen .slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* falls du statt Carousel das Flex‑Grid mit .bewertung-box nutzt: */
  #bewertungen .bewertungs-container,
  #bewertungen .track {
    display: block;
  }
  #bewertungen .bewertung-box {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 1rem auto; /* optional: etwas Abstand unten */
  }
}
/* Auf Mobil nur 1 Bewertung pro Reihe mit extra Abstand */
@media (max-width: 767px) {
  /* Carousel-Slides */
  #bewertungen .slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px !important; /* hier mehr Abstand */
  }

  /* Falls stattdessen .bewertung-box im Flex‑Grid */
  #bewertungen .bewertungs-container,
  #bewertungen .track {
    display: block;
  }
  #bewertungen .bewertung-box {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 24px auto; /* hier mehr Abstand */
  }
}
/* Untertitel-Linie unter „Stellenangebote“ höher ziehen */
#jobs h2 + hr {
  margin-top: 0.5rem;   /* Abstände nach Bedarf kleiner setzen */
  margin-bottom: 2rem;  /* Abstand nach unten beibehalten oder anpassen */
  width: 60%;
  border: none;
  border-top: 3px solid #00b7ff;
  border-radius: 2px;
}
/* Zentriert Bilder innerhalb von .card */
#start img {
  display: block;
  margin: 1.5rem auto; /* oben/unten Abstand + horizontal zentriert */
  max-width: 400px;
  width: 100%;
  height: auto;
}
/* Hero‑Bild zentrieren & skalieren */
#start .hero-image {
  display: block;
  margin: 1.5rem auto;
  width: 80%;
  max-width: 400px;
  height: auto;
  border-radius: 8px; /* optional abgerundete Ecken */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#bewertungsContainer {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Abstand zwischen Bewertungen */
  padding: 16px;
}

.bewertung {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* 27.07.25 */
.card {
  background-color: transparent !important;
  box-shadow: none !important;
}
section .card {
  background-color: transparent !important;
}
#jobs .card, #patienten-information .card {
  background-color: transparent !important;
}

.card, .card-wrapper, .job-card {
  background: transparent !important;
  background-color: transparent !important;
}

@media (max-width: 768px) {
  .card-wrapper {
    background-color: #ffffff !important; /* weiß statt hellblau */
    padding: 1.2rem;
    border-radius: 12px;
    margin: 1rem auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 90%;
  }

  .card-wrapper h3,
  .card-wrapper p,
  .card-wrapper ul {
    text-align: center; /* Inhalte mittig */
  }

  .section-heading {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  body {
    background-color: #f9f9f9;
  }
}
.bewertung-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* für vertikale Mitte */
  justify-content: center; /* für horizontale Mitte */
  text-align: center;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .bewertung-container {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    text-align: center;
  }
}
/* 1. Einheitliches Card-Design: Farbe & Layout */
.job-card {
  background-color: #fff !important; /* entfernt hellblau */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}



/* 3. Job Cards nach oben schieben */
#jobs-section {
  order: -1; /* schiebt die Section nach oben, wenn Flexbox genutzt wird */
  margin-top: 20px;
}



  #jobs-section {
    padding: 20px;
  }


.card {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}
 /*handy cleaner gemacht*/
    body {
      font-family: sans-serif;
      margin: 0;
      padding: 0;
    }
    h1, h2, h3 {
      text-align: center;
      font-size: 1.5em; /* größere Überschriften */
      margin-top: 1rem;
    }
    .section {
      padding: 1rem;
    }
    .kontakt-card {
      background-color: #f0f0f0;
      border-radius: 10px;
      padding: 1rem;
      margin: 1rem auto;
      width: 90%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
    .map-container iframe {
      width: 100%;
      height: 350px; /* größere Map für Handy */
      border: none;
      border-radius: 8px;
    }

.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: 95%;
  }

  #kontakt h1 {
    font-size: 1.6em;
    text-align: center;
    margin-bottom: 1rem;
  }

  #kontakt ul {
    font-size: 1em;
    line-height: 1.8;
  }

  iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 8px;
  }

  #map-container {
    margin-top: 1.5rem;
  }
  @media screen and (max-width: 600px) {
    .card {
      max-width: 85%;      /* etwas schmaler auf kleinen Geräten */
      padding: 1rem;       /* geringere Polsterung */
    }

    #kontakt h1 {
      font-size: 1.4em;    /* etwas kleinere Überschrift */
    }

    #kontakt ul {
      font-size: 0.95em;   /* leicht reduzierte Textgröße */
    }
  }
@media screen and (max-width: 600px) {
  .bewertung {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;   /* falls Text enthalten ist */
    margin: 0 auto;
  }
}


 /*Cookie Banner*/
    body {
      margin: 0;
      font-family: "Segoe UI", sans-serif;
      background-color: #f0f4f8;
      color: #333;
    }

   
    /* Layout für Kontakt + Karte */
    #content {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 40px 20px;
    }

    #kontakt {
      display: flex;
      flex-direction: row;
      max-width: 900px;
      width: 100%;
    }

    #info {
      flex: 1;
      padding-right: 30px;
    }

    #info h2 {
      margin-bottom: 20px;
      color: #004080;
    }

    #info p {
      margin: 8px 0;
    }

    #map-container {
      width: 100%;
      margin-top: 40px;
      height: 300px;
    }

    iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .hinweis {
      font-style: italic;
      color: #777;
      text-align: center;
    }





 /* Google Maps einwilligung */
/* ----------------------------------------
       Basis-Styles für die Kontakt-Card
       ---------------------------------------- */
    body {
      background: #eef6fa;
      font-family: Arial, sans-serif;
      padding: 1rem;
    }
    .kontakt-card {
      max-width: 600px;
      margin: 0 auto;
      background: #fff;
      border: 1px solid #c0e4f7;
      border-radius: 8px;
      overflow: hidden;         /* Card endet hier */
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .kontakt-card h2 {
      margin: 0;
      padding: 1rem;
      background: #f0fbff;
      color: #51b9e0;
      text-align: center;
      font-size: 1.5rem;
    }
    .kontakt-card .card-body {
      padding: 1rem;
      line-height: 1.4;
    }
    .kontakt-card .card-body p {
      margin: 0.5rem 0;
      font-size: 0.95rem;
    }

    /* ----------------------------------------
       Map-Container
       ---------------------------------------- */
    .map-container {
      position: relative;
      width: 100%;
      height: 250px;         /* Standard-Höhe */
      background: #f7faff;
    }
    .map-container iframe {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
    /* Placeholder zentrieren */
    .map-placeholder {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      text-align: center;
      padding: 1rem;
    }
    .map-placeholder button {
      margin-top: 0.5rem;
      padding: 0.5rem 1rem;
      font-size: 0.95rem;
      cursor: pointer;
    }

    /* ----------------------------------------
       Auf kleinen Bildschirmen mehr Höhe
       ---------------------------------------- */
    @media (max-width: 576px) {
      .map-container {
        height: 350px;
      }
    }
#leistungen .image-container {
  width: 70%;            /* Bild-Container jetzt auf 70% Breite */
  max-width: 600px;      /* maximal 600px breit */
  margin: 2rem auto 3rem;
}

#leistungen .image-container img {
  display: block;
  width: 100%;
  height: auto;
}

#leistungen .overlay-text {
  position: absolute;
  top: 30%;
  left: 20%;
  transform-origin: center center;
  /* Animation über 20 Sekunden, linear und unendlich */
  animation: slowRotate 20s linear infinite;
  font-size: 4rem;
  font-weight: bold;
  color: #00c1b3;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

@keyframes slowRotate {
  0%   { transform: translate(-50%, -50%) rotate(-25deg); }
  100% { transform: translate(-50%, -50%) rotate(335deg); }
}
@media screen and (min-width: 1024px) {
  #leistungen .image-container {
    width: 50%;       /* nur noch 50% der Container-Breite */
    max-width: 400px; /* höchstens 400px breit */
  }

  #leistungen .overlay-text {
    font-size: 3rem;  /* Schrift etwas kleiner */
  }
}
/* Wrapper: Bild + Buttons nebeneinander */
#leistungen .leistungen-wrapper {
  display: flex;
  flex-wrap: wrap;             /* bei schmaleren Viewports untereinander */
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;                   /* Abstand zwischen Bild und Button‑Block */
}

/* Bild-Container: feste, moderate Breite */
#leistungen .image-container {
  flex: 0 0 250px;             /* Bild immer 250px breit */
  max-width: 250px;
}

/* Bild selbst */
#leistungen .image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;          /* optional: abgerundete Ecken */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Button-Container: nimmt Restbreite ein */
#leistungen .button-container {
  flex: 1;                     /* füllt den restlichen Platz */
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;                   /* Abstand zwischen Buttons */
  justify-content: center;
}

/* Buttons selbst */
#leistungen .button-container button {
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  border: 2px solid #00aaff;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

/* Mobile fallback: untereinander anordnen */
@media (max-width: 600px) {
  #leistungen .leistungen-wrapper {
    flex-direction: column;
    align-items: center;
  }
  #leistungen .image-container {
    margin-bottom: 1.5rem;
  }
}
#leistungen .image-container {
  position: relative;
  width: 250px;         /* oder deine Wunsch‑Breite */
  margin: 2rem auto;
  border-radius: 8px;   /* abgerundete Ecken wie im Screenshot */
  overflow: hidden;     /* damit Text nicht über die Ecken hinausragt */
}

#leistungen .image-container img {
  display: block;
  width: 100%;
  height: auto;
}

#leistungen .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;    /* anpassen, damit es ins Bild passt */
  font-weight: bold;
  text-transform: uppercase;
  color: #00c1b3;
  pointer-events: none;
  white-space: nowrap;

  /* Animation */
  animation: spinText 10s linear infinite;
  transform-origin: center center;
}

/* Keyframes für die Rotation */
@keyframes spinText {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Kontakt‐Section */
#kontakt {
  text-align: center;          /* Inhalt zentrieren */
  padding: 4rem 1rem;          /* etwas mehr Abstand rundherum */
  background-color: #f9f9f9;   /* optional: dezenter Hintergrund */
}

/* Bild in der Kontakt‐Section */
#kontakt img {
  display: inline-block;       /* zentriert durch text-align */
  width: 100%;                 /* für mobile */
  max-width: 400px;            /* nie breiter als 400px */
  height: auto;                /* proportional skalieren */
  border-radius: 12px;         /* abgerundete Ecken */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* leichter Schatten */
  margin-bottom: 2rem;         /* Abstand nach unten zu deinem Formular/Text */
}

/* Wenn du das Bild auf Desktop etwas enger machen willst */
@media (min-width: 768px) {
  #kontakt img {
    max-width: 300px;          /* auf Tablets/PCs etwas schmaler */
  }
}
/* Kontakt-Card als Flex-Container */
#kontakt .card {
  display: flex;
  flex-wrap: wrap;             /* bei kleinen Bildschirmen bricht es um */
  align-items: flex-start;     /* Bild und Text oben ausrichten */
  gap: 2rem;                   /* Abstand zwischen Bild und Text */
  max-width: 900px;
  margin: 3rem auto;           /* zentrieren + Abstand oben/u. */
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Bild links */
#kontakt .card img {
  flex: 0 0 250px;             /* Bild immer 250px breit */
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Text-Teil rechts */
#kontakt .card h1 {
  flex: 1 1 auto;              /* nimmt den restlichen Platz ein */
  margin-top: 0;
  color: #00c1b3;
  font-size: 2rem;
}

#kontakt .card ul {
  flex: 1 1 auto;
  list-style: none;
  padding: 0;
  line-height: 1.8;
  margin: 0;
  text-align: left;            /* linksbündig */
}

#kontakt .card ul li strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Map-Placeholder unter Text einreihen */
#kontakt .map-container {
  flex: 1 1 100%;              /* volle Breite */
  margin-top: 1.5rem;
}

/* Mobile-Fallback: untereinander */
@media (max-width: 600px) {
  #kontakt .card {
    flex-direction: column;
    align-items: center;
    text-align: center;        /* Text in der Mitte */
  }
  #kontakt .card img {
    flex: 0 0 auto;
    max-width: 300px;
  }
}