/* ==========================================================================
   Kundenfreundliche Bausteine: Schnellkontakt, Ablauf, FAQ, Formular-Extras,
   mobile Kontaktleiste, Zum-Anfang-Button, Barrierefreiheit
   Nutzt die Variablen aus style.css
   ========================================================================== */

/* ---------- Skip-Link & Fokus ---------- */
.skip-link {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  padding: 0.8rem 1.2rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
  transform: translateY(-120%);
  transition: transform var(--duration);
}
.skip-link:focus { transform: none; outline: 3px solid var(--cyan); text-decoration: none; }
a:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }

/* ---------- Hero: Direktkontakt ---------- */
.quick-contact { margin-top: 1.2rem; font-size: 0.95rem; color: var(--blue-soft); }
.quick-contact a { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(79, 209, 255, 0.5); text-underline-offset: 4px; }
.quick-contact a:hover { text-decoration-color: var(--cyan); }
.quick-contact span { margin: 0 0.5rem; opacity: 0.6; }

/* ---------- Ablauf ---------- */
.process {
  background:
    linear-gradient(var(--white) 0%, transparent 20%, transparent 80%, var(--white) 100%),
    linear-gradient(rgba(26,109,230,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,109,230,0.06) 1px, transparent 1px),
    var(--gray-50);
  background-size: 100% 100%, 40px 40px, 40px 40px, 100% 100%;
}
.process .section-title { max-width: 18ch; margin-bottom: 3rem; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.process-steps li {
  position: relative;
  padding: 2rem 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid rgba(26, 109, 230, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 400ms var(--ease), box-shadow 400ms, border-color 400ms;
}
.process-steps li::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.process-steps li:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: rgba(79, 209, 255, 0.5); }
.process-steps li:hover::after { transform: scaleX(1); }
.step-num {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-steps h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 0.4rem; }
.process-steps p { font-size: 0.95rem; margin: 0; }

/* ---------- Kontakt: Direkte Wege ---------- */
.contact-direct {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
  max-width: 480px;
}
.contact-direct a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  color: var(--white);
  border: 1px solid rgba(79, 209, 255, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  transition: background 300ms, border-color 300ms, transform 400ms var(--ease);
}
.contact-direct a:hover { background: rgba(61, 139, 255, 0.18); border-color: var(--cyan); transform: translateY(-3px); text-decoration: none; }
.contact-direct strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.contact-direct small { display: block; font-size: 0.75rem; color: var(--blue-soft); line-height: 1.3; margin-top: 0.15rem; }
.cd-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-bright), var(--blue)); box-shadow: 0 6px 16px rgba(26, 109, 230, 0.4); }
.cd-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Formular-Extras ---------- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.optional { font-weight: 400; opacity: 0.7; }
.field select {
  width: 100%;
  padding: 0.8rem 2.4rem 0.8rem 0.9rem;
  font: inherit;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FD1FF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center / 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--duration), box-shadow var(--duration);
}
.field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(79, 209, 255, 0.2); }
.field select option { color: var(--navy); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.field-callback { margin: 0; padding: 0; border: 0; min-width: 0; }
.field-callback legend { font-size: 0.8rem; color: var(--blue-soft); margin-bottom: 0.5rem; padding: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: background 250ms, border-color 250ms, box-shadow 250ms;
}
.chip:hover span { border-color: var(--cyan); }
.chip input:checked + span { background: linear-gradient(135deg, var(--blue-bright), var(--blue)); border-color: transparent; box-shadow: 0 4px 14px rgba(26, 109, 230, 0.45); }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

.field.has-error input, .field.has-error textarea { border-color: #FF8A8A; box-shadow: 0 0 0 4px rgba(255, 138, 138, 0.2); }
.field-error { font-size: 0.78rem; color: #FFB4B4; margin: 0; }
.form-note { margin: 0; font-size: 0.78rem; color: var(--blue-soft); }
.form-status.is-success { color: var(--cyan); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-intro .section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.faq-intro p { color: var(--text); max-width: 36ch; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  border: 1px solid rgba(26, 109, 230, 0.14);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  overflow: hidden;
  transition: border-color 300ms, box-shadow 300ms;
}
.faq-item[open] { border-color: rgba(79, 209, 255, 0.6); box-shadow: var(--shadow-card); background: var(--white); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A6DE6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 350ms var(--ease), background-color 300ms;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--blue-soft); }
.faq-item p { margin: 0; padding: 0 1.3rem 1.2rem; font-size: 0.95rem; color: var(--text); }

/* ---------- Mobile Kontaktleiste ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(7, 28, 54, 0.94);
  border-top: 1px solid rgba(79, 209, 255, 0.3);
  box-shadow: 0 -10px 30px rgba(4, 15, 32, 0.4);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
}
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-bar-primary { background: linear-gradient(135deg, var(--blue-bright), var(--blue)); border-color: transparent !important; box-shadow: 0 6px 18px rgba(26, 109, 230, 0.5); }

/* ---------- Zum Seitenanfang ---------- */
.back-to-top {
  position: fixed;
  right: 1.2rem; bottom: 1.2rem;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(79, 209, 255, 0.4);
  box-shadow: 0 10px 24px rgba(4, 15, 32, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 300ms, transform 300ms var(--ease), visibility 300ms, background 300ms;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue); }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .faq-inner { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 76px; }
  .back-to-top { bottom: 88px; }
  .main-nav { bottom: 0; }
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-direct { grid-template-columns: 1fr; }
  .quick-contact span { display: block; height: 0; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .process-steps li, .faq-item summary::after, .back-to-top { transition: none; }
}

/* ---------- Bewertungs-Hinweise ---------- */
.hero-badges li a { display: grid; gap: 0.1rem; color: inherit; }
.hero-badges li a:hover { text-decoration: none; }
.hero-badges small { display: block; font-size: 0.68rem; opacity: 0.7; }
.stats-note { margin-top: 1.2rem; font-size: 0.78rem; color: var(--blue-soft); max-width: 60ch; }
.stats-note a { color: var(--cyan); text-decoration: underline; }
a.footer-badge { text-decoration: none; }
a.footer-badge small { display: block; font-size: 0.65rem; letter-spacing: 0.04em; text-transform: none; font-weight: 600; opacity: 0.7; }
a.footer-badge:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- Wording-Update ---------- */
.section-title-long { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); text-transform: none; letter-spacing: -0.01em; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.service .section-title-long { margin-bottom: 1.2rem; }
.process .section-title-long { margin-inline: 0; max-width: 28ch; }
.hero-sub { text-transform: none; letter-spacing: 0; font-weight: 400; max-width: 46ch; line-height: 1.55; }
.trust-bar li { min-width: 0; }
.trust-bar strong { font-size: 1rem; }
.trust-bar span { font-size: 0.74rem; }
.card-label { margin: 0 0 0.35rem; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.card-body { display: flex; flex-direction: column; }
.card-body h3 { text-transform: none; letter-spacing: -0.01em; font-size: 1.2rem; line-height: 1.25; text-wrap: balance; }
.card-body p:not(.card-label) { min-height: 0; flex: 1; }
.card-body .btn { align-self: center; margin-top: auto; }
.contact-title { text-transform: none; letter-spacing: 0; font-size: 1.5rem; }
.career-note { margin-top: 1rem; font-size: 0.9rem; }
.career-note a { color: var(--white); text-decoration: underline; }
.cta h2 { max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.about h2 { text-wrap: balance; }

/* ---------- Versalien für Überschriften ---------- */
h1, h2, .card-body h3, .metier-title, .contact-title, .faq-intro .section-title, .career h2, .cta h2, .about h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h1 { letter-spacing: 0.01em; }
.section-title-long { text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.2rem); }
.card-body h3 { font-size: 1.05rem; letter-spacing: 0.05em; line-height: 1.3; }
.contact-title { font-size: 1.35rem; }
.cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); }
.about h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); }
.career h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); }
.signature-second { margin-top: 0.8rem; }

/* ---------- Hero-Headline in einer Zeile ---------- */
.hero h1 { max-width: none; white-space: nowrap; font-size: clamp(1.7rem, 6.1vw, 5.2rem); letter-spacing: 0.01em; }
@media (max-width: 480px) { .hero h1 { white-space: normal; font-size: clamp(1.9rem, 10.4vw, 2.6rem); max-width: none; } }

/* ---------- Hero: Subline zweizeilig, halber Abstand ---------- */
.hero h1 { margin-bottom: 0.3em; }
.hero-sub { max-width: none; margin-bottom: 1.8rem; }
@media (max-width: 900px) { .hero-sub br { display: none; } .hero-sub { max-width: 46ch; } }

/* ---------- Hero zentriert ---------- */
.hero-content { text-align: center; }
.hero h1 { margin-inline: auto; }
.hero-sub { margin-inline: auto; }
.hero-actions, .hero-badges { justify-content: center; }
.hero-badges li { text-align: left; }

/* ---------- Leistungs-Karussell ---------- */
.carousel { position: relative; }
.card-track {
  display: flex;
  gap: 2rem;
  margin-top: calc(-1 * clamp(4rem, 8vw, 6rem));
  padding: 0 0.5rem 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.card-track::-webkit-scrollbar { display: none; }
.card-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.card-track .card { flex: 0 0 min(340px, 82vw); }
.carousel-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
.carousel-btn, .carousel-toggle {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(26, 109, 230, 0.3);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 250ms, color 250ms, transform 300ms var(--ease), border-color 250ms;
}
.carousel-btn:hover, .carousel-toggle:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translateY(-2px); }
.carousel-btn:focus-visible, .carousel-toggle:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.carousel-btn svg, .carousel-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-toggle .ico-play { display: none; }
.carousel-toggle[aria-pressed="true"] .ico-play { display: block; }
.carousel-toggle[aria-pressed="true"] .ico-pause { display: none; }
@media (max-width: 600px) { .card-track { gap: 1.25rem; } }

/* ---------- Karussell über die gesamte Breite ---------- */
.portfolio .carousel.container { width: 100%; max-width: none; margin-inline: 0; }
.card-track { padding-inline: clamp(1.25rem, 4vw, 3rem); }

/* ---------- Hero aufgeräumt ---------- */
.hero-content { padding-block: clamp(7rem, 12vw, 9rem) clamp(5rem, 8vw, 6rem); }
.hero-overline { display: block; margin: 0 0 1.1rem; font-size: 0.82rem; letter-spacing: 0.24em; color: var(--cyan); opacity: 0.9; }
.hero h1 { font-size: clamp(1.7rem, 5.6vw, 4.6rem); margin-bottom: 0.35em; letter-spacing: 0.02em; }
.hero-sub { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem); color: rgba(255, 255, 255, 0.78); margin-bottom: 2.2rem; line-height: 1.6; }
.hero-actions { align-items: center; gap: 1.6rem; }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1rem; }
.btn-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; transition: border-color var(--duration), color var(--duration); }
.btn-link:hover { text-decoration: none; border-color: var(--cyan); color: var(--cyan); }
.btn-link:hover .btn-arrow { transform: translateX(4px); }
.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.02em; }
.trust-line li { display: inline-flex; align-items: center; }
.trust-line li + li::before { content: "·"; margin: 0 0.9rem; opacity: 0.45; }
.trust-line a { color: var(--white); font-weight: 600; text-decoration: none; }
.trust-line a:hover { color: var(--cyan); }
.trust-line small { font-weight: 400; color: rgba(255, 255, 255, 0.6); margin-left: 0.3rem; }
.trust-line .star { color: #FFC83D; margin-right: 0.2rem; }
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; gap: 1rem; }
  .trust-line { flex-direction: column; align-items: center; gap: 0.35rem; }
  .trust-line li + li::before { content: none; }
}

/* ---------- Vertrauenszeile mit Icons ---------- */
.trust-line { gap: 0.6rem 0; font-size: 0.84rem; }
.trust-line li { gap: 0.4rem; white-space: nowrap; }
.trust-line li + li::before { margin: 0 0.8rem; }
.tl-icon { width: 17px; height: 17px; fill: none; stroke: var(--cyan); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tl-star { fill: #FFC83D; stroke: #FFC83D; }
.trust-line .star { display: none; }
@media (max-width: 1100px) { .trust-line li { white-space: normal; } }
@media (max-width: 600px) { .trust-line li { justify-content: center; } }

/* ---------- Vertrauenszeile: einzeilig ---------- */
.trust-line { font-size: 0.8rem; letter-spacing: 0; margin-inline: calc(-1 * clamp(0px, 5vw, 80px)); }
.trust-line a, .trust-line a > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.tl-icon { display: inline-block; width: 16px; height: 16px; }
.trust-line li + li::before { margin: 0 0.65rem; }
@media (max-width: 1100px) { .trust-line { margin-inline: 0; } }

/* ---------- Vertrauenszeile zwischen Überschrift und Unterzeile ---------- */
.trust-line { margin-top: 0.4rem; margin-bottom: 1.6rem; padding-top: 0; border-top: 0; }
.hero h1 { margin-bottom: 0.25em; }
.hero-sub { margin-bottom: 2rem; }

/* ---------- Service-Einleitung linksbündig, volle Breite ---------- */
.service { text-align: left; }
.service .section-title-long { max-width: none; margin-inline: 0; text-wrap: balance; }
.service .lead { max-width: none; margin-inline: 0; text-wrap: pretty; margin-bottom: 2.5rem; }

/* ---------- Ablauf-Überschrift rechtsbündig, volle Breite ---------- */
.process > .container > .eyebrow, .process .section-title-long { text-align: right; }
.process > .container > .eyebrow { display: flex; justify-content: flex-end; }
.process .section-title-long { max-width: none; margin-inline: 0; margin-left: auto; text-wrap: balance; }

/* ---------- Weniger Leerraum zwischen Karussell und Ablauf ---------- */
.portfolio { padding-bottom: 1.5rem; }
.carousel-nav { margin-top: 0.25rem; }
.process { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }

/* ---------- Über uns: linksbündig, volle Breite, rundes Foto ---------- */
.about-content { max-width: none; }
.about h2 { max-width: none; font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.6rem); }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1.5rem; }
.about-text p { max-width: none; }
.about-photo {
  position: relative;
  width: 280px; aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05) center / cover no-repeat;
  border: 2px dashed rgba(79, 209, 255, 0.5);
  box-shadow: 0 0 0 10px rgba(61, 139, 255, 0.08), 0 20px 50px rgba(4, 15, 32, 0.45);
  overflow: hidden;
}
.about-photo.has-photo { border-style: solid; border-color: rgba(79, 209, 255, 0.7); }
.about-photo-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.6rem; text-align: center; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); }
.about-photo-ph svg { width: 56px; height: 56px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.about-photo.has-photo .about-photo-ph { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: 200px; }
}

/* ---------- Fix: Mobile-Regeln für ausgelagerte Abschnitte (sections.css lädt nach style.css) ---------- */
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .metier, .contact-panel { padding-inline: 1.25rem; }
  .contact-direct { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .contact-direct { grid-template-columns: 1fr; }
  .stats { gap: 1rem; }
  .stat { min-width: 100%; }
}

/* ---------- Review-Runde: weniger Lärm ---------- */
/* 1) Service ohne Kacheln: Abschnitt kompakter */
.service { padding-bottom: 2.5rem; }
.service .lead { margin-bottom: 0; }
/* 4) Karriere ruhig, Abschluss kleiner */
.career { background: var(--gray-100); animation: none; color: var(--navy); }
.career h2 { color: var(--navy); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.career p { color: var(--text); }
.career .btn-outline-light { background: var(--blue); color: var(--white); border-color: var(--blue); backdrop-filter: none; box-shadow: 0 8px 24px rgba(26, 109, 230, 0.35); }
.career .btn-outline-light:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.career-note a { color: var(--blue); }
.cta h2 { font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.1rem); }
.cta-sub { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); }
/* 5) Fünf Zusagen, größer */
.check-list-big { gap: 1rem; }
.check-list-big li { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.45; padding-left: 2.2rem; }
.check-list-big li::before { width: 12px; height: 12px; top: 0.5em; }
/* 6c) zwei Kontaktkacheln */
.contact-direct { grid-template-columns: 1fr 1fr; }
/* 7) Mobil nur drei Vertrauenspunkte */
@media (max-width: 600px) { .trust-line li.tl-desktop { display: none; } .trust-line li + li::before { content: none; } .trust-line { margin-bottom: 1.2rem; } }

/* ---------- Nachweise / Zertifikate ---------- */
.certs { background: var(--white); }
.certs .section-title-long { max-width: none; margin-inline: 0; margin-bottom: 0.6rem; }
.certs-intro { color: var(--gray-500); margin-bottom: 2.2rem; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; }
.cert-open {
  display: block; width: 100%; padding: 0; margin: 0 0 1rem;
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; cursor: zoom-in;
  box-shadow: var(--shadow-card);
  transition: transform 400ms var(--ease), box-shadow 400ms, border-color 300ms;
}
.cert-open:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: rgba(79, 209, 255, 0.6); }
.cert-open:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.cert-open img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 693; object-fit: cover; }
.cert h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 0.3rem; }
.cert-sub { font-size: 0.9rem; color: var(--text); margin-bottom: 0.3rem; }
.cert-meta { font-size: 0.78rem; color: var(--gray-500); margin: 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(4, 15, 32, 0.88); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; display: grid; gap: 0.6rem; justify-items: center; }
.lightbox img { max-width: min(92vw, 900px); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(4, 15, 32, 0.6); background: var(--white); }
.lightbox figcaption { color: var(--blue-soft); font-size: 0.85rem; text-align: center; max-width: 60ch; }
.lightbox-close {
  position: fixed; top: 1rem; right: 1rem;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(7, 28, 54, 0.8); color: var(--white); cursor: pointer;
  display: grid; place-items: center;
}
.lightbox-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.lightbox-close:hover { background: var(--blue); }

/* ---------- Leistungen: Einleitung und Band zusammengeführt ---------- */
.portfolio-band { text-align: left; padding-top: clamp(3rem, 5vw, 4.5rem); }
.portfolio-band .section-title-long { max-width: none; margin-inline: 0; margin-bottom: 1rem; color: var(--white); }
.lead-light { color: var(--blue-soft); background: none; -webkit-background-clip: initial; background-clip: initial; animation: none; max-width: none; margin-inline: 0; margin-bottom: 0; font-weight: 500; font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem); position: relative; }
.portfolio-band .eyebrow { color: var(--cyan); }
