:root{--navy:#06294b;--blue:#0797e5;--green:#71b91c;--red:#ed2444;--cream:#fff8ed;--ink:#092846;--muted:#637180}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fffaf3}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}.wrap{max-width:1240px;margin:auto;padding:0 22px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0}.brand{font-weight:900;font-size:36px;letter-spacing:-2px;color:var(--navy)}.brand b{color:var(--blue)}.brand em{color:var(--green);font-style:normal}.langs{display:flex;gap:7px}.langs a{padding:7px 10px;background:#fff;border:1px solid #dbe5eb;border-radius:999px;font-size:13px;font-weight:700}.hero{padding:42px 0 56px;background:linear-gradient(135deg,#fff8ee,#ffeef2 54%,#eef8ff)}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:38px;align-items:center}.hero h1{font-size:clamp(45px,7vw,86px);line-height:.95;margin:0 0 22px;letter-spacing:-4px}.hero h1 span{color:var(--red);font-family:cursive}.hero p{font-size:22px;line-height:1.45}.pill{display:inline-flex;gap:9px;align-items:center;background:#fff;border-radius:999px;padding:10px 15px;box-shadow:0 4px 18px #0001;margin:6px 8px 6px 0}.btn{display:inline-block;border:0;cursor:pointer;border-radius:999px;padding:14px 22px;font-weight:800;background:var(--red);color:#fff;box-shadow:0 8px 20px #ed244433}.btn.secondary{background:var(--navy)}.hero-card{background:#fff;border-radius:28px;padding:25px;box-shadow:0 24px 50px #77334122}.hero-card .sample{min-height:330px;border-radius:22px;padding:28px;display:flex;flex-direction:column;justify-content:center;text-align:center;background:linear-gradient(145deg,#fff,#ffe0e8);border:1px solid #f5cad5}.hero-card .bigheart{font-size:92px;color:var(--red)}.section{padding:54px 0}.section h2{text-align:center;font-size:38px;margin:0 0 12px}.sub{text-align:center;color:var(--muted);max-width:760px;margin:0 auto 28px;line-height:1.5}.tpl-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.tpl-card,.tpl-choice{border:0;min-height:150px;border-radius:20px;padding:15px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 8px 22px #0001;text-align:left;color:#17334e;position:relative;overflow:hidden}.tpl-card b,.tpl-choice b{font-size:17px}.tpl-icon{font-size:42px}.love{background:linear-gradient(145deg,#ffd6df,#fff5f7)}.birthday{background:linear-gradient(145deg,#ffe5a6,#fff7db)}.wedding{background:linear-gradient(145deg,#f8e7ef,#fff)}.silver{background:linear-gradient(145deg,#dce4eb,#fff)}.gold{background:linear-gradient(145deg,#f4d889,#fff7d9)}.friend{background:linear-gradient(145deg,#caeaff,#fff)}.thanks{background:linear-gradient(145deg,#e5f3c5,#fff)}.easter{background:linear-gradient(145deg,#f8e1ff,#fff)}.christmas{background:linear-gradient(145deg,#cfe6d3,#fff)}.getwell{background:linear-gradient(145deg,#ffdfe8,#fff)}.baby{background:linear-gradient(145deg,#dff2ff,#fff0f8)}.school{background:linear-gradient(145deg,#ffe1a6,#e8f3ff)}.dino{background:linear-gradient(145deg,#d4efbf,#fff2c9)}.unicorn{background:linear-gradient(145deg,#ead8ff,#ffddec)}.space{background:linear-gradient(145deg,#182550,#785cc3);color:white}.football{background:linear-gradient(145deg,#d8f2cb,#fff)}.animals{background:linear-gradient(145deg,#f0dfc5,#fff6e8)}.travel{background:linear-gradient(145deg,#ccecff,#fff0ce)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.step{background:#fff;border-radius:20px;padding:20px;text-align:center;box-shadow:0 8px 22px #0001}.step .num{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#edf7ff;font-weight:900;font-size:21px}.pricebox{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:760px;margin:28px auto}.price{background:#fff;border:2px solid #e2edf4;border-radius:24px;padding:26px;text-align:center}.price strong{font-size:42px}.price.featured{border-color:var(--green);box-shadow:0 12px 30px #71b91c22}.footer{padding:32px 0;text-align:center;color:#6c7781}
.form-shell{max-width:1100px;margin:18px auto 50px;padding:0 20px}.panel{background:#fff;border-radius:24px;padding:26px;box-shadow:0 12px 34px #0001;margin-bottom:20px}.panel h1,.panel h2{margin-top:0}.field{display:block;margin:14px 0}.field span{display:block;font-weight:800;margin-bottom:7px}.field input,.field textarea{width:100%;border:1px solid #cfdde5;border-radius:14px;padding:13px 14px;background:#fbfdfe}.field textarea{min-height:170px;resize:vertical}.tpl-select{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.tpl-choice{cursor:pointer;min-height:124px;border:3px solid transparent}.tpl-choice.selected{border-color:#0797e5;box-shadow:0 0 0 3px #0797e522}.tpl-choice input{position:absolute;opacity:0}.upload-box{border:2px dashed #b9cbd7;border-radius:18px;padding:22px;text-align:center;background:#fafdff}.upload-box input{max-width:100%}.img-preview{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:14px}.img-preview div{aspect-ratio:1/1;background:#eff4f7;border-radius:12px;overflow:hidden;display:grid;place-items:center;color:#84929d;font-size:12px}.img-preview img{width:100%;height:100%;object-fit:cover}.notice{background:#eef8ff;border-left:5px solid var(--blue);padding:14px 16px;border-radius:12px;line-height:1.45}.error{background:#fff0f2;border-left-color:var(--red)}
.greeting-wrap{max-width:1000px;margin:18px auto 60px;padding:0 18px}.greeting{border-radius:30px;padding:34px;box-shadow:0 15px 42px #0002}.greeting h1{text-align:center;font-family:cursive;font-size:clamp(35px,6vw,64px);margin:4px 0 24px}.message{max-width:760px;margin:0 auto 26px;background:#ffffffcc;padding:24px;border-radius:20px;font-size:19px;line-height:1.65;white-space:pre-wrap}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.photo-grid a{display:block;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#ffffff88}.photo-grid img{width:100%;height:100%;object-fit:cover;display:block}.tools{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0}.meta{text-align:center;color:#64737e}.result{display:grid;grid-template-columns:320px 1fr;gap:28px;align-items:center}.qrbox{background:#fff;padding:18px;border-radius:20px;box-shadow:0 8px 22px #0001;text-align:center}.qrbox canvas{max-width:100%;height:auto}.urlbox{display:flex;gap:8px}.urlbox input{flex:1;min-width:0;border:1px solid #ccd9e1;border-radius:12px;padding:12px}.small{font-size:13px;color:#687884}
@media(max-width:950px){.tpl-grid,.tpl-select{grid-template-columns:repeat(3,1fr)}.hero-grid,.result{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.topbar{align-items:flex-start;flex-direction:column}.hero{padding-top:25px}.hero h1{letter-spacing:-2px}.tpl-grid,.tpl-select{grid-template-columns:1fr 1fr}.steps,.pricebox{grid-template-columns:1fr}.img-preview{grid-template-columns:repeat(3,1fr)}.greeting{padding:20px}.message{padding:18px;font-size:17px}.photo-grid{grid-template-columns:1fr 1fr}.tools .btn{width:100%;text-align:center}}
@media print{.topbar,.tools,.meta,.footer,.no-print{display:none!important}body{background:white}.greeting-wrap{max-width:none;margin:0;padding:0}.greeting{box-shadow:none;border-radius:0;min-height:100vh}.message{background:#ffffffdd}.photo-grid{gap:8px}.photo-grid a{break-inside:avoid}}

/* Update 03 – direkte Versandwege + verfeinerte Vorlagen */
.share-panel{margin-top:26px;padding-top:24px;border-top:1px solid #e6edf1}.share-panel h2{margin-bottom:5px}.share-hint{margin-top:0}.share-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.share-btn{border:0;border-radius:16px;padding:16px 18px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:900;cursor:pointer;color:#fff;min-height:58px;box-shadow:0 8px 20px #00000015}.share-btn span{font-size:19px}.share-btn.whatsapp{background:#1fa855}.share-btn.messenger{background:linear-gradient(135deg,#0878ff,#8845f4)}.share-btn.email{background:#0b385f}.mini-link{border:0;background:transparent;color:var(--navy);font-weight:800;text-decoration:underline;cursor:pointer;padding:5px 8px}

/* Die Vorlagen bleiben leichtgewichtig: gemeinsame CSS-Dekoration statt pro Gruß gespeicherter Grafiken. */
.greeting{position:relative;overflow:hidden;border:1px solid #ffffffaa}.greeting:before,.greeting:after{content:"";position:absolute;pointer-events:none;z-index:0}.greeting:before{width:240px;height:240px;border-radius:50%;right:-90px;top:-100px;background:#ffffff45}.greeting:after{width:180px;height:180px;border-radius:50%;left:-75px;bottom:-85px;background:#ffffff35}.greeting> *{position:relative;z-index:1}.greeting h1{text-shadow:0 2px 0 #ffffff80}.greeting.love{background:radial-gradient(circle at 12% 15%,#fff7f9 0 5%,transparent 6%),linear-gradient(145deg,#ffc9d7,#ffe8ee 50%,#fff7f9)}.greeting.love h1:before,.greeting.love h1:after{content:"♥";color:#d92f55;font-size:.6em;margin:0 .24em}.greeting.birthday{background:linear-gradient(145deg,#ffe09a,#fff4c9 48%,#ffe8f1)}.greeting.wedding{background:linear-gradient(145deg,#f7e3ec,#fff 50%,#f5efe8)}.greeting.silver{background:linear-gradient(145deg,#cfd8e0,#f9fbfc 52%,#dce3e8)}.greeting.gold{background:linear-gradient(145deg,#eccb66,#fff3c4 50%,#f2df9c)}.greeting.friend{background:linear-gradient(145deg,#afe0ff,#eefaff 54%,#fff4d5)}.greeting.thanks{background:linear-gradient(145deg,#d9efaf,#f8ffe9 50%,#fff4dc)}.greeting.easter{background:linear-gradient(145deg,#ead0ff,#fff0f7 52%,#e6f6c8)}.greeting.christmas{background:linear-gradient(145deg,#b8dcc2,#edf7ef 52%,#f8e9d2)}.greeting.getwell{background:linear-gradient(145deg,#ffd2df,#fff1f5 54%,#def4e2)}.greeting.baby{background:linear-gradient(145deg,#cdeaff,#fff0f7 50%,#fff7df)}.greeting.school{background:linear-gradient(145deg,#ffd58a,#e4f2ff 54%,#fff)}.greeting.dino{background:linear-gradient(145deg,#c9e8ae,#f5f3bd 54%,#e1f4d4)}.greeting.unicorn{background:linear-gradient(145deg,#dfc8ff,#ffd6ea 48%,#dff3ff)}.greeting.space{background:radial-gradient(circle at 12% 18%,#fff 0 2px,transparent 3px),radial-gradient(circle at 75% 28%,#fff 0 1.5px,transparent 2.5px),linear-gradient(145deg,#17214d,#493e93 55%,#6f55ba);color:white}.greeting.space .message{color:#092846}.greeting.football{background:linear-gradient(145deg,#bee8ae,#f7fff3 48%,#e7f1e2)}.greeting.animals{background:linear-gradient(145deg,#ecd4b5,#fff4e7 50%,#e9efd5)}.greeting.travel{background:linear-gradient(145deg,#bee7ff,#eefaff 48%,#ffe8bc)}

@media(max-width:760px){.share-buttons{grid-template-columns:1fr}.share-btn{width:100%}}

/* Update 04 – Bilder nacheinander hinzufügen und Briefvorlagen aufwerten */
.photo-count{display:inline-block;margin-top:12px;padding:7px 12px;border-radius:999px;background:#eef7fb;color:#31566d;font-weight:800;font-size:13px}.photo-slot{position:relative;border:2px solid transparent}.photo-slot.empty{border:2px dashed #d4e0e6;background:#f6f9fa}.photo-slot.filled{box-shadow:0 5px 14px #0002}.photo-remove{position:absolute;right:6px;top:6px;width:30px;height:30px;border:0;border-radius:50%;background:#b71934;color:#fff;font-size:23px;line-height:26px;font-weight:900;cursor:pointer;box-shadow:0 3px 8px #0004}.slot-number{position:absolute;left:6px;bottom:6px;background:#ffffffdd;color:#17334e;border-radius:999px;min-width:25px;height:25px;display:grid;place-items:center;font-weight:900;font-size:12px}
/* Briefcharakter: dezenter Innenrahmen und Anlass-Signet, ohne zusätzliche Bilddateien pro Gruß. */
.greeting{outline:1px solid #ffffff88;outline-offset:-12px}.greeting h1{padding-top:12px}.greeting .message{border:1px solid #ffffffcc;box-shadow:0 8px 24px #0000000d}.greeting.love:after{content:"♥  ♥  ♥";font-size:34px;color:#cf3151;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.birthday:after{content:"🎈  ✦  🎉";font-size:31px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.wedding:after{content:"♡  ✿  ♡";font-size:34px;color:#a77b8b;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.silver:after{content:"25 · ♡ · 25";font-size:26px;color:#71808b;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.gold:after{content:"50 · ♡ · 50";font-size:26px;color:#8d6c10;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.friend:after{content:"☀  ♡  ☀";font-size:30px;color:#337da4;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.thanks:after{content:"✿  Danke  ✿";font-size:25px;color:#66832c;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.easter:after{content:"🐰  ✿  🥚";font-size:29px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.christmas:after{content:"★  🎄  ★";font-size:29px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.getwell:after{content:"✿  ♡  ✿";font-size:30px;color:#5b9b66;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.baby:after{content:"☁  ★  ♡";font-size:30px;color:#6b96b1;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.school:after{content:"✎  ★  ABC";font-size:26px;color:#a86b19;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.dino:after{content:"🦕  🌿  🦖";font-size:30px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.unicorn:after{content:"★  🦄  ✦";font-size:30px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.space:after{content:"★  🚀  ✦";font-size:30px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.football:after{content:"⚽  ★  ⚽";font-size:30px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.animals:after{content:"🐾  ♡  🐾";font-size:30px;left:28px;bottom:18px;width:auto;height:auto;background:none}.greeting.travel:after{content:"✈  ♡  ☀";font-size:30px;color:#397d9d;left:28px;bottom:18px;width:auto;height:auto;background:none}

/* UPDATE 05 – große Briefvorlagen-Bibliothek */
.tpl-choice{isolation:isolate;transition:transform .16s ease,box-shadow .16s ease}.tpl-choice:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0002}.tpl-choice:before,.tpl-choice:after{content:"";position:absolute;z-index:-1;pointer-events:none}.tpl-choice:before{width:80px;height:80px;border:2px solid #ffffffaa;border-radius:50%;right:-25px;top:-25px}.tpl-choice:after{width:55px;height:55px;background:#ffffff35;transform:rotate(35deg);left:-20px;bottom:-25px}.tpl-choice .tpl-icon{filter:drop-shadow(0 2px 1px #fff8)}
.pirate{background:linear-gradient(145deg,#c7ad78,#f7e7ba 48%,#8fb9c2)}.princess{background:linear-gradient(145deg,#f4c8f1,#ffe5f7 50%,#e2d5ff)}.vehicles{background:linear-gradient(145deg,#bfe1f4,#f6d27f 52%,#eaf4f8)}.nature{background:linear-gradient(145deg,#b8d9ad,#eff7d5 50%,#d7e8c7)}.flowers{background:linear-gradient(145deg,#ffd7e4,#fff2d8 48%,#e1f2dc)}.mother{background:linear-gradient(145deg,#ffcbdc,#fff0f5 52%,#f7e4c5)}.father{background:linear-gradient(145deg,#bcd7e9,#eef6fb 52%,#d8e4cf)}.newyear{background:linear-gradient(145deg,#182b4d,#66538f 55%,#c79b45);color:#fff}.invitation{background:linear-gradient(145deg,#f0dfc6,#fffaf0 50%,#d9e9e8)}.memory{background:linear-gradient(145deg,#d9e2e7,#f8f5ed 52%,#d8d2c5)}.music{background:linear-gradient(145deg,#cfd1ff,#f3d8f7 52%,#d9efff)}.party{background:linear-gradient(145deg,#ffd77a,#ffb9d1 48%,#a8ddf7)}
.greeting.pirate{background:linear-gradient(145deg,#9f8758,#f4dfaa 52%,#91bdc6)}.greeting.princess{background:linear-gradient(145deg,#efbde9,#ffe8f8 50%,#ddd0ff)}.greeting.vehicles{background:linear-gradient(145deg,#b7dff3,#f5d176 52%,#edf7fb)}.greeting.nature{background:linear-gradient(145deg,#a9d09d,#eff7d2 50%,#d4e6c3)}.greeting.flowers{background:linear-gradient(145deg,#ffcddd,#fff0d2 48%,#dcf0d8)}.greeting.mother{background:linear-gradient(145deg,#ffc4d8,#fff0f5 52%,#f5dfbd)}.greeting.father{background:linear-gradient(145deg,#aecfe4,#edf6fb 52%,#d4e2ca)}.greeting.newyear{background:radial-gradient(circle at 20% 15%,#fff 0 2px,transparent 3px),radial-gradient(circle at 78% 22%,#ffd86b 0 2px,transparent 3px),linear-gradient(145deg,#142747,#4d417a 58%,#9f7735);color:#fff}.greeting.newyear .message{color:#17334e}.greeting.invitation{background:linear-gradient(145deg,#ead7b9,#fffaf0 50%,#d5e7e6)}.greeting.memory{background:linear-gradient(145deg,#d1dde2,#f7f4eb 52%,#d3cec1)}.greeting.music{background:linear-gradient(145deg,#c5c8ff,#efd1f4 52%,#d3ebff)}.greeting.party{background:linear-gradient(145deg,#ffd166,#ffafd0 48%,#9fdaf6)}
.greeting.pirate:after{content:"☠  ⚓  🏴‍☠️"}.greeting.princess:after{content:"✦  👑  ✦"}.greeting.vehicles:after{content:"🚗  ★  🚙"}.greeting.nature:after{content:"🌿  ❀  🌿"}.greeting.flowers:after{content:"🌸  ❀  🌼"}.greeting.mother:after{content:"♡  💐  ♡"}.greeting.father:after{content:"★  ♡  ★"}.greeting.newyear:after{content:"✦  ✨  ✦"}.greeting.invitation:after{content:"✉  ♡  ✉"}.greeting.memory:after{content:"🕊  ♡  🕊"}.greeting.music:after{content:"♫  ♪  ♫"}.greeting.party:after{content:"🎉  ★  🎈"}
.greeting.pirate:after,.greeting.princess:after,.greeting.vehicles:after,.greeting.nature:after,.greeting.flowers:after,.greeting.mother:after,.greeting.father:after,.greeting.newyear:after,.greeting.invitation:after,.greeting.memory:after,.greeting.music:after,.greeting.party:after{font-size:30px;left:28px;bottom:18px;width:auto;height:auto;background:none}
.greeting .photo-grid{padding:12px;background:#ffffff45;border-radius:22px;border:1px solid #ffffff80}.greeting .photo-grid a{box-shadow:0 6px 16px #0002;border:4px solid #fff}.greeting h1{font-family:"Segoe Print","Comic Sans MS",cursive}.greeting .message{font-family:Georgia,"Times New Roman",serif}
@media(min-width:900px){.tpl-select{grid-template-columns:repeat(6,1fr)}}

/* UPDATE 06 – grosse visuelle Vorlagen + Vorschau-Navigation */
.preview-nav{max-width:1000px;margin:0 auto 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#617487;font-size:14px}
.back-preview{border:0;border-radius:999px;background:#fff;color:#082d4e;font-weight:800;padding:11px 18px;box-shadow:0 8px 24px rgba(8,45,78,.12);cursor:pointer}
.back-preview:hover{transform:translateY(-1px)}
.tpl-select{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px}
.tpl-choice{min-height:160px;padding:0!important;overflow:hidden;position:relative;justify-content:flex-end!important;background:#fff!important;border:2px solid rgba(8,45,78,.08)!important;box-shadow:0 8px 20px rgba(8,45,78,.08);isolation:isolate}
.tpl-choice::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#fff,#eef7ff)}
.tpl-choice::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.95;background-repeat:no-repeat;background-position:center;background-size:cover}
.tpl-choice .tpl-icon{position:absolute;left:14px;top:12px;font-size:32px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.12));z-index:2}
.tpl-choice b{width:100%;padding:34px 12px 12px;margin:0;background:linear-gradient(transparent,rgba(255,255,255,.96) 42%);font-size:17px;z-index:2}
.tpl-choice.selected{border-color:#0ba6df!important;box-shadow:0 0 0 3px rgba(11,166,223,.14),0 10px 25px rgba(8,45,78,.13)}
/* Shared decorative 'picture' backgrounds – light in the centre, decorative at the edges */
.tpl-love::after,.greeting.tpl-love{background-image:radial-gradient(circle at 12% 15%,#ff8fb1 0 5%,transparent 5.5%),radial-gradient(circle at 88% 18%,#ffb0c8 0 7%,transparent 7.5%),linear-gradient(135deg,#fff0f5,#ffe0ea 50%,#fff7f9)}
.tpl-birthday::after,.greeting.tpl-birthday{background-image:radial-gradient(circle at 12% 18%,#ff5b75 0 5%,transparent 5.5%),radial-gradient(circle at 84% 16%,#ffd45b 0 6%,transparent 6.5%),radial-gradient(circle at 91% 70%,#5cc9ff 0 5%,transparent 5.5%),linear-gradient(135deg,#fff8d9,#ffe7a6 45%,#fff)}
.tpl-wedding::after,.greeting.tpl-wedding{background-image:radial-gradient(circle at 8% 12%,#f6d6df 0 8%,transparent 8.5%),radial-gradient(circle at 92% 12%,#ead6f7 0 9%,transparent 9.5%),linear-gradient(135deg,#fff,#fff3f7 55%,#f8f1ff)}
.tpl-silver::after,.greeting.tpl-silver{background-image:linear-gradient(120deg,transparent 0 15%,rgba(255,255,255,.75) 15% 18%,transparent 18% 82%,rgba(255,255,255,.8) 82% 85%,transparent 85%),linear-gradient(135deg,#dbe3eb,#f8fbfd 50%,#c7d0db)}
.tpl-gold::after,.greeting.tpl-gold{background-image:radial-gradient(circle at 12% 12%,#d7a72d 0 6%,transparent 6.5%),radial-gradient(circle at 90% 16%,#f2d77e 0 8%,transparent 8.5%),linear-gradient(135deg,#fff5c7,#f6d56b 45%,#fff9df)}
.tpl-friend::after,.greeting.tpl-friend{background-image:radial-gradient(circle at 10% 20%,#65c7ff 0 7%,transparent 7.5%),radial-gradient(circle at 90% 18%,#ffe66a 0 7%,transparent 7.5%),linear-gradient(135deg,#eaf9ff,#fff7cc 55%,#eefcff)}
.tpl-thanks::after,.greeting.tpl-thanks,.tpl-flowers::after,.greeting.tpl-flowers{background-image:radial-gradient(circle at 10% 15%,#f5c5ff 0 6%,transparent 6.5%),radial-gradient(circle at 88% 12%,#ffe16c 0 6%,transparent 6.5%),radial-gradient(circle at 92% 82%,#ffb4c8 0 7%,transparent 7.5%),linear-gradient(135deg,#f7ffe8,#fff 50%,#fff3f7)}
.tpl-easter::after,.greeting.tpl-easter{background-image:radial-gradient(ellipse at 12% 18%,#ffd6e7 0 7%,transparent 7.5%),radial-gradient(ellipse at 88% 18%,#cfeaff 0 7%,transparent 7.5%),linear-gradient(135deg,#f7eaff,#fff8d9 55%,#eaffea)}
.tpl-christmas::after,.greeting.tpl-christmas{background-image:radial-gradient(circle at 10% 12%,#d62e3d 0 5%,transparent 5.5%),radial-gradient(circle at 90% 12%,#e8c05c 0 5%,transparent 5.5%),linear-gradient(135deg,#e7f4ea,#fff 50%,#f7e5e5)}
.tpl-space::after,.greeting.tpl-space{background-image:radial-gradient(circle at 18% 18%,#fff 0 1%,transparent 1.4%),radial-gradient(circle at 82% 22%,#fff 0 1.2%,transparent 1.6%),radial-gradient(circle at 90% 70%,#8a6cff 0 8%,transparent 8.5%),linear-gradient(135deg,#151544,#392a78 55%,#141b52)}
.tpl-dino::after,.greeting.tpl-dino,.tpl-animals::after,.greeting.tpl-animals,.tpl-nature::after,.greeting.tpl-nature{background-image:radial-gradient(circle at 12% 15%,#91d56f 0 8%,transparent 8.5%),radial-gradient(circle at 90% 15%,#65b85e 0 7%,transparent 7.5%),linear-gradient(135deg,#eaffd8,#f9ffe8 50%,#d8f2cb)}
.tpl-unicorn::after,.greeting.tpl-unicorn,.tpl-princess::after,.greeting.tpl-princess{background-image:radial-gradient(circle at 12% 14%,#ffb8ed 0 8%,transparent 8.5%),radial-gradient(circle at 88% 16%,#bcd7ff 0 8%,transparent 8.5%),linear-gradient(135deg,#fff0ff,#eee6ff 50%,#fff6fb)}
.tpl-football::after,.greeting.tpl-football{background-image:repeating-linear-gradient(90deg,rgba(68,157,70,.12) 0 28px,rgba(255,255,255,.12) 28px 56px),linear-gradient(135deg,#dff5d7,#f7fff2 50%,#d6efcf)}
.tpl-pirate::after,.greeting.tpl-pirate{background-image:radial-gradient(circle at 10% 15%,#9c7047 0 8%,transparent 8.5%),radial-gradient(circle at 88% 18%,#d2b06c 0 7%,transparent 7.5%),linear-gradient(135deg,#f1e1c5,#fff5d8 55%,#e6c99d)}
.tpl-vehicles::after,.greeting.tpl-vehicles{background-image:linear-gradient(25deg,transparent 44%,rgba(255,255,255,.85) 45% 48%,transparent 49%),linear-gradient(135deg,#d9edff,#f8fbff 55%,#e8eef4)}
.tpl-travel::after,.greeting.tpl-travel{background-image:linear-gradient(180deg,#cceeff 0 35%,#fff5c8 36% 60%,#bce2bd 61%),linear-gradient(135deg,#fff,#eaf7ff)}
.tpl-music::after,.greeting.tpl-music{background-image:radial-gradient(circle at 12% 15%,#6d58d9 0 8%,transparent 8.5%),radial-gradient(circle at 90% 16%,#ffb4e6 0 7%,transparent 7.5%),linear-gradient(135deg,#d9d8ff,#f6d9f5 55%,#d8efff)}
.tpl-party::after,.greeting.tpl-party,.tpl-newyear::after,.greeting.tpl-newyear{background-image:radial-gradient(circle at 12% 14%,#ffce45 0 5%,transparent 5.5%),radial-gradient(circle at 88% 18%,#ff5d7d 0 5%,transparent 5.5%),radial-gradient(circle at 92% 78%,#53c8ff 0 5%,transparent 5.5%),linear-gradient(135deg,#fff0ca,#ffe2ee 50%,#e3efff)}
.tpl-invite::after,.greeting.tpl-invite{background-image:linear-gradient(135deg,#f7e8d7,#fff 48%,#e8d7f7)}
.tpl-memory::after,.greeting.tpl-memory{background-image:radial-gradient(circle at 12% 14%,#d6d7d8 0 7%,transparent 7.5%),linear-gradient(135deg,#f0f1f2,#fff 50%,#e5e7e8)}
.tpl-mother::after,.greeting.tpl-mother{background-image:radial-gradient(circle at 10% 15%,#ff9fbd 0 8%,transparent 8.5%),radial-gradient(circle at 90% 18%,#ffc8d8 0 7%,transparent 7.5%),linear-gradient(135deg,#fff0f4,#fff 50%,#ffe6ee)}
.tpl-father::after,.greeting.tpl-father{background-image:radial-gradient(circle at 10% 15%,#6ca7d9 0 8%,transparent 8.5%),linear-gradient(135deg,#e7f3ff,#fff 50%,#dce9f4)}
@media(max-width:650px){.tpl-select{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tpl-choice{min-height:125px}.preview-nav{padding:0 8px}.preview-nav span{display:none}}
/* ===== UPDATE 07: emotional visual system ===== */
.home07{background:#fffaf4}.home-head{background:#fff;position:relative;z-index:5;box-shadow:0 3px 18px #0000000c}.tagline{font-size:13px;color:#667784;margin-top:-4px}.hero07{position:relative;overflow:hidden;min-height:650px;background:#f6ede4}.hero07-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,250,244,.97) 0%,rgba(255,250,244,.9) 42%,rgba(255,250,244,.25) 72%),url('scenes/emotional.svg') center/cover no-repeat;filter:saturate(.95)}.hero07-grid{position:relative;display:grid;grid-template-columns:1.03fr .97fr;gap:38px;align-items:center;min-height:650px}.hero07-copy{padding:45px 0}.free-badge{display:inline-block;background:#e9f7df;color:#3f7317;border:1px solid #cfe9bc;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:900;letter-spacing:.7px}.hero07 h1{font-size:clamp(48px,6vw,78px);line-height:.96;letter-spacing:-3px;margin:18px 0}.hero07 h1 span{font-family:cursive;color:#d93c58}.hero07-copy>p{font-size:21px;line-height:1.55;max-width:650px}.hero-cta{font-size:18px;padding:16px 24px}.trustline{margin-top:20px;font-weight:700;color:#526878}.hero07-card{position:relative;min-height:470px;border-radius:34px;background:rgba(255,255,255,.72);backdrop-filter:blur(5px);box-shadow:0 25px 70px #513c2d2b;border:1px solid #ffffffb8;padding:30px;overflow:hidden;text-align:center}.hero07-card>img{position:absolute;width:180px;height:150px;object-fit:cover;right:18px;top:18px;border-radius:26px;border:5px solid white;box-shadow:0 8px 24px #0002}.hero07-card .paper{position:absolute;background:#fff;border-radius:15px;box-shadow:0 12px 28px #0002;padding:24px;font-family:cursive;font-size:28px}.hero07-card .one{left:40px;top:80px;transform:rotate(-7deg)}.hero07-card .two{left:75px;top:220px;transform:rotate(4deg);font-size:22px}.hero07-card .phone{position:absolute;right:60px;bottom:100px;width:130px;height:190px;border:8px solid #183a56;border-radius:24px;background:#fff;display:grid;place-items:center;font-size:52px}.hero07-card .phone small{font-size:12px}.hero07-card>b{position:absolute;left:35px;bottom:35px;text-align:left;font-family:cursive;font-size:25px;color:#9a4c55}.templates07{background:#fff}.tpl-showcase{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.tpl07{height:185px;border-radius:22px;overflow:hidden;position:relative;display:flex;align-items:flex-end;padding:16px;background-image:linear-gradient(to top,rgba(255,255,255,.98),rgba(255,255,255,.2) 70%),var(--scene);background-size:cover;background-position:center;box-shadow:0 9px 24px #16354e18;border:1px solid #e5edf1}.tpl07 span{position:absolute;left:14px;top:14px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#ffffffd9;font-size:26px;box-shadow:0 5px 12px #0001}.tpl07 b{font-size:18px}.stats07{background:linear-gradient(135deg,#092d4b,#174d70);color:#fff}.stats07 h2{color:#fff}.statgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:900px;margin:auto}.statgrid>div{text-align:center;padding:24px;border-radius:22px;background:#ffffff10;border:1px solid #ffffff22}.statgrid strong{display:block;font-size:36px}.statgrid span{display:block;margin-top:6px;opacity:.8}.servicebox{display:grid;grid-template-columns:180px 1fr;gap:30px;align-items:center;background:#fff;border-radius:28px;padding:28px;box-shadow:0 14px 40px #0001}.servicebox img{width:180px;height:145px;object-fit:cover;border-radius:22px}.servicebox h2{text-align:left;margin-bottom:8px}.servicebox p{line-height:1.6}.softlinks{display:flex;flex-wrap:wrap;gap:8px}.softlinks span{background:#eef5f8;border-radius:999px;padding:8px 12px;font-weight:700;color:#466276}
.qrz-signature{max-width:760px;margin:18px auto 8px;display:flex;align-items:center;justify-content:center;gap:14px;background:#fff;border:1px solid #e5edf1;border-radius:18px;padding:12px 16px;box-shadow:0 6px 20px #0001}.qrz-signature img{width:86px;height:70px;object-fit:cover;border-radius:14px}.qrz-signature span{font-size:13px;color:#65747e}.qrz-signature a{font-weight:800;color:#087eb7;font-size:14px}
/* Shared scene images in chooser + greeting. */
.tpl-choice::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.18) 70%),url('scenes/emotional.svg')!important}
.tpl-choice.birthday::after,.tpl-choice.party::after,.tpl-choice.newyear::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.12) 70%),url('scenes/celebration.svg')!important}
.tpl-choice.dino::after,.tpl-choice.unicorn::after,.tpl-choice.princess::after,.tpl-choice.baby::after,.tpl-choice.school::after,.tpl-choice.pirate::after,.tpl-choice.vehicles::after,.tpl-choice.space::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.12) 70%),url('scenes/kids.svg')!important}
.tpl-choice.animals::after,.tpl-choice.nature::after,.tpl-choice.flowers::after,.tpl-choice.travel::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.12) 70%),url('scenes/nature.svg')!important}
.tpl-choice.neutral::after,.tpl-choice.modern::after,.tpl-choice.business::after,.tpl-choice.shortmsg::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.12) 70%),url('scenes/office.svg')!important}
.tpl-choice.football::after,.tpl-choice.sportportal::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.12) 70%),url('scenes/sport.svg')!important}
.tpl-choice.music::after,.tpl-choice.musicportal::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.12) 70%),url('scenes/music.svg')!important}
.tpl-choice.craftportal::after{background-image:linear-gradient(to top,rgba(255,255,255,.97),rgba(255,255,255,.12) 70%),url('scenes/craft.svg')!important}
.greeting{background-image:linear-gradient(rgba(255,255,255,.72),rgba(255,255,255,.72)),url('scenes/emotional.svg')!important;background-size:cover!important;background-position:center!important}.greeting.birthday,.greeting.party,.greeting.newyear{background-image:linear-gradient(rgba(255,255,255,.68),rgba(255,255,255,.68)),url('scenes/celebration.svg')!important}.greeting.dino,.greeting.unicorn,.greeting.princess,.greeting.baby,.greeting.school,.greeting.pirate,.greeting.vehicles,.greeting.space{background-image:linear-gradient(rgba(255,255,255,.68),rgba(255,255,255,.68)),url('scenes/kids.svg')!important}.greeting.animals,.greeting.nature,.greeting.flowers,.greeting.travel{background-image:linear-gradient(rgba(255,255,255,.68),rgba(255,255,255,.68)),url('scenes/nature.svg')!important}.greeting.neutral,.greeting.modern,.greeting.business,.greeting.shortmsg{background-image:linear-gradient(rgba(255,255,255,.7),rgba(255,255,255,.7)),url('scenes/office.svg')!important}.greeting.football,.greeting.sportportal{background-image:linear-gradient(rgba(255,255,255,.68),rgba(255,255,255,.68)),url('scenes/sport.svg')!important}.greeting.music,.greeting.musicportal{background-image:linear-gradient(rgba(255,255,255,.68),rgba(255,255,255,.68)),url('scenes/music.svg')!important}.greeting.craftportal{background-image:linear-gradient(rgba(255,255,255,.7),rgba(255,255,255,.7)),url('scenes/craft.svg')!important}
@media(max-width:800px){.hero07-grid{grid-template-columns:1fr}.hero07-card{min-height:400px}.hero07{min-height:auto}.statgrid{grid-template-columns:1fr}.servicebox{grid-template-columns:1fr;text-align:center}.servicebox img{margin:auto}.servicebox h2{text-align:center}}
@media(max-width:600px){.hero07 h1{font-size:48px}.hero07-copy>p{font-size:18px}.hero07-card{min-height:350px}.hero07-card>img{width:130px;height:105px}.hero07-card .paper{font-size:22px}.hero07-card .one{left:18px;top:60px}.hero07-card .two{left:28px;top:170px}.hero07-card .phone{right:28px;bottom:55px;width:100px;height:150px}.tpl-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl07{height:145px}.qrz-signature{align-items:flex-start}.qrz-signature img{width:70px;height:60px}}
/* ===== UPDATE 08: ruhige Grußkartenwelt + ShopZack Service ===== */
.home08{background:#fffaf4}.hero08{background:linear-gradient(180deg,#fffaf4,#f8f0e7);border-bottom:1px solid #eee1d4;overflow:hidden}.hero08-stage{position:relative;min-height:620px;display:flex;align-items:center;justify-content:center}.hero08-center{position:relative;z-index:4;width:min(590px,60%);text-align:center;background:rgba(255,255,255,.88);border:1px solid #fff;border-radius:32px;padding:42px 44px;box-shadow:0 22px 60px #62452b1c}.hero08-center h1{font-size:clamp(44px,5vw,67px);line-height:1.02;letter-spacing:-2.5px;margin:16px 0;color:#082d4e}.hero08-center h1 em{font-family:"Segoe Print","Comic Sans MS",cursive;font-style:normal;color:#d63e58;font-size:.82em}.hero08-center p{font-size:19px;line-height:1.55;color:#445d70;margin:0 auto 25px;max-width:520px}.hero08-cta{font-size:18px}.hero08-facts{font-size:13px;font-weight:700;color:#657987;margin-top:20px}.sample-card{position:absolute;z-index:2;width:205px;min-height:142px;background:#fff;border-radius:18px;padding:19px;box-shadow:0 16px 34px #513a2726;border:1px solid #eee3d9;display:flex;flex-direction:column;justify-content:center}.sample-card span{font-size:25px;margin-bottom:8px}.sample-card b{font-family:"Segoe Print","Comic Sans MS",cursive;font-size:18px;line-height:1.25}.sample-card small{margin-top:9px;color:#71808a}.card-a{left:18px;top:72px;transform:rotate(-7deg);background:#fff4f6}.card-b{left:55px;bottom:70px;transform:rotate(5deg);background:#fff8dd}.card-c{right:15px;top:65px;transform:rotate(6deg);background:#f2f9ff}.card-d{right:48px;bottom:72px;transform:rotate(-5deg);background:#f3f7f3}.card-e{right:5px;top:275px;transform:rotate(2deg);width:175px;opacity:.82}.mascot-peek{position:absolute;z-index:3;left:14px;top:270px;width:165px;text-align:center}.mascot-peek img{width:115px;height:94px;object-fit:cover;border-radius:18px;border:4px solid white;box-shadow:0 8px 22px #0002}.mascot-peek b,.mascot-peek small{display:block}.mascot-peek b{font-size:14px;margin-top:5px}.mascot-peek small{font-size:11px;color:#6c7a84}.home08-simple{padding:55px 0;background:#fff}.home08-simple h2{text-align:center;font-size:34px;margin:0 0 30px}.simple-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:960px;margin:auto}.simple-steps>div{display:flex;align-items:center;gap:12px;padding:15px 17px;border-radius:16px;background:#faf7f2;border:1px solid #eee7df}.simple-steps b{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#e7f3fb;color:#0b426c}.simple-steps span{font-weight:700;font-size:14px}.center-action{text-align:center;margin:28px 0 0}.home08-note{padding:20px 0 30px;background:#fff}.home08-note p{text-align:center;margin:0;color:#65747f}.home08-note strong{color:#173a56}.greeting-wrap{position:relative;max-width:1180px}.greeting{max-width:930px;margin:0 auto}.qrz-side-service{position:absolute;right:0;top:110px;width:145px;background:#fff;border:1px solid #e2e9ed;border-radius:20px;padding:10px;text-align:center;box-shadow:0 10px 28px #00000016;z-index:4}.qrz-side-service img{width:105px;height:86px;object-fit:cover;border-radius:14px;margin:auto}.qrz-side-service b{display:block;font-size:12px;line-height:1.25;margin:7px 0;color:#173a56}.qrz-side-service span{display:block;font-size:10px;color:#74818a}.qrz-side-service a{display:block;margin-top:4px;font-weight:900;font-size:12px;color:#087eb7}.qrz-side-service a:hover{text-decoration:underline}
@media(max-width:1050px){.hero08-center{width:min(620px,72%)}.sample-card{width:175px}.card-e{display:none}.greeting{max-width:820px}.qrz-side-service{position:relative;right:auto;top:auto;width:min(420px,92%);margin:-5px auto 18px;display:flex;align-items:center;gap:12px;text-align:left}.qrz-side-service img{margin:0;width:82px;height:68px}.qrz-side-service b{margin:0 0 3px}}
@media(max-width:760px){.hero08-stage{min-height:650px;padding:35px 18px 175px}.hero08-center{width:100%;padding:30px 22px}.hero08-center h1{font-size:43px}.sample-card{width:145px;min-height:105px;padding:12px}.sample-card b{font-size:14px}.sample-card span{font-size:19px;margin-bottom:4px}.sample-card small{font-size:10px}.card-a{left:18px;top:auto;bottom:42px}.card-b{left:50%;bottom:18px;transform:translateX(-50%) rotate(2deg)}.card-c{right:18px;top:auto;bottom:48px}.card-d,.mascot-peek{display:none}.simple-steps{grid-template-columns:1fr 1fr}.hero08-facts{line-height:1.7}}
@media(max-width:480px){.hero08-stage{padding-bottom:150px}.hero08-center h1{font-size:36px}.hero08-center p{font-size:16px}.sample-card{width:128px}.card-b{display:none}.simple-steps{grid-template-columns:1fr}}
@media print{.qrz-side-service{display:flex!important;position:absolute!important;right:0!important;top:80px!important;width:135px!important;box-shadow:none!important}.greeting{max-width:calc(100% - 155px)!important;margin-left:0!important}}
/* ===== UPDATE 09: echtes Briefpapier statt Web-Kaesten ===== */
.home09{background:#f6efe5}.home09-head{background:#fff;border-bottom:1px solid #e9e1d7}.paper-hero{background:#eadbc8;padding:0}.paper-hero-inner{max-width:1536px;margin:auto;position:relative;line-height:0;box-shadow:0 16px 44px #2e1d1022}.paper-hero-inner img{display:block;width:100%;height:auto}.paper-hero-hit{position:absolute;inset:0;z-index:2;cursor:pointer}.paper-hero-inner:hover{filter:saturate(1.025) brightness(1.01)}.paper-examples{max-width:1536px;margin:auto;background:#f7f2eb;line-height:0}.paper-examples img{display:block;width:100%;height:auto}.paper-steps{padding:42px 0 50px;background:#fff}.paper-steps h2{text-align:center;font-size:34px;margin:0 0 28px}.paper-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:1050px;margin:auto}.paper-step-grid>div{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center}.paper-step-grid b{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#e4f3fd;color:#0a416a;font-size:20px}.paper-step-grid strong{font-size:16px}.paper-step-grid span{font-size:13px;color:#6b7b86}.paper-action{text-align:center;margin:32px 0 0}
.greeting09-wrap{max-width:1080px}.greeting09{position:relative;overflow:hidden;max-width:980px!important;min-height:620px;padding:62px 70px 145px!important;background-color:#fffdf9!important;background-image:url('paper-texture.jpg')!important;background-size:420px 420px!important;background-repeat:repeat!important;border:1px solid #e5dacb!important;border-radius:4px!important;box-shadow:0 26px 60px #49321d28!important}.greeting09:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,rgba(255,255,255,.22),rgba(255,249,239,.04) 45%,rgba(236,218,192,.16));z-index:0}.greeting09>*{position:relative;z-index:2}.greeting09 h1{font-family:"Segoe Print","Comic Sans MS",cursive!important;font-size:clamp(38px,5vw,60px)!important;line-height:1.08!important;color:#082d4e!important;text-align:center;margin:0 auto 28px!important;max-width:760px}.greeting09 .message{background:rgba(255,255,255,.80)!important;border:0!important;border-radius:18px!important;box-shadow:0 7px 18px #4d382017!important;padding:20px 24px!important;font-size:18px!important;line-height:1.55!important;max-width:820px;margin:0 auto 30px}.greeting09 .photo-grid{position:relative;z-index:3;max-width:840px;margin:0 auto;gap:18px}.greeting09 .photo-grid a{background:#fff;padding:8px;border-radius:8px;box-shadow:0 8px 18px #27180e2c;transform:rotate(-.5deg)}.greeting09 .photo-grid a:nth-child(even){transform:rotate(.65deg)}.greeting09 .photo-grid img{border-radius:4px!important}.paper-art{position:absolute!important;right:-20px;top:-10px;width:360px;height:245px;z-index:1!important;opacity:.28;background-size:cover;background-position:center;border-radius:0 0 0 180px;filter:saturate(.85)}.greeting09.love .paper-art,.greeting09.friend .paper-art,.greeting09.flowers .paper-art,.greeting09.mother .paper-art{background-image:url('stationery/love.jpg')}.greeting09.birthday .paper-art,.greeting09.party .paper-art,.greeting09.newyear .paper-art{background-image:url('stationery/birthday.jpg')}.greeting09.wedding .paper-art,.greeting09.silver .paper-art,.greeting09.gold .paper-art{background-image:url('stationery/wedding.jpg')}.greeting09.getwell .paper-art,.greeting09.baby .paper-art{background-image:url('stationery/getwell.jpg')}.greeting09.school .paper-art,.greeting09.invitation .paper-art,.greeting09.memory .paper-art{background-image:url('stationery/success.jpg')}.greeting09.travel .paper-art,.greeting09.nature .paper-art,.greeting09.animals .paper-art{background-image:url('stationery/travel.jpg')}.greeting09.thanks .paper-art,.greeting09.father .paper-art{background-image:url('stationery/thanks.jpg')}.greeting09.football .paper-art,.greeting09.sportportal .paper-art{background-image:url('stationery/sport.jpg')}.greeting09.neutral .paper-art,.greeting09.modern .paper-art,.greeting09.business .paper-art,.greeting09.shortmsg .paper-art,.greeting09.craftportal .paper-art{background-image:url('stationery/neutral.jpg')}.greeting09.music .paper-art,.greeting09.musicportal .paper-art{background-image:url('stationery/friend.jpg')}.greeting09.dino .paper-art,.greeting09.unicorn .paper-art,.greeting09.princess .paper-art,.greeting09.pirate .paper-art,.greeting09.vehicles .paper-art,.greeting09.space .paper-art{background-image:url('stationery/success.jpg')}
.paper-service-mark{position:absolute!important;right:24px;bottom:22px;z-index:5!important;display:flex;align-items:center;gap:10px;width:260px;padding:8px 12px;border-radius:16px;background:rgba(255,255,255,.78);border:1px solid rgba(171,147,114,.28);box-shadow:0 5px 14px #48311f18;color:#173a56!important}.paper-service-mark img{width:68px;height:58px;object-fit:cover;border-radius:12px;mix-blend-mode:multiply}.paper-service-mark span{display:block;text-align:left}.paper-service-mark b{display:block;font-size:11px;line-height:1.15}.paper-service-mark small{display:block;font-size:9px;color:#6f7c83;margin-top:2px}.paper-service-mark strong{display:block;font-size:12px;color:#087eb7;margin-top:1px}.qrz-side-service{display:none!important}
@media(max-width:760px){.paper-hero{overflow:hidden}.paper-hero-inner{width:1180px;max-width:none;left:50%;transform:translateX(-50%)}.paper-examples{overflow-x:auto}.paper-examples img{width:1180px;max-width:none}.paper-step-grid{grid-template-columns:1fr 1fr}.greeting09{padding:42px 20px 140px!important;min-height:520px}.greeting09 h1{font-size:36px!important}.paper-art{width:240px;height:170px;opacity:.2}.paper-service-mark{right:12px;bottom:14px;width:235px}.paper-service-mark img{width:60px;height:51px}}
@media(max-width:480px){.paper-step-grid{grid-template-columns:1fr}.paper-hero-inner{width:980px}.greeting09{padding-bottom:150px!important}.paper-service-mark{left:50%;right:auto;transform:translateX(-50%);width:245px}}
@media print{body{background:#fff!important}.greeting09-wrap{max-width:none!important}.greeting09{width:100%!important;max-width:none!important;box-shadow:none!important;border:1px solid #ddd!important;page-break-inside:avoid}.paper-service-mark{display:flex!important}.paper-service-mark.no-print-link{color:#173a56!important}.paper-service-mark strong{color:#087eb7!important}.tools,.preview-nav,.topbar,.footer,.meta{display:none!important}}

/* ===== UPDATE 10: DIN-A4-Karten, Oval-Mitte, 3 Fotos, Typografie ===== */
.type-controls{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-top:18px}.type-controls label span{display:block;font-weight:800;margin-bottom:6px}.type-controls select{width:100%;padding:12px 13px;border:1px solid #cfdde5;border-radius:12px;background:#fff}.char-row{display:flex;justify-content:flex-end;margin-top:7px;font-size:13px;color:#687884}.char-row .near-limit{color:#b71934;font-weight:900}.live-type{margin-top:14px;padding:18px;border-radius:16px;background:#fbf6ee;border:1px solid #eadfce;min-height:64px;color:#173a56}.img-preview{grid-template-columns:repeat(3,1fr)!important;max-width:650px;margin-left:auto;margin-right:auto}
.greeting10-wrap{max-width:1040px}.greeting10{--theme:url('stationery/neutral.jpg');position:relative;overflow:hidden;width:min(920px,100%);min-height:1180px;margin:0 auto;padding:78px 70px 115px!important;border:1px solid #d7c8b6!important;border-radius:3px!important;background:#f6efe4!important;box-shadow:0 28px 65px #3d2b1d2b!important;isolation:isolate}.greeting10 .theme-photo{position:absolute!important;inset:0!important;z-index:0!important;background-image:var(--theme)!important;background-size:cover!important;background-position:center!important;filter:saturate(1.04) contrast(1.02);transform:scale(1.015)}.greeting10:before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:radial-gradient(ellipse 58% 62% at 50% 48%,rgba(255,253,247,.99) 0 42%,rgba(255,253,247,.97) 51%,rgba(255,253,247,.82) 61%,rgba(255,253,247,.36) 73%,rgba(255,253,247,.05) 88%)}.greeting10:after{content:"";position:absolute;z-index:1;inset:18px;border:1px solid rgba(255,255,255,.62);pointer-events:none}.greeting10>*{position:relative;z-index:2}.oval-center{width:min(760px,88%);min-height:830px;margin:40px auto 0;padding:72px 68px 90px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;text-align:center;border-radius:50% / 42%;background:rgba(255,253,247,.58);box-shadow:0 0 70px 45px rgba(255,253,247,.46);font-family:var(--user-font)}.greeting10 h1{font-family:var(--user-font)!important;font-size:clamp(38px,5vw,58px)!important;line-height:1.14!important;color:#173a56!important;text-align:inherit!important;margin:0 auto 24px!important;max-width:660px}.greeting10 .message{font-family:var(--user-font)!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;color:#293b49!important;font-size:21px!important;line-height:1.58!important;max-width:680px;margin:0 auto 28px!important;text-align:inherit!important;white-space:pre-wrap}.greeting10.size-small .message{font-size:18px!important}.greeting10.size-large .message{font-size:25px!important}.greeting10.size-small h1{font-size:clamp(34px,4.3vw,50px)!important}.greeting10.size-large h1{font-size:clamp(42px,5.5vw,64px)!important}.greeting10.align-left .oval-center{text-align:left}.greeting10.align-left h1{margin-left:0!important}.greeting10 .photo-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:14px!important;width:100%;max-width:650px;margin:6px auto 0!important;padding:0!important;background:transparent!important;border:0!important}.greeting10 .photo-grid a{aspect-ratio:4/3!important;background:#fff!important;padding:7px!important;border-radius:5px!important;box-shadow:0 9px 19px #3928192e!important;transform:rotate(-1deg)}.greeting10 .photo-grid a:nth-child(2){transform:rotate(1deg)}.greeting10 .photo-grid a:nth-child(3){transform:rotate(-.4deg)}.greeting10 .photo-grid.count-1{grid-template-columns:minmax(0,400px)!important;justify-content:center}.greeting10 .photo-grid.count-2{grid-template-columns:repeat(2,minmax(0,290px))!important;justify-content:center}.greeting10 .photo-grid img{width:100%;height:100%;object-fit:cover;border-radius:2px!important}.paper-service-mark10{position:absolute!important;z-index:5!important;right:28px;bottom:24px;display:flex;align-items:center;gap:7px;color:#354b5a!important;font-size:10px;text-decoration:none;background:rgba(255,255,255,.57);padding:5px 8px;border-radius:12px}.paper-service-mark10 img{width:40px;height:34px;object-fit:cover;border-radius:8px;mix-blend-mode:multiply}.paper-service-mark10 strong{color:#087eb7;font-size:10px}
.greeting10.love,.greeting10.friend,.greeting10.flowers,.greeting10.mother{--theme:url('stationery/love.jpg')}.greeting10.birthday,.greeting10.party,.greeting10.newyear{--theme:url('stationery/birthday.jpg')}.greeting10.wedding,.greeting10.silver,.greeting10.gold{--theme:url('stationery/wedding.jpg')}.greeting10.getwell,.greeting10.baby{--theme:url('stationery/getwell.jpg')}.greeting10.school,.greeting10.invitation,.greeting10.memory,.greeting10.dino,.greeting10.unicorn,.greeting10.princess,.greeting10.pirate,.greeting10.vehicles,.greeting10.space{--theme:url('stationery/success.jpg')}.greeting10.travel,.greeting10.nature,.greeting10.animals{--theme:url('stationery/travel.jpg')}.greeting10.thanks,.greeting10.father{--theme:url('stationery/thanks.jpg')}.greeting10.football,.greeting10.sportportal{--theme:url('stationery/sport.jpg')}.greeting10.neutral,.greeting10.modern,.greeting10.business,.greeting10.shortmsg,.greeting10.craftportal{--theme:url('stationery/neutral.jpg')}.greeting10.music,.greeting10.musicportal{--theme:url('stationery/friend.jpg')}.greeting10.easter{--theme:url('stationery/getwell.jpg')}.greeting10.christmas{--theme:url('stationery/wedding.jpg')}
@media(max-width:760px){.type-controls{grid-template-columns:1fr}.greeting10{min-height:820px;padding:38px 15px 90px!important}.oval-center{width:92%;min-height:620px;margin:18px auto 0;padding:48px 26px 68px;border-radius:48% / 38%}.greeting10 h1{font-size:34px!important}.greeting10 .message{font-size:18px!important}.greeting10 .photo-grid{grid-template-columns:1fr!important;max-width:330px}.greeting10 .photo-grid.count-2{grid-template-columns:repeat(2,1fr)!important;max-width:520px}.greeting10 .photo-grid.count-3{grid-template-columns:repeat(2,1fr)!important;max-width:520px}.greeting10 .photo-grid.count-3 a:nth-child(3){grid-column:1/3;width:52%;justify-self:center}.paper-service-mark10{right:12px;bottom:12px}.img-preview{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:480px){.greeting10{min-height:760px}.oval-center{width:96%;padding:42px 20px 65px}.greeting10 .photo-grid.count-2,.greeting10 .photo-grid.count-3{grid-template-columns:1fr!important;max-width:285px}.greeting10 .photo-grid.count-3 a:nth-child(3){grid-column:auto;width:100%}.paper-service-mark10 img{width:34px;height:30px}}
@media print{.greeting10{width:210mm!important;min-height:297mm!important;max-width:none!important;margin:0!important;box-shadow:none!important;border:0!important;padding:16mm 13mm 18mm!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.oval-center{width:78%!important;min-height:220mm!important;margin:7mm auto 0!important;padding:20mm 15mm 24mm!important}.paper-service-mark10{display:flex!important;right:8mm!important;bottom:7mm!important}.greeting10 .photo-grid{gap:4mm!important}}


/* ===== UPDATE 10.1: sichtbare DIN-A4 Live-Vorschau + Cache-Fix ===== */
.editor-card-preview{max-width:690px;margin:18px auto 4px;padding:14px;background:#eee6da;border-radius:18px;box-shadow:inset 0 0 0 1px #ddcfbe;overflow:hidden}
.editor-card-preview .greeting10{width:100%;min-height:770px;padding:45px 38px 78px!important;box-shadow:0 16px 35px #3d2b1d35!important}
.editor-card-preview .oval-center{width:82%;min-height:560px;margin:22px auto 0;padding:50px 44px 65px;background:rgba(255,253,247,.92);box-shadow:0 0 52px 30px rgba(255,253,247,.88), inset 0 0 0 1px rgba(172,144,107,.25);border:2px solid rgba(255,255,255,.9)}
.editor-card-preview .greeting10 h1{font-size:38px!important;margin-bottom:18px!important}
.editor-card-preview .greeting10 .message{font-size:19px!important;line-height:1.48!important;margin-bottom:18px!important}
.editor-card-preview .greeting10.size-small .message{font-size:16px!important}.editor-card-preview .greeting10.size-large .message{font-size:23px!important}
.preview-photo-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:500px;margin:12px auto 0}.preview-photo-row.count-1{grid-template-columns:minmax(0,280px);justify-content:center}.preview-photo-row.count-2{grid-template-columns:repeat(2,minmax(0,220px));justify-content:center}.mini-photo{aspect-ratio:4/3;background:#fff;padding:5px;box-shadow:0 7px 15px #31221333;transform:rotate(-1deg)}.mini-photo:nth-child(2){transform:rotate(1deg)}.mini-photo img{width:100%;height:100%;object-fit:cover;display:block}
/* Das Oval auf der fertigen Karte bewusst deutlicher als in 10.0 */
.greeting10:before{background:radial-gradient(ellipse 60% 64% at 50% 48%,rgba(255,253,247,.995) 0 44%,rgba(255,253,247,.985) 55%,rgba(255,253,247,.76) 66%,rgba(255,253,247,.22) 78%,rgba(255,253,247,0) 92%)}
.oval-center{background:rgba(255,253,247,.83);box-shadow:0 0 78px 50px rgba(255,253,247,.72), inset 0 0 0 1px rgba(173,143,104,.17);border:1px solid rgba(255,255,255,.82)}
@media(max-width:760px){.editor-card-preview{padding:8px}.editor-card-preview .greeting10{min-height:610px;padding:28px 12px 65px!important}.editor-card-preview .oval-center{width:90%;min-height:470px;padding:38px 24px 55px}.editor-card-preview .greeting10 h1{font-size:30px!important}.preview-photo-row.count-3{grid-template-columns:repeat(3,1fr)}}
/* QR-ZACK 10.2 – approved A4 oval card, uncropped */
.editor-card-preview{max-width:760px;background:#f3ede4;padding:16px}
.editor-card-preview .greeting10,.greeting10{aspect-ratio:1055/1491;min-height:0!important;height:auto!important;width:min(760px,100%)!important;padding:0!important;background:#fff url('stationery/approved-oval.png') center/100% 100% no-repeat!important;border:0!important;border-radius:2px!important;overflow:hidden!important}
.greeting10 .theme-photo,.greeting10:before,.greeting10:after{display:none!important}
.greeting10 .oval-center,.editor-card-preview .oval-center{position:absolute!important;left:13%!important;right:13%!important;top:16%!important;bottom:16%!important;width:auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:8% 8% 10%!important;border:0!important;border-radius:48% / 42%!important;background:rgba(255,255,255,.08)!important;box-shadow:none!important;display:flex!important;justify-content:center!important}
.editor-card-preview .greeting10 h1,.greeting10 h1{font-family:var(--user-font,Georgia,serif)!important;font-size:clamp(28px,5.0vw,52px)!important;line-height:1.12!important;margin:0 0 20px!important;color:#173a56!important;text-align:inherit!important}
.editor-card-preview .greeting10 .message,.greeting10 .message{font-family:var(--user-font,Georgia,serif)!important;font-size:clamp(17px,2.4vw,24px)!important;line-height:1.48!important;margin:0 0 20px!important;text-align:inherit!important;color:#263d50!important}
.editor-card-preview .greeting10.size-small .message,.greeting10.size-small .message{font-size:clamp(14px,1.9vw,19px)!important}
.editor-card-preview .greeting10.size-normal .message,.greeting10.size-normal .message{font-size:clamp(17px,2.4vw,24px)!important}
.editor-card-preview .greeting10.size-large .message,.greeting10.size-large .message{font-size:clamp(21px,3vw,30px)!important}
.editor-card-preview .greeting10.size-small h1,.greeting10.size-small h1{font-size:clamp(24px,4vw,42px)!important}
.editor-card-preview .greeting10.size-large h1,.greeting10.size-large h1{font-size:clamp(34px,5.8vw,60px)!important}
.greeting10.align-left .oval-center{text-align:left!important;align-items:stretch!important}.greeting10.align-center .oval-center{text-align:center!important;align-items:stretch!important}
.paper-service-mark10{display:none!important} /* already integrated into approved stationery */
.preview-photo-row,.greeting10 .photo-grid{max-width:540px!important;margin:10px auto 0!important}
@media(max-width:600px){.greeting10 .oval-center,.editor-card-preview .oval-center{left:11%!important;right:11%!important;top:15%!important;bottom:15%!important;padding:10% 7%!important}.editor-card-preview{padding:7px}}
@media print{.greeting10{width:210mm!important;height:297mm!important;aspect-ratio:auto!important;background-size:210mm 297mm!important}.greeting10 .oval-center{left:27mm!important;right:27mm!important;top:47mm!important;bottom:47mm!important;padding:18mm 14mm!important}}


/* ===== UPDATE 10.3: Schrift direkt im Eingabefeld + groessere Fotos ===== */
#message,#titleInput{transition:font-size .15s ease,font-family .15s ease,text-align .15s ease;line-height:1.55}
#message{min-height:180px}
.live-type{display:none!important} /* keine doppelte Mini-Vorschau mehr; Eingabefeld selbst ist live */
.editor-card-preview .preview-photo-row,.greeting10 .photo-grid{width:100%!important;max-width:650px!important;gap:16px!important}
.editor-card-preview .preview-photo-row.count-1,.greeting10 .photo-grid.count-1{grid-template-columns:minmax(0,520px)!important;max-width:520px!important;justify-content:center!important}
.editor-card-preview .preview-photo-row.count-2,.greeting10 .photo-grid.count-2{grid-template-columns:repeat(2,minmax(0,300px))!important;max-width:630px!important;justify-content:center!important}
.editor-card-preview .preview-photo-row.count-3,.greeting10 .photo-grid.count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:650px!important}
.editor-card-preview .mini-photo,.greeting10 .photo-grid a{aspect-ratio:4/3!important;padding:7px!important;border:5px solid #fff!important;box-sizing:border-box!important}
.editor-card-preview .mini-photo img,.greeting10 .photo-grid img{width:100%!important;height:100%!important;object-fit:cover!important}
@media(max-width:600px){
 .editor-card-preview .preview-photo-row.count-2,.greeting10 .photo-grid.count-2{grid-template-columns:repeat(2,1fr)!important}
 .editor-card-preview .preview-photo-row.count-3,.greeting10 .photo-grid.count-3{grid-template-columns:repeat(3,1fr)!important}
}

/* Update 10.4 – gut sichtbare Live-Schrift und deutlich größere Fotos */
#message,#titleInput{
  font-synthesis:none;
}
.editor-card-preview .preview-photo-row.count-1,
.greeting10 .photo-grid.count-1{
  max-width:500px!important;
  grid-template-columns:minmax(0,500px)!important;
}
.editor-card-preview .preview-photo-row.count-2,
.greeting10 .photo-grid.count-2{
  max-width:610px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
}
.editor-card-preview .preview-photo-row.count-3,
.greeting10 .photo-grid.count-3{
  max-width:600px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px 20px!important;
}
.editor-card-preview .preview-photo-row.count-3 .mini-photo:nth-child(3),
.greeting10 .photo-grid.count-3 a:nth-child(3){
  grid-column:1 / 3!important;
  width:58%!important;
  justify-self:center!important;
}
.editor-card-preview .mini-photo,
.greeting10 .photo-grid a{
  min-width:0!important;
}
@media(max-width:600px){
  .editor-card-preview .preview-photo-row.count-3,
  .greeting10 .photo-grid.count-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .editor-card-preview .preview-photo-row.count-3 .mini-photo:nth-child(3),
  .greeting10 .photo-grid.count-3 a:nth-child(3){grid-column:1/3!important;width:62%!important}
}

/* ===== UPDATE 10.5: echte Live-Vorschau vor dem Speichern + ausgewogene Fotos ===== */
/* Drei Fotos bewusst ca. 22% kleiner als 10.4 */
.editor-card-preview .preview-photo-row.count-3,
.greeting10 .photo-grid.count-3{
  max-width:470px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:13px 16px!important;
}
.editor-card-preview .preview-photo-row.count-3 .mini-photo:nth-child(3),
.greeting10 .photo-grid.count-3 a:nth-child(3){
  grid-column:1 / 3!important;
  width:56%!important;
  justify-self:center!important;
}
.editor-card-preview .preview-photo-row.count-2,
.greeting10 .photo-grid.count-2{max-width:500px!important;gap:16px!important}
.editor-card-preview .preview-photo-row.count-1,
.greeting10 .photo-grid.count-1{max-width:410px!important;grid-template-columns:minmax(0,410px)!important}
/* Die Eingabefelder zeigen die gewählte Gestaltung ebenfalls live. */
#titleInput,#message{transition:none!important}
@media(max-width:600px){
 .editor-card-preview .preview-photo-row.count-3,.greeting10 .photo-grid.count-3{max-width:390px!important}
 .editor-card-preview .preview-photo-row.count-3 .mini-photo:nth-child(3),.greeting10 .photo-grid.count-3 a:nth-child(3){width:58%!important}
}


/* ===== UPDATE 10.6: echte Live-Vorschau repariert + Fotos tiefer ===== */
/* Mehr Luft zwischen Nachricht und Bildern, in Editor und fertiger Karte. */
.editor-card-preview .preview-photo-row,
.greeting10 .photo-grid{
  margin-top:42px!important;
}
@media(max-width:600px){
  .editor-card-preview .preview-photo-row,
  .greeting10 .photo-grid{margin-top:30px!important;}
}

/* Update 10.7: gespeicherte Schrift zuverlässig auch in Vorschau/Empfängerkarte anwenden */
.greeting10.font-arial .oval-center{--user-font:Arial,Helvetica,sans-serif!important}
.greeting10.font-georgia .oval-center{--user-font:Georgia,"Times New Roman",serif!important}
.greeting10.font-times .oval-center{--user-font:"Times New Roman",Times,serif!important}
.greeting10.font-trebuchet .oval-center{--user-font:"Trebuchet MS",Arial,sans-serif!important}
.greeting10.font-segoeprint .oval-center{--user-font:"Segoe Print","Comic Sans MS",cursive!important}
.greeting10.font-comicsans .oval-center{--user-font:"Comic Sans MS",cursive!important}
.greeting10.font-lucida .oval-center{--user-font:"Lucida Handwriting","Segoe Print",cursive!important}
.greeting10.font-brush .oval-center{--user-font:"Brush Script MT","Segoe Script",cursive!important}

/* Update 10.8 – erste echte Themenmotive + 3-Foto-Abstand */
.greeting10.coastpalms{--theme:url('stationery/coast-palms.jpg')!important}
.greeting10.route66{--theme:url('stationery/route66.jpg')!important}
/* Nur drei Fotos etwas tiefer. Ein und zwei Fotos bleiben unverändert. */
.greeting10 .photo-grid.count-3{margin-top:62px!important}
.editor-card-preview .preview-photo-row.count-3{margin-top:62px!important}
@media(max-width:760px){
 .greeting10 .photo-grid.count-3,.editor-card-preview .preview-photo-row.count-3{margin-top:42px!important}
}

/* ===== UPDATE 10.9: große echte Vorlagen als Blätter-Karussell ===== */
.template-panel{overflow:hidden}
.template-carousel{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:10px}
.template-carousel .tpl-select{display:flex!important;grid-template-columns:none!important;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:10px 4px 18px;scrollbar-width:none}
.template-carousel .tpl-select::-webkit-scrollbar{display:none}
.template-carousel .tpl-choice{flex:0 0 clamp(205px,29%,285px);min-height:0!important;padding:9px!important;border-radius:18px!important;background:#fff!important;scroll-snap-align:center;box-shadow:0 10px 26px #263a4a1c!important;border:3px solid transparent!important;display:block!important;text-align:center!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.template-carousel .tpl-choice:hover{transform:translateY(-4px);box-shadow:0 15px 34px #263a4a2a!important}
.template-carousel .tpl-choice.selected{border-color:#0797e5!important;box-shadow:0 0 0 3px #0797e51f,0 15px 34px #263a4a25!important}
.tpl-thumb{display:block;width:100%;aspect-ratio:1055/1491;background-position:center;background-size:cover;background-repeat:no-repeat;border-radius:11px;box-shadow:inset 0 0 0 1px #00000012;margin-bottom:10px}
.template-carousel .tpl-choice b{display:block;font-size:16px;line-height:1.25;min-height:40px;color:#173a56;padding:2px 5px}
.tpl-use{display:inline-block;margin:5px auto 2px;padding:6px 12px;border-radius:999px;background:#eef8ff;color:#087eb7;font-size:12px;font-weight:800}
.template-carousel .tpl-choice.selected .tpl-use{background:#087eb7;color:#fff}
.carousel-arrow{width:46px;height:46px;border:0;border-radius:50%;background:#173a56;color:#fff;font-size:34px;line-height:1;cursor:pointer;box-shadow:0 7px 18px #173a5633;z-index:3}.carousel-arrow:hover{transform:scale(1.05)}
/* Das ausgewählte Motiv ist jetzt auch wirklich der Hintergrund der großen Live-/Empfängerkarte. */
.greeting10.coastpalms{background-image:url('stationery/coast-palms.jpg')!important;background-size:cover!important;background-position:center!important}
.greeting10.route66{background-image:url('stationery/route66.jpg')!important;background-size:cover!important;background-position:center!important}
@media(max-width:760px){.template-carousel{grid-template-columns:38px minmax(0,1fr) 38px;gap:5px}.carousel-arrow{width:36px;height:36px;font-size:28px}.template-carousel .tpl-choice{flex-basis:68%}}
@media(max-width:480px){.template-carousel .tpl-choice{flex-basis:82%}}

/* Update 10.10 – fertige Empfaengerkarte auf Desktop kompakter anzeigen */
@media screen and (min-width:761px){
  .greeting10-wrap{max-width:860px!important;}
  .greeting10-wrap>.greeting10{width:min(720px,100%)!important;min-height:0!important;aspect-ratio:1055/1491!important;padding:0!important;background-size:100% 100%!important;}
}

/* Update 10.11 – Empfaengeransicht wirklich kompakter (nur Bildschirm/PC) */
@media screen and (min-width:761px){
  body .greeting10-wrap{max-width:650px!important;padding-left:18px!important;padding-right:18px!important;}
  body .greeting10-wrap > article.greeting10{width:560px!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;}
}


/* Update 10.12 – eindeutige kleinere Empfaengerkarte.
   Nur Bildschirmansicht; Druck bleibt A4. */
@media screen and (min-width:761px){
  body.recipient-page main.greeting10-wrap{
    width:100%!important;
    max-width:560px!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
  }
  body.recipient-page main.greeting10-wrap > article.greeting10{
    width:440px!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* ===== UPDATE 10.13: sichtbare Kartengroesse an der richtigen Stelle =====
   Die bisherige Rueckmeldung bezog sich auf die grosse Live-Karte im Editor.
   Deshalb wird jetzt sowohl diese Vorschau als auch die Empfaengerkarte
   auf Desktop kompakter angezeigt. Der A4-Druck bleibt durch @media print unberuehrt. */
@media screen and (min-width:761px){
  .editor-card-preview{
    width:100%!important;
    max-width:560px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:12px!important;
  }
  .editor-card-preview > article.greeting10{
    width:100%!important;
    max-width:536px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.recipient-page main.greeting10-wrap{
    max-width:596px!important;
  }
  body.recipient-page main.greeting10-wrap > article.greeting10{
    width:560px!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* ===== UPDATE 10.14: erste echte Premium-Themenvorlagen ===== */
/* Die Vorschaukarten zeigen dasselbe Motiv wie die große Karte. */
.greeting10.coastpalms{background-image:url('stationery/palms-premium.jpg')!important}
.greeting10.route66{background-image:url('stationery/route66-premium.jpg')!important}
.greeting10.alps{background-image:url('stationery/alps-premium.jpg')!important}
.greeting10.wedding{background-image:url('stationery/wedding-premium.jpg')!important}
.greeting10.birthday{background-image:url('stationery/birthday-premium.jpg')!important}


/* ===== UPDATE 10.15: kompakter Editor + groesseres Oval ===== */
/* Titel- und Nachrichtenbereich spart deutlich Hoehe, 500-Zeichen-Grenze bleibt unveraendert. */
#titleInput{padding-top:9px!important;padding-bottom:9px!important;}
#message{min-height:96px!important;height:96px!important;resize:vertical!important;padding-top:10px!important;padding-bottom:10px!important;}
.char-row{margin-top:4px!important;}

/* Uploadbereich ohne doppelte Ueberschrift, alles in einer flachen Zeile. */
.photo-panel{padding-top:16px!important;padding-bottom:18px!important;}
.upload-box.upload-compact{
  padding:9px 12px!important;
  min-height:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:8px 12px!important;
  border-radius:14px!important;
}
.upload-box.upload-compact input[type=file]{max-width:300px!important;}
.upload-box.upload-compact .upload-hint{font-size:12px;color:#667985;white-space:nowrap;}
.upload-box.upload-compact .photo-count{margin:0!important;padding:4px 9px!important;font-size:12px!important;white-space:nowrap;}
.photo-panel .img-preview{margin-top:10px!important;gap:10px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:620px;margin-left:auto!important;margin-right:auto!important;}
.photo-panel .img-preview>div{aspect-ratio:4/3!important;min-height:0!important;}

/* Oval in Live-Vorschau und fertiger Karte groesser: mehr Platz fuer Text/Fotos. */
.greeting10 .oval-center,.editor-card-preview .oval-center{
  left:9.5%!important;
  right:9.5%!important;
  top:11.5%!important;
  bottom:11.5%!important;
  padding:8% 7% 9%!important;
}
@media(max-width:600px){
  .greeting10 .oval-center,.editor-card-preview .oval-center{
    left:8%!important;right:8%!important;top:11%!important;bottom:11%!important;padding:9% 6%!important;
  }
  .upload-box.upload-compact{justify-content:flex-start!important;}
  .upload-box.upload-compact .upload-hint{white-space:normal;}
}
@media print{
  .greeting10 .oval-center{left:20mm!important;right:20mm!important;top:34mm!important;bottom:34mm!important;padding:15mm 12mm!important;}
}

/* ===== UPDATE 10.16: Rechteck statt Oval ===== */
/* Mehr nutzbare Flaeche fuer Titel, Nachricht und bis zu drei Fotos. */
.greeting10 .oval-center,.editor-card-preview .oval-center{
  left:7.5%!important;
  right:7.5%!important;
  top:8.5%!important;
  bottom:8.5%!important;
  border-radius:28px!important;
  padding:7% 6.5% 8%!important;
  background:rgba(255,253,247,.86)!important;
  box-shadow:0 0 34px 14px rgba(255,253,247,.30)!important;
}
@media(max-width:600px){
  .greeting10 .oval-center,.editor-card-preview .oval-center{
    left:6.5%!important;right:6.5%!important;top:7.5%!important;bottom:7.5%!important;
    border-radius:20px!important;padding:8% 5.5%!important;
  }
}
@media print{
  .greeting10 .oval-center{
    left:16mm!important;right:16mm!important;top:25mm!important;bottom:25mm!important;
    border-radius:7mm!important;padding:13mm 11mm!important;
  }
}

/* ===== UPDATE 10.17: Text-Sicherheitsrand + komfortableres Nachrichtenfeld ===== */
/* Etwas mehr Schreibhoehe, ohne den kompakten Editor wieder aufzublaehen. */
#message{
  min-height:132px!important;
  height:132px!important;
  resize:vertical!important;
}

/* Text darf niemals ueber den hellen Kartenbereich hinausragen. */
.greeting10 .oval-center,
.editor-card-preview .oval-center{
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.greeting10 .oval-center h1,
.editor-card-preview .oval-center h1,
.greeting10 .oval-center .message,
.editor-card-preview .oval-center .message{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  hyphens:auto!important;
}
.greeting10 .oval-center h1,
.editor-card-preview .oval-center h1{
  padding-left:2%!important;
  padding-right:2%!important;
  line-height:1.08!important;
  font-size:clamp(27px,5.6vw,58px)!important;
}
.greeting10 .oval-center .message,
.editor-card-preview .oval-center .message{
  padding-left:2.5%!important;
  padding-right:2.5%!important;
  line-height:1.35!important;
}
@media(max-width:600px){
  #message{min-height:118px!important;height:118px!important;}
  .greeting10 .oval-center h1,.editor-card-preview .oval-center h1{font-size:clamp(24px,8vw,44px)!important;}
}
@media print{
  .greeting10 .oval-center h1{font-size:15mm!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
  .greeting10 .oval-center .message{overflow-wrap:anywhere!important;word-break:break-word!important;}
}

/* ===== UPDATE 10.18: frei verschiebbare Karten-Elemente ===== */
.layout-toolbar{
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
  margin:10px auto 12px;padding:8px 10px;border-radius:14px;background:#f4f9fc;border:1px solid #d7e7f1;
  color:#49687d;font-size:13px;font-weight:700;
}
.layout-toolbar span{margin-right:4px}
.layout-toolbar button{border:0;border-radius:10px;background:#173a56;color:#fff;min-width:38px;height:34px;padding:0 12px;font-weight:900;cursor:pointer}
.layout-toolbar #resetLayoutBtn{background:#e8f4fb;color:#173a56;min-width:auto;font-weight:800}
.layout-toolbar button:hover{filter:brightness(1.06)}

/* Im Editor und bei neu gespeicherten Karten wird das helle Rechteck zur freien Arbeitsflaeche. */
.layout-editor .oval-center,.custom-layout .oval-center{
  display:block!important;
  position:absolute!important;
  overflow:hidden!important;
}
.layout-editor .drag-item,.custom-layout .saved-layout-item{
  position:absolute!important;
  left:var(--lx)!important;
  top:var(--ly)!important;
  width:var(--lw)!important;
  max-width:none!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  box-sizing:border-box!important;
}
.layout-editor .drag-title,.layout-editor .drag-message{
  z-index:20;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;
}
.layout-editor .drag-title:active,.layout-editor .drag-message:active,.layout-editor .layout-photo:active{cursor:grabbing}
.layout-editor .drag-title,.custom-layout .saved-title{
  padding:4px 8px!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;
}
.layout-editor .drag-message,.custom-layout .saved-message{
  padding:5px 8px!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;
  line-height:1.35!important;
}

/* Fotoebene liegt ueber der ganzen hellen Arbeitsflaeche; jedes Foto hat eigene Position/Groesse. */
.layout-editor .custom-photo-layer,.custom-layout .custom-photo-layer{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;margin:0!important;padding:0!important;display:block!important;
  pointer-events:none!important;z-index:15!important;
}
.layout-editor .layout-photo,.custom-layout .saved-photo{
  position:absolute!important;left:var(--lx)!important;top:var(--ly)!important;width:var(--lw)!important;
  transform:translate(-50%,-50%)!important;aspect-ratio:4/3!important;height:auto!important;
  padding:6px!important;border:5px solid #fff!important;background:#fff!important;border-radius:7px!important;
  box-shadow:0 8px 20px rgba(33,44,55,.18)!important;box-sizing:border-box!important;
  overflow:hidden!important;pointer-events:auto!important;margin:0!important;max-width:none!important;
}
.layout-editor .layout-photo{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.layout-editor .layout-photo img,.custom-layout .saved-photo img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border:0!important;padding:0!important;margin:0!important;
}
.layout-editor .selected-drag{
  outline:3px solid #0a99e6!important;outline-offset:4px!important;box-shadow:0 0 0 6px rgba(10,153,230,.12)!important;
}
/* Titel/Nachricht bleiben ueber den Bildern anklickbar, Fotos koennen trotzdem frei platziert werden. */
.layout-editor .drag-title,.layout-editor .drag-message{pointer-events:auto!important}
.custom-layout .saved-title,.custom-layout .saved-message{z-index:20!important}

@media(max-width:600px){
  .layout-toolbar{justify-content:flex-start;font-size:12px}
  .layout-toolbar span{width:100%;margin:0 0 2px}
  .layout-toolbar button{height:32px}
  .layout-editor .layout-photo,.custom-layout .saved-photo{padding:4px!important;border-width:3px!important}
}
@media print{
  .custom-layout .saved-layout-item{transform:translate(-50%,-50%)!important}
  .custom-layout .custom-photo-layer{position:absolute!important;inset:0!important}
  .custom-layout .saved-photo{aspect-ratio:4/3!important}
}


/* ===== UPDATE 10.20: echte Zieh-Anfasser + Karte vor Eingabefeldern ===== */
.layout-editor .drag-item{position:absolute!important}
.layout-editor .resize-handle{
  position:absolute!important;right:-11px!important;bottom:-11px!important;
  width:24px!important;height:24px!important;border-radius:50%!important;
  background:#0a99e6!important;border:3px solid #fff!important;
  box-shadow:0 2px 9px rgba(0,0,0,.32)!important;
  cursor:nwse-resize!important;touch-action:none!important;z-index:100!important;
  display:none!important;pointer-events:auto!important;
}
.layout-editor .selected-drag>.resize-handle{display:block!important}
/* Titel: kein Begrenzungsrahmen. Nur der blaue Anfasser zeigt die Bearbeitung. */
.layout-editor .drag-title.selected-drag{
  outline:none!important;box-shadow:none!important;background:transparent!important;
}
/* Nachricht: immer als EIN Block verschieben/verbreitern/verengen. */
.layout-editor .drag-message.selected-drag{
  outline:2px solid #0a99e6!important;outline-offset:5px!important;
  background:rgba(255,255,255,.12)!important;
  box-shadow:0 0 0 4px rgba(10,153,230,.10)!important;
}
/* Jedes Foto separat verschieben und am Eck-Anfasser stufenlos skalieren. */
.layout-editor .layout-photo.selected-drag{
  outline:3px solid #0a99e6!important;outline-offset:4px!important;
}
.layout-editor .drag-title,.layout-editor .drag-message,.layout-editor .layout-photo{overflow:visible!important}
.layout-editor .layout-photo img{border-radius:2px!important}
@media(max-width:600px){
 .layout-editor .resize-handle{width:28px!important;height:28px!important;right:-13px!important;bottom:-13px!important}
}


/* ===== UPDATE 10.21: echte funktionierende Anfasser fuer ALLE Elemente ===== */
.layout-editor .drag-title,.layout-editor .drag-message,.layout-editor .layout-photo{
  min-width:0!important;
}
.layout-editor .drag-title.selected-drag>.resize-handle,
.layout-editor .drag-message.selected-drag>.resize-handle,
.layout-editor .layout-photo.selected-drag>.resize-handle{
  display:block!important;
}
.layout-editor .drag-title>.resize-handle,
.layout-editor .drag-message>.resize-handle,
.layout-editor .layout-photo>.resize-handle{
  position:absolute!important;
  right:-12px!important;bottom:-12px!important;
  width:26px!important;height:26px!important;
  border-radius:50%!important;background:#0a99e6!important;
  border:3px solid #fff!important;box-shadow:0 2px 9px rgba(0,0,0,.35)!important;
  cursor:nwse-resize!important;touch-action:none!important;z-index:200!important;
}
/* Überschrift bleibt ohne sichtbaren Begrenzungsrahmen. */
.layout-editor .drag-title.selected-drag{outline:none!important;box-shadow:none!important;}
/* Nachricht bleibt als kompletter Block sichtbar markiert. */
.layout-editor .drag-message.selected-drag{outline:2px solid #0a99e6!important;outline-offset:5px!important;}


/* ===== UPDATE 10.22: Resize-Mechanik stabilisiert ===== */
.layout-editor .resize-handle{
  display:none!important;pointer-events:auto!important;touch-action:none!important;
  user-select:none!important;-webkit-user-select:none!important;
}
.layout-editor .selected-drag > .resize-handle{display:block!important}
.layout-editor .drag-title,.layout-editor .drag-message,.layout-editor .layout-photo{contain:none!important}
.layout-editor .drag-title{white-space:normal!important;overflow-wrap:anywhere!important}
.layout-editor .drag-message{white-space:normal!important;overflow-wrap:anywhere!important}


/* ===== UPDATE 10.23: Resize robust über Dokument-Ereignisse ===== */
.layout-editor .drag-item{box-sizing:border-box!important;min-width:0!important}
.layout-editor .resize-handle{
  position:absolute!important;right:-14px!important;bottom:-14px!important;
  width:30px!important;height:30px!important;border-radius:50%!important;
  background:#078fd4!important;border:4px solid #fff!important;
  box-shadow:0 2px 10px rgba(0,0,0,.38)!important;
  cursor:nwse-resize!important;touch-action:none!important;z-index:9999!important;
  display:none!important;pointer-events:auto!important;
}
.layout-editor .selected-drag>.resize-handle{display:block!important}
.layout-editor .drag-title,.layout-editor .drag-message,.layout-editor .layout-photo{overflow:visible!important}
.layout-editor .drag-title.selected-drag{outline:none!important;box-shadow:none!important;background:transparent!important}
.layout-editor .drag-message.selected-drag{outline:2px solid #078fd4!important;outline-offset:5px!important}
.layout-editor .layout-photo.selected-drag{outline:3px solid #078fd4!important;outline-offset:4px!important}
.layout-editor .custom-photo-layer{overflow:visible!important}
@media(max-width:600px){.layout-editor .resize-handle{width:34px!important;height:34px!important;right:-16px!important;bottom:-16px!important}}

/* ===== UPDATE 10.24: echte Breiten-Regeln fuer Editor-Resize ===== */
/* Alte Regeln aus 10.17 und den Foto-Layouts hatten width:100% / feste Breiten mit !important.
   Diese spezifischeren Editor-Regeln sorgen dafuer, dass --lw beim Ziehen wirklich gewinnt. */
.layout-editor .oval-center .drag-title,
.layout-editor .oval-center .drag-message{
  width:var(--lw)!important;
  max-width:none!important;
  min-width:0!important;
}
.layout-editor .custom-photo-layer.preview-photo-row.count-1 .layout-photo,
.layout-editor .custom-photo-layer.preview-photo-row.count-2 .layout-photo,
.layout-editor .custom-photo-layer.preview-photo-row.count-3 .layout-photo,
.layout-editor .custom-photo-layer .layout-photo:nth-child(1),
.layout-editor .custom-photo-layer .layout-photo:nth-child(2),
.layout-editor .custom-photo-layer .layout-photo:nth-child(3){
  width:var(--lw)!important;
  max-width:none!important;
  grid-column:auto!important;
  justify-self:auto!important;
}

/* ===== UPDATE 10.25: neue Motivsammlung ohne alte Oval-Vorlagen ===== */
.greeting10.coastpalms{background-image:url('stationery/palms-new.jpg')!important}
.greeting10.route66{background-image:url('stationery/route66-new.jpg')!important}
.greeting10.alps{background-image:url('stationery/alps-new.jpg')!important}
.greeting10.wedding{background-image:url('stationery/wedding-new.jpg')!important}
.greeting10.birthday{background-image:url('stationery/birthday-new.jpg')!important}
.greeting10.music{background-image:url('stationery/music-new.jpg')!important}
.greeting10.sport{background-image:url('stationery/sport-new.jpg')!important}
.greeting10.kids{background-image:url('stationery/kids-new.jpg')!important}
.greeting10.animals{background-image:url('stationery/animals-new.jpg')!important}
.greeting10.christmas{background-image:url('stationery/christmas-new.jpg')!important}
.greeting10.easter{background-image:url('stationery/easter-new.jpg')!important}
.greeting10.baby{background-image:url('stationery/baby-new.jpg')!important}
.greeting10.thanks{background-image:url('stationery/thanks-new.jpg')!important}
.greeting10.getwell{background-image:url('stationery/getwell-new.jpg')!important}
.greeting10.general{background-image:url('stationery/general-new.jpg')!important}

/* Besucherzaehler */
.qrz-counter{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:18px auto 6px;max-width:900px;padding:0 14px}.qrz-countbox{min-width:120px;background:#f4f9fc;border:1px solid #d7e6ef;border-radius:14px;padding:9px 13px;text-align:center;box-shadow:0 5px 15px #163c5510}.qrz-countbox small{display:block;color:#627886;font-size:11px;margin-bottom:2px}.qrz-countbox strong{font-size:19px;color:#0c3555}.qrz-countbox.online strong:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:#2ac45a;margin-right:7px}
/* Update 10.26 – zusätzliche Motivkarten, Editor unverändert */
.greeting10.friends2{background-image:url('stationery/friends2-new.jpg')!important}
.greeting10.love2{background-image:url('stationery/love2-new.jpg')!important}
.greeting10.luck{background-image:url('stationery/luck-new.jpg')!important}
.greeting10.vacation{background-image:url('stationery/vacation-new.jpg')!important}
.greeting10.morning{background-image:url('stationery/morning-new.jpg')!important}
.greeting10.friendship{background-image:url('stationery/friendship-new.jpg')!important}
.greeting10.hometown{background-image:url('stationery/hometown-new.jpg')!important}
.greeting10.camper{background-image:url('stationery/camper-new.jpg')!important}
.greeting10.autumn{background-image:url('stationery/autumn-new.jpg')!important}
.greeting10.winter{background-image:url('stationery/winter-new.jpg')!important}
.greeting10.moment{background-image:url('stationery/moment-new.jpg')!important}
.greeting10.newyear{background-image:url('stationery/newyear-new.jpg')!important}

/* QR-ZACK Update 10.28: Sprache, Teilen, Wochenzähler, permanenter QR-ZACK-Code */
.language-wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.language-label{font-size:12px;font-weight:800;color:#617483}.langs{flex-wrap:wrap;justify-content:flex-end}.langs a{display:inline-flex;align-items:center;gap:4px}.langs a span{font-weight:600;opacity:.75}.langs a.active{border-color:#138ac1;box-shadow:0 0 0 2px #138ac11a;background:#f5fbff}.share-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.share-btn.facebook{background:#1877f2}.share-btn.qrshare{background:#7846b9}.qr-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.qrz-counter{max-width:1040px}.qrz-countbox{min-width:112px}
.qrz-permanent-mark{position:absolute;z-index:8;right:22px;bottom:18px;display:flex;align-items:center;gap:8px;max-width:270px;background:rgba(255,255,255,.9);border:1px solid rgba(20,58,82,.18);border-radius:10px;padding:6px 8px;color:#173a56;box-shadow:0 4px 14px #0001;font-family:Arial,Helvetica,sans-serif!important;text-align:left!important}.qrz-permanent-mark canvas{width:64px;height:64px;flex:0 0 64px;background:#fff}.qrz-permanent-mark span{display:flex;flex-direction:column;gap:1px;line-height:1.15}.qrz-permanent-mark strong{font-size:12px;color:#087eb7}.qrz-permanent-mark b{font-size:9px}.qrz-permanent-mark small{font-size:8px}.qrz-permanent-mark em{font-size:7px;font-style:normal;opacity:.7}
@media(max-width:760px){.language-wrap{justify-content:center}.language-label{width:100%;text-align:center}.langs a span{display:none}.share-buttons{grid-template-columns:1fr}.qrz-permanent-mark{right:10px;bottom:10px;max-width:220px}.qrz-permanent-mark canvas{width:54px;height:54px;flex-basis:54px}}
@media print{.qrz-permanent-mark{display:flex!important;right:5mm!important;bottom:5mm!important;box-shadow:none!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.qrz-permanent-mark canvas{width:18mm!important;height:18mm!important;flex-basis:18mm!important}}
/* ===== UPDATE 10.29: kostenloser Bereich „Meine Karten“ ===== */
.mycards-float{position:fixed;right:16px;top:14px;z-index:80;background:#fff;border:1px solid #d6e5ed;border-radius:999px;padding:9px 14px;text-decoration:none;font-weight:800;color:#0b5278;box-shadow:0 5px 18px #0002}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}.account-box{border:1px solid #d9e7ee;border-radius:18px;padding:20px;background:#f9fcfe}.account-box label{display:block;font-weight:700;margin:12px 0}.account-box input{width:100%;box-sizing:border-box;margin-top:5px;padding:12px;border:1px solid #bfd2dc;border-radius:10px;font-size:16px}.account-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.account-nav a{font-weight:800}.mycards-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.mycards-list{display:grid;gap:14px;margin-top:18px}.mycard{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #d9e7ee;border-radius:16px;padding:16px;background:#fff}.mycard h2{margin:0 0 4px}.mycard p{margin:0;color:#5c7180}.mycard-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.mycard-actions form{margin:0}.mycard-actions .mini-link{font:inherit;cursor:pointer}.extended-ok{font-size:13px;font-weight:800;color:#16803c}.account-save-panel{margin:16px 0;padding:14px 16px;border:1px solid #b9dfc6;background:#f3fff6;border-radius:14px;line-height:1.5}.account-save-panel .mini-link{margin-left:8px}@media(max-width:760px){.account-grid{grid-template-columns:1fr}.mycard{align-items:flex-start;flex-direction:column}.mycard-actions{justify-content:flex-start}.mycards-float{position:static;display:block;width:max-content;margin:10px auto 0}.account-nav{width:100%;justify-content:center}}
\n/* ===== UPDATE 10.30: „Meine Karten“ deutlich sichtbar ===== */
.account-entry{display:flex;align-items:center;margin-left:auto;margin-right:8px}
.account-entry-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border-radius:999px;background:#0b83bd;color:#fff!important;text-decoration:none!important;font-weight:900!important;font-size:14px;white-space:nowrap;box-shadow:0 5px 14px rgba(11,131,189,.22);border:2px solid #fff}
.account-entry-btn:hover{background:#086c9c;transform:translateY(-1px)}
@media(max-width:820px){.topbar{flex-wrap:wrap}.account-entry{order:3;width:100%;margin:8px 0 2px;justify-content:center}.account-entry-btn{min-width:210px}.language-wrap{order:2}}


/* QR-ZACK 10.31 – Meine Karten komfortabler */
.account-entry-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}
.account-logout-link{font-weight:800;color:#0b355d;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.backbar{max-width:1080px;margin:0 auto 12px;padding:0 8px}
.back-link{display:inline-flex;align-items:center;gap:6px;font-weight:900;color:#0b355d;text-decoration:none;background:#fff;border:1px solid #dbe7f0;border-radius:999px;padding:10px 16px;box-shadow:0 6px 18px rgba(12,53,91,.08)}
.back-link:hover{transform:translateY(-1px)}
.mycard-info{min-width:0;flex:1}
.card-name-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:3px}
.card-name-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#678}
.card-name-display{font-size:1.08rem;color:#0b355d}
.rename-card-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.rename-card-form input{min-width:240px;flex:1;max-width:460px;border:1px solid #ccdce8;border-radius:10px;padding:10px 12px;font:inherit;background:#fff}
.rename-card-form .mini-link{border:0;cursor:pointer}
@media(max-width:700px){.rename-card-form input{min-width:100%;max-width:none}.account-entry-group{gap:7px}.account-logout-link{font-size:.92rem}}

/* QR-ZACK 10.32: explizites Speichern fertiger Karten */
.result-save-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.result-save-form input{flex:1 1 260px;min-width:0;padding:11px 12px;border:1px solid #b9ced9;border-radius:10px;font-size:16px;background:#fff}
.result-save-form .btn{margin:0;border:0;cursor:pointer}
.saved-card-name{display:inline-block;margin-left:10px;color:#46606d}
@media(max-width:640px){.result-save-form{align-items:stretch}.result-save-form .btn{width:100%}.saved-card-name{display:block;margin:6px 0 0}}

/* QR-ZACK 10.33 – Karten löschen */
.delete-card-form{margin:0}.delete-card-btn{border-color:#df9c9c!important;background:#fff7f7!important;color:#9b2222!important}.delete-card-btn:hover{background:#ffe9e9!important}.delete-success{margin:14px 0;border-color:#b9dfc6!important;background:#f3fff6!important;color:#146b31!important}

/* QR-ZACK 10.34 – persönliche Sprachnachricht */
.voice-panel{border-color:#cfe2ec;background:linear-gradient(180deg,#fff,#f8fcfe)}
.voice-recorder{display:grid;gap:12px}.voice-recorder-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.voice-recorder-actions .btn{margin:0;border:0;cursor:pointer}.voice-recorder-actions .btn:disabled{opacity:.45;cursor:not-allowed}.voice-status{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:#eef7fb;color:#315667}.voice-status strong{color:#0b5278;font-variant-numeric:tabular-nums}.voice-recorder audio,.voice-existing audio,.result-voice-note audio,.voice-message-card audio{width:100%;max-width:560px}.voice-file-fallback{font-size:13px;color:#607786;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.voice-file-fallback input{max-width:100%}.voice-existing{display:grid;gap:9px;margin:12px 0 16px;padding:12px;border:1px solid #b9dfc6;border-radius:12px;background:#f3fff6}.voice-remove{font-size:13px;color:#8a3030}.voice-clear{border:0;cursor:pointer}.voice-message-card{max-width:720px;margin:14px auto 10px;padding:14px 16px;border:1px solid #cfe2ec;background:#f7fcff;border-radius:16px;text-align:center;box-shadow:0 6px 18px #163c5510}.voice-message-title{font-weight:900;color:#0b5278;margin-bottom:10px}.result-voice-note{display:grid;gap:8px;margin:12px 0;padding:12px;border:1px solid #cfe2ec;border-radius:12px;background:#f7fcff}.result-voice-note b{color:#0b5278}
@media(max-width:640px){.voice-recorder-actions{align-items:stretch}.voice-recorder-actions .btn{width:100%}.voice-status{align-items:flex-start}.voice-file-fallback{display:block}.voice-file-fallback input{display:block;margin-top:7px;width:100%}}

/* QR-ZACK 10.35 – optionale Musik */
.music-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.music-choice{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #d9e1ea;border-radius:12px;background:#fff;cursor:pointer}.music-choice.selected{border-color:#1779ba;box-shadow:0 0 0 2px rgba(23,121,186,.12)}.music-choice input{width:18px;height:18px}.music-choice-name{font-weight:700;flex:1}.music-preview-btn{white-space:nowrap}.music-panel>audio{width:100%;margin-top:12px}.music-message-card,.result-music-note{margin:14px auto;padding:12px 14px;border-radius:14px;background:#f7fbff;border:1px solid #dbeaf5;max-width:760px}.music-message-card audio,.result-music-note audio{display:block;width:100%;margin-top:8px}@media(max-width:680px){.music-choice-list{grid-template-columns:1fr}.music-choice{align-items:center}}


/* QR-ZACK 10.39: getrennte Lautstärke + automatisches Ducking */
.audio-mixer{max-width:720px;margin:12px auto 18px;padding:14px 16px;border:1px solid #d9e6ee;border-radius:16px;background:#fffdf7;box-shadow:0 6px 18px rgba(22,60,85,.06)}
.audio-mixer.compact{max-width:760px;margin:12px 0 16px}
.audio-mixer-title{font-weight:900;color:#0b5278;margin-bottom:10px;text-align:center}
.audio-slider-row{display:grid;grid-template-columns:110px minmax(140px,1fr) 52px;gap:12px;align-items:center;margin:10px 0}
.audio-slider-row label{font-weight:800;color:#294b5f}.audio-slider-row input[type=range]{width:100%;accent-color:#c58b13}.audio-slider-row output{font-weight:800;text-align:right;font-variant-numeric:tabular-nums;color:#4b5b65}
.audio-duck-hint{font-size:12px;color:#6c7b84;text-align:center;margin-top:8px}
@media(max-width:560px){.audio-slider-row{grid-template-columns:88px 1fr 46px;gap:8px}.audio-mixer{padding:12px}}

/* QR-ZACK 10.40 – Musik beim Aufnehmen + gemeinsame Mischung */
.music-live-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #e5edf2}
.music-live-controls .small{margin:0;color:#526a79}
#createAudioMixer{margin-top:18px}
#createAudioMixer .voice-recorder-actions{justify-content:center;margin-top:12px}

/* QR-ZACK 10.42 – einfache Auswahl Musik ODER Sprachnachricht */
.accompaniment-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.accompaniment-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:132px;padding:18px 14px;border:2px solid #e2e8ef;border-radius:18px;background:#fff;cursor:pointer;text-align:center;transition:.18s ease}
.accompaniment-option:hover{transform:translateY(-1px);border-color:#b7c7d8}
.accompaniment-option.selected{border-color:#0d4d78;box-shadow:0 0 0 3px rgba(13,77,120,.10);background:#f7fbff}
.accompaniment-option input{position:absolute;top:12px;left:12px;width:20px;height:20px}
.accompaniment-option .accompaniment-icon{font-size:34px;line-height:1}
.accompaniment-option strong{font-size:18px;color:#0b3555}
.accompaniment-option small{font-size:13px;line-height:1.35;color:#687887}
.simple-media-panel[hidden]{display:none!important}
.simple-media-panel{animation:qrzSimpleOpen .18s ease-out}
@keyframes qrzSimpleOpen{from{opacity:.3;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:760px){.accompaniment-choice{grid-template-columns:1fr}.accompaniment-option{min-height:96px;align-items:flex-start;text-align:left;padding:16px 18px 16px 62px}.accompaniment-option input{left:18px;top:50%;transform:translateY(-50%)}.accompaniment-option .accompaniment-icon{position:absolute;left:20px;top:16px;font-size:28px}.accompaniment-option strong,.accompaniment-option small{padding-left:8px}}

/* ===== STAND 43C: Blätterflyer sauber und gleichmäßig =====
   Nur Darstellung der Vorlagenauswahl. Funktionen bleiben unverändert. */
.template-panel{overflow:hidden!important;padding:28px 28px 30px!important}
.template-panel>h2{margin-bottom:6px!important}
.template-panel>.small{margin:0 0 16px!important;line-height:1.45!important;color:#647786!important}
.template-carousel{display:grid!important;grid-template-columns:50px minmax(0,1fr) 50px!important;gap:10px!important;align-items:center!important}
.template-carousel .tpl-select{display:flex!important;gap:18px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;padding:10px 4px 18px!important;scrollbar-width:none!important;align-items:stretch!important}
.template-carousel .tpl-select::-webkit-scrollbar{display:none!important}
.template-carousel .tpl-choice{flex:0 0 clamp(260px,31%,315px)!important;min-height:0!important;padding:10px!important;border-radius:18px!important;background:#fff!important;border:2px solid #dbe7ed!important;box-shadow:0 8px 22px rgba(38,58,74,.12)!important;display:block!important;text-align:center!important;scroll-snap-align:center!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important}
.template-carousel .tpl-choice:hover{transform:translateY(-2px)!important;border-color:#b8d7e6!important;box-shadow:0 12px 28px rgba(38,58,74,.17)!important}
.template-carousel .tpl-choice.selected{border-color:#0797e5!important;box-shadow:0 0 0 3px rgba(7,151,229,.12),0 12px 28px rgba(38,58,74,.16)!important}
.template-carousel .tpl-thumb{display:block!important;width:100%!important;aspect-ratio:16/10!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;border-radius:12px!important;margin:0 0 10px!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08),0 3px 10px rgba(0,0,0,.08)!important}
.template-carousel .tpl-choice b{display:block!important;font-size:16px!important;line-height:1.25!important;min-height:22px!important;padding:2px 5px!important;color:#173a56!important}
.template-carousel .tpl-use{display:inline-block!important;margin:5px auto 2px!important;padding:7px 14px!important;border-radius:999px!important;background:#eef8ff!important;color:#087eb7!important;font-size:12px!important;font-weight:800!important;border:1px solid #cfe5f1!important}
.template-carousel .tpl-choice.selected .tpl-use{background:#087eb7!important;color:#fff!important;border-color:#087eb7!important}
.template-carousel .carousel-arrow{width:46px!important;height:46px!important;border-radius:50%!important;display:grid!important;place-items:center!important;padding:0!important;font-size:34px!important}
@media(max-width:760px){.template-panel{padding:22px 12px 24px!important}.template-carousel{grid-template-columns:38px minmax(0,1fr) 38px!important;gap:5px!important}.template-carousel .tpl-select{gap:13px!important;padding:8px 2px 16px!important}.template-carousel .tpl-choice{flex-basis:80%!important;padding:8px!important}.template-carousel .carousel-arrow{width:36px!important;height:36px!important;font-size:28px!important}}
@media(max-width:480px){.template-carousel{grid-template-columns:34px minmax(0,1fr) 34px!important}.template-carousel .tpl-choice{flex-basis:87%!important}}

/* ===== STAND 43G: kurze Erklärung auf der Startseite ===== */
.home-explainer{padding:18px 18px 6px}
.home-explainer .wrap{max-width:1180px}
.home-explainer-card{background:#fff;border-radius:26px;padding:28px 32px;box-shadow:0 12px 34px rgba(22,48,70,.08);border:1px solid rgba(24,76,111,.08)}
.home-explainer-intro{text-align:center;max-width:860px;margin:0 auto 22px}
.home-explainer-kicker{display:inline-block;font-size:13px;font-weight:800;color:#0b8bc1;background:#eef8fd;border-radius:999px;padding:7px 12px;margin-bottom:10px}
.home-explainer h1{margin:0 0 10px;color:#0b3555;font-size:clamp(25px,3vw,36px)}
.home-explainer-intro>p{margin:0;color:#536b7c;font-size:17px;line-height:1.55}
.home-explainer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.home-explainer-item{display:flex;gap:13px;align-items:flex-start;background:#f8fbfd;border:1px solid #dce9f0;border-radius:18px;padding:18px}
.home-explainer-icon{font-size:28px;line-height:1}
.home-explainer-item strong{display:block;color:#0b3555;font-size:17px;margin-bottom:5px}
.home-explainer-item p{margin:0;color:#5f7180;font-size:14px;line-height:1.45}
.home-explainer-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}
@media(max-width:800px){.home-explainer{padding:12px 10px 2px}.home-explainer-card{padding:22px 16px;border-radius:20px}.home-explainer-grid{grid-template-columns:1fr}.home-explainer-intro>p{font-size:15px}.home-explainer-item{padding:15px}}

/* 43H: Erklärung direkt auf dem mittleren QR-ZACK-Blatt im Startbanner */
.hero-info-panel{position:absolute;z-index:4;left:32.2%;top:39%;width:35.4%;box-sizing:border-box;padding:12px 20px 14px;border-radius:18px;background:rgba(255,253,247,.94);box-shadow:0 8px 26px rgba(72,46,25,.12);text-align:center;line-height:1.25;color:#153a57;backdrop-filter:blur(1px)}
.hero-info-title{font-size:21px;font-weight:900;margin-bottom:5px;color:#0b3555}
.hero-info-text{font-size:13px;line-height:1.35;margin:0 auto 8px;max-width:500px;color:#425b6e}
.hero-info-pills{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:6px 0 8px}
.hero-info-pills span{font-size:11px;font-weight:800;background:#eef7fc;border:1px solid #cfe6f2;border-radius:999px;padding:4px 8px;color:#0a527d;white-space:nowrap}
.hero-info-account{font-size:11px;line-height:1.35;color:#536b7c;margin:4px auto 9px}
.hero-info-account strong{color:#0b3555}
.hero-info-actions{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}
.hero-info-btn{display:inline-block;text-decoration:none;background:#f52248;color:#fff!important;font-weight:900;font-size:12px;line-height:1;padding:10px 15px;border-radius:999px;box-shadow:0 7px 18px rgba(245,34,72,.2)}
.hero-info-login{font-size:11px;font-weight:800;color:#0b7dad!important;text-decoration:underline;line-height:1.2}
.hero-info-panel a{position:relative;z-index:5}
@media(max-width:760px){.hero-info-panel{left:32.2%;top:38%;width:35.4%;padding:10px 14px 12px}.hero-info-title{font-size:18px}.hero-info-text{font-size:12px}.hero-info-account{font-size:10px}.hero-info-pills span{font-size:10px;padding:3px 6px}.hero-info-btn{font-size:11px;padding:9px 13px}}

/* ===== STAND 43I: Startbanner sauber integriert, keine große Zusatzbox ===== */
.hero-info-panel{display:none!important}
.hero-note{position:absolute;z-index:3;box-sizing:border-box;pointer-events:none;color:#173a56;line-height:1.25;text-align:center;text-shadow:0 1px 0 rgba(255,255,255,.8)}
.hero-note strong{display:block;font-size:clamp(12px,1.15vw,18px);font-weight:900;margin-bottom:4px;color:#0b3555}
.hero-note span{display:block;font-size:clamp(9px,.82vw,13px);font-weight:700}
.hero-note small{display:block;margin-top:5px;font-size:clamp(8px,.72vw,11px);font-weight:800;color:#536b7c}
/* Texte sitzen auf den bereits vorhandenen Papierkarten im Banner. */
.hero-note-left{left:5.2%;top:17.5%;width:19%;transform:rotate(-3deg)}
.hero-note-right{right:4.8%;top:18.5%;width:18.5%;transform:rotate(2.5deg)}
.hero-note-center{left:36%;top:49%;width:28%;padding:3px 8px}
.hero-note-center strong{font-size:clamp(13px,1.35vw,21px)}
.hero-note-center span{font-size:clamp(9px,.88vw,14px);font-weight:700}
@media(max-width:760px){
  .hero-note-left{left:5.3%;top:18%;width:19%}
  .hero-note-right{right:4.8%;top:19%;width:18.5%}
  .hero-note-center{left:36%;top:49%;width:28%;padding:0 4px}
}

/* 43K: komplett neuer sauberer Hero-Banner */
.paper-hero-hit{inset:auto!important;left:38.4%!important;top:67.5%!important;width:23.5%!important;height:12%!important;border-radius:999px!important;z-index:5!important}
.hero-note{display:none!important}
@media(max-width:760px){.paper-hero-hit{left:38.4%!important;top:67.5%!important;width:23.5%!important;height:12%!important}}
.share-btn.messenger-copy{background:#5b46c7;color:#fff}
/* QR-ZACK 43L: klarer 2-Schritt-Ablauf für Messenger am PC */
.messenger-two-step{display:contents}
.messenger-open{background:#1686e6;color:#fff;text-decoration:none;align-items:center;justify-content:center}
.messenger-copy-hint{grid-column:1/-1;padding:11px 14px;border-radius:12px;background:#eef8ff;border:1px solid #b9dcf6;color:#123b5d;font-weight:700;line-height:1.35}
@media(max-width:760px){.messenger-copy-hint{font-size:.92rem}}
/* 43N: freigegebener neuer Banner – ohne HTML-Flicktexte */
.paper-hero-inner img{width:100%;height:auto;display:block}
@media(min-width:900px){.paper-hero-inner{max-width:1536px}.paper-hero-inner img{max-height:683px;object-fit:cover}}

/* ===== QR-ZACK 43P: Fertige Grußkarten ===== */
.home-card-choice{padding:12px 14px 4px}
.home-card-choice .wrap{max-width:1120px}
.home-card-choice-inner{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff;border:1px solid #dce8ef;border-radius:18px;padding:12px;box-shadow:0 7px 22px rgba(24,59,82,.07)}
.home-card-choice-inner>div{display:grid;grid-template-columns:1fr auto;grid-template-areas:"t b" "s b";align-items:center;gap:2px 14px;padding:11px 14px;border-radius:13px;background:#f8fbfd}
.home-card-choice-inner strong{grid-area:t;color:#103c5b;font-size:17px}.home-card-choice-inner span{grid-area:s;color:#687b88;font-size:13px}.home-card-choice-inner .btn{grid-area:b;white-space:nowrap;margin:0}
.readycards-main{max-width:1220px;padding-top:22px;padding-bottom:40px}.readycards-heading{text-align:center;max-width:840px;margin:0 auto 20px}.readycards-heading h1{margin:0 0 8px;color:#0b3555;font-size:clamp(28px,4vw,42px)}.readycards-heading p{margin:0;color:#5f7483;font-size:16px;line-height:1.5}
.ready-filter{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:0 0 22px}.ready-filter-btn{border:1px solid #cbdce6;background:#fff;color:#184764;border-radius:999px;padding:9px 14px;font-weight:800;cursor:pointer}.ready-filter-btn:hover,.ready-filter-btn.active{background:#0b86be;color:#fff;border-color:#0b86be}
.ready-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ready-card{background:#fff;border:1px solid #dbe7ed;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(28,55,75,.10)}.ready-card[hidden]{display:none}.ready-preview{aspect-ratio:16/10;background-size:cover;background-position:center;position:relative;padding:16px}.ready-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(255,255,255,.08),rgba(255,255,255,.34))}.ready-preview-copy{position:absolute;z-index:1;left:9%;right:9%;top:12%;text-align:center;color:#173e58;text-shadow:0 1px 1px #fff}.ready-preview-copy strong{display:block;font-family:"Segoe Print","Comic Sans MS",cursive;font-size:clamp(15px,1.5vw,22px);line-height:1.2;margin-bottom:9px}.ready-preview-copy span{display:block;background:rgba(255,255,255,.76);border-radius:10px;padding:7px 9px;font-size:11px;line-height:1.3}.ready-card-body{padding:14px}.ready-card-body h2{font-size:16px;color:#103c5b;margin:0 0 12px}.ready-use{display:block;text-align:center;width:100%;box-sizing:border-box;font-size:14px;padding:11px 10px}.ready-own{text-align:center;margin-top:26px;padding:18px;background:#fff;border-radius:16px;border:1px solid #dbe7ed}.ready-own .btn,.ready-own .mini-link{margin-left:8px}
.ready-prefill-note{max-width:980px;margin:0 auto 16px;background:#effaf4;border:1px solid #b9e0c9;border-radius:14px;padding:13px 16px;display:flex;align-items:center;gap:12px;color:#205b3a}.ready-prefill-note strong{white-space:nowrap}.ready-prefill-note span{flex:1;font-size:13px;line-height:1.35}.ready-prefill-note a{font-size:13px;font-weight:800;color:#0b6e9c;white-space:nowrap}
.paper-action .btn.secondary{margin-left:8px}
@media(max-width:980px){.ready-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-card-choice-inner{grid-template-columns:1fr}.ready-prefill-note{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:620px){.home-card-choice-inner>div{grid-template-columns:1fr;grid-template-areas:"t" "s" "b"}.home-card-choice-inner .btn{margin-top:8px;text-align:center}.ready-grid{grid-template-columns:1fr}.readycards-main{padding-left:12px;padding-right:12px}.ready-preview-copy strong{font-size:21px}.ready-preview-copy span{font-size:12px}.ready-own .btn,.ready-own .mini-link{display:block;margin:10px auto 0;max-width:280px}.paper-action .btn.secondary{margin:8px 0 0}.ready-filter{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.ready-filter-btn{white-space:nowrap}}
/* ===== QR-ZACK 43Q2: neues Kartenstudio ===== */
.qrz-studio-page{margin:0;background:#f4f7fb;color:#17233b;font-family:Arial,sans-serif}.qrz-studio-head{max-width:1500px;margin:0 auto;padding:16px 24px;display:flex;gap:22px;align-items:center}.qrz-studio-head strong{font-size:24px}.qrz-studio-head span{display:block;color:#657187;margin-top:3px}.qrz-back{text-decoration:none;font-weight:800;color:#245bd8}.qrz-studio{max-width:1500px;margin:auto;padding:0 22px 35px}.qrz-cat-wrap{display:flex;gap:8px;align-items:center;background:white;border-radius:18px;padding:10px;box-shadow:0 8px 30px #22304a14}.qrz-cats{display:flex;gap:8px;overflow:hidden;flex:1}.qrz-cats button,.qrz-scroll{border:1px solid #d9e0eb;background:#fff;border-radius:999px;padding:10px 16px;white-space:nowrap;font-weight:700;cursor:pointer}.qrz-cats button.active{background:#245bd8;color:white;border-color:#245bd8}.qrz-scroll{font-size:24px;padding:4px 13px}.qrz-thumbs{display:flex;gap:12px;overflow-x:auto;padding:14px 4px}.qrz-thumb{width:118px;min-width:118px;background:white;border:2px solid transparent;border-radius:13px;padding:6px;cursor:pointer;box-shadow:0 4px 14px #22304a12}.qrz-thumb.active{border-color:#245bd8}.qrz-thumb img{width:100%;height:72px;object-fit:cover;border-radius:8px}.qrz-thumb span{display:block;font-size:12px;font-weight:700;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.qrz-workbench{display:grid;grid-template-columns:minmax(620px,1fr) 330px;gap:22px;background:white;border-radius:22px;padding:22px;box-shadow:0 12px 38px #22304a18}.qrz-preview-area{min-width:0}.qrz-card-open{width:min(100%,900px);aspect-ratio:1.414/1;margin:auto;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 15px 35px #0002;border:1px solid #ddd}.qrz-art{overflow:hidden;background:#eee}.qrz-art img{width:100%;height:100%;object-fit:cover}.qrz-write{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff,#fffdf8);border-left:1px solid #d7d2c8}.qrz-fold{position:absolute;left:0;top:0;bottom:0;width:12px;background:linear-gradient(90deg,#00000010,transparent);pointer-events:none}.qrz-paper-deco{position:absolute;right:24px;bottom:18px;font-size:42px;color:#c7bfae;opacity:.65}.qrz-personal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:78%;padding:8px;font:28px Georgia,serif;line-height:1.25;text-align:center;white-space:pre-wrap;cursor:move;touch-action:none;border:1px dashed transparent}.qrz-personal:hover,.qrz-personal:focus{border-color:#9db3dd;outline:none}.qrz-tip{text-align:center;color:#6c7587;font-size:13px}.qrz-controls{background:#f7f9fd;border:1px solid #e1e6ef;border-radius:16px;padding:18px}.qrz-controls h2{margin:0 0 16px}.qrz-controls label{display:block;font-weight:700;font-size:14px;margin:12px 0}.qrz-controls textarea,.qrz-controls select{box-sizing:border-box;width:100%;margin-top:6px;border:1px solid #cbd4e2;border-radius:10px;padding:10px;background:white;font:inherit}.qrz-control-row{display:grid;grid-template-columns:1fr 90px;gap:12px}.qrz-control-row input[type=range]{width:100%}.qrz-control-row input[type=color]{width:100%;height:38px;border:0;background:transparent}.qrz-continue{display:block;margin-top:18px;background:#245bd8;color:white;text-decoration:none;text-align:center;font-weight:800;padding:13px;border-radius:11px}.qrz-controls small{display:block;margin-top:12px;color:#69758a;line-height:1.4}@media(max-width:950px){.qrz-workbench{grid-template-columns:1fr}.qrz-card-open{max-width:760px}.qrz-controls{max-width:700px;margin:auto;width:100%;box-sizing:border-box}}@media(max-width:650px){.qrz-studio{padding:0 8px 20px}.qrz-workbench{padding:10px}.qrz-card-open{aspect-ratio:auto;grid-template-columns:1fr;grid-template-rows:1fr 1fr;height:650px}.qrz-write{border-left:0;border-top:1px solid #ddd}.qrz-studio-head{padding:12px}.qrz-studio-head strong{font-size:19px}}
/* ===== QR-ZACK 43Q4: erweiterte Kartenauswahl ===== */
.qrz-thumbs{scrollbar-width:thin;scroll-snap-type:x proximity;padding-bottom:10px}
.qrz-thumb{scroll-snap-align:start;min-width:112px}
.qrz-thumb img{aspect-ratio:16/9;object-fit:cover}
.qrz-controls textarea{resize:vertical;min-height:112px}
.qrz-card-open{overflow:hidden}
.qrz-art img{width:100%;height:100%;object-fit:cover}
@media(max-width:850px){.qrz-workbench{grid-template-columns:1fr}.qrz-controls{width:auto}.qrz-card-open{max-width:760px;margin:auto}.qrz-studio-head{padding-left:14px}}

/* Q48: compact, clean result page on phones */
@media(max-width:640px){
  .form-shell{padding-left:10px!important;padding-right:10px!important}
  .panel{padding-left:12px!important;padding-right:12px!important}
  .result{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;align-items:stretch!important}
  .qrbox{width:100%!important;max-width:360px!important;box-sizing:border-box!important;margin:0 auto!important;padding:14px!important}
  .qrbox canvas{width:min(72vw,260px)!important;height:auto!important;display:block!important;margin:0 auto!important}
  .qr-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .qr-actions .mini-link{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;text-align:center!important}
  .result>div:nth-child(2){min-width:0!important;width:100%!important}
  .urlbox{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;width:100%!important}
  .urlbox input{width:100%!important;box-sizing:border-box!important;font-size:15px!important}
  .urlbox .btn{width:100%!important;box-sizing:border-box!important;margin:0!important;text-align:center!important}
  .result-music-note,.result-voice-note{width:100%!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important}
  .result-music-note audio,.result-voice-note audio{width:100%!important;max-width:100%!important}
  .result p .btn{max-width:100%!important;box-sizing:border-box!important}
}

/* Q51: lückenlose Kartenauswahl + robuste Ergebnisansicht auf kleinen Displays */
.qrz-card-count{margin:0 4px 12px;text-align:center;color:#53657a;font-size:13px;font-weight:800}
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  .form-shell,.form-shell>.panel,.panel,.result,.share-panel{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .form-shell{padding-left:8px!important;padding-right:8px!important}
  .panel{padding-left:12px!important;padding-right:12px!important}
  .result{display:block!important}
  .result>*{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .qrbox{max-width:330px!important;margin:0 auto 18px!important}
  .qrbox canvas{width:min(68vw,240px)!important;max-width:240px!important;height:auto!important}
  .urlbox{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important}
  .urlbox input,.urlbox button,.urlbox .btn{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .result audio,.result-music-note,.result-voice-note{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .share-buttons{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .share-btn{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* Q52 – fertige Karte: mobil klarer, ohne seitliches Abschneiden */
@media (max-width: 720px){
  .form-shell{padding-left:10px!important;padding-right:10px!important}
  .panel{padding:14px!important;max-width:100%!important;overflow:hidden!important}
  .result{display:flex!important;flex-direction:column!important;gap:16px!important;width:100%!important}
  .result>div,.qrbox,.share-panel{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .qrbox canvas{display:block!important;width:min(220px,72vw)!important;height:auto!important;margin:0 auto!important}
  .qr-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .qr-actions button{width:100%!important;min-width:0!important;white-space:normal!important}
  .urlbox{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important}
  .urlbox input{width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .urlbox button{width:100%!important;margin:0!important}
  .result-music-note,.result-voice-note{width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
  .result-music-note audio,.result-voice-note audio{width:100%!important;max-width:100%!important}
  .share-panel{margin-top:14px!important;padding:14px!important}
  .share-buttons{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;width:100%!important}
  .share-btn{width:100%!important;max-width:100%!important;box-sizing:border-box!important;justify-content:center!important;margin:0!important}
}

/* Q53: eindeutige Kartennavigation */
.qrz-page-nav{display:flex;justify-content:center;gap:10px;align-items:center;margin:0 4px 14px}.qrz-page-nav button{border:0;border-radius:999px;background:#1767c9;color:#fff;font-weight:850;padding:10px 18px;cursor:pointer;box-shadow:0 4px 12px #17375e18}.qrz-page-nav button:disabled{opacity:.35;cursor:default}@media(max-width:620px){.qrz-page-nav button{flex:1;padding:10px 8px;font-size:13px}}
