:root{--olive:#9ea500;--dark:#34391a;--ink:#24271c;--muted:#65695b;--paper:#f7f7ef;--line:#dedfd2;--white:#fff;--warm:#efe7d6;--blue:#e5edef}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.6}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button,.button{border:0;background:var(--dark);color:white;border-radius:13px;padding:13px 22px;font-weight:700;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none}button:hover,.button:hover{background:#50572a}button:disabled{opacity:.55;cursor:wait}button.secondary,.secondary{background:#e9ebd6;color:var(--dark)}button.quiet{background:transparent;color:var(--dark);padding:8px 12px}button.danger{background:#f7e6e2;color:#8b3224}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #5269a4;outline-offset:4px}.header{max-width:1260px;margin:auto;padding:26px 40px;display:flex;gap:24px;align-items:center;justify-content:space-between;background:#fff}.logo{width:214px;height:auto;display:block}.event{font-size:12px;letter-spacing:2px;font-weight:bold;text-align:right}.event span{display:block;letter-spacing:0;font-size:14px;font-weight:normal;color:var(--muted)}main{max-width:1180px;margin:auto;padding:38px 30px 60px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(38px,5.2vw,68px);line-height:1.07;letter-spacing:-2px;margin-bottom:24px}h2{font-size:30px;line-height:1.2;letter-spacing:-.7px}h3{font-size:22px;line-height:1.25;margin-bottom:12px}p{margin-bottom:20px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;text-transform:uppercase;color:#5b611f;margin-bottom:18px}.hero{border-radius:28px;background:#e9ecd1;padding:48px;display:grid;grid-template-columns:1.35fr 1fr;gap:45px;align-items:center;position:relative;overflow:hidden}.hero p{max-width:540px;color:#4c5136}.hero-art{position:relative;min-height:250px;display:grid;place-content:center}.badge{width:210px;height:210px;border-radius:50%;background:var(--olive);color:#22260e;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(7deg);box-shadow:15px 18px 0 #d5d9a5;font-size:57px;line-height:1.1;font-weight:bold}.badge small{font-size:13px;text-transform:uppercase;letter-spacing:2px;margin-top:12px}.floating{position:absolute;background:white;border-radius:12px;padding:10px 15px;font-size:14px;box-shadow:0 6px 20px #34391a0c;transform:rotate(-7deg);left:0;bottom:0}.floating.top{bottom:auto;top:0;left:auto;right:0;transform:rotate(-5deg)}.welcome{max-width:460px;margin:40px auto}.welcome h2{font-size:26px}label{display:block;font-size:14px;font-weight:bold;margin:16px 0 6px}input,textarea,select{width:100%;border:1px solid #bfc2b1;border-radius:10px;padding:13px 15px;color:var(--ink);background:white}textarea{min-height:125px;resize:vertical;line-height:1.5}input[type=checkbox]{width:auto}.login-row{display:flex;gap:10px}.hint{font-size:14px;color:var(--muted)}.error{color:#a12e23;font-weight:bold}.nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:26px}.nav .active{background:var(--dark);color:#fff}.nav button{background:transparent;color:var(--dark)}.team-chip{margin-left:auto;background:#e9ecd1;padding:5px 14px;border-radius:99px;font-size:13px;font-weight:bold}.section-top{margin:38px 0 22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.section-top h2{margin:0}.progress{background:#fff;border:1px solid var(--line);padding:22px 26px;border-radius:18px;margin-top:22px;display:flex;gap:24px;align-items:center}.progress strong{font-size:24px}.track{height:7px;border-radius:8px;flex:1;background:#e9ebdd;overflow:hidden}.track span{display:block;height:100%;background:var(--olive)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;align-items:flex-start}.card .symbol{height:54px;width:54px;border-radius:15px;background:#edf0d6;display:grid;place-content:center;font-size:30px;margin-bottom:20px}.card:nth-child(2n) .symbol{background:var(--warm)}.card:nth-child(3n) .symbol{background:var(--blue)}.card p{font-size:15px;color:var(--muted)}.card button{margin-top:auto}.status{font-size:12px;font-weight:bold;color:#5c641b;margin-bottom:13px}.person{font-weight:bold;font-size:16px}.place{font-size:14px;color:var(--muted);margin-bottom:20px}.detail{max-width:820px;margin:auto}.detail-title{font-size:46px}.visit{border-radius:20px;background:#e9ecd1;padding:28px;margin-bottom:24px}.visit p:last-child{margin-bottom:0}.step{display:inline-grid;place-content:center;width:30px;height:30px;background:var(--dark);color:white;border-radius:50%;font-size:15px;margin-right:10px}.form-card{padding:30px;border:1px solid var(--line);background:white;border-radius:20px;margin-bottom:20px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.upload{background:var(--paper);padding:20px;border-radius:14px;margin-top:20px}.upload input{background:white}.photo{width:100%;max-height:420px;object-fit:contain;border-radius:14px;margin-top:16px;background:#f0f0e7}details{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}summary{font-weight:bold;cursor:pointer}.portfolio-head{background:var(--dark);color:white;border-radius:25px;padding:44px;margin-bottom:28px}.portfolio-head h1{max-width:650px}.portfolio-head p{color:#e3e6cc;max-width:620px}.portfolio-head .eyebrow{color:#d9df84}.portfolio-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.entry{background:white;border-radius:20px;border:1px solid var(--line);overflow:hidden;break-inside:avoid}.entry-body{padding:28px}.entry img{width:100%;max-height:380px;object-fit:contain;background:#eeeee5;display:block}.entry blockquote{font-size:24px;line-height:1.45;margin:16px 0;white-space:pre-wrap;overflow-wrap:anywhere}.caption{font-size:14px;color:var(--muted)}.reflection{background:var(--warm)}.empty{background:white;border:1px dashed #b6bba0;border-radius:20px;padding:40px;max-width:700px}.empty h2{font-size:27px}.loading{text-align:center;padding:50px}.setup{max-width:650px}.setup .logo{margin-bottom:40px}.setup h1{font-size:44px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-grid label{margin-top:0}.span2{grid-column:1/-1}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90%;border-radius:14px;background:#252b17;color:white;padding:14px 24px;box-shadow:0 5px 30px #0002;display:none;z-index:30}#toast.show{display:block}footer{padding:24px;text-align:center;font-size:13px;color:var(--muted);border-top:1px solid var(--line)}.note{border-left:4px solid var(--olive);padding:12px 18px;background:#eef0df;font-size:15px}.print-title{display:none}[hidden]{display:none!important}@media(max-width:800px){.cards{grid-template-columns:1fr 1fr}.hero{padding:32px;gap:15px}.hero-art{min-height:200px}.badge{width:160px;height:160px;font-size:44px}.floating{font-size:11px}.header{padding:20px 25px}.logo{width:180px}h1{letter-spacing:-1px}}@media(max-width:560px){main{padding:24px 18px 40px}.header{padding:18px}.logo{width:145px}.event{font-size:10px;letter-spacing:1px}.event span{font-size:12px}.hero{padding:28px;grid-template-columns:1fr}.hero-art{display:none}.hero h1{font-size:43px}.cards,.portfolio-grid,.admin-grid{grid-template-columns:1fr}.span2{grid-column:auto}.nav{gap:2px}.nav button{padding:10px}.team-chip{margin-left:0}.section-top{align-items:flex-start;flex-direction:column;gap:10px}.progress{padding:18px;gap:12px;flex-wrap:wrap}.progress .hint{width:100%;margin:0}.track{min-width:90px}.detail-title{font-size:35px}.form-card,.visit{padding:23px}.portfolio-head{padding:28px}.portfolio-head h1{font-size:41px}.login-row{flex-direction:column}}@media print{body{background:white;font-size:12pt}.header{padding:0 0 15px}.header .logo{width:170px}.event{display:block}main{max-width:none;padding:0}.nav,.no-print,footer,#toast,#logout{display:none!important}.portfolio-head{background:#eef0df!important;color:#222;padding:24px;border:1px solid #b7bd89;print-color-adjust:exact}.portfolio-head p,.portfolio-head .eyebrow{color:#333}.portfolio-head h1{font-size:34pt}.portfolio-grid{display:block;columns:2;column-gap:18px}.entry{margin-bottom:18px;border-radius:8px}.entry-body{padding:18px}.entry blockquote{font-size:15pt}.entry img{max-height:230px}.reflection{print-color-adjust:exact}@page{size:A4;margin:16mm}}

.track progress{width:100%;height:7px;display:block;appearance:none;border:0;background:#e9ebdd}.track progress::-webkit-progress-bar{background:#e9ebdd}.track progress::-webkit-progress-value{background:var(--olive)}.track progress::-moz-progress-bar{background:var(--olive)}.reflection-form{margin-top:28px}@media print{.task-print .form-card,.task-print .nav{display:none}.task-print .visit{background:white;border:1px solid #bbb}.task-print .detail{max-width:none}}

.demo-banner{padding:12px 24px;background:#fff2c9;color:#51421a;text-align:center;font-size:13px}.demo-banner button{padding:3px 8px;font-size:12px;background:transparent;color:#51421a;text-decoration:underline}@media print{.demo-banner{display:none}}
/* Version 0.2: Entdeckermagazin */
:root{--paper:#fbfaf3;--coral:#f7b59d;--sky:#c9e9e9;--sun:#f6dc78;--lilac:#e3d7ef}
body{background:radial-gradient(ellipse at 5% 20%,#eaf0d888,transparent 45%),var(--paper)}
.hero{background:linear-gradient(125deg,#e9efd0 0%,#f2f1da 72%,#f8df9c 100%);border:1px solid #e1e6c5;box-shadow:0 12px 40px #34391a06}
.badge{border-radius:42% 58% 54% 46% / 50% 42% 58% 50%;animation:hello-sway 5s ease-in-out infinite}
.floating{border:1px solid #e5e8d6;box-shadow:4px 6px 0 #d9dcb0;animation:float-note 5s ease-in-out infinite}
.floating.top{background:#fff1c5;animation-delay:-2s}
.card{position:relative;border:1px solid #e0e3ce;border-top:6px solid #b8c878;box-shadow:0 7px 0 #e4e7d980;transition:transform .22s,box-shadow .22s}
.card:nth-child(4n+2){border-top-color:#edb496}.card:nth-child(4n+3){border-top-color:#91c8cd}.card:nth-child(4n){border-top-color:#bba5d4}
.card:hover{transform:translateY(-5px);box-shadow:0 12px 0 #e4e7d970}
.card .symbol{transform:rotate(-7deg);font-weight:bold;border:1px solid #34391a13}
.card:nth-child(2n) .symbol{transform:rotate(6deg)}
.status{border-radius:7px;background:#f0f3e7;padding:4px 8px;font-size:11px}
button,.button{transition:transform .16s,background .16s,box-shadow .16s}button:active,.button:active{transform:translateY(2px)}
.progress{background:#fffef7;border-style:dashed;border-color:#b7c18c}
.portfolio-head{position:relative;overflow:hidden;background:#eaf0ce;color:#293317;border:1px solid #d5dfb2;min-height:340px;padding:50px 290px 38px 44px;box-shadow:0 8px 0 #e4e8d5}
.portfolio-head::before{content:'';position:absolute;inset:auto -80px -190px auto;width:460px;height:400px;background:repeating-linear-gradient(-25deg,#bdcf80 0 38px,#cddd96 38px 76px);border-radius:50%;transform:rotate(-10deg);opacity:.7;pointer-events:none}
.portfolio-head h1{font-size:clamp(40px,5.5vw,68px);max-width:700px;position:relative;z-index:1}
.portfolio-head p{color:#4b5738;position:relative;z-index:1}
.portfolio-head .eyebrow{color:#586828;position:relative;z-index:1}
.cover-date{font-size:14px;position:relative;z-index:1}
.cover-sticker{position:absolute;right:50px;top:80px;width:170px;height:170px;display:grid;place-content:center;text-align:center;font-size:29px;line-height:1.15;font-weight:bold;background:var(--sun);color:#4f4116;border:3px solid #fff8db;outline:2px dashed #8e792e;border-radius:50%;transform:rotate(10deg);box-shadow:7px 8px 0 #6b772719}
.cover-doodles{position:absolute;inset:0;pointer-events:none;color:#697a32}
.cover-doodles span{position:absolute;font-size:50px;line-height:1;right:30px;top:12px;transform:rotate(10deg)}.cover-doodles span:nth-child(2){right:235px;top:55px;font-size:30px;color:#a86645}.cover-doodles span:nth-child(3){right:230px;top:215px;font-size:60px;transform:rotate(15deg)}
.portfolio-tokens{display:flex;gap:9px;flex-wrap:wrap;position:relative;z-index:1;margin-top:25px}
.portfolio-tokens span{padding:5px 11px;border-radius:9px;background:#fffdf1;color:#46512c;font-size:12px;font-weight:bold;border:1px solid #d8dfbf}
.portfolio-tokens span:nth-child(2){background:#e2f1ef}.portfolio-tokens span:nth-child(3){background:#f9e4da}
.portfolio-grid{gap:27px;align-items:start;padding-top:6px}
.entry{position:relative;overflow:visible;border:1px solid #e2decf;box-shadow:3px 6px 0 #e7e3d466;animation:card-arrive .45s ease-out both;background:#fffef9}
.entry:nth-child(2){animation-delay:.07s}.entry:nth-child(3){animation-delay:.12s}.entry:nth-child(4){animation-delay:.16s}
.entry-number{position:absolute;right:20px;top:-13px;background:var(--sun);color:#58451c;padding:3px 13px;border:1px solid #d6bd68;font-size:18px;font-weight:bold;transform:rotate(6deg);z-index:2;border-radius:5px}
.entry:nth-child(4n+2) .entry-number{background:var(--coral);border-color:#dc9e87;transform:rotate(-6deg)}.entry:nth-child(4n+3) .entry-number{background:var(--sky);border-color:#98cacc}.entry:nth-child(4n) .entry-number{background:var(--lilac);border-color:#c3add8}
.entry-body{padding:32px 28px 26px;position:relative}
.entry .eyebrow{font-size:10px;letter-spacing:1px;padding-right:20px;color:#62664c;margin-bottom:18px}
.entry-team{background:#eaf0d5;border-radius:99px;padding:5px 9px;display:inline-block;margin-right:3px;color:#455324;letter-spacing:0}
.entry:nth-child(2n) .entry-team{background:#dfeeee;color:#31575a}
.entry h2{font-size:27px;line-height:1.16;margin-bottom:12px}
.entry blockquote{font-size:25px;line-height:1.5;position:relative;margin-top:22px}
.text-entry{background:#fff6d9}.text-entry:nth-child(4n+2){background:#fce9df}.text-entry:nth-child(4n+3){background:#e8f3f1}.text-entry:nth-child(4n){background:#f0e8f8}
.text-entry blockquote::before{content:'“';font-family:Georgia,serif;display:block;font-size:88px;line-height:.7;color:#8e793c;opacity:.4;margin-top:28px;margin-bottom:6px}
.entry.has-photo img{border-radius:16px 16px 0 0;max-height:450px;background:#f0f0e4;padding:12px 12px 0;object-fit:contain}
.entry.has-photo::after{content:'';position:absolute;top:-8px;left:30%;width:85px;height:25px;transform:rotate(-4deg);background:#e6dcacc9;border-left:1px dashed #bfb689;border-right:1px dashed #bfb689;z-index:2;pointer-events:none}
.entries-many>.entry:first-child{grid-column:1/-1}.entries-many>.has-photo:first-child{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;background:#fffef9}.entries-many>.has-photo:first-child img{border-radius:16px 0 0 16px;padding:15px;max-height:480px}.entries-many>.text-entry:first-child .entry-body{max-width:830px;padding:42px}.entries-many>.text-entry:first-child blockquote{font-size:32px}
.entry.reflection{background:#e8eed7;border:1px dashed #a7b77e}.entry.reflection:nth-child(2n){background:#e9e4f2;border-color:#b7a8cd}.reflection h2{padding-right:38px}.memory-star{position:absolute;right:22px;top:23px;font-size:42px;line-height:1;color:#85973d;transform:rotate(12deg)}.reflection blockquote{font-size:23px}
.new-station{border:2px dashed #abbc6c;background:#f4f7e8;scroll-margin-top:20px}.new-station summary{font-size:23px;color:#435123}.new-station[open] summary{margin-bottom:20px}.station-count{display:inline-flex;font-size:17px;background:#e7edd3;border-radius:50%;width:34px;height:34px;align-items:center;justify-content:center;vertical-align:middle}.existing-station[open]>summary{margin-bottom:24px}.station-form .error:empty{display:none}
#toast.show{animation:toast-pop .28s ease-out}
@keyframes hello-sway{0%,100%{transform:rotate(5deg)}50%{transform:rotate(9deg)}}
@keyframes float-note{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes card-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes toast-pop{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(max-width:800px){.portfolio-head{padding:35px 210px 32px 30px}.cover-sticker{right:28px;width:140px;height:140px;font-size:25px;top:95px}.cover-doodles span:nth-child(2){right:170px}.cover-doodles span:nth-child(3){right:150px}.entries-many>.has-photo:first-child{display:block}.entries-many>.has-photo:first-child img{border-radius:16px 16px 0 0}.entries-many>.text-entry:first-child .entry-body{padding:30px}}
@media(max-width:560px){.portfolio-head{padding:30px 24px;min-height:0}.portfolio-head h1{font-size:42px;padding-right:20px}.portfolio-head p{font-size:16px}.cover-sticker{position:relative;inset:auto;margin:24px 10px 20px auto;width:105px;height:105px;font-size:19px;float:right}.cover-date{display:block;clear:both}.cover-doodles span{font-size:35px;right:14px}.cover-doodles span:nth-child(2),.cover-doodles span:nth-child(3){display:none}.portfolio-tokens{gap:6px;margin-top:18px}.portfolio-tokens span{font-size:11px;padding:4px 8px}.portfolio-grid{gap:25px}.entry-body{padding:28px 24px}.entry h2{font-size:26px}.entry blockquote,.entries-many>.text-entry:first-child blockquote{font-size:23px}.entries-many>.entry:first-child{grid-column:auto}.entries-many>.text-entry:first-child .entry-body{padding:28px 24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.card:hover{transform:none}}
@media print{body{background:white}.portfolio-head{padding:25px!important;min-height:0;box-shadow:none;background:#eef2d9!important;color:#222}.portfolio-head h1{font-size:34pt!important;padding:0}.portfolio-head::before,.cover-sticker,.cover-doodles,.entry-number,.memory-star,.entry.has-photo::after{display:none!important}.portfolio-tokens{margin-top:15px}.portfolio-grid{display:block!important;columns:2;padding-top:0}.entry,.entries-many>.has-photo:first-child{display:block!important;transform:none!important;animation:none!important;box-shadow:none;overflow:hidden;margin:0 0 18px;break-inside:avoid}.entry.has-photo img,.entries-many>.has-photo:first-child img{padding:8px;max-height:230px;border-radius:0}.entry-body,.entries-many>.text-entry:first-child .entry-body{padding:18px!important}.entry blockquote,.entries-many>.text-entry:first-child blockquote,.reflection blockquote{font-size:15pt!important}.entry h2{font-size:19pt}.text-entry blockquote::before{font-size:45px;margin-top:12px}.text-entry,.reflection{print-color-adjust:exact}.entry .eyebrow{padding:0}}
/* Version 0.3: Fotostapel und eigene Druckseiten */
.portfolio-grid{gap:42px 35px;padding:15px 9px 30px}.entry{isolation:isolate;transform:rotate(-1deg);animation:stack-arrive .4s ease-out both}.entry:nth-child(3n+2){transform:rotate(1.2deg);margin-top:20px}.entry:nth-child(3n){transform:rotate(-.6deg);margin-top:7px}.entry::before{content:'';position:absolute;inset:5px -5px -5px 5px;background:#f3eedc;border:1px solid #d9d4c3;border-radius:18px;transform:rotate(2deg);z-index:-1;box-shadow:2px 4px 0 #ded8c244}.entry:nth-child(2n)::before{transform:rotate(-2deg);background:#ece9f1}.entry-body{background:inherit;border-radius:18px}.entries-many>.has-photo:first-child{display:block}.entries-many>.entry:first-child{grid-column:auto}.entries-many>.text-entry:first-child .entry-body{padding:32px 28px 26px}.entries-many>.text-entry:first-child blockquote{font-size:25px}.entry.has-photo::after{display:none}
.photo-stack{position:relative;padding:27px 20px 12px;background:#eeeada;border-radius:18px 18px 0 0;display:grid;grid-template-columns:1fr;gap:3px}.stack-photo{position:relative;margin:0;background:white;padding:9px 9px 5px;border:1px solid #dedacc;box-shadow:2px 5px 12px #34391a17;transform:rotate(-2deg);z-index:1}.stack-photo:nth-of-type(2n){transform:rotate(2deg);margin:0 2px 0 10px;z-index:2}.stack-photo:nth-of-type(3n){transform:rotate(-1deg);margin:0 10px 0 2px}.multi-photo .stack-photo+.stack-photo{margin-top:-18px}.entry.has-photo .stack-photo img,.entries-many>.has-photo:first-child .stack-photo img{border-radius:0;display:block;width:100%;height:210px;object-fit:contain;background:#faf9f3;padding:0;max-height:none}.stack-photo figcaption{font-size:11px;color:#6b6d5f;text-align:right;line-height:1.4;padding-top:5px}.stack-counter{position:absolute;top:7px;left:24px;font-size:11px;font-weight:bold;color:#62664b;z-index:5}.multi-photo{grid-template-columns:1fr 1fr;gap:14px 0;align-items:start}.multi-photo .stack-photo:nth-of-type(2){margin-top:24px}.multi-photo .stack-photo+.stack-photo{margin-top:0}.multi-photo .stack-photo:nth-of-type(2n){margin-top:23px}.entry.has-photo .multi-photo .stack-photo img{height:150px}.saved-photo-grid,.selected-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.saved-photo-grid figure,.selected-photos figure{margin:0;background:white;padding:7px;border-radius:10px;border:1px solid var(--line);overflow:hidden}.saved-photo-grid img,.selected-photos img{width:100%;height:100px;object-fit:contain;display:block}.saved-photo-grid button{font-size:12px;padding:7px 3px}.selected-photos figcaption{font-size:11px;overflow-wrap:anywhere}.selected-photos:empty,.saved-photo-grid:empty{display:none}
#print-portfolio{display:none}@keyframes stack-arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(max-width:560px){.portfolio-grid{padding:12px 6px 28px;gap:35px}.entry:nth-child(3n+2),.entry:nth-child(3n){margin-top:0}.entry.has-photo .multi-photo .stack-photo img{height:130px}.photo-stack{padding:25px 12px 10px}.saved-photo-grid,.selected-photos{grid-template-columns:1fr 1fr}}
@media print{body.portfolio-print>*:not(#print-portfolio){display:none!important}body.portfolio-print #print-portfolio{display:block!important}body.portfolio-print{background:white;color:#252a1b;font-family:Arial,Helvetica,sans-serif}body.portfolio-print .print-page{position:relative;box-sizing:border-box;height:266mm;width:180mm;margin:0;padding:9mm 5mm 13mm;break-after:page;page-break-after:always;overflow:visible}body.portfolio-print .print-page:last-child{break-after:auto;page-break-after:auto}.print-entry{background:#fff5d9!important;border:1px solid #ded2a7;border-radius:4mm;padding:7mm;transform:rotate(-.6deg);print-color-adjust:exact}.print-page:nth-child(2n+1) .print-entry{background:#e8f1ed!important;transform:rotate(.6deg)}.print-entry h2,.print-memory h2{font-size:20pt;line-height:1.15;overflow-wrap:anywhere;margin:3mm 0}.print-entry .eyebrow,.print-memory .eyebrow{font-size:9pt;margin:0}.print-person{font-size:9pt;color:#586044;margin:0 0 4mm;overflow-wrap:anywhere}.print-entry blockquote,.print-memory blockquote{font-size:11pt;line-height:1.4;margin:4mm 0;white-space:pre-wrap;overflow-wrap:anywhere}.print-photos{display:grid;grid-template-columns:1fr 1fr;gap:4mm;padding:3mm 0}.print-photos figure{margin:0;background:white;padding:3mm;border:1px solid #d7d2c6;transform:rotate(-1.2deg);box-shadow:1mm 1mm 0 #ddd5ba}.print-photos figure:nth-child(2){transform:rotate(1.2deg);margin-top:3mm}.print-photos img{display:block;width:100%;height:83mm;object-fit:contain;background:#faf9f2}.print-photos figcaption{font-size:8pt;text-align:right;padding-top:2mm}.print-caption{font-size:9pt;line-height:1.3;overflow-wrap:anywhere;margin:3mm 0 0}.print-footer{position:absolute;bottom:3mm;left:5mm;right:5mm;font-size:8pt;color:#6a6f5b;border-top:1px solid #d6dcc4;padding-top:2mm}.print-footer span{float:right}.print-cover{background:#eef2d8!important;border-radius:5mm;print-color-adjust:exact}.print-logo{width:55mm;height:auto;margin-bottom:22mm}.print-cover h1{font-size:36pt;line-height:1.1;overflow-wrap:anywhere;letter-spacing:-1px;margin:5mm 0 10mm}.print-cover p{font-size:13pt;line-height:1.5}.print-badge{background:#f5dc78!important;border:2px dashed #9f8f46;border-radius:50%;width:47mm;height:47mm;display:flex;flex-direction:column;justify-content:center;text-align:center;font-size:21pt;line-height:1.1;font-weight:bold;transform:rotate(9deg);margin:13mm 0 15mm auto;print-color-adjust:exact}.print-cover .print-date{font-size:11pt}.print-memory{background:#e8eed7!important;border:1px dashed #a7b77e;border-radius:4mm;padding:7mm;margin:4mm 0 12mm;transform:rotate(-.7deg);print-color-adjust:exact}.print-memory:nth-child(2){background:#eee4f4!important;transform:rotate(.7deg)}@page{size:A4;margin:15mm}}
/* Version 0.4: Bildbeschreibungen und Teamvorstellung */
.photo-description{display:block;text-align:left;font-size:13px;line-height:1.45;color:#424936;white-space:pre-wrap;overflow-wrap:anywhere;padding:5px 2px}.photo-index{display:block}.saved-photo-grid textarea,.selected-photos textarea{min-height:95px;padding:9px;font-size:13px}.saved-photo-grid label,.selected-photos label{font-size:12px;margin:10px 0 0}.saved-photo-grid{grid-template-columns:1fr 1fr}.team-section{margin:35px 0}.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.member-card{background:#fffdf4;border:1px solid #d9dec9;border-radius:20px;box-shadow:4px 6px 0 #e3e8ce;overflow:hidden;transform:rotate(-.7deg)}.member-card:nth-child(2n){transform:rotate(.8deg);background:#eaf1ee}.member-portrait{padding:20px 20px 0}.member-portrait img{display:block;width:100%;height:220px;object-fit:contain;background:white;border:8px solid white;box-shadow:1px 3px 7px #0001}.member-avatar{width:140px;height:140px;display:grid;place-content:center;font-size:65px;font-weight:bold;border-radius:50%;background:#e2e9bd;color:#526224;margin:12px auto}.member-copy{padding:22px}.member-copy h3{font-size:28px;margin:15px 0 10px;overflow-wrap:anywhere}.member-copy p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.member-preview{display:block;width:100%;height:160px;object-fit:contain;background:white;margin-top:12px}.member-form label{font-size:14px}.member-form textarea{min-height:100px}.member-copy .actions{gap:0}.member-copy .actions button{font-size:12px}.add-member{margin-top:25px;border-style:dashed}.portfolio-team{margin:35px 0 48px}.team-hero h1{font-size:clamp(42px,5vw,65px)}
@media(max-width:800px){.member-grid{grid-template-columns:1fr 1fr}.nav{gap:0}.nav button{padding:10px 12px}}@media(max-width:560px){.member-grid{grid-template-columns:1fr}.saved-photo-grid{grid-template-columns:1fr}.member-portrait img{height:240px}.member-copy .member-form input{min-width:0}}
@media print{.print-photo-description{display:block;text-align:left;font-size:9pt;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:2mm}.print-photos img{height:70mm}.print-team-page>h2{font-size:26pt;margin:4mm 0 8mm}.print-team-grid{display:grid;grid-template-columns:1fr 1fr;gap:7mm}.print-member{padding:4mm;border:1px solid #c8d0a4;background:#f0f3e1!important;border-radius:3mm;print-color-adjust:exact;transform:rotate(-.5deg);break-inside:avoid}.print-member:nth-child(2n){background:#e8f0ed!important;transform:rotate(.5deg)}.print-member img{display:block;width:100%;height:52mm;object-fit:contain;background:white;margin-bottom:3mm}.print-member>span{font-size:8pt;color:#5b6940}.print-member h3{font-size:16pt;margin:1mm 0 2mm;overflow-wrap:anywhere}.print-member p{font-size:9pt;line-height:1.3;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.print-avatar{height:52mm;display:flex;align-items:center;justify-content:center;background:#e4eac7;font-size:45pt;color:#677738}}

@media print{.print-member img,.print-avatar{height:85mm}}

/* Sichtbare Bildaktionen */
.photo-delete{font-size:13px!important;padding:8px 12px!important;border:1px solid #d4a59b!important;border-radius:9px;min-height:38px;margin-top:9px}.stack-photo>.photo-delete{width:100%}.selected-photos button{font-size:12px;padding:8px;margin-top:10px;width:100%}.clear-member-photo{margin-top:10px;font-size:13px}.saved-photo-grid .photo-delete{width:100%}@media print{.photo-delete,.clear-member-photo,[data-remove-selected]{display:none!important}}
