
:root {
  --bg: #f4f8ff;
  --panel: #ffffff;
  --text: #0b2347;
  --muted: #5d6f8e;
  --brand: #0b5fc7;
  --brand-2: #0d72e8;
  --brand-dark: #073f8d;
  --brand-deep: #062b63;
  --accent: #eaf3ff;
  --accent-2: #dbeafe;
  --line: #d4e4f8;
  --warm: #c96b2b;
  --shadow: 0 22px 60px rgba(7, 63, 141, .13);
  --shadow-soft: 0 12px 34px rgba(7, 63, 141, .09);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.topbar { background: linear-gradient(90deg, var(--brand-deep), var(--brand)); color: #fff; font-size: .95rem; padding: .55rem 1.5rem; text-align: center; }
.topbar a { color: #fff; font-weight: 900; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { max-width: 1180px; margin: 0 auto; padding: .9rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; position: relative; }
.brandmark { display: flex; align-items: center; gap: .85rem; text-decoration: none; line-height: 1.1; min-width: max-content; }
.brandmark img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #fff; }
.brandmark strong { font-size: 1.18rem; letter-spacing: -.02em; display: block; }
.brandmark span { font-size: .82rem; color: var(--muted); display: block; max-width: 260px; line-height: 1.25; }
.navlinks { display: flex; align-items: center; gap: 1.05rem; font-size: .96rem; }
.navlinks a { text-decoration: none; color: var(--text); font-weight: 850; padding: .35rem .1rem; border-bottom: 2px solid transparent; }
.navlinks a:hover, .navlinks a.active { color: var(--brand); border-bottom-color: var(--brand); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 14px; padding: .65rem .8rem; background: #fff; color: var(--brand-dark); font-weight: 900; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .78rem 1.15rem; border-radius: 999px; border: 2px solid transparent; background: linear-gradient(135deg, var(--brand-2), var(--brand-dark)); color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 12px 26px rgba(11,95,199,.25); transition: transform .18s ease, background .18s ease, border-color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); background: var(--brand-dark); }
.btn.secondary { background: #fff; color: var(--brand-dark); border-color: var(--line); box-shadow: none; }
.btn.secondary:hover { border-color: var(--brand); background: var(--accent); }
main { overflow: hidden; }
h1, h2, h3 { line-height: 1.14; margin: 0; }
p { margin-top: 1rem; }
.hero { position: relative; padding: 5.2rem 1.5rem 4.2rem; background: radial-gradient(circle at 78% 18%, rgba(13,114,232,.16), transparent 36%), radial-gradient(circle at 9% 92%, rgba(13,114,232,.10), transparent 30%), linear-gradient(135deg, #eef6ff 0%, #fff 57%, #edf5ff 100%); }
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .75rem; border-radius: 999px; background: var(--accent-2); color: var(--brand-dark); font-weight: 900; font-size: .92rem; margin-bottom: 1rem; }
h1 { font-size: clamp(2.35rem, 5.5vw, 4.55rem); letter-spacing: -.055em; max-width: 820px; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 680px; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin-top: 2rem; max-width: 720px; }
.trust-item { background: rgba(255,255,255,.84); border: 1px solid var(--line); border-radius: 18px; padding: .9rem; font-weight: 900; color: var(--brand-dark); box-shadow: var(--shadow-soft); }
.hero-visual { display: grid; grid-template-columns: 1fr .78fr; gap: 1rem; align-items: stretch; }
.photo-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); background: var(--panel); isolation: isolate; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { min-height: 540px; }
.hero-photo img { object-position: center 64%; }
.side-stack { display: grid; gap: 1rem; }
.side-stack .photo-card { min-height: 255px; border-radius: 28px; }
.photo-label { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: .85rem 1rem; border-radius: 18px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow-soft); color: var(--text); font-weight: 900; backdrop-filter: blur(10px); }
section { padding: 5rem 1.5rem; }
.container { max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 780px; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.04em; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-intro { display: grid; grid-template-columns: minmax(0,1fr) 410px; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.section-intro .section-head { margin-bottom: 0; }
.section-intro .photo-card { height: 230px; border-radius: 28px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.45rem; box-shadow: var(--shadow-soft); min-width: 0; }
.card .num { width: 42px; height: 42px; border-radius: 14px; background: var(--accent-2); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 1rem; }
.card h3 { font-size: 1.22rem; }
.card p, .card li { color: var(--muted); }
.card ul { margin: .75rem 0 0; padding-left: 1.1rem; }
.gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 1rem; }
.gallery-grid .photo-card { height: 330px; border-radius: 28px; }
.gallery-grid .photo-card:first-child { grid-row: span 2; height: 680px; }
.gallery-grid .photo-card:first-child img { object-position: center 70%; }
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 2rem; align-items: center; }
.split-media { display: grid; grid-template-columns: .85fr 1fr; gap: 1rem; align-items: stretch; }
.split-media .photo-card { min-height: 360px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 32px; padding: 2rem; box-shadow: var(--shadow); min-width: 0; }
.panel h3 { overflow-wrap: anywhere; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: .75rem; margin-top: 1.2rem; }
.benefit { min-width: 0; width: 100%; box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; hyphens: auto; line-height: 1.28; background: #f3f8ff; border: 1px solid var(--line); border-radius: 18px; padding: .85rem .9rem; font-weight: 850; font-size: .95rem; color: var(--brand-deep); }
.steps-wrap { display: grid; grid-template-columns: 1fr 370px; gap: 1.2rem; align-items: stretch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.step { border-left: 4px solid var(--brand); background: #fff; border-radius: 0 22px 22px 0; padding: 1.35rem; box-shadow: var(--shadow-soft); }
.step-photo { height: 100%; min-height: 220px; border-radius: 28px; }
.page-hero { padding: 4.2rem 1.5rem; background: linear-gradient(135deg, #eaf3ff 0%, #fff 56%, #eef6ff 100%); border-bottom: 1px solid var(--line); }
.page-hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 2rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.25rem, 4.8vw, 4.1rem); }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 740px; }
.page-hero .photo-card { height: 300px; border-radius: 32px; }
.content-grid { display: grid; grid-template-columns: 1fr 330px; gap: 1.4rem; align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 1rem; }
.text-block { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 2rem; box-shadow: var(--shadow-soft); margin-bottom: 1rem; }
.text-block h2 { font-size: 2rem; margin-bottom: .9rem; }
.text-block h3 { font-size: 1.35rem; margin-top: 1.4rem; }
.text-block p, .text-block li { color: var(--muted); }
.text-block ul { padding-left: 1.2rem; }
.service-detail { display: grid; grid-template-columns: 190px 1fr; gap: 1.1rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 1rem; box-shadow: var(--shadow-soft); margin-bottom: 1rem; }
.service-detail .num { width: 54px; height: 54px; border-radius: 18px; background: var(--accent-2); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.service-detail .photo-card { height: 180px; border-radius: 22px; box-shadow: none; }
.service-detail p { color: var(--muted); }
.form-grid { display: grid; gap: .9rem; }
.field label { display: block; font-weight: 850; margin-bottom: .35rem; color: var(--text); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 16px; font: inherit; color: var(--text); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.contact { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; }
.contact .section-head p, .contact .muted { color: rgba(255,255,255,.84); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; }
.contact-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); border-radius: 28px; padding: 1.6rem; }
.contact-box a { color: #fff; font-weight: 900; text-decoration: none; }
.contact .btn.secondary { color: var(--brand-dark); border-color: #fff; }
.contact-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .85rem; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: .75rem; }
.legal { font-size: .98rem; }
.legal h2 { margin-top: 1.8rem; font-size: 1.6rem; }
.legal h3 { margin-top: 1.2rem; }
footer { padding: 2rem 1.5rem; background: #061b3a; color: rgba(255,255,255,.82); font-size: .95rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
footer a { color: #fff; text-decoration: none; font-weight: 800; }
@media (max-width: 1060px) {
  .hero-inner, .section-intro, .split, .steps-wrap, .contact-grid, .page-hero-inner, .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-visual { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .hero-photo { min-height: 440px; }
  .cards, .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid .photo-card:first-child { grid-row: auto; height: 360px; }
}
@media (max-width: 760px) {
  .topbar { padding: .7rem 1rem; font-size: .84rem; }
  .nav { padding: .85rem 1rem; flex-wrap: wrap; }
  .brandmark img { width: 42px; height: 42px; }
  .brandmark strong { font-size: 1.02rem; }
  .brandmark span { font-size: .75rem; max-width: 190px; }
  .menu-toggle { display: inline-flex; }
  .nav > .btn { display: none; }
  .navlinks { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: .2rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: .8rem; box-shadow: var(--shadow-soft); }
  .navlinks.open { display: flex; }
  .navlinks a { padding: .7rem .8rem; border-bottom: 0; border-radius: 14px; }
  .navlinks a.active, .navlinks a:hover { background: var(--accent); }
  section { padding: 3.5rem 1rem; }
  .hero { padding: 2.8rem 1rem 3.4rem; }
  .hero-inner { gap: 2rem; }
  .hero-visual, .side-stack, .trust-row, .cards, .steps, .benefits, .split-media, .gallery-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 300px; }
  .side-stack .photo-card { min-height: 210px; }
  .section-intro .photo-card, .gallery-grid .photo-card, .gallery-grid .photo-card:first-child, .page-hero .photo-card { height: 260px; }
  .panel, .text-block { padding: 1.35rem; border-radius: 24px; }
  .benefits { grid-template-columns: 1fr; gap: .55rem; }
  .benefit { font-size: .88rem; padding: .78rem .85rem; line-height: 1.25; }
  .contact-list li { flex-direction: column; gap: .15rem; }
  .btn { width: 100%; }
  .photo-card { border-radius: 26px; }
  .photo-label { font-size: .9rem; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail .photo-card { height: 220px; }
}


/* Recruiting attention elements */
.topbar { display: flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap; }
.topbar .topbar-job { color: #fff; text-decoration: none; font-weight: 900; padding: .12rem .55rem; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); }
.topbar .topbar-job:hover { background: rgba(255,255,255,.24); }
.topbar-divider { opacity: .65; }
.career-teaser-section { padding-top: 0; }
.career-teaser { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 2rem; align-items: center; padding: 2rem; border-radius: 36px; border: 1px solid #ffd8b5; background: linear-gradient(135deg, #fff7ed 0%, #fff 48%, #eaf3ff 100%); box-shadow: var(--shadow); }
.career-teaser h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.04em; }
.career-teaser p { color: var(--muted); font-size: 1.08rem; max-width: 720px; }
.career-teaser .eyebrow { background: #ffedd5; color: #9a4b13; }
.career-photo { height: 290px; border-radius: 30px; }
.job-float { display: block; position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 90; width: min(340px, calc(100vw - 2rem)); padding: 1rem; border-radius: 26px; background: rgba(255,255,255,.96); border: 1px solid #ffd8b5; box-shadow: 0 22px 60px rgba(7,63,141,.20); backdrop-filter: blur(14px); color: var(--text); }
.job-float.hidden { display: none !important; }
.job-kicker { display: inline-flex; margin-bottom: .35rem; font-size: .82rem; font-weight: 950; color: #9a4b13; background: #ffedd5; border-radius: 999px; padding: .25rem .55rem; }
.job-float strong { display: block; font-size: 1.15rem; line-height: 1.15; padding-right: 1.4rem; color: var(--brand-deep); }
.job-float p { margin: .45rem 0 .85rem; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.job-float-link { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; border-radius: 999px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #f59e0b, #c96b2b); font-weight: 950; box-shadow: 0 12px 24px rgba(201,107,43,.22); }
.job-float-close { position: absolute; top: .55rem; right: .65rem; width: 30px; height: 30px; border-radius: 999px; border: 1px solid #ffd8b5; background: #fff; color: #9a4b13; font-size: 1.1rem; line-height: 1; cursor: pointer; font-weight: 900; }
@media (max-width: 1060px) { .career-teaser { grid-template-columns: 1fr; } .career-photo { height: 260px; } }
@media (max-width: 760px) {
  .topbar { gap: .35rem; }
  .topbar-divider { display: none; }
  .topbar .topbar-job { font-size: .78rem; }
  .career-teaser { padding: 1.35rem; border-radius: 26px; }
  .career-photo { height: 220px; }
  .job-float { left: .75rem; right: .75rem; bottom: .75rem; width: auto; border-radius: 22px; padding: .9rem; }
  .job-float strong { font-size: 1.02rem; }
  .job-float p { font-size: .88rem; margin-bottom: .7rem; }
}

/* Avoid covering mobile content with the recruiting floating card. The top bar and navigation still point to jobs. */
@media (max-width: 760px) {
  .job-float, .job-float.is-visible { display: none !important; }
}


/* Leistungen-Seite ohne Behandlungsbilder */
body.leistungen-clean .page-hero-inner {
  grid-template-columns: minmax(0, 920px);
  justify-content: start;
}
body.leistungen-clean .page-hero .photo-card,
body.leistungen-clean .service-detail > .photo-card,
body.leistungen-clean .sidebar > .photo-card {
  display: none !important;
}
body.leistungen-clean .service-detail {
  grid-template-columns: 1fr;
  padding: 1.6rem 1.8rem;
}
body.leistungen-clean .service-detail .num {
  margin-bottom: .75rem;
}
body.leistungen-clean .service-detail h2 {
  margin-top: 0;
}
body.leistungen-clean .service-detail p:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  body.leistungen-clean .page-hero-inner,
  body.leistungen-clean .content-grid {
    grid-template-columns: 1fr;
  }
}

/* Kontaktformular ohne unsicheren Form-Post */
.form-hint { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.form-status { margin: 0; color: var(--brand-dark); font-weight: 850; }


/* Kontaktseite ohne Formular */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.contact-info-cards .info-card {
  background: #fff;
  border: 1px solid rgba(13, 71, 161, .12);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(11, 76, 180, .08);
}
.contact-info-cards .info-card span {
  display: inline-block;
  color: #0b4fb3;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-info-cards .info-card strong {
  display: block;
  color: #082b5f;
  font-size: 1.04rem;
  line-height: 1.35;
}
.contact-info-cards .info-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.contact-actions {
  margin-top: 8px;
}
@media (max-width: 740px) {
  .contact-info-cards {
    grid-template-columns: 1fr;
  }
}


/* V11: Bildbeschriftungen entfernt */
.photo-label {
  display: none !important;
}
