/* Version 2.1: scoped styles for the consolidated homepage. */
#ausbildung { scroll-margin-top: 120px; }
.ed-finder-refresher { margin-top: 24px; }
.ed-finder-refresher .extra { width: 100%; min-width: 0; }
.ed-finder-refresher .extra > div { min-width: 0; }
.ed-finder-refresher .extra h3 { overflow-wrap: anywhere; }
.ed-simulator-home .ed-futuredrive-teaser { margin-top: 0; margin-bottom: 0; }
.ed-testimonials { padding-top: 72px; padding-bottom: 72px; }
.ed-testimonials-heading { margin-bottom: 28px; }
.ed-testimonials-heading h2 { margin: 12px 0 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ed-testimonials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ed-testimonial { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 28px 30px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 18px; background: var(--wash); }
.ed-testimonial blockquote { flex: 1; margin: 0 0 22px; }
.ed-testimonial blockquote p { margin: 0; color: var(--ink); font-size: clamp(19px, 1.65vw, 22px); line-height: 1.55; overflow-wrap: anywhere; }
.ed-testimonial blockquote p::before { content: open-quote; }
.ed-testimonial blockquote p::after { content: close-quote; }
.ed-testimonial:lang(de) { quotes: "„" "“" "‚" "‘"; }
.ed-testimonial:lang(en), .ed-testimonial:lang(tr) { quotes: "“" "”" "‘" "’"; }
.ed-testimonial figcaption { display: flex; flex-direction: column; gap: 5px; }
.ed-testimonial figcaption strong { color: var(--ink); font-size: 17px; }
.ed-testimonial figcaption span { color: #485d74; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.ed-testimonials-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; }
.ed-testimonials-bottom > div { min-width: 0; }
.ed-testimonials-bottom p { margin: 0 0 9px; color: #485d74; font-size: 13px; line-height: 1.65; }
.ed-testimonials-more { color: #12376d; font-size: 14px; line-height: 1.5; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.ed-testimonials-bottom .button { flex-shrink: 0; text-align: center; }
html[data-theme="dark"] .ed-testimonial { background: var(--dm-surface); border-color: var(--dm-border); border-top-color: var(--dm-accent); }
html[data-theme="dark"] .ed-testimonial figcaption span,
html[data-theme="dark"] .ed-testimonials-bottom p { color: var(--dm-muted); }
html[data-theme="dark"] .ed-testimonials-more { color: var(--dm-link); }
@media (max-width: 800px) {
  .ed-testimonials-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 620px) {
  .ed-testimonials { padding-top: 48px; padding-bottom: 48px; }
  .ed-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .ed-testimonial { padding: 24px; }
  .ed-testimonials-bottom .button { width: 100%; white-space: normal; }
}

/* Compact mobile introduction; desktop copy stays complete. */
#ed-start .ed-hero-short{display:none}
.mobile-bottom[hidden]{display:none!important}
.ed-video-credit{margin:12px 0 0;text-align:center;font-size:14px;font-weight:700;color:var(--ink)}
html[data-theme="dark"] .ed-video-credit{color:var(--dm-text,var(--ink))}
@media(max-width:620px){
  #ed-start .hero-copy>.eyebrow,#ed-start .hero-office,#ed-start .ed-hero-full{display:none}
  #ed-start .ed-hero-short{display:inline}
  #ed-start .hero-p{margin-bottom:14px}
}
