.sd-editor-hero,.sd-editor-text-image,.sd-editor-card-section,.sd-editor-cta{padding:clamp(48px,7vw,96px) 24px}.sd-editor-wrap{max-width:1380px;margin:0 auto}.sd-editor-hero .sd-editor-wrap,.sd-editor-text-image .sd-editor-wrap,.sd-editor-cta .sd-editor-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,5vw,72px);align-items:center}.sd-editor-text-image.is-image-right .sd-editor-media{order:2}.sd-editor-media img,.sd-editor-card img{width:100%;height:auto;display:block;border-radius:12px}.sd-editor-eyebrow{color:#e94e4b;text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;font-weight:700}.sd-editor-button{display:inline-block;margin-top:18px;padding:13px 22px;border-radius:8px;background:#ff625e;color:#fff;text-decoration:none;font-weight:600}.sd-editor-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.sd-editor-card{padding:24px;border:1px solid #dce5e6;border-radius:12px}.sd-editor-card h3{margin:18px 0 8px}.sd-editor-cta{background:#f1f5f5}.sd-editor-cta .sd-editor-wrap{grid-template-columns:1fr auto}/* Frontend slider: animated, accessible transitions */
.sd-editor-slider{position:relative;overflow:hidden;isolation:isolate;background:#102b36}
.sd-editor-slider-track{display:grid;position:relative;overflow:hidden}
.sd-editor-slide{grid-area:1/1;position:relative;opacity:0;pointer-events:none;transform:translateX(34px);transition:opacity .65s ease,transform .65s cubic-bezier(.22,.61,.36,1);z-index:0}
.sd-editor-slide.is-active{opacity:1;pointer-events:auto;transform:translateX(0);z-index:1}
.sd-transition-fade .sd-editor-slide{transform:none;transition:opacity .8s ease}
.sd-editor-slide>img{width:100%;height:clamp(300px,48vw,680px);object-fit:cover;display:block}
.sd-editor-slide-caption{position:absolute;left:clamp(20px,7vw,100px);bottom:clamp(20px,7vw,80px);max-width:620px;padding:24px;background:rgba(16,43,54,.84);color:#fff;border-radius:10px}
.sd-editor-slide-caption h2{color:#fff;margin-top:0}
.sd-editor-slide-caption p{color:#fff}
.sd-slider-prev,.sd-slider-next,.sd-slider-pause{position:absolute;z-index:5;top:50%;transform:translateY(-50%);border:0;border-radius:50%;width:48px;height:48px;font-size:30px;line-height:1;background:#fff;color:#102b36;cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.18)}
.sd-slider-prev{left:18px}.sd-slider-next{right:18px}
.sd-slider-pause{top:auto;bottom:16px;right:18px;transform:none;width:36px;height:36px;font-size:17px}
.sd-slider-dots{position:absolute;z-index:6;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center}
.sd-slider-dots button{width:12px;height:12px;padding:0;border:2px solid #fff;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.sd-slider-dots button[aria-current=true]{background:#ff625e;border-color:#fff;transform:scale(1.18)}
.sd-slider-prev:focus-visible,.sd-slider-next:focus-visible,.sd-slider-pause:focus-visible,.sd-slider-dots button:focus-visible{outline:3px solid #ff625e;outline-offset:3px}
/* Editor preview */
.sd-slider-editor-block{padding:18px;background:#f1f5f5;border:1px solid #dce5e6;border-radius:8px}
.sd-slider-editor-preview{position:relative;overflow:hidden;background:#102b36;border-radius:6px;min-height:220px}
.sd-slider-editor-preview>img{display:block;width:100%;height:clamp(220px,32vw,420px);object-fit:cover}
.sd-slider-editor-placeholder{min-height:220px;display:flex;align-items:center;justify-content:center;padding:24px;color:#52656b;background:#e5ebec;text-align:center}
.sd-slider-editor-caption{position:absolute;left:24px;bottom:24px;max-width:70%;padding:16px 20px;border-radius:6px;background:rgba(16,43,54,.84);color:#fff}
.sd-slider-editor-caption h3,.sd-slider-editor-caption p{color:#fff;margin:0 0 8px}
.sd-slider-editor-button{display:inline-block;margin-top:8px;padding:8px 14px;background:#ff625e;color:#fff;border-radius:5px}
.sd-slider-editor-nav{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px;background:#fff}
@media(max-width:700px){.sd-editor-slide>img{height:auto;min-height:260px;max-height:460px}.sd-editor-slide-caption{position:static;border-radius:0;max-width:none}.sd-slider-prev,.sd-slider-next{width:38px;height:38px;font-size:24px;top:35%}.sd-slider-editor-caption{position:static;max-width:none;border-radius:0}}
@media(prefers-reduced-motion:reduce){.sd-editor-slide,.sd-transition-fade .sd-editor-slide{transition:none}}

/* SCHELLDORF content modules */
.sd-editor-references,.sd-editor-process,.sd-editor-stats{padding:clamp(48px,7vw,88px) 24px}
.sd-editor-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sd-editor-reference{padding:0;border:1px solid #dce5e6;border-radius:12px;background:#fff;overflow:hidden}
.sd-editor-reference img{display:block;width:100%;height:180px;max-height:none;object-fit:cover;object-position:center;margin:0}
.sd-editor-reference-content{padding:22px}
.sd-editor-reference-content h3{margin-top:0}
.sd-editor-process{padding:clamp(48px,7vw,88px) 24px;background:#fff}
.sd-process-layout{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,2.1fr);align-items:center;gap:clamp(28px,4vw,64px)}
.sd-process-heading{padding-right:clamp(24px,3vw,48px);border-right:1px solid #9aadb3}
.sd-process-eyebrow{margin:0 0 10px;color:#ff625e;font-size:11px;line-height:1.4;font-weight:700;letter-spacing:.22em;text-transform:uppercase}
.sd-process-heading h2{margin:0;color:#102b36;font-size:clamp(26px,2.2vw,36px);line-height:1.08;letter-spacing:-.035em}
.sd-editor-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;counter-reset:steps}
.sd-editor-steps li{position:relative;min-width:0;padding:0;border:0;border-radius:0;background:transparent}
.sd-editor-step-number{position:relative;z-index:1;display:grid;place-items:center;width:38px;height:38px;margin:0 0 9px;border-radius:50%;background:#ff625e;color:#fff;font-size:13px;font-weight:700}
.sd-editor-steps li:not(:last-child)::after{content:"";position:absolute;top:18px;left:46px;right:-18px;height:1px;background:#8da3aa}
.sd-editor-steps h3{margin:0 0 4px;color:#102b36;font-size:15px;line-height:1.25}
.sd-editor-steps p{margin:0;color:#415963;font-size:12px;line-height:1.4}
.sd-process-editor-wrap{padding:16px;background:#f1f5f5;border:1px solid #dce5e6;border-radius:8px}
.sd-process-preview{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,2.1fr);align-items:center;gap:28px;background:#fff;padding:24px}
.sd-process-preview-heading{padding-right:24px;border-right:1px solid #9aadb3}
.sd-process-preview-heading h2{margin:0;color:#102b36;font-size:26px;line-height:1.08}
.sd-process-preview-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sd-process-preview-step{position:relative;min-width:0}
.sd-process-preview-number{display:grid;place-items:center;width:36px;height:36px;margin-bottom:8px;border-radius:50%;background:#ff625e;color:white;font-weight:700;font-size:12px}
.sd-process-preview-step h3{margin:0 0 4px;font-size:14px;color:#102b36}
.sd-process-preview-step p{margin:0;font-size:12px;line-height:1.4;color:#415963}
.sd-editor-stats{background:#102b36;color:#fff}.sd-editor-stats h2{color:#fff}
.sd-editor-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.sd-editor-stat{padding:22px;background:rgba(255,255,255,.08);border-radius:10px;display:flex;flex-direction:column;gap:8px}
.sd-editor-stat strong{font-size:clamp(2rem,4vw,3.5rem);color:#ff817d}.sd-editor-stat span{color:#fff}
@media(max-width:900px){.sd-process-layout,.sd-process-preview{grid-template-columns:1fr}.sd-process-heading,.sd-process-preview-heading{border-right:0;border-bottom:1px solid #9aadb3;padding:0 0 20px}.sd-editor-steps,.sd-process-preview-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.sd-editor-steps li:not(:last-child)::after{display:none}}
@media(max-width:760px){.sd-editor-reference-grid{grid-template-columns:1fr 1fr}.sd-editor-stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.sd-editor-reference-grid,.sd-editor-steps,.sd-editor-stat-grid,.sd-process-preview-steps{grid-template-columns:1fr}.sd-process-preview{padding:16px}}


/* SCHELLDORF Hero – zweigeteiltes Layout nach freigegebener Designvorlage */
.sd-editor-hero{
  display:grid;
  grid-template-columns:minmax(0,42%) minmax(0,58%);
  gap:0;
  padding:0;
  min-height:340px;
  background:#f3f5f6;
  overflow:hidden;
}
.sd-editor-hero-copy{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:clamp(28px,4vw,64px) clamp(28px,3.5vw,56px);
}
.sd-editor-hero .sd-editor-copy{width:100%;max-width:560px}
.sd-editor-hero .sd-editor-eyebrow,
.sd-editor-hero-preview .sd-editor-eyebrow{
  margin:0 0 14px;
  color:#102b36;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  line-height:1.4;
  font-weight:800;
}
.sd-editor-hero h1,
.sd-editor-hero-preview h1{
  margin:0 0 12px;
  color:#102b36;
  font-size:clamp(30px,3vw,54px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:750;
}
.sd-hero-highlight{color:#ff625e}
.sd-editor-hero .sd-editor-lead,
.sd-editor-hero-preview-lead{
  margin:0;
  color:#263f49;
  font-size:clamp(15px,1.05vw,18px);
  line-height:1.48;
  max-width:560px;
}
.sd-editor-hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px}
.sd-editor-hero .sd-editor-button,
.sd-editor-hero-preview .sd-editor-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  padding:12px 22px;
  min-height:42px;
  border:1px solid #ff625e;
  border-radius:8px;
  background:#ff625e;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  box-shadow:0 4px 10px rgba(255,98,94,.16);
}
.sd-editor-hero .sd-editor-button-secondary,
.sd-editor-hero-preview .sd-editor-button-secondary{
  background:#fff;
  color:#102b36;
  border-color:#102b36;
  box-shadow:none;
}
.sd-editor-hero-media{min-width:0;min-height:340px;overflow:hidden}
.sd-editor-hero-media img{display:block;width:100%;height:100%;min-height:340px;max-height:520px;object-fit:cover;border-radius:0}
.sd-editor-hero-preview{
  display:grid;
  grid-template-columns:minmax(0,42%) minmax(0,58%);
  gap:0;
  padding:0;
  min-height:340px;
  background:#f3f5f6;
  overflow:hidden;
}
.sd-editor-hero-preview-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:clamp(24px,3vw,44px);
  min-width:0;
}
.sd-editor-hero-preview h1{font-size:clamp(28px,3vw,48px);overflow-wrap:anywhere}
.sd-editor-hero-preview-lead{margin:0}
.sd-editor-hero-preview-media{min-width:0;min-height:340px;overflow:hidden}
.sd-editor-hero-preview-media img{display:block;width:100%;height:100%;min-height:340px;object-fit:cover}
.sd-editor-hero-placeholder{display:flex;align-items:center;justify-content:center;background:#e5ebec;color:#52656b;padding:20px;text-align:center}
@media(max-width:760px){
 .sd-editor-hero,.sd-editor-hero-preview{grid-template-columns:1fr}
 .sd-editor-hero-copy{padding:36px 24px}
 .sd-editor-hero-media,.sd-editor-hero-media img,.sd-editor-hero-preview-media,.sd-editor-hero-preview-media img{min-height:220px;max-height:360px}
 .sd-editor-hero-preview-copy{padding:28px 22px}
 .sd-editor-hero h1,.sd-editor-hero-preview h1{font-size:clamp(30px,8vw,42px)}
}


/* SCHELLDORF Hero 1.1.3 – full viewport width and resilient frontend output */
.sd-editor-hero{
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  box-sizing:border-box;
}
.sd-editor-hero-copy,
.sd-editor-hero-media{min-width:0}
.sd-editor-hero .sd-editor-eyebrow{
  display:block!important;
  visibility:visible!important;
  margin:0 0 14px!important;
}
.sd-editor-hero .sd-editor-lead{
  display:block!important;
  visibility:visible!important;
  margin:0!important;
}
.sd-editor-hero .sd-editor-hero-actions{
  display:flex!important;
  visibility:visible!important;
}
.sd-editor-hero .sd-editor-button{
  display:inline-flex!important;
  visibility:visible!important;
}
.sd-editor-hero h1{white-space:normal}
.sd-editor-hero .sd-editor-copy{min-width:0}
.sd-editor-hero-media img{object-position:center}
@media(max-width:760px){
  .sd-editor-hero{width:100vw;max-width:100vw}
}


/* 1.1.4: Gutenberg full-bleed hero and complete frontend content */
.wp-block-schelldorf-hero {
  width: 100%;
  max-width: none !important;
  margin-block: 0;
}
.wp-block-schelldorf-hero > .sd-editor-hero,
.sd-editor-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 0;
  align-items: stretch;
  box-sizing: border-box;
  overflow: hidden;
}
.sd-editor-hero-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(32px, 5vw, 76px) clamp(28px, 4.5vw, 76px);
  background: #f3f5f6;
  box-sizing: border-box;
}
.sd-editor-hero-copy .sd-editor-copy {
  width: 100%;
  max-width: 620px;
}
.sd-editor-hero .sd-editor-eyebrow {
  display: block !important;
  margin: 0 0 14px !important;
  color: #102b36 !important;
  font-size: 11px !important;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sd-editor-hero h1 {
  margin: 0 0 16px !important;
  color: #102b36;
  font-size: clamp(36px, 3vw, 58px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em;
  font-weight: 750;
}
.sd-editor-hero .sd-hero-highlight { color: #ff625e; }
.sd-editor-hero .sd-editor-lead {
  display: block !important;
  margin: 0 0 16px !important;
  color: #263f49;
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.5;
}
.sd-editor-hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.sd-editor-hero .sd-editor-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid #ff625e;
  border-radius: 8px;
  background: #ff625e;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}
.sd-editor-hero .sd-editor-button-secondary {
  border-color: #102b36;
  background: #fff;
  color: #102b36 !important;
}
.sd-editor-hero-media {
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
}
.sd-editor-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 760px) {
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .sd-editor-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .sd-editor-hero-copy { padding: 40px 24px; }
  .sd-editor-hero h1 { font-size: clamp(34px, 9vw, 46px) !important; }
  .sd-editor-hero-media, .sd-editor-hero-media img {
    min-height: 240px;
    height: 58vw;
    max-height: 420px;
  }
}


/* SCHELLDORF Editor 1.1.5
   Full-bleed on the Gutenberg post-content constrained layout.
   The block wrapper, not only the inner section, must escape the theme container. */
.wp-block-post-content > .wp-block-schelldorf-hero,
.wp-block-post-content .wp-block-schelldorf-hero {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(-50%);
  box-sizing: border-box;
}
.wp-block-schelldorf-hero > .sd-editor-hero,
.wp-block-schelldorf-hero .sd-editor-hero {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}


/* SCHELLDORF Editor 1.1.6 – true full-bleed wrapper and editable text background */
.wp-block-schelldorf-hero.sd-editor-hero-block,
.sd-editor-hero-block.alignfull {
  display: block !important;
  position: relative;
  box-sizing: border-box;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  padding: 0 !important;
}
.sd-editor-hero-block > .sd-editor-hero {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  position: relative;
  left: auto !important;
  transform: none !important;
  box-sizing: border-box;
}
.sd-editor-hero-block .sd-editor-hero-copy {
  background-color: var(--sd-hero-text-background, #f3f5f6);
}


/* SCHELLDORF Editor 1.1.7 – image crop and height controls */
.sd-editor-hero { min-height: var(--sd-hero-image-height, 440px); }
.sd-editor-hero-media { height: var(--sd-hero-image-height, 440px); min-height: 0 !important; max-height: none; }
.sd-editor-hero-media img {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover;
}
.sd-editor-hero-media.sd-image-fit-contain {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-editor-hero-media.sd-image-fit-contain img {
  object-fit: contain !important;
}
.sd-editor-hero-preview-media img {
  object-fit: cover;
}
@media(max-width:700px){
  .sd-editor-hero-media { height: auto; min-height: 0 !important; }
  .sd-editor-hero-media img { height: auto !important; max-height: 420px !important; }
}


/* SCHELLDORF Editor 1.1.8 – image defines the exact hero height */
@media (min-width: 761px) {
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .sd-editor-hero {
    height: auto !important;
    min-height: 0 !important;
    align-items: stretch !important;
  }
  .sd-editor-hero-media {
    position: relative !important;
    display: block !important;
    align-self: stretch !important;
    height: var(--sd-hero-image-height, 440px) !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  .sd-editor-hero-media img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  .sd-editor-hero-copy {
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
  }
}
@media (max-width: 760px) {
  .sd-editor-hero-media {
    position: relative !important;
    height: 58vw !important;
    min-height: 240px !important;
    max-height: 420px !important;
  }
  .sd-editor-hero-media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
  }
}


/* SCHELLDORF Editor 1.1.9 – image natural ratio defines the hero height.
   No fixed image height and no cropping: text column stretches to image height. */
@media (min-width: 761px) {
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .wp-block-schelldorf-hero .sd-editor-hero,
  .sd-editor-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr) !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .sd-editor-hero-media {
    position: relative !important;
    display: block !important;
    align-self: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    line-height: 0 !important;
  }
  .sd-editor-hero-media img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: initial !important;
    object-position: center !important;
  }
  .sd-editor-hero-copy {
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
  }
}
@media (max-width: 760px) {
  .sd-editor-hero-media,
  .sd-editor-hero-media img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}


/* SCHELLDORF Editor 1.2.0 – align hero text height with the natural image height */
@media (min-width: 761px) {
  .sd-editor-hero {
    min-height: 0 !important;
    height: auto !important;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr) !important;
    align-items: stretch !important;
  }
  .sd-editor-hero-copy {
    box-sizing: border-box !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: clamp(24px, 2vw, 42px) !important;
    padding-bottom: clamp(24px, 2vw, 42px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .sd-editor-hero-copy .sd-editor-copy {
    width: 100% !important;
    max-width: 620px !important;
  }
  .sd-editor-hero-media {
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
  }
  .sd-editor-hero-media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: initial !important;
  }
}


/* SCHELLDORF Editor 1.2.1 – remove residual strip below full-bleed hero */
@media (min-width: 761px) {
  .wp-block-schelldorf-hero {
    margin-block: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
  }
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .wp-block-schelldorf-hero .sd-editor-hero,
  .sd-editor-hero {
    margin-block: 0 !important;
    padding-block: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }
  .sd-editor-hero-copy {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: stretch !important;
  }
  .sd-editor-hero-media {
    min-height: 0 !important;
    height: auto !important;
    align-self: stretch !important;
    line-height: 0 !important;
  }
  .sd-editor-hero-media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    vertical-align: top !important;
  }
}


/* SCHELLDORF Editor 1.2.2 – responsive hero layout */
@media (min-width: 1451px) {
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .sd-editor-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr) !important;
    align-items: stretch !important;
  }
  .sd-editor-hero-copy {
    padding: 24px clamp(28px, 3vw, 52px) !important;
  }
  .sd-editor-hero .sd-editor-copy {
    max-width: 620px !important;
  }
  .sd-editor-hero h1 {
    font-size: clamp(38px, 2.8vw, 50px) !important;
    line-height: 1.04 !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
  }
  .sd-editor-hero .sd-editor-eyebrow {
    margin-bottom: 10px !important;
    line-height: 1.35 !important;
  }
  .sd-editor-hero .sd-editor-lead {
    font-size: clamp(16px, .95vw, 18px) !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }
  .sd-editor-hero .sd-editor-hero-actions {
    margin-top: 12px !important;
    gap: 10px !important;
  }
  .sd-editor-hero .sd-editor-button {
    min-height: 42px !important;
    padding: 10px 18px !important;
  }
}

/* At medium widths, stack the two hero columns instead of allowing
   the text column to become taller than the image and expose a grey strip. */
@media (min-width: 761px) and (max-width: 1450px) {
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .wp-block-schelldorf-hero .sd-editor-hero,
  .sd-editor-hero {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .sd-editor-hero-copy {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px) !important;
    order: 1 !important;
  }
  .sd-editor-hero-copy .sd-editor-copy {
    width: 100% !important;
    max-width: 760px !important;
    margin-inline: auto !important;
  }
  .sd-editor-hero h1 {
    font-size: clamp(34px, 4.2vw, 48px) !important;
    line-height: 1.06 !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
  }
  .sd-editor-hero .sd-editor-lead {
    font-size: clamp(16px, 1.6vw, 19px) !important;
    line-height: 1.45 !important;
  }
  .sd-editor-hero-media {
    width: 100% !important;
    height: clamp(260px, 38vw, 480px) !important;
    min-height: 0 !important;
    max-height: none !important;
    order: 2 !important;
    overflow: hidden !important;
    line-height: 0 !important;
  }
  .sd-editor-hero-media img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

@media (max-width: 760px) {
  .sd-editor-hero-copy {
    padding: 30px 22px !important;
  }
  .sd-editor-hero h1 {
    font-size: clamp(32px, 8vw, 42px) !important;
    line-height: 1.06 !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
  }
  .sd-editor-hero .sd-editor-lead {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }
}


/* SCHELLDORF Editor 1.2.3 – earlier responsive switch and full-height image */
@media (min-width: 1651px) {
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .wp-block-schelldorf-hero .sd-editor-hero,
  .sd-editor-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr) !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .sd-editor-hero-media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
    overflow: hidden !important;
    line-height: 0 !important;
  }
  .sd-editor-hero-media img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
  }
}

/* Stack the hero sooner on laptops and narrower desktop viewports. */
@media (min-width: 761px) and (max-width: 1650px) {
  .wp-block-schelldorf-hero > .sd-editor-hero,
  .wp-block-schelldorf-hero .sd-editor-hero,
  .sd-editor-hero {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .sd-editor-hero-copy {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    order: 1 !important;
  }
  .sd-editor-hero-media {
    position: relative !important;
    width: 100% !important;
    height: clamp(280px, 42vw, 520px) !important;
    min-height: 0 !important;
    max-height: none !important;
    order: 2 !important;
    overflow: hidden !important;
    line-height: 0 !important;
  }
  .sd-editor-hero-media img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* SCHELLDORF Editor 1.2.6 – gesamte Karte verlinkt, Pfeil-Kreis unten rechts */
.sd-editor-cards{align-items:stretch}
.sd-editor-card{position:relative;display:flex;flex-direction:column;min-height:190px;box-sizing:border-box;background:#fff;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.sd-editor-card-icon{display:inline-flex;align-items:center;justify-content:flex-start;min-height:38px;margin:0 0 14px}
.sd-editor-card-icon svg{display:block;width:34px;height:34px}
.sd-editor-card h3{margin:0 0 10px}
.sd-editor-card>div{color:#526873}
.sd-editor-card-link{position:absolute;inset:0;z-index:2;display:block;border-radius:inherit;color:inherit;text-decoration:none}
.sd-editor-card-link span{position:absolute;right:10px;bottom:10px;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ff625e;color:#fff;font-size:19px;line-height:1;font-weight:400;transition:transform .2s ease,background-color .2s ease}
.sd-editor-card-link:focus-visible{outline:3px solid #ff625e;outline-offset:4px}
@media (hover:hover) and (pointer:fine){.sd-editor-card:hover{transform:translateY(-5px);border-color:rgba(255,98,94,.45);box-shadow:0 14px 34px rgba(16,43,54,.10)}.sd-editor-card:hover .sd-editor-card-link span{transform:translate(2px,-2px);background:#ed514d}}
@media(prefers-reduced-motion:reduce){.sd-editor-card,.sd-editor-card-link span{transition:none}.sd-editor-card:hover{transform:none}}

/* Zahlen & Fakten: bildschirmbreiter SCHELLDORF-Vorteilsbanner */
.sd-editor-stats-banner{display:grid;grid-template-columns:minmax(0,35%) minmax(0,41%) minmax(280px,24%);width:100%;max-width:100%;margin:0;min-height:230px;background:#07545a;color:#fff;overflow:hidden}
.sd-stats-banner-image{position:relative;min-height:230px;overflow:hidden;clip-path:polygon(0 0,100% 0,88% 100%,0 100%);z-index:1}
.sd-stats-banner-image img{display:block;width:100%;height:100%;min-height:230px;position:absolute;inset:0;object-fit:cover}
.sd-stats-banner-copy{align-self:center;padding:28px clamp(24px,3.2vw,54px) 28px clamp(8px,1.2vw,20px);min-width:0}
.sd-stats-eyebrow{margin:0 0 5px;color:#ff625e;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.sd-stats-banner-copy h2{margin:0 0 8px;color:#fff;font-size:clamp(21px,1.55vw,29px);line-height:1.12;letter-spacing:-.025em}
.sd-stats-banner-copy ul{list-style:none;margin:0;padding:0}
.sd-stats-banner-copy li{position:relative;margin:3px 0;padding-left:19px;color:#fff;font-size:13px;line-height:1.35}
.sd-stats-banner-copy li:before{content:"✓";position:absolute;left:0;top:0;color:#ff625e;font-size:17px;font-weight:800;line-height:1}
.sd-stats-banner-values{align-self:center;display:flex;flex-direction:column;gap:8px;padding:18px clamp(20px,2vw,34px);border-left:1px solid rgba(255,255,255,.5)}
.sd-stats-banner-value{display:grid;grid-template-columns:minmax(72px,auto) 1fr;align-items:center;gap:12px}
.sd-stats-banner-value strong{color:#ff625e;font-size:clamp(22px,1.7vw,30px);line-height:1;font-weight:800;white-space:nowrap}
.sd-stats-banner-value span{color:#fff;font-size:12px;line-height:1.3}
.sd-stats-banner-editor{display:grid;grid-template-columns:30% 43% 27%;min-height:190px;background:#07545a;color:#fff;overflow:hidden}
.sd-stats-banner-editor-image{position:relative;min-height:190px;background:#dce5e6;clip-path:polygon(0 0,100% 0,88% 100%,0 100%);display:flex;align-items:center;justify-content:center;color:#52656b;text-align:center}
.sd-stats-banner-editor-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sd-stats-banner-editor-copy{align-self:center;padding:18px 12px;color:#fff}
.sd-stats-banner-editor-copy small{color:#ff817d;font-weight:800;letter-spacing:.15em}
.sd-stats-banner-editor-copy h2{color:#fff;margin:5px 0;font-size:22px}
.sd-stats-banner-editor-copy ul{list-style:none;margin:0;padding:0;font-size:12px}
.sd-stats-banner-editor-copy li:before{content:"✓ ";color:#ff817d;font-weight:800}
.sd-stats-banner-editor-values{align-self:center;padding:14px;border-left:1px solid rgba(255,255,255,.45)}
.sd-stats-banner-editor-values>div{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;margin:7px 0}
.sd-stats-banner-editor-values strong{color:#ff817d;font-size:22px}.sd-stats-banner-editor-values span{font-size:11px}
@media(max-width:900px){.sd-editor-stats-banner{grid-template-columns:34% 66%}.sd-stats-banner-values{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:0;border-top:1px solid rgba(255,255,255,.4);padding:18px 24px}.sd-stats-banner-copy{padding:24px}.sd-stats-banner-editor{grid-template-columns:34% 66%}.sd-stats-banner-editor-values{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:0;border-top:1px solid rgba(255,255,255,.4)}}
@media(max-width:560px){.sd-editor-stats-banner{grid-template-columns:1fr}.sd-stats-banner-image{min-height:190px;clip-path:none}.sd-stats-banner-image img{min-height:190px}.sd-stats-banner-copy{padding:24px}.sd-stats-banner-values{grid-template-columns:1fr;gap:12px}.sd-stats-banner-editor{grid-template-columns:1fr}.sd-stats-banner-editor-image{min-height:160px;clip-path:none}.sd-stats-banner-editor-values{grid-template-columns:1fr}}


/* SCHELLDORF Editor 1.3.1 – alignment and process output fixes */
.sd-stats-banner-copy {
  text-align: left !important;
  justify-self: stretch;
  align-self: center;
}
.sd-stats-banner-copy h2,
.sd-stats-banner-copy p,
.sd-stats-banner-copy ul,
.sd-stats-banner-copy li {
  text-align: left !important;
}
.sd-editor-process .sd-process-layout {
  display: grid !important;
  grid-template-columns: minmax(250px, .9fr) minmax(0, 2.1fr) !important;
  align-items: center !important;
}
.sd-editor-process .sd-editor-steps {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  min-width: 0;
  visibility: visible !important;
}
@media (max-width: 900px) {
  .sd-editor-process .sd-process-layout { grid-template-columns: 1fr !important; }
  .sd-editor-process .sd-process-heading { border-right: 0; border-bottom: 1px solid #9aadb3; padding: 0 0 20px; }
  .sd-editor-process .sd-editor-steps { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .sd-editor-process .sd-editor-steps { grid-template-columns: 1fr !important; }
}


/* SCHELLDORF Editor 1.3.3: center the banner's middle text column */
.sd-stats-banner-copy {
  text-align: center !important;
  justify-self: stretch;
  align-self: center;
}
.sd-stats-banner-copy .sd-stats-eyebrow,
.sd-stats-banner-copy h2 {
  text-align: center !important;
}
.sd-stats-banner-copy ul {
  display: inline-block;
  text-align: left !important;
}
.sd-stats-banner-copy li {
  text-align: left !important;
}
.sd-stats-banner-editor-copy {
  text-align: center;
}
.sd-stats-banner-editor-copy small,
.sd-stats-banner-editor-copy h2 {
  display: block;
  text-align: center;
}
.sd-stats-banner-editor-copy ul {
  display: inline-block;
  text-align: left;
}


/* SCHELLDORF Editor 1.3.5: eyebrow exakt mittig im Frontend-Banner */
.sd-editor-stats-banner .sd-stats-banner-copy > p.sd-stats-eyebrow {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 5px !important;
  padding: 0 !important;
  text-align: center !important;
  text-indent: 0 !important;
  transform: none !important;
}


/* Referenzen: gleicher Hover-Effekt wie im Kartenraster */
.sd-editor-reference{box-sizing:border-box;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media (hover:hover) and (pointer:fine){.sd-editor-reference:hover{transform:translateY(-5px);border-color:rgba(255,98,94,.45);box-shadow:0 14px 34px rgba(16,43,54,.10)}}
@media(prefers-reduced-motion:reduce){.sd-editor-reference{transition:none}.sd-editor-reference:hover{transform:none}}


/* SCHELLDORF Editor 1.3.8: Referenz-Links als korallrote Buttons rechtsbündig */
.sd-editor-reference-content{display:flex;flex-direction:column;align-items:stretch}
.sd-editor-reference-content > a{
  display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;
  margin-top:18px;padding:10px 20px;border:0;border-radius:999px;
  background:#ff625e;color:#fff;text-decoration:none;font-weight:600;line-height:1.2;
  transition:background-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.sd-editor-reference-content > a:hover,.sd-editor-reference-content > a:focus-visible{
  background:#ed514d;color:#fff;text-decoration:none;transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(16,43,54,.14);
}
.sd-editor-reference-content > a:focus-visible{outline:2px solid #102b36;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.sd-editor-reference-content > a{transition:none}.sd-editor-reference-content > a:hover{transform:none}}


/* SCHELLDORF Editor 1.3.12: viewport-breiter Wrapper exakt horizontal zentriert. */
.sd-editor-width-full {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
.sd-editor-width-full > .sd-editor-stats-banner {
  display: grid;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}
@supports (overflow: clip) {
  .sd-editor-width-full { overflow-x: clip; }
}
