/* Schulwerk Digital – Produktseiten 2026-10 */

/* Hero */
.pd-hero { padding: 28px 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); overflow: hidden; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.pd-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pd-hero__logo { height: 64px; width: auto; margin-bottom: 26px; }
.pd-hero h1 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 700; letter-spacing: -0.028em; margin-bottom: 20px; }
.pd-hero .lede { font-size: 18px; color: var(--muted); margin-bottom: 22px; }
.pd-hero .lede b { color: var(--text); font-weight: 600; }
.pd-checks { display: grid; gap: 10px; margin-bottom: 30px; }
.pd-checks li { position: relative; padding-left: 30px; font-weight: 500; color: var(--text); }
.pd-checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--green-bg); box-shadow: inset 0 0 0 1px #BBF7D0; }
.pd-checks li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 7px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.pd-buy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow); }
.pd-buy__price { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pd-buy__amount { font-size: 34px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pd-buy__meta { font-size: 13px; color: var(--muted); line-height: 1.45; }
.pd-buy__promo { color: var(--green); font-weight: 600; }
.pd-buy__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-buy__actions .btn { flex: 1 1 180px; }
.pd-buy__note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.pd-hero__visual { position: relative; padding: 0 0 56px 0; }
.pd-hero__visual .device--desktop { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.pd-hero__visual .device--phone { position: absolute; right: -8px; bottom: 0; width: 26%; min-width: 120px; }
.pd-hero__tag { position: absolute; left: 6%; bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--navy-3); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; box-shadow: var(--shadow); }

/* Geräterahmen */
.device { margin: 0; }
.device--desktop { background: #fff; border: 1px solid #D5DEEA; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(11,37,69,.05), 0 24px 60px -12px rgba(11,37,69,.28); }
.device__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F4F7FB; border-bottom: 1px solid #E2E8F0; }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3DCE8; }
.device__bar span { margin-left: 10px; font-size: 11.5px; font-weight: 500; color: #64748B; }
.device--phone { background: #0B1220; border-radius: 30px; padding: 7px; box-shadow: 0 30px 60px -18px rgba(11,37,69,.45), 0 0 0 1px rgba(255,255,255,.06) inset; }
.device--phone img { border-radius: 23px; width: 100%; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom img { width: 100%; }

/* Prinzip */
.pd-principle { background: #fff; }
.flowline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.flowline__step { position: relative; background: var(--soft); border-radius: var(--radius-lg); padding: 28px 26px 26px; }
.flowline__step:not(:last-child)::after { content: ''; position: absolute; right: -16px; top: 46px; width: 12px; height: 12px; border-top: 2px solid #9DB4D6; border-right: 2px solid #9DB4D6; transform: rotate(45deg); z-index: 1; }
.flowline__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.flowline__step h3 { font-size: 19px; margin-bottom: 16px; }
.flowline__step > p { font-size: 14.5px; color: var(--muted); margin-top: 16px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 8px; padding: 12px 14px; }
.mini-card__t { font-weight: 600; color: var(--navy); }
.mini-card__m { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.chip i { width: 7px; height: 7px; border-radius: 50%; }
.chip--on { border-color: var(--navy); color: var(--navy); background: #E8EEF7; box-shadow: inset 0 0 0 1px var(--navy); }
.outs { display: grid; gap: 6px; }
.outs li { display: flex; align-items: baseline; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13px; color: var(--muted); }
.outs b { min-width: 72px; color: var(--navy); font-size: 13px; }

/* Rundgang */
.pd-tour { background: var(--soft); }
.feat { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; padding-top: 8px; }
.feat--flip { grid-template-columns: 1.2fr .8fr; }
.feat--flip .feat__text { order: 2; }
.feat__k { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-3); margin-bottom: 12px; }
.feat h3 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 700; margin-bottom: 14px; }
.feat__text > p { color: var(--muted); }
.feat__more { font-size: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #CBD5E1; }
.feat__list { display: grid; gap: 8px; margin-top: 18px; }
.feat__list li { position: relative; padding-left: 20px; font-size: 15px; }
.feat__list li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--navy-3); }
.keys { display: grid; gap: 10px; margin-top: 18px; }
.keys li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.key, .hot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; flex: none; font-variant-numeric: tabular-nums; }
.shot { position: relative; }
.hot { position: absolute; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 6px 14px rgba(11,37,69,.35); pointer-events: none; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 6px 14px rgba(11,37,69,.35); } 50% { box-shadow: 0 0 0 7px rgba(255,255,255,.75), 0 6px 14px rgba(11,37,69,.35); } }

.feat--wide { grid-template-columns: .75fr 1.25fr; }
.feat__media--stack { position: relative; padding-bottom: 27%; }
.feat__media--stack .paper { position: absolute; right: -4%; bottom: 0; width: 44%; margin: 0; background: #fff; border-radius: 6px; padding: 6px; box-shadow: 0 30px 60px -16px rgba(11,37,69,.4); transform: rotate(2.2deg); }
.paper figcaption { font-size: 11.5px; color: var(--muted); text-align: center; padding: 6px 0 2px; }
.feat__media--duo { position: relative; padding-right: 14%; }
.feat__media--duo .device--phone { position: absolute; right: 0; bottom: -28px; width: 27%; }

.more-shots { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); }
.more-shots h3 { font-size: 20px; margin-bottom: 20px; }
.more-shots__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.thumb { text-align: left; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.thumb:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11,37,69,.06), 0 18px 36px -10px rgba(11,37,69,.25); }
.thumb span { display: block; padding: 10px 14px 12px; font-size: 14px; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); }

/* Mobil */
.pd-mobile { background: var(--navy); color: rgba(255,255,255,.8); overflow: hidden; }
.pd-mobile h2 { color: #fff; }
.pd-mobile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pd-mobile__grid > div:first-child p { font-size: 17px; max-width: 460px; }
.pd-mobile__phones { display: flex; justify-content: center; align-items: flex-start; gap: 24px; padding-bottom: 48px; }
.pd-mobile__phones .device--phone { width: min(42%, 220px); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.pd-mobile__phones .device--phone:nth-child(2) { transform: translateY(48px); }
.pd-mobile.section { padding-bottom: clamp(64px, 9vw, 120px); }

/* Rollen */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; border-top: 3px solid var(--navy); }
.role h3 { font-size: 17px; margin-bottom: 8px; }
.role p { font-size: 14.5px; color: var(--muted); }

/* Daten & FAQ */
.pd-specs { background: var(--soft); }
.pd-specs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pd-specs h2 { font-size: clamp(26px, 3vw, 36px); }
dl.specs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
dl.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15px; }
dl.specs div:first-child { border-top: 0; }
dl.specs dt { font-weight: 600; color: var(--navy); }
dl.specs dd { color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 22px; width: 8px; height: 8px; border-right: 2px solid var(--navy-3); border-bottom: 2px solid var(--navy-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* CTA */
.pd-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: rgba(255,255,255,.82); padding: clamp(48px, 6vw, 80px) 0; }
.pd-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pd-cta__logo { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; opacity: .95; }
.pd-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.pd-cta b { color: #fff; }
.pd-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-cta .add-btn[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 94vh; margin: auto; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 26, 51, .86); backdrop-filter: blur(3px); }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lightbox p { color: #fff; text-align: center; font-size: 14px; margin-top: 14px; }
.lightbox__close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }

/* Link auf der Startseite */
.app__more { margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(11,31,58,.55); transition: background .2s, transform .2s, box-shadow .2s; }
.app__more svg { transition: transform .2s; }
.app__more:hover { background: var(--navy-3); box-shadow: 0 10px 22px -10px rgba(11,31,58,.6); }
.app__more:hover svg { transform: translateX(3px); }
.app__more:focus-visible { outline: 3px solid rgba(11,31,58,.3); outline-offset: 2px; }

@media (max-width: 1024px) {
  .pd-hero__grid { grid-template-columns: 1fr; }
  .pd-hero__visual { max-width: 720px; }
  .feat, .feat--wide, .feat--flip { grid-template-columns: 1fr; gap: 28px; }
  .feat--flip .feat__text { order: 0; }
  .flowline { grid-template-columns: 1fr; gap: 28px; }
  .flowline__step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -21px; transform: rotate(135deg); }
  .roles { grid-template-columns: 1fr 1fr; }
  .more-shots__grid { grid-template-columns: 1fr 1fr; }
  .pd-specs__grid, .pd-mobile__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pd-hero__logo { height: 48px; }
  .pd-hero .lede { font-size: 16px; }
  .pd-hero__visual .device--desktop { transform: none; }
  .pd-hero__visual .device--phone { width: 30%; right: -4px; }
  .pd-hero__tag { left: 0; font-size: 11px; }
  .pd-buy { padding: 18px; }
  .pd-buy__amount { font-size: 28px; }
  .roles { grid-template-columns: 1fr; }
  .more-shots__grid { gap: 12px; }
  .thumb span { font-size: 12.5px; padding: 8px 10px; }
  dl.specs div { grid-template-columns: 1fr; gap: 2px; }
  .hot { width: 22px; height: 22px; font-size: 11px; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 4px 10px rgba(11,37,69,.35); animation: none; }
  .key { width: 22px; height: 22px; font-size: 11px; }
  .device__bar { height: 24px; }
  .device__bar span { font-size: 10.5px; }
  .feat__media--stack .paper { width: 70%; right: -2%; }
  .pd-cta__btns .btn { flex: 1 1 100%; }
  .lightbox__close { top: -48px; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hot { animation: none; }
  .thumb { transition: none; }
}

/* ---------- Kapitel, Schutz-Kasten, Hochformat-Papier (SchulAtlas) ---------- */
.chapter { display: flex; align-items: center; gap: 20px; margin: clamp(48px, 6vw, 80px) 0 clamp(8px, 1vw, 16px); padding: 22px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.chapter:first-of-type { margin-top: clamp(28px, 3vw, 40px); }
.chapter__n { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 76px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--soft); color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.chapter h3 { margin: 0 0 2px; font-size: clamp(20px, 2vw, 24px); color: var(--navy); letter-spacing: -.01em; }
.chapter p { margin: 0; color: var(--muted); font-size: 15px; }
.chapter--secure { background: var(--navy); border-color: var(--navy); }
.chapter--secure .chapter__n { background: rgba(255,255,255,.12); color: #fff; }
.chapter--secure h3 { color: #fff; }
.chapter--secure p { color: rgba(255,255,255,.78); }
.chapter + .feat { border-top: 0; }

.feat__media--portrait { padding-bottom: 6%; padding-right: 16%; }
.feat__media--stack .paper--portrait { width: 31%; right: -2%; bottom: -8%; transform: rotate(2deg); }

.secure { margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.secure__head { max-width: 760px; margin-bottom: clamp(22px, 3vw, 34px); }
.secure__head h3 { margin: 6px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.01em; }
.secure__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.secure__grid li { padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.secure__grid b { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 6px; }
.secure__grid b::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.secure__grid span { display: block; color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 1024px) { .secure__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .chapter { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; }
  .secure__grid { grid-template-columns: 1fr; }
  .feat__media--portrait { padding-right: 0; padding-bottom: 40%; }
  .feat__media--stack .paper--portrait { width: 46%; right: -2%; bottom: 0; }
}
.feat--wide.feat--flip { grid-template-columns: 1.25fr .75fr; }
.secure__head h3 { color: #fff; }
.paper--portrait figcaption { white-space: nowrap; font-size: 11px; }
@media (max-width: 1024px) { .feat--wide.feat--flip { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .feat__media--stack .paper--portrait { right: 3%; } }

/* Betrieb in der Schule (Einzelplatz / Mehrplatz) – 2026-10-22 */
.pd-run { background: var(--soft); }
.pd-run__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pd-run h2 { margin-bottom: 14px; }
.pd-run__lede { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 24px; }
.pd-run__list { list-style: none; display: grid; gap: 16px; }
.pd-run__list li { padding-left: 16px; border-left: 2px solid var(--navy); font-size: 15px; color: var(--muted); line-height: 1.55; }
.pd-run__list b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }
.run-map { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; align-items: center; }
.run-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; border-radius: var(--radius); }
.run-node strong { font-size: 14px; line-height: 1.3; }
.run-node--server { background: var(--navy); color: #fff; padding: 18px 22px; width: min(100%, 320px); }
.run-node--server span { font-size: 12.5px; color: rgba(255,255,255,.75); }
.run-links { position: relative; width: 70%; height: 44px; }
.run-links::before { content: ""; position: absolute; left: 50%; top: 0; height: 22px; border-left: 2px dashed #94A3B8; }
.run-links::after { content: ""; position: absolute; left: 0; right: 0; top: 22px; border-top: 2px dashed #94A3B8; }
.run-links i { position: absolute; top: 22px; height: 22px; border-left: 2px dashed #94A3B8; }
.run-links i:nth-child(1) { left: 0; } .run-links i:nth-child(2) { left: 50%; } .run-links i:nth-child(3) { right: 0; }
.run-clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.run-node--client { background: var(--soft); border: 1px solid var(--line); color: var(--navy); padding: 12px 6px; }
.run-node--client strong { font-size: 12.5px; font-weight: 600; color: var(--text); word-break: normal; hyphens: auto; }
.run-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .pd-run__grid { grid-template-columns: 1fr; } }

/* Aushang-Foto mit Bildschirm-Einschub (SchulAtlas 04) */
.pd-aushang { position: relative; padding-bottom: 56px; }
.pd-aushang__photo { display: block; width: 100%; border-radius: var(--radius-lg, 16px); overflow: hidden; box-shadow: var(--shadow); }
.pd-aushang__photo img { display: block; width: 100%; height: auto; }
.pd-aushang__inset { position: absolute; right: -14px; bottom: 0; width: 42%; }
.pd-aushang__inset img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .pd-aushang { padding-bottom: 0; }
  .pd-aushang__inset { position: static; width: 70%; margin: 14px 0 0 auto; display: block; }
}
.pd-hero__photo { margin: 0; border-radius: var(--radius-lg, 16px); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(11,37,69,.35); }
.pd-hero__photo .zoom, .pd-hero__photo img { display: block; width: 100%; height: auto; }
.pd-hero__visual:has(.pd-hero__photo) { padding-bottom: 0; }
