/**
 * Immobiliengalerie – Landingpage „Suchprofil anlegen" [ig_suchprofil_seite]
 * CI wie die Themenseiten: Navy/Blau/Sky/Weiß, Versal-Überschriften mit
 * „//"-Eyebrow, Inhalt 1300 px, Kacheln 16 px Radius, Pillen-Buttons.
 * Animationen nur über transform/opacity; ohne JS ist alles sichtbar.
 */

.igsp {
    --ig-navy: #00445b;
    --ig-blue: #00b2e3;
    --ig-sky: #e7f8fd;
    --ig-sky-soft: #f3fafd;
    --ig-muted: rgba(0, 68, 91, 0.74);
    --ig-line: rgba(0, 68, 91, 0.12);
    --ig-radius: 16px;
    --ig-shadow: 0 18px 44px rgba(0, 68, 91, 0.10);
    --igsp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--ig-navy);
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow-x: clip;
}

.igsp *,
.igsp *::before,
.igsp *::after { box-sizing: border-box; }

/* Theme-Regel ".text, p { color: navy }" – Farben kommen von hier. */
.igsp p { color: inherit; }

.igsp a { text-decoration: none; }

.igsp-wrap {
    width: min(1300px, calc(100% - 30px));
    margin-inline: auto;
}

.igsp-section {
    position: relative;
    padding: 100px 0;
    background: #fff;
    scroll-margin-top: 20px;
}

.igsp-section--sky { background: linear-gradient(180deg, var(--ig-sky-soft) 0%, var(--ig-sky) 100%); }

/* ------------------------------ Typografie ------------------------------ */

.igsp-eyebrow {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ig-blue) !important;
}

.igsp-eyebrow::before { content: "//"; margin-right: 0.4em; }

.igsp .igsp-h1 {
    margin: 0;
    font-size: clamp(36px, 4.3vw, 60px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--ig-navy);
}

.igsp .igsp-h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.28;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ig-navy);
}

/* Hervorhebung wie „GALERIE" auf der Startseite – der Schwung zeichnet sich ein. */
.igsp-h1 span,
.igsp-h2 span {
    position: relative;
    display: inline-block;
    color: var(--ig-blue);
}

.igsp-h1 span::after,
.igsp-h2 span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.16em;
    height: 0.24em;
    background: url(/wp-content/themes/palace-child/assets/images/shape.png) no-repeat center / 100% 100%;
    pointer-events: none;
}

.igsp-h1 span::after { animation: igsp-draw 0.9s 0.55s var(--igsp-ease) both; }

@keyframes igsp-draw {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

.igsp-lead {
    margin: 26px 0 0;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ig-muted) !important;
}

.igsp-head { max-width: 760px; margin-bottom: 50px; }
.igsp-head--center { margin-inline: auto; text-align: center; }

.igsp-intro {
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ig-muted) !important;
}

.igsp-icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
}

/* -------------------------------- Buttons -------------------------------- */

.igsp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 15px 30px;
    border: 1px solid var(--ig-blue);
    border-radius: 50px;
    background: var(--ig-blue);
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--igsp-ease);
}

.igsp-btn:hover,
.igsp-btn:focus-visible {
    background: var(--ig-navy);
    border-color: var(--ig-navy);
    color: #fff !important;
}

.igsp-btn:focus-visible { outline: 3px solid rgba(0, 178, 227, 0.4); outline-offset: 3px; }

.igsp-btn__icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    transition: transform 0.3s var(--igsp-ease);
}

.igsp-btn:hover .igsp-btn__icon[class] { transform: translateX(3px); }

.igsp-btn--ghost {
    background: transparent;
    border-color: var(--ig-navy);
    color: var(--ig-navy) !important;
}

/* ---------------------------------- Hero ---------------------------------- */

.igsp-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 100px;
    background: linear-gradient(180deg, #fff 0%, var(--ig-sky-soft) 50%, var(--ig-sky) 100%);
    scroll-margin-top: 0;
}

/* Ab 1024 px liegt der Theme-Kopf (header-style-four, 100 px) transparent über dem Hero. */
@media (min-width: 1024px) {
    .igsp-hero { padding-top: 150px; }
}

.igsp-hero__glow span {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.igsp-hero__glow span:first-child {
    width: 520px;
    height: 520px;
    top: -260px;
    right: -120px;
    background: radial-gradient(circle, rgba(0, 178, 227, 0.16) 0%, rgba(0, 178, 227, 0) 70%);
    animation: igsp-float 14s ease-in-out infinite alternate;
}

.igsp-hero__glow span:last-child {
    width: 380px;
    height: 380px;
    bottom: -200px;
    left: -140px;
    background: radial-gradient(circle, rgba(0, 68, 91, 0.08) 0%, rgba(0, 68, 91, 0) 70%);
    animation: igsp-float 18s ease-in-out infinite alternate-reverse;
}

@keyframes igsp-float {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-40px, 30px, 0); }
}

.igsp-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    grid-template-areas:
        "copy finder"
        "meta finder";
    grid-template-rows: auto 1fr;
    column-gap: 70px;
    align-items: start;
}

.igsp-hero__copy { grid-area: copy; padding-top: 24px; }
.igsp-hero__finder { grid-area: finder; }
.igsp-hero__meta { grid-area: meta; }

/* Karte im Hero: die schräg gehängte Fläche dahinter in Blau statt Sky */
.igsp-hero .igoo-finder--compact::before {
    background: linear-gradient(135deg, rgba(0, 178, 227, 0.30), rgba(0, 68, 91, 0.18));
}

.igsp-hero .igoo-finder--compact .igoo-finder__main { padding: 34px 36px 30px; }

/* Ruhiges Einlaufen beim Laden (reines CSS, kein Layoutsprung) */
.igsp-in {
    animation: igsp-in 0.8s var(--igsp-ease) both;
    animation-delay: calc(var(--d, 0) * 110ms);
}

@keyframes igsp-in {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: none; }
}

.igsp-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.igsp-checks li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ig-navy);
}

.igsp-checks__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--ig-blue);
    color: #fff;
    stroke-width: 3;
}

.igsp-mini-person {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 520px;
    margin-top: 34px;
    padding: 12px 18px 12px 12px;
    border: 1px solid var(--ig-line);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
}

.igsp-mini-person__photo {
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
}

.igsp-hero__finder .igsp-mini-person { max-width: none; margin: 44px 0 0 18px; }

.igsp-mini-person p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ig-muted) !important;
}

.igsp-mini-person strong { color: var(--ig-navy); }

/* ---------------------------------- Ablauf ---------------------------------- */

.igsp-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

/* Verbindungslinie zwischen den Symbolen – zeichnet sich beim Einblenden */
.igsp-steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--ig-blue) 0 8px, transparent 8px 16px);
    opacity: 0.5;
    transform-origin: left center;
    transition: transform 1.2s 0.2s var(--igsp-ease);
}

.igsp-step {
    position: relative;
    padding: 0 16px;
    text-align: center;
}

.igsp-step__badge {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ig-line);
    box-shadow: 0 12px 30px rgba(0, 68, 91, 0.10);
    color: var(--ig-blue);
}

.igsp-step__badge .igsp-icon { width: 34px; height: 34px; }

.igsp-step__num {
    position: absolute;
    top: -4px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ig-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.igsp .igsp-step__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ig-navy);
}

.igsp-step p {
    max-width: 340px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ig-muted) !important;
}

/* --------------------------------- Vorteile --------------------------------- */

.igsp-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px;
    align-items: center;
}

.igsp-split__copy .igsp-head { margin-bottom: 36px; }

.igsp-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.igsp-benefits li { position: relative; }

.igsp-benefits__icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: #fff;
    color: var(--ig-blue);
    box-shadow: 0 8px 20px rgba(0, 68, 91, 0.08);
    transition: transform 0.4s var(--igsp-ease), background-color 0.3s ease, color 0.3s ease;
}

.igsp-benefits li:hover .igsp-benefits__icon {
    transform: translateY(-3px) rotate(-4deg);
    background: var(--ig-blue);
    color: #fff;
}

.igsp .igsp-benefits h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ig-navy);
}

.igsp-benefits p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ig-muted) !important;
}

/* Galerie: drei gerahmte Objektfotos, eins leuchtet als „Treffer" auf */
.igsp-gallery {
    position: relative;
    aspect-ratio: 1 / 0.86;
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
}

.igsp-gallery__frame {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 18px;
    background: var(--ig-sky);
    box-shadow: var(--ig-shadow);
    transition: transform 0.8s var(--igsp-ease), box-shadow 0.6s ease, border-color 0.6s ease;
}

.igsp-gallery__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

.igsp-gallery__frame--1 { left: 0; top: 6%; width: 62%; aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.igsp-gallery__frame--2 { right: 0; top: 0; width: 42%; aspect-ratio: 1 / 1; transform: rotate(3deg); }
.igsp-gallery__frame--3 { right: 6%; bottom: 0; width: 46%; aspect-ratio: 4 / 3; transform: rotate(-1deg); }

.igsp-gallery__frame.is-active {
    z-index: 2;
    border-color: #fff;
    box-shadow: 0 0 0 3px var(--ig-blue), 0 26px 60px rgba(0, 68, 91, 0.22);
}

.igsp-gallery__frame--1.is-active { transform: rotate(-2deg) scale(1.03); }
.igsp-gallery__frame--2.is-active { transform: rotate(3deg) scale(1.05); }
.igsp-gallery__frame--3.is-active { transform: rotate(-1deg) scale(1.05); }
.igsp-gallery__frame.is-active img { transform: scale(1.06); }

.igsp-gallery__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--ig-blue);
    background: linear-gradient(135deg, var(--ig-sky) 0%, #fff 100%);
}

.igsp-gallery__placeholder svg { width: 38%; height: auto; opacity: 0.8; }

.igsp-toast {
    position: absolute;
    z-index: 3;
    left: 4%;
    bottom: 6%;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(330px, 78%);
    padding: 12px 18px 12px 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 68, 91, 0.2);
    animation: igsp-toast-bob 4s ease-in-out infinite;
}

.igsp-toast.is-swap { animation: igsp-toast-swap 0.6s var(--igsp-ease); }

@keyframes igsp-toast-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes igsp-toast-swap {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

.igsp-toast__icon {
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ig-blue);
    color: #fff;
}

.igsp-toast__svg { width: 20px; height: 20px; stroke-width: 3; }

.igsp-toast__body { min-width: 0; display: grid; gap: 2px; }

.igsp-toast__body strong {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ig-blue);
}

.igsp-toast__body span {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ig-navy);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* --------------------------------- Kennzahlen --------------------------------- */

.igsp-band {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background: var(--ig-navy);
    color: #fff;
}

.igsp-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 85% 0%, rgba(0, 178, 227, 0.22), transparent 70%);
    pointer-events: none;
}

.igsp-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.igsp-stats li {
    display: grid;
    gap: 6px;
    padding-left: 22px;
    border-left: 2px solid rgba(127, 220, 245, 0.35);
}

.igsp-stats__value {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    color: #7fdcf5;
}

.igsp-stats__value strong {
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.igsp-stats__text {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------- Suchgebiet --------------------------------- */

.igsp-split--region { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }

.igsp-label {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ig-navy) !important;
}

.igsp-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.igsp-cities a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 9px 16px;
    border: 1px solid var(--ig-line);
    border-radius: 50px;
    background: #fff;
    color: var(--ig-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--igsp-ease);
}

.igsp-cities small {
    font-size: 12px;
    font-weight: 600;
    color: var(--ig-blue);
    transition: color 0.25s ease;
}

.igsp-cities a:hover,
.igsp-cities a:focus-visible,
.igsp-cities a.is-hot {
    background: var(--ig-navy);
    border-color: var(--ig-navy);
    color: #fff;
    transform: translateY(-2px);
}

.igsp-cities a:hover small,
.igsp-cities a:focus-visible small,
.igsp-cities a.is-hot small { color: #7fdcf5; }

.igsp-more {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 30px 0 0;
}

.igsp-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ig-navy);
    border-bottom: 2px solid rgba(0, 178, 227, 0.35);
    padding-bottom: 2px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.igsp-more a:hover { color: var(--ig-blue); border-color: var(--ig-blue); }

.igsp-more__icon { width: 16px; height: 16px; stroke-width: 2.4; }

/* Radar */
.igsp-radar-wrap {
    --sweep: 8s;
    position: relative;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
}

.igsp-radar {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    font-family: inherit;
}

.igsp-radar__disc { fill: var(--ig-sky-soft); }
.igsp-radar__ring { fill: none; stroke: rgba(0, 68, 91, 0.16); stroke-dasharray: 3 5; }
.igsp-radar__axis { stroke: rgba(0, 68, 91, 0.07); }
.igsp-radar__km { font-size: 11px; font-weight: 600; fill: rgba(0, 68, 91, 0.45); }

.igsp-radar__sweep {
    transform-box: view-box;
    transform-origin: 220px 220px;
    animation: igsp-spin var(--sweep) linear infinite;
}

.igsp-radar__beam { stroke: var(--ig-blue); stroke-width: 1.5; stroke-opacity: 0.7; }

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

.igsp-radar__point { fill: var(--ig-navy); transition: fill 0.25s ease; }

.igsp-radar__pulse {
    fill: var(--ig-blue);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: igsp-ping var(--sweep) linear infinite;
    animation-delay: calc(var(--b, 0) * var(--sweep));
}

@keyframes igsp-ping {
    0% { opacity: 0.55; transform: scale(0.5); }
    18% { opacity: 0; transform: scale(2.2); }
    100% { opacity: 0; transform: scale(2.2); }
}

.igsp-radar__dot text,
.igsp-radar__home text {
    font-size: 13px;
    font-weight: 600;
    fill: var(--ig-navy);
    paint-order: stroke;
    stroke: var(--ig-sky-soft);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.igsp-radar__dot.is-hot .igsp-radar__point { fill: var(--ig-blue); }
.igsp-radar__dot text { transition: opacity 0.25s ease; }
.igsp-radar__dot.is-quiet text { opacity: 0; }
.igsp-radar__dot.is-quiet.is-hot text { opacity: 1; }
.igsp-radar__dot.is-hot text { fill: var(--ig-blue); }

.igsp-radar__home circle { fill: var(--ig-blue); }
.igsp-radar__home .igsp-radar__home-ring {
    fill: rgba(0, 178, 227, 0.22);
    transform-box: fill-box;
    transform-origin: center;
    animation: igsp-breathe 2.4s ease-in-out infinite;
}

.igsp-radar__home text { font-size: 15px; font-weight: 700; }

@keyframes igsp-breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
}

/* ----------------------------------- FAQ ----------------------------------- */

.igsp-split--faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
}

.igsp-person {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: var(--ig-radius);
    background: #fff;
    border: 1px solid var(--ig-line);
}

.igsp-person__photo {
    flex: 0 0 88px;
    width: 88px !important;
    height: 88px !important;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    border: 4px solid var(--ig-sky);
}

.igsp-person__name { display: block; font-size: 18px; font-weight: 700; color: var(--ig-navy); }
.igsp-person__role { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--ig-blue); }

.igsp-person__links { display: grid; gap: 6px; margin-top: 12px; }

.igsp-person__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ig-navy);
    word-break: break-word;
}

.igsp-person__links a:hover { color: var(--ig-blue); }
.igsp-person__icon { flex: 0 0 18px; width: 18px; height: 18px; stroke-width: 2; color: var(--ig-blue); }

.igsp-faq { display: grid; gap: 12px; }

.igsp-faq__item {
    border-radius: var(--ig-radius);
    background: #fff;
    border: 1px solid var(--ig-line);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    interpolate-size: allow-keywords;
}

.igsp-faq__item[open] { border-color: rgba(0, 178, 227, 0.45); box-shadow: 0 12px 30px rgba(0, 68, 91, 0.08); }

.igsp-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
}

.igsp-faq__item summary::-webkit-details-marker { display: none; }
.igsp-faq__item summary:focus-visible { outline: 3px solid rgba(0, 178, 227, 0.4); outline-offset: 2px; border-radius: var(--ig-radius); }

.igsp .igsp-faq__item h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--ig-navy);
}

.igsp-faq__toggle {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ig-sky);
    transition: background-color 0.3s ease, transform 0.4s var(--igsp-ease);
}

.igsp-faq__toggle::before,
.igsp-faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: var(--ig-navy);
    transition: transform 0.4s var(--igsp-ease), background-color 0.3s ease;
}

.igsp-faq__toggle::after { transform: rotate(90deg); }

.igsp-faq__item[open] .igsp-faq__toggle { background: var(--ig-blue); transform: rotate(180deg); }
.igsp-faq__item[open] .igsp-faq__toggle::before,
.igsp-faq__item[open] .igsp-faq__toggle::after { background: #fff; }
.igsp-faq__item[open] .igsp-faq__toggle::after { transform: rotate(0deg); }

/* Weiches Aufklappen, wo der Browser es kann (Chrome 131+) */
.igsp-faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.4s var(--igsp-ease), content-visibility 0.4s allow-discrete;
}

.igsp-faq__item[open]::details-content { block-size: auto; }

.igsp-faq__answer { padding: 0 22px 22px; }

.igsp-faq__answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ig-muted) !important;
}

.igsp-faq__answer a { color: var(--ig-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------- Abschluss --------------------------------- */

.igsp-section--closing { padding: 0 0 100px; background: var(--ig-sky); }

.igsp-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 56px 60px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--ig-shadow);
}

.igsp-cta::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 178, 227, 0.18), transparent 70%);
    pointer-events: none;
}

.igsp-cta__copy { position: relative; max-width: 640px; }

.igsp-cta__copy > p:not(.igsp-eyebrow) {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ig-muted) !important;
}

.igsp-cta__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex: 0 0 auto;
}

/* ------------------------------ Sticky (Handy) ------------------------------ */

.igsp-sticky {
    position: fixed;
    z-index: 990;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
    transform: translateY(0);
    transition: transform 0.4s var(--igsp-ease), opacity 0.3s ease;
}

.igsp-sticky[hidden] { display: flex !important; transform: translateY(140%); opacity: 0; pointer-events: none; }

.igsp-sticky .igsp-btn {
    width: 100%;
    max-width: 420px;
    box-shadow: 0 14px 34px rgba(0, 68, 91, 0.28);
}

@media (min-width: 992px) {
    .igsp-sticky { display: none !important; }
}

/* ------------------------------ Einblenden (JS) ------------------------------ */

.igsp-js [data-igsp-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.8s var(--igsp-ease), transform 0.8s var(--igsp-ease);
}

.igsp-js [data-igsp-reveal].is-in { opacity: 1; transform: none; }

/* Kinder nacheinander: Schritte, Vorteile, Zahlen */
.igsp-js .igsp-steps .igsp-step,
.igsp-js .igsp-benefits li,
.igsp-js .igsp-stats li {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.7s var(--igsp-ease), transform 0.7s var(--igsp-ease);
    transition-delay: calc(var(--i, 0) * 120ms + 150ms);
}

.igsp-js .is-in .igsp-step,
.igsp-js .is-in.igsp-benefits li,
.igsp-js .is-in.igsp-stats li { opacity: 1; transform: none; }

.igsp-js .igsp-steps::before { transform: scaleX(0); }
.igsp-js .igsp-steps.is-in::before { transform: scaleX(1); }

/* ---------------------------------- Tablet ---------------------------------- */

@media (max-width: 1199px) {
    .igsp-hero__grid { column-gap: 44px; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); }
    .igsp-split { gap: 50px; }
    .igsp-cta { flex-direction: column; align-items: flex-start; padding: 48px; }
}

@media (max-width: 991px) {
    .igsp-section { padding: 80px 0; }
    .igsp-section--closing { padding: 0 0 80px; }
    .igsp-hero { padding: 40px 0 80px; }

    .igsp-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "copy" "finder" "meta";
        grid-template-rows: none;
    }

    .igsp-hero__copy { padding-top: 0; max-width: 640px; }
    .igsp-hero__finder { margin-top: 34px; max-width: 640px; }
    .igsp-hero__meta { max-width: 640px; }
    .igsp-lead { margin-top: 20px; }

    .igsp-split,
    .igsp-split--region,
    .igsp-split--faq { grid-template-columns: minmax(0, 1fr); }

    .igsp-gallery { max-width: 520px; }
    .igsp-split > .igsp-gallery { order: 2; }
    .igsp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .igsp-radar-wrap { max-width: 460px; }
    .igsp-person { margin-bottom: 10px; }
}

/* ----------------------------------- Handy ----------------------------------- */

@media (max-width: 767px) {
    .igsp-section { padding: 64px 0; }
    .igsp-section--closing { padding: 0 0 64px; }
    .igsp-hero { padding: 28px 0 64px; }
    .igsp-head { margin-bottom: 34px; }
    .igsp-lead { font-size: 16px; }
    .igsp-intro { font-size: 16px; }

    .igsp-hero .igoo-finder--compact .igoo-finder__main { padding: 24px 20px 22px; }

    .igsp-checks { gap: 10px 18px; margin-top: 30px; }
    .igsp-checks li { font-size: 14px; }
    .igsp-hero__finder .igsp-mini-person { border-radius: 16px; margin: 30px 0 0; }

    .igsp-steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }

    /* Linie senkrecht links an den Symbolen entlang */
    .igsp-steps::before {
        top: 44px;
        bottom: 44px;
        left: 43px;
        right: auto;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--ig-blue) 0 8px, transparent 8px 16px);
        transform-origin: center top;
    }

    .igsp-js .igsp-steps::before { transform: scaleY(0); }
    .igsp-js .igsp-steps.is-in::before { transform: scaleY(1); }

    .igsp-step {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: 20px;
        padding: 0;
        text-align: left;
    }

    .igsp-step__badge { grid-row: 1 / 3; margin-bottom: 0; }
    .igsp .igsp-step__title { align-self: end; margin-top: 8px; }
    .igsp-step p { margin: 0; }

    .igsp-benefits { grid-template-columns: minmax(0, 1fr); gap: 24px; }

    .igsp-benefits li {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 16px;
    }

    .igsp-benefits__icon { grid-row: 1 / 3; margin-bottom: 0; }

    .igsp-band { padding: 54px 0; }
    .igsp-stats { gap: 30px 18px; }
    .igsp-stats li { padding-left: 14px; }
    .igsp-stats__value { font-size: 18px; }
    .igsp-stats__text { font-size: 14px; }

    .igsp-cities a { padding: 8px 14px; font-size: 14px; }
    .igsp-radar__dot text { font-size: 15px; }
    .igsp-radar__home text { font-size: 17px; }

    .igsp-faq__item summary { padding: 16px 16px 16px 18px; }
    .igsp .igsp-faq__item h3 { font-size: 16px; }
    .igsp-faq__answer { padding: 0 18px 18px; }
    .igsp-faq__answer p { font-size: 15px; }

    .igsp-person { align-items: flex-start; }
    .igsp-person__photo { flex-basis: 64px; width: 64px !important; height: 64px !important; }

    .igsp-cta { padding: 36px 24px; border-radius: 20px; }
    .igsp-cta__actions { width: 100%; flex-direction: column; }
    .igsp-cta__actions .igsp-btn { width: 100%; }

    .igsp-toast { left: 0; bottom: 2%; padding: 10px 14px 10px 10px; }
    .igsp-toast__icon { flex-basis: 34px; width: 34px; height: 34px; }
    .igsp-toast__body span { font-size: 13px; }

    /* Platz für die Sticky-Leiste über dem Seitenende */
    .igsp { padding-bottom: 0; }
}

/* ----------------------------- Weniger Bewegung ----------------------------- */

@media (prefers-reduced-motion: reduce) {
    .igsp *,
    .igsp *::before,
    .igsp *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .igsp-radar__sweep { display: none; }
}
