/* =============================================================
   Zahnärzte Herzberg & Ivanov – Stylesheet
   Farbgebung orientiert am Bestand: Blau #1187c5, Teal #01929c
   ============================================================= */

/* ---- Custom Properties ---- */
:root {
  --color-primary:   #1187c5;
  --color-primary-d: #0e73a8;
  --color-teal:      #01929c;
  --color-teal-d:    #017880;
  --color-text:      #484848;
  --color-dark:      #1b1c21;
  --color-bg:        #f7f7f7;
  --color-white:     #ffffff;
  --color-border:    #e5e5e5;
  --color-muted:     #5f5f5f;

  --font-body:       'Lato', sans-serif;
  --font-head:       'Raleway', sans-serif;

  --radius-sm:       4px;
  --radius:          8px;
  --radius-lg:       12px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow:     0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);

  --container:  1200px;
  --transition: .2s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--color-primary-d);
  border-color: var(--color-primary-d);
  box-shadow: 0 4px 14px rgba(17,135,197,.35);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn--white:hover, .btn--white:focus-visible {
  background: var(--color-bg);
}
.btn--sm  { padding: 9px 18px; font-size: .82rem; }
.btn--lg  { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ================================================================
   HEADER
   ================================================================ */
.ct-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* Toolbar */
.ct-toolbar {
  background: var(--color-dark);
  color: #ffffff;
  font-size: .82rem;
  padding: 7px 0;
}
.ct-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ct-toolbar__location {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 1;
}
.ct-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ct-toolbar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  transition: color var(--transition);
}
.ct-toolbar__phone:hover { color: var(--color-primary); }
.ct-toolbar .btn--sm {
  padding: 5px 14px;
  font-size: .78rem;
}
.ct-toolbar__sep { opacity: .5; margin: 0 3px; }

/* Rückruf-Modal Ergänzungen */
.ct-callback__sub {
  font-size: .87rem;
  color: var(--color-muted);
  margin: -10px 0 20px;
  line-height: 1.6;
}
.ct-callback__form { margin-top: 4px; }
.ct-form__textarea {
  resize: vertical;
  min-height: 64px;
  font-family: var(--font-body);
  font-size: .92rem;
}

/* Header Main */
.ct-header__main {
  padding: 0;
  background: var(--color-white);
}
.ct-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* Logo */
.ct-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.ct-logo__img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}
.ct-logo__img--footer {
  height: 44px;
  width: auto;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  opacity: .95;
}
.ct-logo__sub {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}

/* Nav */
.ct-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ct-nav__link {
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.ct-nav__link:hover { color: var(--color-primary); background: rgba(17,135,197,.06); }
.ct-nav__cta { margin-left: 8px; }

/* Hamburger */
.ct-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.ct-burger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.ct-burger[aria-expanded="true"] .ct-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ct-burger[aria-expanded="true"] .ct-burger__bar:nth-child(2) { opacity: 0; }
.ct-burger[aria-expanded="true"] .ct-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.ct-mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 2px solid var(--color-primary);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.ct-mobile-nav.is-open { display: block; }
.ct-mobile-nav__list { display: flex; flex-direction: column; gap: 4px; }
.ct-mobile-nav__list a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.ct-mobile-nav__list a:hover { background: var(--color-bg); }
.ct-mobile-nav__list .btn { margin-top: 8px; }
.ct-mobile-nav__contact {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: .9rem;
  color: var(--color-muted);
  text-align: center;
}
.ct-mobile-nav__contact a { font-weight: 700; color: var(--color-primary); }

/* ================================================================
   HERO
   ================================================================ */
.ct-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  overflow: hidden;
  padding: 80px 0 60px;
}
.ct-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ct-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ct-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(17, 28, 45, 0.68) 0%,
    rgba(17, 28, 45, 0.52) 50%,
    rgba(17, 28, 45, 0.35) 100%
  );
  z-index: 0;
}
.ct-hero .container { position: relative; z-index: 1; width: 100%; }
.ct-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

/* Hero Text */
.ct-hero__eyebrow {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 12px;
}
.ct-hero__title {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 400;
  color: rgba(255,255,255,.95);
  line-height: 1.15;
  margin-bottom: 20px;
}
.ct-hero__title strong { font-weight: 700; }
.ct-hero__location {
  display: block;
  font-size: 1.8rem;
  color: var(--color-teal);
  font-weight: 600;
}
.ct-hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 500px;
  margin-bottom: 32px;
}
.ct-hero__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ct-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}
.ct-hero__trust-item svg { color: var(--color-teal); flex-shrink: 0; }

/* Form Card */
.ct-form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
}
.ct-form-card__header { margin-bottom: 16px; }
.ct-form-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}
.ct-form-card__sub {
  font-size: .85rem;
  color: var(--color-muted);
}

/* ================================================================
   FORM
   ================================================================ */
.ct-form { display: flex; flex-direction: column; gap: 12px; }
.ct-form__group { display: flex; flex-direction: column; gap: 4px; }

/* Datum & Uhrzeit nebeneinander */
.ct-form__datetime {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 8px;
}
.ct-form__label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: .01em;
}
.ct-form__label--light { color: rgba(255,255,255,.9); }
.ct-form__required { color: var(--color-teal); font-weight: 700; }
.ct-form__input,
.ct-form__select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.ct-form__input::placeholder { color: #b0b0b0; }
.ct-form__input:focus,
.ct-form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(17,135,197,.15);
}
.ct-form__input.is-invalid { border-color: #d94f4f; }
.ct-form__select-wrap { position: relative; }
.ct-form__select { padding-right: 40px; cursor: pointer; }
.ct-form__select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-muted);
}
.ct-form__error {
  font-size: .78rem;
  color: #d94f4f;
  min-height: 1em;
  display: block;
}
.ct-form__submit { position: relative; gap: 0; }
.ct-form__submit-text { transition: opacity .2s; }
.ct-form__submit-spinner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .6s linear infinite;
}
.ct-form.is-loading .ct-form__submit-text { opacity: 0; }
.ct-form.is-loading .ct-form__submit-spinner { display: block; }
.ct-form__privacy {
  font-size: .75rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.5;
}
.ct-form__privacy--light { color: rgba(255,255,255,.55); }

/* Feedback */
.ct-form__feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  line-height: 1.5;
}
.ct-form__feedback[hidden] { display: none; }
.ct-form__feedback--success {
  background: #edf7ed;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.ct-form__feedback--error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
.ct-form__feedback svg { flex-shrink: 0; margin-top: 2px; }

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

/* ================================================================
   SECTION HEADS
   ================================================================ */
.ct-section-head {
  text-align: center;
  margin-bottom: 52px;
}
.ct-section-head__title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.ct-section-head__sub {
  font-size: 1rem;
  color: var(--color-muted);
}

/* ================================================================
   STANDORTE
   ================================================================ */
.ct-standorte {
  padding: 80px 0;
  background: var(--color-bg);
}
.ct-standorte__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ct-standort-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.ct-standort-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.ct-standort-card--active {
  border-color: var(--color-teal);
}
.ct-standort-card__image-wrap { position: relative; }
.ct-standort-card__image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #cce8f5;
}
.ct-standort-card__image--wik {
  background-image: url('../img/praxis_wik.jpg');
  background-color: #1187c5;
}
.ct-standort-card__image--mettenhof {
  background-image: url('../img/praxis_mettenhof.jpg');
  background-color: #01929c;
}
.ct-standort-card__image--preetz {
  background-image: url('../img/praxis_preetz.jpg');
  background-color: #2c3e50;
}
.ct-standort-card__badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
  color: #fff;
  padding: 20px 16px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
}
.ct-standort-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ct-standort-card__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 8px;
}
.ct-standort-card__address {
  font-size: .88rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 10px;
}
.ct-standort-card__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.ct-standort-card__phone:hover { color: var(--color-primary-d); }
.ct-standort-card__oz {
  margin-bottom: 16px;
  font-size: .82rem;
}
.ct-standort-card__oz strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-dark);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ct-oz-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ct-oz-table td { padding: 3px 0; }
.ct-oz-table td:first-child { color: var(--color-muted); padding-right: 12px; white-space: nowrap; }
.ct-oz-table td:last-child { font-weight: 600; color: var(--color-dark); }
.ct-standort-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

/* ================================================================
   LEISTUNGEN
   ================================================================ */
.ct-leistungen {
  padding: 80px 0;
  background: var(--color-white);
}
.ct-leistungen__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.ct-leistung-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.ct-leistung-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.ct-leistung-card__mehr {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: .02em;
}
.ct-leistung-card:hover .ct-leistung-card__mehr { text-decoration: underline; }
.ct-leistung-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(1,146,156,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--color-teal);
}
.ct-leistung-card__icon svg { width: 22px; height: 22px; }
.ct-leistung-card__title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.ct-leistung-card__text { font-size: .83rem; color: var(--color-muted); line-height: 1.6; }
.ct-leistungen__cta { text-align: center; }

/* ================================================================
   RUNDGANG
   ================================================================ */
.ct-rundgang {
  padding: 80px 0;
  background: var(--color-bg);
}

/* Tab-Navigation */
.ct-rundgang__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ct-rundgang__tab {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.ct-rundgang__tab:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.ct-rundgang__tab--active {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: var(--color-white);
}

/* Panel */
.ct-rundgang__panel { display: none; }
.ct-rundgang__panel--active { display: block; }

/* Viewer */
.ct-rundgang__viewer {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 500px;
}

/* Preview (vor Laden des iFrame) */
.ct-rundgang__preview {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ct-rundgang__preview-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-dark);
  transition: transform .4s ease;
}
.ct-rundgang__preview:hover .ct-rundgang__preview-bg {
  transform: scale(1.02);
}
.ct-rundgang__preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,28,45,.65);
}
.ct-rundgang__preview-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px;
  color: var(--color-white);
  max-width: 480px;
}
.ct-rundgang__icon {
  color: var(--color-teal);
  margin-bottom: 16px;
}
.ct-rundgang__icon svg { display: block; margin: 0 auto; }
.ct-rundgang__preview-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.ct-rundgang__preview-text {
  font-size: .9rem;
  opacity: .8;
  margin-bottom: 24px;
  line-height: 1.6;
}
.ct-rundgang__start-btn {
  gap: 10px;
  margin-bottom: 14px;
}
.ct-rundgang__external {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  transition: color var(--transition);
}
.ct-rundgang__external:hover { color: var(--color-white); }

/* Iframe (wird per JS eingesetzt) */
.ct-rundgang__iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: none;
}

/* Hinweis-Text */
.ct-rundgang__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .78rem;
  color: var(--color-muted);
}
.ct-rundgang__hint svg { color: var(--color-teal); flex-shrink: 0; }

/* ================================================================
   PRAXIS
   ================================================================ */
/* ── Praxis-Sektion ─────────────────────────────────────────── */
.ct-praxis {
  padding: 80px 0 100px;
  background: var(--color-bg);
}
.ct-praxis__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Praxisfoto – einzelnes großes Bild mit überlappendem Teamfoto */
.ct-praxis__collage {
  position: relative;
  padding-bottom: 140px; /* Platz für überlappend ragendes Teamfoto */
}
.ct-praxis__photo-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.ct-praxis__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.ct-praxis__collage-team-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  z-index: 2;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.28));
}
.ct-praxis__col-team {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}

/* Text */
.ct-praxis__content { display: flex; flex-direction: column; gap: 0; }
.ct-praxis__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}
.ct-praxis__title strong { font-weight: 700; }
.ct-praxis__quote {
  border-left: 3px solid var(--color-teal);
  padding-left: 16px;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--color-muted);
  font-size: .95rem;
  line-height: 1.65;
}
.ct-praxis__quote cite {
  display: block;
  font-style: normal;
  font-size: .82rem;
  margin-top: 6px;
  color: var(--color-text);
}
.ct-praxis__text {
  font-size: .97rem;
  margin-bottom: 18px;
  line-height: 1.75;
  color: var(--color-text);
}
.ct-praxis__content .btn { margin-top: 10px; align-self: flex-start; }

/* ================================================================
   ANFRAGE 2
   ================================================================ */
.ct-anfrage2 {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
  color: var(--color-white);
}
.ct-anfrage2__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.ct-anfrage2__title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.ct-anfrage2__sub {
  font-size: .95rem;
  opacity: .85;
  line-height: 1.6;
  margin-bottom: 24px;
}
.ct-anfrage2__phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .88rem;
  opacity: .9;
}
.ct-anfrage2__phone a {
  color: #fff;
  font-size: 1.3rem;
}
.ct-anfrage2__phone-loc {
  font-size: .78rem;
  opacity: .7;
}
.ct-anfrage2__form .ct-form__input,
.ct-anfrage2__form .ct-form__select {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.ct-anfrage2__form .ct-form__input::placeholder { color: rgba(255,255,255,.5); }
.ct-anfrage2__form .ct-form__input:focus,
.ct-anfrage2__form .ct-form__select:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.2);
}
.ct-anfrage2__form .ct-form__select-arrow { color: rgba(255,255,255,.7); }
.ct-anfrage2__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.ct-anfrage2__row .ct-form__group:last-of-type { grid-column: 1 / -1; }
.ct-anfrage2__row .btn { grid-column: 1 / -1; }
.ct-anfrage2 .ct-form__feedback--success {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

/* ================================================================
   KONTAKT
   ================================================================ */
.ct-kontakt {
  padding: 80px 0;
  background: var(--color-white);
}
.ct-kontakt__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ct-kontakt-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.ct-kontakt-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-teal);
}
.ct-kontakt-card__address {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--color-text);
}
.ct-kontakt-card__contact {
  font-size: .88rem;
  margin-bottom: 16px;
  line-height: 1.8;
}
.ct-kontakt-card__contact a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition);
}
.ct-kontakt-card__contact a:hover { color: var(--color-primary-d); }
.ct-kontakt-card .ct-oz-table { margin-bottom: 16px; }
.ct-kontakt-card__maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
  margin-top: auto;
  padding-top: 10px;
}
.ct-kontakt-card__maps:hover { gap: 10px; }

/* ================================================================
   FOOTER
   ================================================================ */
.ct-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.ct-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ct-logo--footer .ct-logo__name { color: rgba(255,255,255,.9); font-size: 1.3rem; }
.ct-logo--footer .ct-logo__name strong { color: var(--color-teal); }
.ct-logo--footer .ct-logo__sub { color: rgba(255,255,255,.4); }
.ct-footer__tagline { margin-top: 14px; font-size: .85rem; opacity: .6; }
.ct-footer__heading {
  font-family: var(--font-head);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.ct-footer__list { display: flex; flex-direction: column; gap: 8px; }
.ct-footer__list a {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.ct-footer__list a:hover { color: var(--color-teal); }
.ct-footer__list small {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin-top: 2px;
}
.ct-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.ct-footer__legal { display: flex; gap: 20px; }
.ct-footer__legal a {
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.ct-footer__legal a:hover { color: rgba(255,255,255,.7); }

/* Scroll Top */
.ct-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition);
  z-index: 900;
}
.ct-scroll-top:hover { background: var(--color-primary-d); transform: translateY(-2px); }
.ct-scroll-top[hidden] { display: none; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .ct-leistungen__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .ct-nav { display: none; }
  .ct-burger { display: flex; }

  .ct-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .ct-hero { padding: 60px 0 60px; min-height: auto; }
  .ct-hero__title { font-size: 2.1rem; }
  .ct-hero__form-wrap { width: 100%; max-width: 480px; }
  .ct-form-card { padding: 22px 20px; }

  .ct-standorte__grid { grid-template-columns: 1fr 1fr; }
  .ct-leistungen__grid { grid-template-columns: repeat(2, 1fr); }
  .ct-praxis__inner { grid-template-columns: 1fr; gap: 40px; }
  .ct-praxis__collage { padding-bottom: 120px; }
  .ct-praxis__collage-team-wrap { width: 50%; }
  .ct-praxis__content .btn { align-self: stretch; text-align: center; }
  .ct-anfrage2__inner { grid-template-columns: 1fr; gap: 36px; }
  .ct-kontakt__grid { grid-template-columns: 1fr 1fr; }
  .ct-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .ct-toolbar__location { display: none; }
  .ct-hero__title { font-size: 1.7rem; }
  .ct-hero__location { font-size: 1.3rem; }
  .ct-hero__trust { display: none; }
  .ct-standorte__grid { grid-template-columns: 1fr; }
  .ct-leistungen__grid { grid-template-columns: 1fr 1fr; }
  .ct-kontakt__grid { grid-template-columns: 1fr; }
  .ct-anfrage2__row { grid-template-columns: 1fr; }
  .ct-anfrage2__row .ct-form__group:last-of-type { grid-column: auto; }
  .ct-footer__inner { grid-template-columns: 1fr; }
  .ct-footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .ct-section-head__title { font-size: 1.6rem; }
}

@media (max-width: 420px) {
  .ct-leistungen__grid { grid-template-columns: 1fr; }
  .ct-hero__form-wrap { max-width: 100%; }
}

/* ================================================================
   FOCUS VISIBLE (Accessibility)
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ================================================================
   STATISCHE SEITEN (Impressum, Datenschutz)
   ================================================================ */

.ct-static-page .ct-hero { display: none; }

.ct-static-main {
  padding: 60px 0 80px;
  min-height: 60vh;
}

.ct-static-content {
  max-width: 760px;
  margin: 0 auto;
}

.ct-static-content__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-primary);
}

.ct-static-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 36px 0 10px;
}

.ct-static-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 24px 0 8px;
}

.ct-static-content p {
  color: #4a4f5a;
  line-height: 1.75;
  margin-bottom: 14px;
}

.ct-static-content ul {
  color: #4a4f5a;
  line-height: 1.75;
  margin: 0 0 14px 20px;
}

.ct-static-content ul li {
  margin-bottom: 4px;
}

.ct-static-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.ct-static-content a:hover {
  color: var(--color-teal);
}

.ct-static-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 16px 0 24px;
}

.ct-static-location {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: .9rem;
  line-height: 1.65;
  color: #4a4f5a;
  border-left: 3px solid var(--color-primary);
}

.ct-static-location strong {
  display: block;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.ct-static-location a {
  color: var(--color-primary);
  text-decoration: none;
}

.ct-static-location a:hover {
  text-decoration: underline;
}

.ct-static-content__update {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #e0e4ea;
  font-size: .85rem;
  color: #8a8f9a;
}

@media (max-width: 768px) {
  .ct-static-locations { grid-template-columns: 1fr; }
  .ct-static-content__title { font-size: 1.6rem; }
}

/* Honeypot-Feld: für echte Nutzer unsichtbar, aber im DOM vorhanden (Bots füllen es aus) */
.ct-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Screen-Reader-only Labels (für Accessibility) */
.ct-form__label--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Optionales Formularfeld-Label ──────────────────────────── */
.ct-form__optional {
  font-size: .78rem;
  font-weight: 400;
  opacity: .75;
  margin-left: 4px;
}

/* ================================================================
   SLOT-VERFÜGBARKEITS-ANZEIGE
   ================================================================ */
.ct-slot-status {
  font-size: .85rem;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-top: -4px;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.ct-slot-status__icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Verfügbar – grün */
.ct-slot-status--ok {
  background: #edfbf3;
  border: 1px solid #b6e9cb;
  color: #1a7a41;
}

/* Belegt – gelb/orange */
.ct-slot-status--busy {
  background: #fff8ed;
  border: 1px solid #f7d98b;
  color: #7a4f00;
  flex-direction: column;
  align-items: stretch;
}

/* Laden */
.ct-slot-status--loading {
  background: #f0f6ff;
  border: 1px solid #c3d9f5;
  color: var(--color-primary);
}

/* Spinner */
.ct-slot-status__spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(17,135,197,.3);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: ct-spin .7s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes ct-spin { to { transform: rotate(360deg); } }

/* Alternative Slots als Button-Liste */
.ct-slot-alts {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ct-slot-alt-btn {
  background: #fff;
  border: 1.5px solid #e0b84a;
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: .8rem;
  font-family: var(--font-body);
  color: #7a4f00;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.ct-slot-alt-btn:hover,
.ct-slot-alt-btn:focus {
  background: #fff3d0;
  border-color: #c9900e;
  outline: none;
}

/* ================================================================
   LEISTUNGS-MODALS
   ================================================================ */
.ct-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ct-modal.is-open { display: flex; }

.ct-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27,28,33,.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.ct-modal__box {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 40px 36px;
  animation: ct-modal-in .22s cubic-bezier(.34,1.3,.64,1) both;
}
@keyframes ct-modal-in {
  from { opacity: 0; transform: scale(.94) translateY(10px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.ct-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-muted);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  border: none;
}
.ct-modal__close:hover { background: var(--color-border); color: var(--color-dark); }

/* Modal Bild */
.ct-modal__img {
  margin: -32px -36px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: 220px;
}
.ct-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Icon + Titel nebeneinander */
.ct-modal__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.ct-modal__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(1,146,156,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}
.ct-modal__icon svg { width: 24px; height: 24px; }

.ct-modal__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  padding-right: 24px;
  line-height: 1.3;
  padding-top: 4px;
}

.ct-modal__body { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.ct-modal__body p { font-size: .92rem; color: var(--color-text); line-height: 1.75; }

.ct-modal__cta { display: inline-block; }

/* Modal responsive */
@media (max-width: 600px) {
  .ct-modal__box { padding: 28px 20px 24px; }
  .ct-modal__img { margin: -28px -20px 20px; height: 180px; }
  .ct-modal__title { font-size: 1.05rem; }
  .ct-modal__body p { font-size: .88rem; }
}


/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER & MODAL  –  DSGVO-konform
   ═══════════════════════════════════════════════════════════════ */

/* ── Banner (untere Leiste) ─────────────────────────────────── */
.ct-cb {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0,0,0,.13);
  border-top: 3px solid var(--color-teal, #0d9488);
  padding: 18px 24px;
  animation: ct-cb-in .3s ease;
}
.ct-cb[hidden] { display: none; }

@keyframes ct-cb-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.ct-cb__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ct-cb__text { flex: 1; min-width: 260px; }
.ct-cb__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark, #111c2d);
  margin-bottom: 6px;
}
.ct-cb__text p {
  font-size: .85rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}
.ct-cb__link { color: var(--color-teal, #0d9488); text-decoration: underline; }
.ct-cb__link:hover { color: var(--color-teal-dark, #0a7a70); }

.ct-cb__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Buttons (geteilt von Banner + Modal) ───────────────────── */
.ct-cb-btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s;
}
.ct-cb-btn--primary {
  background: var(--color-teal, #0d9488);
  color: #fff;
  border-color: var(--color-teal, #0d9488);
}
.ct-cb-btn--primary:hover {
  background: var(--color-teal-dark, #0a7a70);
  border-color: var(--color-teal-dark, #0a7a70);
}
.ct-cb-btn--outline {
  background: transparent;
  color: var(--color-dark, #111c2d);
  border-color: #ccc;
}
.ct-cb-btn--outline:hover { border-color: #888; }
.ct-cb-btn--ghost {
  background: transparent;
  color: var(--color-teal, #0d9488);
  border-color: transparent;
  text-decoration: underline;
  padding-left: 6px; padding-right: 6px;
}
.ct-cb-btn--ghost:hover { color: var(--color-teal-dark, #0a7a70); }

/* ── Einstellungs-Modal ─────────────────────────────────────── */
.ct-cm { position: fixed; inset: 0; z-index: 10000; }
.ct-cm[hidden] { display: none; }

.ct-cm__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
}
.ct-cm__box {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px 24px;
  width: min(560px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
}
.ct-cm__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark, #111c2d);
  margin: 0 0 8px;
}
.ct-cm__intro {
  font-size: .85rem;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.55;
}

/* Kategorie-Zeilen */
.ct-cm__category {
  border-top: 1px solid #eee;
  padding: 14px 0 10px;
}
.ct-cm__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.ct-cm__cat-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-dark, #111c2d);
}
.ct-cm__cat-desc { font-size: .82rem; color: #666; margin: 0; line-height: 1.5; }
.ct-cm__badge {
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
}
.ct-cm__badge--on { background: #e6f7f5; color: var(--color-teal, #0d9488); }

/* Toggle-Schalter */
.ct-cm__toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  gap: 12px;
}
.ct-toggle { position: relative; flex-shrink: 0; }
.ct-toggle__input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.ct-toggle__slider {
  display: block;
  width: 42px; height: 24px;
  background: #ccc;
  border-radius: 24px;
  transition: background .2s;
  cursor: pointer;
}
.ct-toggle__slider::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.ct-toggle__input:checked + .ct-toggle__slider {
  background: var(--color-teal, #0d9488);
}
.ct-toggle__input:checked + .ct-toggle__slider::after {
  transform: translateX(18px);
}
.ct-toggle__input:focus-visible + .ct-toggle__slider {
  outline: 2px solid var(--color-teal, #0d9488);
  outline-offset: 2px;
}

/* Modal Actions & Legal */
.ct-cm__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.ct-cm__legal {
  font-size: .78rem;
  color: #999;
  margin-top: 14px;
  text-align: center;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .ct-cb { padding: 14px 16px 18px; }
  .ct-cb__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .ct-cb__actions { flex-direction: column; }
  .ct-cb-btn { width: 100%; text-align: center; }
  .ct-cm__box { padding: 24px 16px 20px; }
}


/* ═══════════════════════════════════════════════════════════════
   TEAM-SEKTION
   ═══════════════════════════════════════════════════════════════ */

/* ================================================================
   TEAM-MODAL
   ================================================================ */

/* Overlay */
.ct-tmodal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ct-tmodal--open {
  display: flex;
}
.ct-tmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
}

/* Scrollbarer Box-Container */
.ct-tmodal__box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 40px 44px;
  z-index: 1;
}

/* Schließen-Button */
.ct-tmodal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f3f5;
  color: #555;
  cursor: pointer;
  transition: background .2s, color .2s;
  border: none;
}
.ct-tmodal__close:hover { background: #e3e6ea; color: #111; }

/* Kopfzeile */
.ct-tmodal__header {
  text-align: center;
  margin-bottom: 40px;
}
.ct-tmodal__eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 10px;
}
.ct-tmodal__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-dark);
  margin: 0 0 12px;
  font-weight: 400;
}
.ct-tmodal__title strong { font-weight: 700; }
.ct-tmodal__intro {
  font-size: .97rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards nebeneinander */
.ct-tmodal__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ct-tmodal__card {
  background: #f8f9fb;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Foto */
.ct-tmodal__photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8ecf0;
}
.ct-tmodal__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Info-Bereich */
.ct-tmodal__info {
  padding: 20px 20px 24px;
}
.ct-tmodal__role {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 5px;
}
.ct-tmodal__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 14px;
}
.ct-tmodal__bio {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ct-tmodal__bio li {
  font-size: .84rem;
  color: #555;
  padding-left: 14px;
  position: relative;
}
.ct-tmodal__bio li::before {
  content: '·';
  position: absolute;
  left: 3px;
  color: var(--color-teal);
  font-weight: 700;
}

/* Schwerpunkte */
.ct-tmodal__schwerpunkte {
  border-top: 1px solid #e5e5e5;
  padding-top: 13px;
}
.ct-tmodal__sw-label {
  display: block;
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 7px;
}
.ct-tmodal__sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ct-tmodal__tag {
  background: #eef8f7;
  color: var(--color-teal);
  font-size: .77rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Body-Lock (kein Scrollen im Hintergrund) */
.ct-tmodal-body-lock { overflow: hidden; }

/* Mobil */
@media (max-width: 640px) {
  .ct-tmodal__box { padding: 36px 20px 32px; }
  .ct-tmodal__cards { grid-template-columns: 1fr; gap: 20px; }
}

/* ================================================================
   KI-CHAT-WIDGET
   ================================================================ */

/* ── Floating Toggle-Button ──────────────────────────────────────── */
.ct-chat__toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(1,146,156,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ct-chat__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(1,146,156,.55);
}
.ct-chat__toggle:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

/* Icon-Switching */
.ct-chat__icon-close { display: none; }
.ct-chat__toggle--open .ct-chat__icon-chat  { display: none; }
.ct-chat__toggle--open .ct-chat__icon-close { display: block; }

/* Ungelesen-Badge */
.ct-chat__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  background: #e53e3e;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
  pointer-events: none;
  animation: ct-chat-pop .3s ease;
}
@keyframes ct-chat-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ── Chat-Fenster ────────────────────────────────────────────────── */
.ct-chat__window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 8001;
  width: 360px;
  max-width: calc(100vw - 40px);
  max-height: 560px;
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 12px 56px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ct-chat-slide-in .22s ease;
}
@keyframes ct-chat-slide-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ── Header ──────────────────────────────────────────────────────── */
.ct-chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
  color: #fff;
  flex-shrink: 0;
}
.ct-chat__header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-chat__header-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.ct-chat__header-info strong {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
}
.ct-chat__header-info span {
  font-size: .78rem;
  opacity: .85;
}
.ct-chat__header-close {
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.ct-chat__header-close:hover { background: rgba(255,255,255,.32); }

/* ── Nachrichtenbereich ──────────────────────────────────────────── */
.ct-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  background: #f8f9fb;
}
.ct-chat__messages::-webkit-scrollbar { width: 5px; }
.ct-chat__messages::-webkit-scrollbar-track { background: transparent; }
.ct-chat__messages::-webkit-scrollbar-thumb { background: #dde1e7; border-radius: 10px; }

/* ── Einzelne Nachrichten ────────────────────────────────────────── */
.ct-chat__msg {
  display: flex;
  max-width: 86%;
}
.ct-chat__msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.ct-chat__msg--bot {
  align-self: flex-start;
}
.ct-chat__bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.55;
  word-break: break-word;
}
.ct-chat__msg--user .ct-chat__bubble {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ct-chat__msg--bot .ct-chat__bubble {
  background: #fff;
  color: var(--color-text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ── Tipp-Animation ──────────────────────────────────────────────── */
.ct-chat__dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 2px 0;
}
.ct-chat__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-teal);
  animation: ct-chat-dot .9s infinite ease-in-out;
}
.ct-chat__dots span:nth-child(2) { animation-delay: .15s; }
.ct-chat__dots span:nth-child(3) { animation-delay: .3s; }
@keyframes ct-chat-dot {
  0%, 80%, 100% { transform: scale(0.7); opacity: .4; }
  40%           { transform: scale(1);   opacity: 1;   }
}

/* ── Eingabebereich ──────────────────────────────────────────────── */
.ct-chat__input-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #eaecef;
  background: #fff;
  flex-shrink: 0;
}
.ct-chat__input {
  flex: 1;
  resize: none;
  border: 1.5px solid #dde1e7;
  border-radius: 20px;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--color-text);
  line-height: 1.45;
  outline: none;
  transition: border-color .2s;
  max-height: 120px;
  overflow-y: auto;
  scrollbar-width: none;
}
.ct-chat__input:focus { border-color: var(--color-teal); }
.ct-chat__input:disabled { background: #f5f5f5; }
.ct-chat__input::placeholder { color: #aaa; }
.ct-chat__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.ct-chat__send:hover  { background: var(--color-teal-d, #017880); }
.ct-chat__send:active { transform: scale(.93); }
.ct-chat__send:disabled { background: #ccc; cursor: default; }

/* Footer-Note */
.ct-chat__footer-note {
  text-align: center;
  font-size: .7rem;
  color: #aaa;
  padding: 4px 12px 8px;
  background: #fff;
  flex-shrink: 0;
}
.ct-chat__footer-note a { color: var(--color-teal); }

/* ── Mobil ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .ct-chat__toggle { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .ct-chat__window {
    bottom: 84px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: 70vh;
  }
}
