/* ==================================================================
   Landingpages: Schwimmabzeichen-Motive und "selbst gestalten"
   Palette wie im uebrigen Shop (Navy/Gold), dazu ein Wasserton,
   der nur im Motiv-Cluster auftaucht.
   ================================================================== */

.nm-lp {
    --lp-navy:   #16233F;
    --lp-gold:   #E0AC33;
    --lp-gold-d: #9A7A2A;
    --lp-rand:   #ECE3CE;
    --lp-creme:  #FBF6E9;
    --lp-wasser: #1F6F9B;
    --lp-text:   #2b3444;
    --lp-grau:   #5b6472;

    color: var(--lp-text);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 1080px;
}

.nm-lp * { box-sizing: border-box; }

.nm-lp h1, .nm-lp h2, .nm-lp h3 {
    color: var(--lp-navy) !important;
    letter-spacing: -.01em;
    text-wrap: balance;
}

.nm-lp p { margin: 0 0 14px; }
.nm-lp p:last-child { margin-bottom: 0; }

.nm-lp a { color: var(--lp-wasser); }
.nm-lp-gestalten a { color: var(--lp-gold-d); }
.nm-lp a:focus-visible,
.nm-lp button:focus-visible,
.nm-lp summary:focus-visible {
    outline: 3px solid var(--lp-gold);
    outline-offset: 2px;
}

.nm-lp > section,
.nm-lp > header,
.nm-lp > aside { margin-bottom: clamp(30px, 4.5vw, 52px); }

.nm-lp section > h2 {
    font-size: clamp(21px, 2.6vw, 27px) !important;
    line-height: 1.2 !important;
    margin: 0 0 16px !important;
}

/* --- Kopfbereich -------------------------------------------------- */

.nm-lp-held {
    align-items: center;
    display: grid;
    gap: clamp(22px, 4vw, 44px);
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
}

.nm-lp-held-breit { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.nm-lp-held-breit .nm-lp-held-text { order: 0; }

.nm-lp-held-bild {
    background: linear-gradient(160deg, #EEF5FA 0%, #FBF6E9 100%);
    border: 1px solid var(--lp-rand);
    border-radius: 10px;
    margin: 0;
    padding: clamp(16px, 3vw, 32px);
}
.nm-lp-gestalten .nm-lp-held-bild {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 16px;
}
.nm-lp-gestalten .nm-lp-held-bild img {
    max-height: 420px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.nm-lp-held-bild img {
    display: block;
    height: auto;
    width: 100%;
}

.nm-lp-kicker {
    color: var(--lp-gold-d);
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .07em;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.nm-lp h1 {
    font-family: "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
    font-size: clamp(29px, 4.4vw, 44px) !important;
    font-weight: 900;
    line-height: 1.06 !important;
    margin: 0 0 14px !important;
}

.nm-lp-lead {
    color: var(--lp-grau);
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 1.6;
    margin-bottom: 18px !important;
    max-width: 62ch;
}

.nm-lp-kurzfakten {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.nm-lp-kurzfakten li {
    background: var(--lp-creme);
    border: 1px solid var(--lp-rand);
    border-radius: 999px;
    font-size: 14px;
    padding: 5px 14px;
}
.nm-lp-kurzfakten strong { color: var(--lp-navy); }

/* --- Hinweiskasten (Totenkopf-Seite) ------------------------------ */

.nm-lp-hinweis {
    background: var(--lp-creme);
    border-left: 4px solid var(--lp-gold);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
}
.nm-lp-hinweis p { color: #4a5361; font-size: 15px; }

/* --- Aufzaehlungen ------------------------------------------------ */

.nm-lp-haken {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nm-lp-haken li {
    margin-bottom: 9px;
    padding-left: 28px;
    position: relative;
}
.nm-lp-haken li::before {
    color: var(--lp-gold-d);
    content: "✓";
    font-weight: 700;
    left: 4px;
    position: absolute;
    top: -1px;
}

.nm-lp-anlass-vor { max-width: 68ch; }
.nm-lp-anlass-nach {
    color: var(--lp-grau);
    font-size: 15px;
    margin-top: 16px !important;
}

/* --- Fakten ------------------------------------------------------- */

.nm-lp-fakten {
    background: var(--lp-creme);
    border: 1px solid var(--lp-rand);
    border-radius: 12px;
    padding: clamp(20px, 3vw, 30px);
}
.nm-lp-fakten h2 { margin-top: 0 !important; }
.nm-lp-fakten dl {
    /* 260px waren zu eng: Wert und naechstes Etikett standen fast
       aneinander. 340px ergibt hoechstens drei Spalten und laesst den
       Werten Platz zum Umbrechen. */
    display: grid;
    gap: 2px 28px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    margin: 0;
}
.nm-lp-fakten dl > div {
    border-bottom: 1px solid var(--lp-rand);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 9px 0;
}
.nm-lp-fakten dt {
    color: var(--lp-navy);
    flex: 0 0 130px;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}
.nm-lp-fakten dd {
    color: #4a5361;
    flex: 1 1 140px;
    font-size: 15px;
    margin: 0;
}

/* --- Schritte ----------------------------------------------------- */

.nm-lp-schrittliste {
    counter-reset: nmlp;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.nm-lp-schrittliste li {
    border-top: 3px solid var(--lp-rand);
    counter-increment: nmlp;
    padding-top: 14px;
    position: relative;
}
.nm-lp-schrittliste li::before {
    color: var(--lp-gold);
    content: counter(nmlp);
    display: block;
    font-family: "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}
.nm-lp-schrittliste h3 {
    font-size: 16.5px !important;
    margin: 0 0 6px !important;
}
.nm-lp-schrittliste p {
    color: var(--lp-grau);
    font-size: 14.5px;
    line-height: 1.55;
}

/* --- Motivstreifen ------------------------------------------------ */

.nm-lp-motivliste {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.nm-lp-motivinner {
    align-items: center;
    background: #fff;
    border: 1px solid var(--lp-rand);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px 10px 14px;
    text-align: center;
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease;
}
a.nm-lp-motivinner:hover {
    border-color: var(--lp-wasser);
    transform: translateY(-2px);
}
.nm-lp-motivkarte.ist-aktiv .nm-lp-motivinner {
    background: var(--lp-creme);
    border-color: var(--lp-gold);
}
.nm-lp-motivinner img {
    display: block;
    height: auto;
    margin-bottom: 8px;
    width: 100%;
}
.nm-lp-motivname {
    color: var(--lp-navy);
    font-size: 15px;
    font-weight: 700;
}
.nm-lp-motivstufe {
    color: var(--lp-grau);
    font-size: 12.5px;
    line-height: 1.3;
    margin-top: 2px;
}

/* --- Zweispalter (Hub) -------------------------------------------- */

.nm-lp-zweispalt {
    display: grid;
    gap: clamp(18px, 3vw, 30px);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.nm-lp-sp {
    background: #fff;
    border: 1px solid var(--lp-rand);
    border-radius: 12px;
    padding: clamp(18px, 2.6vw, 26px);
}
.nm-lp-sp h3 {
    font-size: 18px !important;
    margin: 0 0 10px !important;
}
.nm-lp-sp p { color: var(--lp-grau); font-size: 15px; }
.nm-lp-sp .nm-lp-haken { margin-top: 12px; }
.nm-lp-sp .nm-lp-haken li { font-size: 14.5px; }

/* --- Optionen ----------------------------------------------------- */

.nm-lp-optionsgitter {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.nm-lp-option {
    background: #fff;
    border: 1px solid var(--lp-rand);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.nm-lp-option img {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}
.nm-lp-option-text { padding: 16px 18px 18px; }
.nm-lp-option.ohne-bild .nm-lp-option-text { border-top: 3px solid var(--lp-gold); }
.nm-lp-option h3 {
    font-size: 17px !important;
    margin: 0 0 7px !important;
}
.nm-lp-option p {
    color: var(--lp-grau);
    font-size: 14.5px;
    line-height: 1.55;
}

/* --- FAQ ---------------------------------------------------------- */

.nm-lp-f {
    border-bottom: 1px solid var(--lp-rand);
}
.nm-lp-f:first-of-type { border-top: 1px solid var(--lp-rand); }
.nm-lp-f summary {
    color: var(--lp-navy);
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 700;
    list-style: none;
    padding: 15px 42px 15px 0;
    position: relative;
}
.nm-lp-f summary::-webkit-details-marker { display: none; }
.nm-lp-f summary::after {
    color: var(--lp-gold-d);
    content: "+";
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .18s ease;
}
.nm-lp-f[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.nm-lp-f-a {
    color: var(--lp-grau);
    font-size: 15px;
    max-width: 72ch;
    padding: 0 0 18px;
}

/* --- Weiterfuehrende Links ---------------------------------------- */

.nm-lp-weiterliste {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.nm-lp-weiterliste a {
    background: var(--lp-creme);
    border: 1px solid var(--lp-rand);
    border-radius: 8px;
    display: block;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    text-decoration: none;
    transition: border-color .16s ease;
}
.nm-lp-weiterliste a:hover { border-color: var(--lp-gold); }

/* --- Handlungsaufforderung ---------------------------------------- */

.nm-lp-cta { margin-top: 4px; }
.nm-lp-btn {
    background: var(--lp-navy);
    border-radius: 8px;
    color: #fff !important;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 30px;
    text-decoration: none;
    transition: background .16s ease;
}
.nm-lp-btn:hover { background: #0f1a30; }
.nm-lp-cta-zusatz {
    color: var(--lp-grau);
    font-size: 14px;
    margin: 10px 0 0 !important;
}

.nm-lp > .nm-lp-cta {
    background: var(--lp-creme);
    border: 1px solid var(--lp-rand);
    border-radius: 12px;
    padding: clamp(22px, 3.2vw, 32px);
    text-align: center;
}

/* --- Tablet ------------------------------------------------------- */

@media (max-width: 860px) {
    .nm-lp-held,
    .nm-lp-held-breit { grid-template-columns: 1fr; }
    .nm-lp-held-bild { max-width: 380px; }
    .nm-lp-held-breit .nm-lp-held-bild { max-width: none; }
    .nm-lp-held-breit .nm-lp-held-text { order: 0; }
}

/* --- Handy -------------------------------------------------------- */

@media (max-width: 560px) {
    .nm-lp { font-size: 16px; }
    .nm-lp-held-bild { margin: 0 auto; max-width: 300px; }
    .nm-lp-motivliste { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .nm-lp-fakten dt { flex: 0 0 100%; }
    .nm-lp-btn { display: block; text-align: center; }
    .nm-lp-schrittliste { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .nm-lp * { transition: none !important; }
}

/* --- Anhang an bestehende Kategorieseiten -------------------------- */

/* Das Band sitzt zwischen Inhalt und Fusszeile und geht ueber die volle
   Breite; der Inhalt darin bleibt auf Lesebreite zentriert. */
.nm-lp-anhangband {
    background: #fff;
    border-top: 1px solid var(--lp-rand, #ECE3CE);
    padding: clamp(28px, 4vw, 48px) 20px clamp(30px, 4.5vw, 52px);
}

.nm-lp-anhang {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.nm-lp-anhang > section { margin-bottom: 0; }

.nm-lp-anhang-vor {
    color: var(--lp-grau);
    font-size: 15px;
    margin-bottom: 18px !important;
    max-width: 62ch;
}

.nm-lp-hinweiskarte {
    background: var(--lp-creme);
    border: 1px solid var(--lp-rand);
    border-left: 4px solid var(--lp-gold);
    border-radius: 0 12px 12px 0;
    padding: clamp(20px, 3vw, 28px);
}
.nm-lp-hinweiskarte h2 { margin-top: 0 !important; }
.nm-lp-hinweiskarte p {
    color: var(--lp-grau);
    font-size: 15.5px;
    max-width: 62ch;
}
.nm-lp-hinweiskarte p:last-child { margin-top: 16px; }
