/*
Theme Name: MaxPrep Startseite
Theme URI: https://maxprep.de
Author: MaxPrep
Description: Responsives Startseiten-Theme fuer MaxPrep (Aufbauversion).
Version: 2.2
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: maxprep
*/

:root{--navy:#10243a;--blue:#2563eb;--mint:#dff8ec;--ink:#14243a;--muted:#617086;--bg:#f6f8fc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:white}a{color:inherit;text-decoration:none}.wrap{max-width:1120px;margin:auto;padding:0 24px}.top{background:white;border-bottom:1px solid #e7edf4}.nav{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:20px}.logo{font-weight:900;letter-spacing:-1.5px;font-size:27px;color:var(--navy)}.logo span{color:var(--blue)}.navlinks{display:flex;gap:26px;align-items:center;font-size:14px;font-weight:650}.navlinks a:hover{color:var(--blue)}.button{display:inline-block;background:var(--blue);color:white;border-radius:12px;padding:14px 22px;font-weight:750;box-shadow:0 8px 20px #2563eb25}.button.secondary{background:white;color:var(--navy);border:1px solid #cbd5e1;box-shadow:none}.button.disabled{background:#dbe4ef;color:#627187;box-shadow:none;cursor:default}.hero{background:linear-gradient(125deg,#edf4ff 0%,#f6faff 56%,#e7f8ef 100%);padding:86px 0 82px}.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:60px;align-items:center}.eyebrow{display:inline-block;background:white;border:1px solid #dbe6f3;border-radius:30px;padding:9px 15px;font-size:13px;font-weight:750;color:#2853a0}.hero h1{font-size:clamp(40px,5vw,67px);line-height:1.08;letter-spacing:-2.5px;margin:23px 0}.hero h1 em{font-style:normal;color:var(--blue)}.lead{font-size:19px;line-height:1.7;color:#4f6075;max-width:560px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 22px}.subnote{color:#64748b;font-size:13px}.demo{background:white;border:1px solid #dce6f1;border-radius:23px;box-shadow:0 24px 70px #1e3a5f1a;padding:26px;transform:rotate(1deg)}.demo-head{display:flex;justify-content:space-between;align-items:center;font-weight:800}.pill{background:#e8f4ec;color:#217247;padding:6px 10px;border-radius:50px;font-size:12px}.progress{height:8px;border-radius:8px;background:#e9eef6;margin:20px 0 25px;overflow:hidden}.progress i{display:block;width:40%;height:100%;background:var(--blue)}.demo small{color:var(--muted);font-weight:700}.demo h3{font-size:21px;line-height:1.4;margin:13px 0 18px}.option{border:1px solid #dce5f0;padding:13px;border-radius:11px;margin:9px 0;font-size:14px}.option.selected{border:2px solid var(--blue);background:#eff6ff}.demo-foot{display:flex;justify-content:space-between;color:#64748b;font-size:12px;margin-top:22px}.section{padding:78px 0}.soft{background:var(--bg)}.center{text-align:center}.section h2{font-size:clamp(28px,3vw,40px);letter-spacing:-1.2px;margin:0 0 14px}.intro{color:var(--muted);font-size:17px;line-height:1.65;max-width:690px;margin:0 auto 38px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature,.subject,.price{background:white;border:1px solid #e0e8f1;border-radius:17px;padding:25px}.feature .symbol{font-size:28px}.feature h3{margin:16px 0 8px}.feature p,.subject p,.price p{color:var(--muted);line-height:1.6;font-size:15px}.subjects{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.subject{padding:21px}.subject b{font-size:15px}.subject .symbol{display:block;font-size:26px;margin-bottom:12px}.subject p{font-size:13px;margin-bottom:0}.pricing{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;max-width:820px;margin:auto}.price{padding:30px}.price.featured{border:2px solid var(--blue);box-shadow:0 12px 40px #2563eb12}.price h3{font-size:21px;margin:0}.amount{font-size:44px;font-weight:900;margin:22px 0 0;letter-spacing:-2px}.amount small{font-size:15px;color:var(--muted);letter-spacing:0}.price ul{padding-left:21px;line-height:2;color:#405167;min-height:140px}.price .button{display:block;text-align:center}.business{background:#10243a;color:white;border-radius:23px;padding:42px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.business p{color:#c9d7e9;line-height:1.7;max-width:680px}.business .button{background:white;color:#10243a}.footer{background:#0c1b2d;color:#c8d4e3;padding:30px 0;font-size:13px}.footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer a{text-decoration:underline}#fachrichtungen,#ablauf,#preise{scroll-margin-top:25px}@media(max-width:800px){.hero-grid{grid-template-columns:1fr;gap:30px}.hero{padding:55px 0}.demo{transform:none}.features{grid-template-columns:1fr}.subjects{grid-template-columns:repeat(2,1fr)}.pricing{grid-template-columns:1fr}.business{grid-template-columns:1fr}.navlinks{gap:12px}.navlinks .hide-mobile{display:none}}@media(max-width:480px){.subjects{grid-template-columns:1fr}.hero h1{letter-spacing:-1.4px}.nav{min-height:67px}.logo{font-size:24px}.navlinks{font-size:12px}.button{padding:12px 16px}.section{padding:55px 0}}

/* WordPress Adminbar and accessible layout */
.admin-bar .top{position:relative}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}

/* Version 1.1: Lernmaterial-Aufruf auf der Startseite. */


/* Version 1.4: Video-Platzhalter auf der Startseite und Footer-Standardtexte als Vorschau */
.video-preview{padding-top:0}
.video-card{position:relative;max-width:900px;margin:0 auto;background:linear-gradient(135deg,#dbe7f6 0%,#eef4fb 55%,#dcefe6 100%);border:1px solid #d7e1ec;border-radius:24px;min-height:320px;overflow:hidden;box-shadow:0 18px 50px #17314c12;display:flex;align-items:flex-end;justify-content:flex-start;padding:28px;text-align:left}
.video-card::before{content:'';position:absolute;inset:18px;border:1px dashed rgba(16,36,58,.16);border-radius:18px}
.video-badge{position:absolute;top:24px;left:24px;background:white;border:1px solid #dbe6f3;color:#2853a0;padding:8px 12px;border-radius:999px;font-size:13px;font-weight:800;z-index:1}
.video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:96px;height:96px;border-radius:50%;background:white;box-shadow:0 18px 40px #1a31521f;color:var(--blue);display:grid;place-items:center;font-size:38px;font-weight:900;z-index:1}
.video-content{position:relative;z-index:1;background:rgba(16,36,58,.88);color:white;border-radius:18px;padding:18px 20px;max-width:520px}
.video-content strong{display:block;font-size:24px;line-height:1.2;margin-bottom:6px}
.video-content span{display:block;color:#d6e2f1;line-height:1.6}
@media(max-width:800px){.video-card{min-height:250px;padding:18px}.video-play{width:76px;height:76px;font-size:30px}.video-content{max-width:none}.video-content strong{font-size:20px}}
@media(max-width:480px){.video-card{min-height:220px}.video-badge{top:18px;left:18px}.video-content{padding:14px 16px}.video-content strong{font-size:18px}.video-content span{font-size:14px;line-height:1.45}}

/* Version 1.5: visible secure logout for all logged-in users */
.navlinks .top-logout{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #d6e0eb;border-radius:9px;min-height:38px;color:#1744a6;font-weight:750;white-space:nowrap}
.navlinks .top-logout:hover,.navlinks .top-logout:focus-visible{background:#edf4ff;border-color:#2563eb;color:#1744a6}
@media(max-width:800px){.navlinks .top-logout{padding:7px 9px;font-size:12px}.navlinks{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:480px){.navlinks{gap:8px}.navlinks .top-logout{padding:7px 8px;font-size:12px}}

/* v1.6: authentic Google review summary placeholder */
.mp-review-section{text-align:center}.mp-review-summary{max-width:780px;margin:0 auto;background:white;border:1px solid #dce5f0;border-radius:20px;padding:30px}.mp-review-summary p{color:#617086;line-height:1.7}.mp-review-pending{display:inline-block;background:#eef4fb;color:#35557b;border-radius:99px;padding:7px 14px;font-size:13px;font-weight:700}.mp-review-summary .button{margin-top:10px}

/* V1.7 illustrated profession directory */
.mp-professions-home{background:#f3f8f7}.mp-prof-intro{max-width:750px;margin:0 auto 36px;text-align:center}.mp-prof-intro p{font-size:17px;line-height:1.7;color:#536b77}
.mp-professions-home .mp-prof-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:13px}
.mp-professions-home .mp-prof-tile{display:flex;min-height:169px;flex-direction:column;gap:10px;align-items:flex-start;justify-content:space-between;background:white;border:1px solid #d9e6ed;border-radius:19px;padding:17px;color:#152d3e;transition:transform .18s,box-shadow .18s}
.mp-professions-home .mp-prof-tile:hover{transform:translateY(-3px);box-shadow:0 12px 30px #173b3d1b;border-color:#76aca3}
.mp-professions-home .mp-prof-icon{display:block;width:48px;height:48px;object-fit:contain;background:#e8f4ef;border-radius:12px;padding:8px}
.mp-professions-home .mp-prof-title{font-weight:800;line-height:1.3;font-size:15px;overflow-wrap:anywhere}
.mp-professions-home .mp-prof-tile small{color:#57736d;font-size:12px;font-weight:700}
@media(max-width:600px){.mp-professions-home .mp-prof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mp-professions-home .mp-prof-tile{min-height:158px;padding:12px}.mp-professions-home .mp-prof-title{font-size:13px}}


/* MaxPrep 2026: profession cards are destinations, not form fields. */
.mp-professions-home{background:radial-gradient(ellipse at 15% 4%,#173e61 0,transparent 35%),radial-gradient(ellipse at 85% 40%,#1c254d 0,transparent 40%),#081524;color:#f7fbff;position:relative;overflow:hidden}
.mp-professions-home::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px);background-size:45px 45px;mask-image:linear-gradient(to bottom,#0008,transparent 70%)}
.mp-professions-home .wrap{position:relative;max-width:1230px}
.mp-professions-home .mp-prof-intro{max-width:900px;margin:0 auto 28px;text-align:center}
.mp-professions-home .mp-prof-intro .eyebrow{background:#153249;border:1px solid #3d6681;color:#92e8f7;letter-spacing:.08em;text-transform:uppercase}
.mp-professions-home .mp-prof-intro h2{font-size:clamp(34px,4.4vw,56px);line-height:1.06;letter-spacing:-1.9px;color:#fff;margin:17px auto 15px}
.mp-professions-home .mp-prof-intro h2 em{font-style:normal;color:#64d5ff}
.mp-professions-home .mp-prof-intro p{max-width:700px;margin:0 auto;font-size:16px;line-height:1.65;color:#b9cee0}
.mp-prof-featured-link{display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:11px 15px;margin-top:20px;border:1px solid #3c7e70;background:#16413c88;color:#bbffe9;border-radius:999px;font-size:13px;font-weight:750;transition:border-color .2s,background .2s}
.mp-prof-featured-link:hover{background:#205b50;border-color:#6be1ae}
.mp-prof-live-dot{display:inline-block;background:#5af2b1;width:9px;height:9px;border-radius:50%;box-shadow:0 0 16px #5af2b1}
.mp-prof-directory{--mp-card-bg:#0e2035;--mp-card-border:#36536c;--mp-fg:#eef7ff;--mp-soft:#a5bed4;color:var(--mp-fg);width:100%;background:#081524;border-radius:24px;padding:26px;margin:16px 0 25px}
.mp-professions-home .mp-prof-directory{background:transparent;padding:0;margin:0}
.mp-prof-directory [hidden]{display:none!important}
.mp-prof-directory .mp-prof-tools{display:flex;gap:14px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;margin:0 0 15px}
.mp-prof-directory .mp-prof-search-box{display:flex;flex-direction:column;gap:8px;min-width:min(100%,280px);flex:1 1 280px;max-width:365px}
.mp-prof-directory .mp-prof-search-box label{color:#b1cce0;font-size:12px;font-weight:750;letter-spacing:.04em}
.mp-prof-directory .mp-prof-search{appearance:none;width:100%;min-height:45px;border:1px solid #54758e;border-radius:13px;background:#112b41;color:#fff;padding:11px 15px;outline:none;font-size:14px;font-family:inherit;transition:border-color .2s,box-shadow .2s}
.mp-prof-directory .mp-prof-search::placeholder{color:#9db4c6}
.mp-prof-directory .mp-prof-search:focus{border-color:#80ddff;box-shadow:0 0 0 3px #4abde52f}
.mp-prof-directory .mp-prof-filters{display:flex;gap:7px;flex-wrap:wrap;align-items:center;justify-content:flex-end;flex:2 1 460px}
.mp-prof-directory .mp-prof-filter{display:inline-flex;align-items:center;gap:6px;border:1px solid #35566e;border-radius:999px;background:#132e45;color:#c2d4e3;padding:10px 12px;font-size:12px;font-weight:750;line-height:1.1;cursor:pointer;font-family:inherit;transition:background .2s,border-color .2s,color .2s}
.mp-prof-directory .mp-prof-filter:hover,.mp-prof-directory .mp-prof-filter:focus-visible{border-color:#65b9db;color:#fff}
.mp-prof-directory .mp-prof-filter[aria-pressed="true"]{background:#d2f4ff;border-color:#d2f4ff;color:#0a304b}
.mp-prof-directory .mp-filter-number{font-size:11px;opacity:.8}
.mp-prof-directory .mp-prof-result-count{margin:13px 1px 17px;font-size:12px;letter-spacing:.03em;color:#96b4cc;font-weight:650}
.mp-prof-directory .mp-prof-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:0;padding:0}
.mp-prof-directory .mp-prof-tile{--mp-halo:#3c9cff;--mp-light:#a5e9ff;position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:11px;min-height:235px;min-width:0;border:1px solid #35536d;border-radius:21px;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--mp-halo) 22%,transparent) 0%,transparent 55%),linear-gradient(150deg,#173450 0%,#0c1e31 65%,#0a1829 100%);color:#f1f8ff;padding:17px 18px 18px;box-shadow:0 12px 26px #00000022;overflow:hidden;text-decoration:none;isolation:isolate;transition:transform .2s,border-color .2s,box-shadow .2s}
.mp-prof-directory .mp-prof-tile::after{content:"";position:absolute;inset:auto -25% -48% -25%;height:65%;background:radial-gradient(ellipse,var(--mp-halo),transparent 68%);opacity:.09;pointer-events:none;z-index:-1}
.mp-prof-directory .mp-prof-tile:hover,.mp-prof-directory .mp-prof-tile:focus-visible{transform:translateY(-5px);border-color:var(--mp-light);box-shadow:0 18px 35px #00000055,0 0 25px color-mix(in srgb,var(--mp-halo) 16%,transparent);outline:none}
.mp-prof-directory .mp-prof-tile[data-category="business"]{--mp-halo:#9174fc;--mp-light:#c6b7ff}
.mp-prof-directory .mp-prof-tile[data-category="service"]{--mp-halo:#35d8b9;--mp-light:#98f4dd}
.mp-prof-directory .mp-prof-tile[data-category="nature"]{--mp-halo:#51c870;--mp-light:#b1f6aa}
.mp-prof-directory .mp-prof-tile.mp-prof-active{border-color:#75d89b;box-shadow:0 0 0 1px #75d89b38,0 10px 32px #122d1fbb}
.mp-prof-directory .mp-prof-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1;width:100%;color:#8fb2cb;font-size:12px;font-weight:800;letter-spacing:.09em}
.mp-prof-directory .mp-prof-arrow{font-size:21px;color:#a4c5db;line-height:1;transition:transform .2s,color .2s}
.mp-prof-directory .mp-prof-tile:hover .mp-prof-arrow{transform:translate(2px,-2px);color:#fff}
.mp-prof-directory .mp-prof-visual{display:flex;justify-content:center;align-items:center;flex:1;min-height:102px;position:relative}
.mp-prof-directory .mp-prof-visual::before{content:"";position:absolute;width:99px;height:99px;border-radius:22px;background:linear-gradient(135deg,#ffffff,#c9e6f4);box-shadow:0 12px 32px color-mix(in srgb,var(--mp-halo) 38%,transparent),inset 0 1px 0 #fff;transform:rotate(-7deg);transition:transform .2s}
.mp-prof-directory .mp-prof-tile:hover .mp-prof-visual::before{transform:rotate(-2deg) scale(1.04)}
.mp-prof-directory .mp-prof-visual .mp-prof-icon{position:relative;z-index:1;width:78px;height:78px;object-fit:contain;padding:5px;background:transparent;border-radius:0;filter:drop-shadow(0 2px 1px #1027391c)}
.mp-prof-directory .mp-prof-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;min-height:74px;gap:9px}
.mp-prof-directory .mp-prof-title{font-size:16px;line-height:1.32;font-weight:840;letter-spacing:-.15px;color:#fff;overflow-wrap:normal;word-break:normal;hyphens:auto;width:100%}
.mp-prof-directory .mp-prof-status{font-size:11px;letter-spacing:.02em;font-weight:750;border-radius:999px;padding:5px 9px;background:#ffffff12;border:1px solid #ffffff22;color:#a8bdce;line-height:1.2}
.mp-prof-directory .mp-prof-status.mp-status-live{background:#0c5a424a;border-color:#70dca38c;color:#9affcc}
.mp-prof-directory .mp-prof-no-results{padding:30px 10px;text-align:center;color:#a9c2d5}
.mp-app .mp-prof-directory{margin:26px 0}
@media(max-width:1090px){.mp-prof-directory .mp-prof-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mp-prof-directory .mp-prof-filters{justify-content:flex-start}}
@media(max-width:750px){.mp-prof-directory .mp-prof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mp-prof-directory{padding:16px}.mp-prof-directory .mp-prof-tile{min-height:218px;padding:15px}.mp-prof-directory .mp-prof-filters{gap:6px}.mp-prof-directory .mp-prof-filter{padding:9px 11px}.mp-professions-home .mp-prof-intro h2{letter-spacing:-1px}}
@media(max-width:480px){.mp-prof-directory .mp-prof-grid{grid-template-columns:1fr;gap:10px}.mp-prof-directory .mp-prof-tile{min-height:140px;display:grid;grid-template-columns:92px 1fr;grid-template-rows:auto 1fr;column-gap:15px;align-items:center;padding:14px}.mp-prof-directory .mp-prof-top{grid-column:1/-1;grid-row:1}.mp-prof-directory .mp-prof-visual{grid-column:1;grid-row:2;min-height:82px}.mp-prof-directory .mp-prof-visual::before{width:75px;height:75px;border-radius:18px}.mp-prof-directory .mp-prof-visual .mp-prof-icon{width:60px;height:60px}.mp-prof-directory .mp-prof-content{grid-column:2;grid-row:2;min-height:0}.mp-prof-directory .mp-prof-title{font-size:15px}.mp-prof-directory .mp-prof-tools{gap:12px}.mp-prof-directory .mp-prof-filters{gap:5px}.mp-prof-directory .mp-prof-filter{font-size:11px;padding:8px 9px}.mp-prof-featured-link{border-radius:15px;line-height:1.4}}
@media(prefers-reduced-motion:reduce){.mp-prof-directory .mp-prof-tile,.mp-prof-directory .mp-prof-arrow,.mp-prof-directory .mp-prof-visual::before{transition:none}}


/* MaxPrep Profession Gallery 2026: artwork replaces the old line icons. */
.mp-prof-directory .mp-prof-grid{gap:18px}
.mp-prof-directory .mp-prof-tile{min-height:308px;padding:15px 17px 19px;gap:8px;background:linear-gradient(153deg,#183550 0%,#0a1b2e 76%);border-color:#34536c;box-shadow:0 12px 26px #05142430}
.mp-prof-directory .mp-prof-tile:hover,.mp-prof-directory .mp-prof-tile:focus-visible{transform:translateY(-4px);border-color:var(--mp-light);box-shadow:0 17px 37px #06162765}
.mp-prof-directory .mp-prof-visual{min-height:163px;max-height:180px;flex:1;overflow:hidden;border-radius:15px}
.mp-prof-directory .mp-prof-visual::before{display:none!important}
.mp-prof-directory .mp-prof-visual .mp-prof-icon{display:block;width:min(100%,180px);height:170px;object-fit:cover;padding:0;background:transparent;filter:none;border-radius:13px;transform:scale(1);transition:transform .22s ease}
.mp-prof-directory .mp-prof-tile:hover .mp-prof-visual .mp-prof-icon{transform:scale(1.045)}
.mp-prof-directory .mp-prof-content{min-height:81px;gap:10px}
.mp-prof-directory .mp-prof-title{font-size:15px;line-height:1.36;font-weight:830;hyphens:auto;overflow-wrap:break-word}
.mp-prof-directory .mp-prof-status{font-size:11px}
.mp-prof-directory .mp-prof-tile[data-category="nature"]{background:linear-gradient(145deg,#123f31 0%,#0a2425 72%,#0a1b2a)}
.mp-prof-directory .mp-prof-tile[data-category="service"]{background:linear-gradient(145deg,#163b48 0%,#0b2635 70%,#0b1e30)}
.mp-prof-directory .mp-prof-tile[data-category="business"]{background:linear-gradient(145deg,#26334f 0%,#101e36 75%)}
@media(max-width:750px){.mp-prof-directory .mp-prof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mp-prof-directory .mp-prof-tile{min-height:275px;padding:13px}.mp-prof-directory .mp-prof-visual{min-height:138px;max-height:145px}.mp-prof-directory .mp-prof-visual .mp-prof-icon{width:145px;height:145px}.mp-prof-directory .mp-prof-title{font-size:14px}}
@media(max-width:480px){.mp-prof-directory .mp-prof-grid{grid-template-columns:1fr;gap:11px}.mp-prof-directory .mp-prof-tile{min-height:164px;display:grid;grid-template-columns:110px 1fr;grid-template-rows:auto 1fr;column-gap:14px;padding:12px 15px}.mp-prof-directory .mp-prof-top{grid-column:1/-1;grid-row:1}.mp-prof-directory .mp-prof-visual{grid-column:1;grid-row:2;min-height:104px;max-height:110px}.mp-prof-directory .mp-prof-visual .mp-prof-icon{width:108px;height:108px}.mp-prof-directory .mp-prof-content{grid-column:2;grid-row:2;min-height:0;gap:10px}.mp-prof-directory .mp-prof-title{font-size:15px}}
@media(prefers-reduced-motion:reduce){.mp-prof-directory .mp-prof-visual .mp-prof-icon{transition:none}}


/* V1.9 - Friendly premium MaxPrep, coordinated with the profession artwork. */
:root{--navy:#10243a;--blue:#2363eb;--bg:#f6f9fd}
.top{border-bottom-color:#dce7f2;box-shadow:0 2px 17px #0d29430a}
.hero{background:radial-gradient(circle at 94% 0%,#d7e9fc 0,transparent 40%),linear-gradient(125deg,#f1f7ff 0%,#f6faff 62%,#e9f8f2 100%);padding:74px 0 72px}
.hero .eyebrow{background:#ffffffb8;border-color:#c9dff0;color:#194783}
.hero .demo{border-color:#cddde9;transform:rotate(.4deg);box-shadow:0 22px 48px #0f35501a}
.hero .demo-head{color:#10243a}
.hero .progress i{background:linear-gradient(90deg,#2563eb,#40a8e7)}
.button{transition:transform .2s,box-shadow .2s,background .2s}
.button:hover,.button:focus-visible{transform:translateY(-2px);box-shadow:0 12px 25px #2563eb29}
.button.secondary:hover,.button.secondary:focus-visible{background:#f3f8ff;box-shadow:0 9px 22px #10243a0e}
.mp-professions-home{padding-top:67px;padding-bottom:79px}
.mp-professions-home .mp-prof-intro{max-width:760px;margin-bottom:32px}
.mp-prof-featured-link{display:inline-flex;align-items:center;gap:14px;max-width:100%;padding:7px 20px 7px 8px;border-radius:18px;background:linear-gradient(125deg,#143e34,#132e38);border:1px solid #38826a;box-shadow:0 10px 25px #0000002c;color:#ddffeb;text-align:left;transition:transform .2s,background .2s}
.mp-prof-featured-link:hover,.mp-prof-featured-link:focus-visible{background:linear-gradient(125deg,#1d5544,#153a44);transform:translateY(-2px)}
.mp-prof-featured-link .mp-prof-featured-icon{width:75px;height:75px;object-fit:cover;flex:0 0 75px;border-radius:13px;padding:0;background:#102a27}
.mp-prof-featured-link .mp-prof-featured-copy{display:flex;flex-direction:column;gap:5px;line-height:1.3}
.mp-prof-featured-link .mp-prof-featured-copy strong{font-size:15px;color:#f1fff7}
.mp-prof-featured-link .mp-prof-featured-copy small{font-size:12px;color:#b5e4d0;font-weight:550}
.mp-prof-featured-link .mp-prof-featured-arrow{font-size:19px;color:#abf7d2}
.mp-professions-home .mp-prof-directory{padding:0;background:transparent}
#ablauf{background:linear-gradient(180deg,#f6faff,#fff)}
.feature{border-color:#d9e6f0;box-shadow:0 9px 24px #1c426708}
.video-preview{padding-top:35px}
.video-card{background:linear-gradient(140deg,#d8e6fa,#e6f4f5 55%,#eaf5e9);border-color:#d0e0eb}
.price.featured{box-shadow:0 16px 44px #2563eb14}
.subject{box-shadow:0 6px 18px #10243a08}
.business{background:linear-gradient(135deg,#173654,#0e263e)}
@media(max-width:800px){.hero .demo{transform:none}.mp-professions-home{padding:53px 0}}
@media(max-width:480px){.mp-prof-featured-link .mp-prof-featured-icon{width:59px;height:59px;flex-basis:59px}.mp-prof-featured-link .mp-prof-featured-copy strong{font-size:13px}.mp-prof-featured-link .mp-prof-featured-copy small{font-size:11px}}

/* ================= MaxPrep 2.0: lean homepage & routed navigation ================= */
html{scroll-padding-top:95px}
.top{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 5px 22px #10243a0d}
.admin-bar .top{top:32px;position:sticky}
.nav{min-height:70px;gap:15px}
.navlinks{gap:17px;flex-wrap:nowrap;font-size:13px}
.navlinks a{white-space:nowrap;padding:9px 0;transition:color .15s}
.navlinks a[aria-current="page"]{color:#1d59d9;border-bottom:2px solid #2563eb}
.navlinks .mp-account-link{font-weight:800}
.navlinks .top-logout{padding:9px 12px;font-size:13px}
.mp-skip-link{position:absolute;left:15px;top:-100px;background:#fff;color:#12324f;padding:10px 14px;z-index:200;border:2px solid #2563eb;border-radius:8px}
.mp-skip-link:focus{top:8px}
.mp-menu-toggle{display:none;align-items:center;gap:8px;background:#f4f8fd;border:1px solid #d7e3ef;color:#123458;border-radius:10px;font:750 14px system-ui;padding:10px 12px;cursor:pointer}
.mp-menu-toggle:focus-visible,.navlinks a:focus-visible{outline:3px solid #6fcaf5;outline-offset:3px}
.mp-menu-lines{font-size:19px;line-height:1}
.hero{padding:42px 0 44px}
.hero-grid{gap:45px;grid-template-columns:1.09fr .91fr}
.hero .eyebrow{font-size:12px;padding:7px 13px}
.hero h1{font-size:clamp(40px,4.8vw,58px);line-height:1.08;margin:14px 0}
.hero .lead{font-size:17px;line-height:1.54;max-width:510px}
.hero .actions{margin:20px 0 14px;gap:9px}
.hero .button{padding:12px 17px}
.hero .demo{padding:20px;border-radius:20px;transform:none;box-shadow:0 17px 35px #14345318}
.hero .demo h3{font-size:18px;margin:10px 0 14px;line-height:1.4}
.hero .demo .progress{margin:13px 0 17px}
.hero .demo .option{padding:10px 12px;margin:7px 0;font-size:13px}
.hero .demo .demo-foot{margin-top:13px}
.hero .subnote{font-size:12px;margin:9px 0}
.mp-home-teaser{padding:45px 0 49px}
.mp-home-teaser .mp-prof-intro{max-width:780px;margin-bottom:24px}
.mp-home-teaser .mp-prof-intro .eyebrow{padding:7px 13px}
.mp-home-teaser .mp-prof-intro h2{font-size:clamp(32px,3.7vw,44px);margin:12px auto 10px}
.mp-home-teaser .mp-prof-intro p{font-size:14px;line-height:1.5}
.mp-home-teaser .mp-prof-preview{margin:0}
.mp-home-teaser .mp-prof-preview .mp-prof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mp-home-teaser .mp-prof-preview .mp-prof-tile{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:20px 1fr;column-gap:11px;row-gap:6px;min-height:151px;padding:11px 13px;border-radius:16px;align-items:center;box-shadow:0 8px 20px #00000028}
.mp-home-teaser .mp-prof-preview .mp-prof-top{grid-column:1/-1;grid-row:1;font-size:11px}
.mp-home-teaser .mp-prof-preview .mp-prof-visual{grid-column:1;grid-row:2;min-height:104px;max-height:104px;height:104px;margin:0;overflow:hidden;border-radius:12px}
.mp-home-teaser .mp-prof-preview .mp-prof-visual .mp-prof-icon{width:104px;height:104px;max-width:104px;object-fit:cover;border-radius:11px}
.mp-home-teaser .mp-prof-preview .mp-prof-content{grid-column:2;grid-row:2;min-height:0;display:flex;justify-content:center;gap:9px;overflow-wrap:anywhere}
.mp-home-teaser .mp-prof-preview .mp-prof-title{font-size:13px;line-height:1.35;hyphens:auto}
.mp-home-teaser .mp-prof-preview .mp-prof-status{align-self:flex-start;max-width:100%}
.mp-home-all{text-align:center;margin-top:23px}
.mp-home-all .button{background:linear-gradient(125deg,#2969ea,#2082de);font-size:14px;padding:12px 22px}
.mp-home-all .button span{margin-left:7px}
.mp-home-how{padding:43px 0 35px;background:linear-gradient(#f5f9fd,#fff)}
.mp-how-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.mp-home-how .mp-section-kicker{color:#2961a3;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
.mp-home-how h2{font-size:clamp(27px,3vw,36px);margin:5px 0 0}
.mp-how-head>p{color:#5b7087;line-height:1.55;font-size:14px;margin:0;max-width:430px}
.mp-home-how .features{gap:12px}
.mp-home-how .feature{padding:19px 19px 17px;min-height:155px}
.mp-home-how .feature .symbol{height:29px;width:31px;font-size:20px;display:grid;place-items:center;border-radius:8px;background:#e3efff;color:#1e5bd2;font-weight:900}
.mp-home-how .feature h3{font-size:16px;margin:10px 0 7px}
.mp-home-how .feature p{font-size:13px;line-height:1.5;margin:0}
.mp-home-access{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:20px;padding:14px 20px;border-radius:15px;background:#eaf3fc;color:#24415e;font-size:14px}
.mp-home-access small{color:#667d94}
.mp-home-access a{font-weight:800;color:#145cc7;text-decoration:underline;text-underline-offset:3px}
.mp-home-bottom{background:#f3f7fc;padding:27px 0 35px}
.mp-home-bottom-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mp-home-mini{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#14334f;border:1px solid #315370;color:#fff;border-radius:17px;padding:19px 21px}
.mp-home-mini h3{margin:0 0 6px;font-size:17px}
.mp-home-mini p{margin:0;color:#c0d4e5;line-height:1.4;font-size:13px;max-width:310px}
.mp-home-mini a{white-space:nowrap;font-weight:800;color:#a5e6fb;font-size:13px}
.mp-mini-icon{display:none}
.footer{padding:22px 0}
/* Public profession index and one-profession course pages. */
.mp-catalog-page{min-height:70vh;padding:58px 0 78px}
.mp-catalog-page .mp-prof-intro{max-width:850px;margin:0 auto 30px}
.mp-catalog-page .mp-prof-intro h1{font-size:clamp(35px,4.7vw,57px);line-height:1.07;margin:15px 0 20px;letter-spacing:-1.6px}
.mp-catalog-page .mp-prof-intro h1 em{font-style:normal;color:#64d5ff}
.mp-catalog-page .mp-prof-intro p{color:#b9cee0;font-size:16px;line-height:1.6}
.mp-catalog-page .mp-prof-directory{margin:0}
.mp-course-inner{max-width:1120px;margin:0 auto}
.mp-course-back{display:inline-block;color:#b2e6f7;margin-bottom:28px;font-weight:750}
.mp-course-back:hover,.mp-course-back:focus-visible{text-decoration:underline}
.mp-course-hero{display:grid;grid-template-columns:210px 1fr;align-items:center;gap:29px;background:#183550;border:1px solid #3c607c;border-radius:24px;padding:30px}
.mp-course-hero-art .mp-prof-icon{width:200px;height:200px;max-width:100%;padding:0;border-radius:22px;background:transparent;object-fit:cover}
.mp-course-status{display:inline-block;background:#234158;border:1px solid #4d7088;color:#c5dced;padding:6px 10px;font-size:12px;border-radius:999px;font-weight:750}
.mp-course-status.is-live{color:#bbfce1;background:#154b3c;border-color:#3f9e78}
.mp-course-hero h1{font-size:clamp(29px,3.7vw,46px);letter-spacing:-1.1px;line-height:1.15;margin:14px 0}
.mp-course-hero p{color:#c3d9e8;font-size:15px;line-height:1.6;max-width:630px;margin:0}
.mp-course-panel{margin-top:19px;background:#fff;color:#17334b;border:1px solid #d9e7ef;border-radius:20px;padding:24px 27px}
.mp-course-panel h2{font-size:24px;margin:0 0 12px;color:#112f4d}
.mp-course-panel p{color:#53697e;line-height:1.6}
.mp-course-specialties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}
.mp-course-specialty{border-radius:11px;background:#f3f7fc;border:1px solid #d7e4f0;padding:12px 14px;display:flex;flex-direction:column;gap:7px}
.mp-course-specialty.is-live{background:#e4f7ed;border-color:#8bd4b0}
.mp-course-specialty strong{font-size:14px}
.mp-course-specialty small{color:#5c7387}
.mp-course-access{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mp-course-access>div{display:flex;flex-direction:column;gap:7px;background:#f0f6fd;border:1px solid #d4e2f1;border-radius:12px;padding:15px}
.mp-course-access span{font-size:13px;color:#53697e;line-height:1.5}
.mp-course-cta{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 12px}
.mp-fineprint{font-size:13px}
/* Separate price and employer pages. */
.mp-landing-page{min-height:68vh;background:linear-gradient(135deg,#f1f7ff,#fff 63%,#f2faf7);padding:66px 0 75px}
.mp-public-copy{max-width:1110px;margin:auto}
.mp-public-copy>h1{font-size:clamp(34px,4vw,52px);letter-spacing:-1.3px;line-height:1.15;margin:15px 0 15px;color:#102943}
.mp-public-lead{max-width:770px;line-height:1.65;font-size:17px;color:#556c84;margin:0 0 27px}
.mp-public-prices,.mp-business-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:24px 0}
.mp-public-plan,.mp-business-info>section{background:#fff;border:1px solid #dbe6f1;border-radius:18px;padding:23px 25px;box-shadow:0 13px 29px #173b5c0a}
.mp-public-plan.featured{border:2px solid #2971e7}
.mp-public-plan>span{font-weight:800;font-size:14px;color:#245da5}
.mp-public-plan h2{font-size:38px;margin:9px 0;letter-spacing:-1px;color:#102c46}
.mp-public-plan h2 small{font-size:14px;letter-spacing:0;color:#587188}
.mp-public-plan p,.mp-business-info p{line-height:1.56;color:#506a83;font-size:14px}
.mp-public-plan>strong{font-size:12px;color:#2a6885}
.mp-business-info h2{font-size:21px;margin:0 0 10px;color:#103552}
.mp-public-notice{font-size:14px;line-height:1.65;background:#e8f2fb;border-radius:14px;padding:14px 16px;color:#385b78}
.mp-public-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
@media(max-width:1100px){.navlinks{gap:11px;font-size:12px}.mp-home-teaser .mp-prof-preview .mp-prof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){
 .nav{flex-wrap:wrap;justify-content:space-between;min-height:67px}
 .top.mp-mobile-nav-ready .mp-menu-toggle{display:inline-flex}
 .navlinks{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:9px 15px;padding:0 0 15px}
 .top.mp-mobile-nav-ready .navlinks{display:none}
 .top.mp-mobile-nav-ready.mp-menu-open .navlinks{display:flex;flex-direction:column;align-items:stretch;gap:0;background:#fff;border-top:1px solid #e4edf5;padding:8px 0 14px}
 .top.mp-mobile-nav-ready.mp-menu-open .navlinks a{font-size:15px;padding:13px 8px;border-radius:8px;border-bottom:1px solid #f0f4fa}
 .top.mp-mobile-nav-ready.mp-menu-open .navlinks a:focus-visible{outline:2px solid #2563eb}
 .top.mp-mobile-nav-ready.mp-menu-open .navlinks .top-logout{border:1px solid #d6e0eb;margin-top:6px;width:max-content;padding:9px 13px}
 .hero-grid{grid-template-columns:1fr;gap:20px}
 .hero .demo{max-width:680px;width:100%;margin:auto}
 .mp-how-head{flex-direction:column;align-items:flex-start;gap:9px}
 .mp-home-bottom-inner{grid-template-columns:1fr}
 .mp-public-prices,.mp-business-info{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .admin-bar .top{top:46px}
 .wrap{padding-left:17px;padding-right:17px}
 .hero{padding:34px 0}
 .hero h1{font-size:42px;letter-spacing:-1.5px}
 .hero .lead{font-size:16px;line-height:1.56}
 .hero .demo{padding:17px}
 .mp-home-teaser{padding:40px 0}
 .mp-home-teaser .mp-prof-preview .mp-prof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .mp-home-teaser .mp-prof-preview .mp-prof-tile{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-height:212px;padding:10px}
 .mp-home-teaser .mp-prof-preview .mp-prof-top{width:100%}
 .mp-home-teaser .mp-prof-preview .mp-prof-visual{width:100%;height:104px;min-height:104px;max-height:104px}
 .mp-home-teaser .mp-prof-preview .mp-prof-visual .mp-prof-icon{height:104px;width:104px;max-width:100%;margin:auto}
 .mp-home-teaser .mp-prof-preview .mp-prof-content{min-height:65px;justify-content:flex-start;gap:6px}
 .mp-home-teaser .mp-prof-preview .mp-prof-title{font-size:12px}
 .mp-home-teaser .mp-prof-preview .mp-prof-status{font-size:10px}
 .mp-home-how{padding:37px 0}
 .mp-home-how .features{grid-template-columns:1fr}
 .mp-home-how .feature{min-height:0;padding:14px 17px}
 .mp-home-access{gap:8px;justify-content:flex-start;align-items:flex-start;flex-direction:column}
 .mp-access-sep{display:none}
 .mp-home-mini{flex-wrap:wrap;padding:18px}
 .mp-course-hero{grid-template-columns:1fr;padding:21px;gap:12px}
 .mp-course-hero-art .mp-prof-icon{height:155px;width:155px}
 .mp-course-specialties,.mp-course-access,.mp-public-prices,.mp-business-info{grid-template-columns:1fr}
 .mp-course-panel{padding:18px}
 .mp-catalog-page,.mp-landing-page{padding:34px 0 52px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* 2.1: sticky navigation must not obscure anchor destinations. */
#start,#berufe,#ablauf,#zugang,#mehr{scroll-margin-top:94px}
.admin-bar #start,.admin-bar #berufe,.admin-bar #ablauf,.admin-bar #zugang,.admin-bar #mehr{scroll-margin-top:126px}
.mp-course-access small{font-size:12px;line-height:1.4;color:#356787;font-weight:700}
@media(max-width:900px){.mp-course-access{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.mp-footer-links{display:flex;gap:14px;flex-wrap:wrap}
.mp-footer-links a{color:#d7e6f6;text-decoration:underline;text-underline-offset:3px}
.mp-footer-links a:hover,.mp-footer-links a:focus-visible{color:#fff}

/* 2.2: Lernwerkstatt preview. Kept off the compact homepage except one link. */
.mp-lab-home-link{margin:16px 0 0;font-size:13px;color:#507293;line-height:1.5}
.mp-lab-home-link a{color:#1b65ba;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.mp-lab-page{background:#f3f8fd;padding:65px 0 75px;min-height:70vh}
.mp-lab-public{max-width:1130px;margin:0 auto;color:#17344e}
.mp-lab-public-hero{padding:36px 42px 43px;background:radial-gradient(circle at 95% 5%,#1b5270 0,#112842 55%,#0b1c31 100%);border-radius:24px;color:white;box-shadow:0 17px 40px #12324d1c}
.mp-lab-label{display:inline-block;border:1px solid #4c8091;background:#1d4057;color:#a3ecfb;font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:850;padding:8px 13px;border-radius:999px}
.mp-lab-public-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.07;letter-spacing:-1.8px;margin:23px 0 16px;color:#fff}
.mp-lab-public-hero h1 em{color:#74d9ff;font-style:normal}
.mp-lab-public-hero p{max-width:720px;color:#d1e5f2;line-height:1.7;font-size:16px;margin-bottom:25px}
.mp-lab-public-hero .button{margin:5px 11px 5px 0}
.mp-lab-public>h2,.mp-lab-quality h2,.mp-lab-faq h2{font-size:clamp(27px,3vw,36px);line-height:1.18;letter-spacing:-.7px;color:#102d49;margin:37px 0 19px}
.mp-lab-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.mp-lab-mode-card{position:relative;background:#fff;border:1px solid #d8e7f3;border-radius:16px;padding:24px;min-height:210px;box-shadow:0 10px 24px rgba(20,53,82,.04)}
.mp-lab-mode-icon{font-size:32px;display:block;margin-bottom:18px}
.mp-lab-mode-state{position:absolute;right:17px;top:19px;border-radius:999px;padding:5px 9px;background:#e4f8ef;color:#16704c;font-size:11px;font-weight:800}
.mp-lab-mode-state.is-preview{background:#edf3fa;color:#627b94}
.mp-lab-mode-card h3{font-size:19px;color:#14354d;margin:0 0 9px;max-width:92%;line-height:1.28}
.mp-lab-mode-card p{font-size:13px;color:#577188;line-height:1.6;margin:0}
.mp-lab-quality{background:#e2f1fc;border-radius:20px;padding:30px 36px;margin:32px 0 25px}
.mp-lab-quality .mp-lab-label{border-color:#bdd8e9;background:#fff;color:#255a83}
.mp-lab-quality h2{margin:15px 0 18px}
.mp-lab-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.mp-lab-steps>div{background:#fff;border:1px solid #d2e1ec;border-radius:13px;padding:18px}
.mp-lab-steps strong{font-size:14px;color:#185579}
.mp-lab-steps p{font-size:13px;color:#526e83;line-height:1.6;margin:9px 0 0}
.mp-lab-faq{padding:0 6px;margin:32px 0}
.mp-lab-faq details{background:#fff;border:1px solid #d8e5ed;border-radius:10px;margin:9px 0;overflow:hidden}
.mp-lab-faq summary{cursor:pointer;font-size:15px;padding:17px 20px;font-weight:750;color:#123b59}
.mp-lab-faq details[open] summary{background:#eaf4ff}
.mp-lab-faq details p{margin:0;padding:0 20px 19px;line-height:1.7;color:#506b80;font-size:14px}
.mp-lab-public-cta{margin:27px 0;text-align:center}
@media(max-width:900px){.mp-lab-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.mp-lab-page{padding:30px 0 49px}.mp-lab-public-hero{padding:26px 21px}.mp-lab-public-hero .button{display:block;text-align:center;margin:9px 0}.mp-lab-public-grid,.mp-lab-steps{grid-template-columns:1fr}.mp-lab-quality{padding:23px 18px}.mp-lab-mode-card{min-height:0}}
.mp-course-roadmap-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}
.mp-course-roadmap-list>span{display:flex;flex-direction:column;gap:8px;padding:14px 12px;background:#eef5fc;border:1px solid #d7e4f0;border-radius:11px;font-weight:800;font-size:13px;color:#173d5b}
.mp-course-roadmap-list small{font-weight:600;color:#5f7890;line-height:1.5}
.mp-course-roadmap p a{color:#175bab;text-decoration:underline;font-weight:800}
@media(max-width:850px){.mp-course-roadmap-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.mp-course-roadmap-list{grid-template-columns:1fr}}
