
.ap { --ap-grund: #f5f5f7; --ap-text: #1d1d1f; --ap-grau: #6e6e73; background: var(--ap-grund); color: var(--ap-text); padding-block: clamp(80px, 9vw, 130px); }
.ap + .ap { padding-top: 0; }
.ap figure { margin: 0; } .ap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap ul, .ap ol { list-style: none; margin: 0; padding: 0; }
.ap svg path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ap-h { margin: 0; font: 700 clamp(38px, 5vw, 64px)/1.07 var(--sans); letter-spacing: -.028em; color: var(--ap-text); text-wrap: balance; }
.ap-h2 { margin: 0; font: 700 clamp(28px, 3vw, 40px)/1.12 var(--sans); letter-spacing: -.022em; color: var(--ap-text); text-wrap: balance; }
.ap-p { margin: 14px 0 0; font: 500 clamp(18px, 1.5vw, 21px)/1.5 var(--sans); color: var(--ap-text); text-wrap: pretty; }
.ap-p--grau { color: var(--ap-grau); }
.ap-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.ap-kopf .ap-h { max-width: 15em; }
.ap-link { display: inline-flex; align-items: center; gap: 2px; font: 600 clamp(17px, 1.4vw, 20px) var(--sans); color: var(--gold); text-decoration: none; }
.ap-link svg { width: 20px; height: 20px; transition: transform .25s cubic-bezier(.23,1,.32,1); }
.ap-link:hover { text-decoration: underline; text-underline-offset: 4px; } .ap-link:hover svg { transform: translateX(3px); }
.ap-link:focus-visible, .ap-plus:focus-visible, .ap-zu:focus-visible, .ap-akk label:focus-visible { outline: 2px solid var(--ap-text); outline-offset: 3px; border-radius: 6px; }
.ap-karte { position: relative; overflow: hidden; border-radius: 28px; background: #fff; }
.ap-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 999px; background: var(--gold); color: #fff; font: 600 18px var(--sans); text-decoration: none; transition: background-color .2s ease, transform .14s cubic-bezier(.23,1,.32,1); }
.ap-knopf:hover { background: #a51925; } .ap-knopf:active { transform: scale(.97); }
.ap-sym { position: absolute; right: 14px; bottom: 10px; font: 500 11px var(--sans); color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.55); }

/* 1 Frage + Salz: zwei große Karten */
.ap1__paar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ap1__k { display: flex; flex-direction: column; text-align: center; }
.ap1__t { padding: clamp(36px, 4vw, 60px) clamp(28px, 4vw, 56px) 28px; }
.ap1__t .ap-p { max-width: 26em; margin-inline: auto; }
.ap1__t .ap-link { margin-top: 18px; }
.ap1__f { margin-top: auto !important; aspect-ratio: 16/10; position: relative; }
.ap1__k--schlecht .ap1__f img { filter: saturate(.65) brightness(.92); }
.ap1__marke { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; font: 600 14px var(--sans); }
.ap1__k--schlecht .ap1__marke { background: #f3e6e7; color: #a51925; } .ap1__k--gut .ap1__marke { background: #e7f1ea; color: #2f6a3f; }

/* 2 Karten-Karussell */
.ap2 { overflow: clip; }
.ap2__spur { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2)); padding: 8px max(20px, calc((100vw - 1240px) / 2)) 28px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ap2__spur::-webkit-scrollbar { display: none; }
.ap2__k { flex: 0 0 min(400px, 82vw); min-height: 560px; display: flex; flex-direction: column; scroll-snap-align: start; box-shadow: 0 4px 20px rgba(0,0,0,.04); transition: transform .35s cubic-bezier(.23,1,.32,1), box-shadow .35s ease; }
@media (hover: hover) and (pointer: fine) { .ap2__k:hover { transform: scale(1.012); box-shadow: 0 12px 40px rgba(0,0,0,.08); } }
.ap2__t { padding: 32px 32px 0; }
.ap2__label { font: 600 16px var(--sans); color: var(--ap-text); }
.ap2__t h3 { margin: 8px 0 0; font: 700 clamp(26px, 2.3vw, 30px)/1.15 var(--sans); letter-spacing: -.02em; color: var(--ap-text); text-wrap: balance; }
.ap2__t p { margin: 14px 0 0; font: 500 18px/1.5 var(--sans); color: var(--ap-grau); }
.ap2__f { margin: auto 18px 18px !important; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; }
.ap-plus { position: absolute; right: 26px; bottom: 26px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(29,29,31,.72); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .14s cubic-bezier(.23,1,.32,1), background-color .2s ease; }
.ap2__k { outline: none; } .ap2__k:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 4px; }
.ap2__f { position: relative; }
.ap2__k { position: relative; }
.ap2__mehr { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 40px 34px 84px; border-radius: inherit; overflow: auto; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .35s cubic-bezier(.23,1,.32,1); pointer-events: none; }
.ap2__mehr small { font: 600 15px var(--sans); color: var(--gold); } .ap2__mehr b { font: 700 clamp(24px,2.2vw,30px)/1.15 var(--sans); letter-spacing: -.02em; color: #1d1d1f; } .ap2__mehr span { font: 500 17px/1.6 var(--sans); color: #3a3a3c; }
.ap-plus { z-index: 2; }
.ap2__k:hover .ap2__mehr, .ap2__k:focus-within .ap2__mehr, .ap2__k:focus .ap2__mehr { opacity: 1; transform: none; }
.ap-plus { transition: transform .3s cubic-bezier(.23,1,.32,1), background-color .2s; pointer-events: none; }
.ap2__k:hover .ap-plus, .ap2__k:focus .ap-plus { transform: rotate(45deg); background: #1d1d1f; }
.ap-plus svg { width: 22px; height: 22px; } .ap-plus:hover { background: #1d1d1f; } .ap-plus:active { transform: scale(.94); }
.ap2__hinweis { margin-top: 4px; font: 500 15px var(--sans); color: var(--ap-grau); }
/* Popover (ohne JS) */
.ap-pop { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: clamp(36px, 5vw, 64px); border: 0; border-radius: 28px; background: #fff; color: var(--ap-text); box-shadow: 0 30px 80px rgba(0,0,0,.25); overscroll-behavior: contain; }
.ap-pop::backdrop { background: rgba(0,0,0,.42); backdrop-filter: blur(6px); }
.ap-pop[popover]:popover-open { animation: ap-ein .28s cubic-bezier(.23,1,.32,1); }
@keyframes ap-ein { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ap-pop small { font: 600 16px var(--sans); color: var(--gold); }
.ap-pop h3 { margin: 10px 0 16px; font: 700 clamp(28px, 3vw, 38px)/1.12 var(--sans); letter-spacing: -.02em; }
.ap-pop p { margin: 0; font: 500 19px/1.6 var(--sans); color: #333336; }
.ap-zu { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #e8e8ed; color: var(--ap-text); cursor: pointer; }
.ap-zu svg { width: 20px; height: 20px; }

/* 3 Akkordeon mit Bildwechsel */
.ap3__box { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(36px, 5vw, 80px); border-radius: 32px; background: #fff; }
.ap-akk > input { position: absolute; opacity: 0; pointer-events: none; }
.ap-akk__p { border-bottom: 1px solid #d2d2d7; }
.ap-akk__p label { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font: 700 clamp(22px, 2vw, 28px)/1.2 var(--sans); letter-spacing: -.015em; color: var(--ap-text); }
.ap-akk__p label span { display: inline-flex; align-items: baseline; gap: 14px; }
.ap-akk__p label small { font: 600 15px var(--sans); color: var(--gold); }
.ap-akk__p label svg { width: 26px; height: 26px; flex-shrink: 0; transition: transform .3s cubic-bezier(.23,1,.32,1); }
.ap-akk__p p { display: grid; grid-template-rows: 0fr; margin: 0; font: 500 19px/1.6 var(--sans); color: #333336; transition: grid-template-rows .35s cubic-bezier(.23,1,.32,1), padding .35s ease; }
.ap-akk__p p > span { overflow: hidden; }
.ap3__bilder { position: relative; aspect-ratio: 4/3.3; border-radius: 22px; overflow: hidden; background: #e8e8ed; }
.ap3__bilder figure { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .45s ease, transform .6s cubic-bezier(.23,1,.32,1); }
#ap3-0:checked ~ .ap3__links .ap-akk__p0 p { grid-template-rows: 1fr; padding-bottom: 26px; } #ap3-0:checked ~ .ap3__links .ap-akk__p0 label svg { transform: rotate(180deg); } #ap3-0:checked ~ .ap3__bilder .ap3__b0 { opacity: 1; transform: none; } #ap3-0:focus-visible ~ .ap3__links .ap-akk__p0 label { outline: 2px solid var(--ap-text); outline-offset: 4px; border-radius: 6px; }
#ap3-1:checked ~ .ap3__links .ap-akk__p1 p { grid-template-rows: 1fr; padding-bottom: 26px; } #ap3-1:checked ~ .ap3__links .ap-akk__p1 label svg { transform: rotate(180deg); } #ap3-1:checked ~ .ap3__bilder .ap3__b1 { opacity: 1; transform: none; } #ap3-1:focus-visible ~ .ap3__links .ap-akk__p1 label { outline: 2px solid var(--ap-text); outline-offset: 4px; border-radius: 6px; }
#ap3-2:checked ~ .ap3__links .ap-akk__p2 p { grid-template-rows: 1fr; padding-bottom: 26px; } #ap3-2:checked ~ .ap3__links .ap-akk__p2 label svg { transform: rotate(180deg); } #ap3-2:checked ~ .ap3__bilder .ap3__b2 { opacity: 1; transform: none; } #ap3-2:focus-visible ~ .ap3__links .ap-akk__p2 label { outline: 2px solid var(--ap-text); outline-offset: 4px; border-radius: 6px; }
#ap3-3:checked ~ .ap3__links .ap-akk__p3 p { grid-template-rows: 1fr; padding-bottom: 26px; } #ap3-3:checked ~ .ap3__links .ap-akk__p3 label svg { transform: rotate(180deg); } #ap3-3:checked ~ .ap3__bilder .ap3__b3 { opacity: 1; transform: none; } #ap3-3:focus-visible ~ .ap3__links .ap-akk__p3 label { outline: 2px solid var(--ap-text); outline-offset: 4px; border-radius: 6px; }

/* 4 Abschluss-Karte */
.ap4__k { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; min-height: 520px; }
.ap4__t { padding: clamp(40px, 5vw, 80px); text-align: center; }
.ap4__t .ap-p { max-width: 24em; margin-inline: auto; }
.ap4__aktion { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
.ap4__tel { font: 600 18px var(--sans); color: var(--ap-text); text-decoration: none; }
.ap4__f { align-self: stretch; min-height: 360px; }

@media (max-width: 960px) {
  .ap1__paar, .ap3__box, .ap4__k { grid-template-columns: 1fr; }
  .ap-h { font-size: clamp(30px, 8.2vw, 44px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .ap-h2 { font-size: clamp(25px, 6.6vw, 32px); hyphens: auto; -webkit-hyphens: auto; }
  .ap3__bilder { order: -1; }
  .ap2__k { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) { .ap *, .ap-pop { animation: none !important; transition: none !important; } }
