/* Intelligente Reisegalerie – Reisetagebuch-Ansicht */
.trip-gallery{position:relative;overflow:hidden}.trip-gallery::before{content:"";position:absolute;inset:-80px auto auto -100px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,191,205,.2),transparent 68%);pointer-events:none}.gallery-head{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:22px}.gallery-head-copy{max-width:720px}.gallery-head-copy h2{margin-bottom:8px}.gallery-privacy{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(94,77,89,.1);font-size:.78rem;font-weight:850;color:#6f5f68;box-shadow:0 8px 24px rgba(64,43,53,.06)}.gallery-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.gallery-upload{position:relative;overflow:hidden;cursor:pointer}.gallery-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:100px}.gallery-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.gallery-stat{padding:15px;border-radius:19px;background:rgba(255,255,255,.78);border:1px solid rgba(83,67,77,.09);box-shadow:0 9px 27px rgba(61,43,52,.06)}.gallery-stat span{display:block;font-size:.73rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#9a8791}.gallery-stat strong{display:block;margin-top:5px;font-size:1.2rem;color:#342a30}.gallery-empty{padding:30px 22px;text-align:center;border:1px dashed rgba(117,91,104,.24);border-radius:26px;background:rgba(255,255,255,.42);margin-bottom:20px}.gallery-empty-icon{font-size:2.4rem;margin-bottom:12px}.gallery-empty h3{margin:0 0 7px}.gallery-empty p{max-width:610px;margin:0 auto;color:#776a71;line-height:1.65}
.gallery-highlights{margin-bottom:22px;padding:20px;border-radius:28px;background:linear-gradient(135deg,rgba(255,246,249,.92),rgba(255,252,246,.88));border:1px solid rgba(164,99,124,.14);box-shadow:0 16px 38px rgba(58,40,49,.07)}.gallery-highlights-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.gallery-highlights-head h3{margin:4px 0 5px;font-size:1.35rem}.gallery-highlights-head p{margin:0;color:#827078;font-size:.86rem}.gallery-highlight-count{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:999px;background:#fff;color:#a25d78;font-weight:900;box-shadow:0 8px 22px rgba(77,48,60,.09)}.gallery-highlight-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.gallery-highlight-empty{grid-column:1/-1;min-height:112px;border:1px dashed rgba(145,91,112,.2);border-radius:21px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b7780;background:rgba(255,255,255,.45);text-align:center}.gallery-highlight-empty span{font-size:1.7rem}.gallery-highlight-empty strong{margin-top:5px}.gallery-highlight-empty small{margin-top:3px}.gallery-photo-compact .gallery-photo-media{aspect-ratio:1/1}.gallery-photo-compact{animation:galleryCardIn .38s ease both}
.gallery-days{display:grid;gap:25px}.gallery-day{overflow:hidden;border-radius:29px;background:rgba(255,255,255,.74);border:1px solid rgba(91,72,82,.1);box-shadow:0 17px 42px rgba(59,40,49,.07);animation:galleryCardIn .45s ease both}.gallery-day-cover{position:relative;min-height:245px;overflow:hidden;background:linear-gradient(135deg,#f8e5e9,#e9eef4)}.gallery-day-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:galleryCoverIn .55s ease both}.gallery-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(25,22,24,.03),rgba(25,20,23,.74))}.gallery-day-cover-empty{display:flex;align-items:flex-end;background:radial-gradient(circle at 75% 32%,rgba(255,255,255,.92),transparent 25%),linear-gradient(135deg,#f8e7eb,#e8eff3 60%,#fff7e7)}.gallery-cover-illustration{position:absolute;right:9%;top:18%;font-size:5.5rem;filter:drop-shadow(0 16px 22px rgba(71,49,59,.13));animation:galleryFloat 4s ease-in-out infinite}.gallery-cover-copy{position:absolute;left:24px;right:24px;bottom:22px;color:#fff;z-index:2}.gallery-day-cover-empty .gallery-cover-copy{color:#493a41}.gallery-cover-copy span{display:block;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;opacity:.82}.gallery-cover-copy strong{display:block;margin-top:5px;font-family:Georgia,serif;font-size:clamp(1.75rem,4vw,2.6rem);line-height:1.05}.gallery-cover-copy small{display:block;margin-top:8px;max-width:620px;font-size:.87rem;line-height:1.5;opacity:.92}.gallery-day-inner{padding:20px}.gallery-day-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}.gallery-day-kicker{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:#b1748c}.gallery-day h3{margin:4px 0 3px;font-size:1.35rem}.gallery-day-count{font-size:.8rem;color:#8a7a82;font-weight:800}
.gallery-day-polaroid{display:grid;grid-template-columns:minmax(210px,360px) 1fr;align-items:center;gap:24px;padding:18px;margin:2px 0 18px;border-radius:23px;background:linear-gradient(135deg,rgba(250,244,246,.86),rgba(246,248,247,.86));border:1px solid rgba(99,72,84,.08)}.gallery-polaroid-badge{font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#a86d84}.gallery-polaroid-paper{grid-row:1/3;background:#fff;padding:12px 12px 22px;box-shadow:0 18px 42px rgba(50,33,42,.17);transform:rotate(-1.2deg);border-radius:4px;animation:galleryPolaroidIn .45s ease both}.gallery-polaroid-paper img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#eee}.gallery-polaroid-copy{text-align:center;padding:15px 8px 0}.gallery-polaroid-copy strong{font-family:Georgia,serif;font-size:1.12rem}.gallery-polaroid-copy span{display:block;margin-top:6px;color:#877780;font-size:.76rem}.gallery-day-polaroid-empty{display:flex;gap:13px;align-items:center;margin-bottom:18px;padding:14px 16px;border:1px dashed rgba(150,104,122,.24);border-radius:20px;background:rgba(252,249,250,.66);color:#806f77}.gallery-day-polaroid-empty>span{font-size:1.55rem}.gallery-day-polaroid-empty strong,.gallery-day-polaroid-empty small{display:block}.gallery-day-polaroid-empty small{margin-top:2px}
.gallery-journal{margin-bottom:18px;padding:17px;border-radius:22px;background:linear-gradient(180deg,rgba(255,252,248,.94),rgba(251,247,244,.9));border:1px solid rgba(141,106,85,.12)}.gallery-journal-heading{display:flex;gap:11px;align-items:center;margin-bottom:11px}.gallery-journal-heading>span{font-size:1.35rem}.gallery-journal-heading strong,.gallery-journal-heading small{display:block}.gallery-journal-heading small{margin-top:2px;color:#8c7a72;font-size:.76rem}.gallery-note{width:100%;min-height:86px;resize:vertical;border:0;border-top:1px solid rgba(116,91,77,.11);background:transparent;padding:12px 2px 2px;font:inherit;color:#40353b;outline:none;line-height:1.65}.gallery-note::placeholder{color:#ab9b94}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.gallery-day-empty{grid-column:1/-1;min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed rgba(117,91,104,.2);border-radius:23px;background:rgba(250,248,249,.55);padding:20px}.gallery-day-empty span{font-size:2rem}.gallery-day-empty strong{margin-top:7px}.gallery-day-empty p{max-width:450px;margin:5px auto 0;color:#8b7b82;font-size:.82rem;line-height:1.5}.gallery-photo{position:relative;min-width:0;border-radius:20px;overflow:hidden;background:#eee7ea;border:1px solid rgba(78,59,69,.1);box-shadow:0 10px 24px rgba(58,40,48,.08);animation:galleryCardIn .36s ease both}.gallery-photo-media{aspect-ratio:4/3;background:#eee;overflow:hidden}.gallery-photo-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.gallery-photo:hover img{transform:scale(1.025)}.gallery-photo-actions{position:absolute;left:9px;right:9px;top:9px;display:flex;justify-content:space-between;pointer-events:none}.gallery-icon-btn{pointer-events:auto;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.91);backdrop-filter:blur(12px);box-shadow:0 5px 16px rgba(40,27,34,.14);font-size:1rem;cursor:pointer;display:grid;place-items:center;transition:.2s}.gallery-icon-btn:active{transform:scale(.91)}.gallery-icon-btn.active{background:#fff1f6;animation:galleryHeart .3s ease}.gallery-polaroid-btn.active{background:#fff7dc}.gallery-photo-body{padding:11px 12px 12px}.gallery-auto-name{font-weight:900;font-size:.83rem;line-height:1.35;color:#382e33}.gallery-photo-time{display:block;margin-top:3px;font-size:.7rem;color:#94858c}.gallery-caption{display:block;width:100%;margin-top:9px;border:0;border-top:1px solid rgba(89,70,79,.09);padding:9px 0 0;background:transparent;font:inherit;font-size:.78rem;color:#4e4147;outline:none}.gallery-caption::placeholder{color:#aa9ca2}.gallery-remove{position:absolute;right:8px;bottom:8px;width:29px;height:29px;border:0;border-radius:50%;background:rgba(45,34,39,.68);color:#fff;cursor:pointer;opacity:0;transition:.2s}.gallery-photo:hover .gallery-remove,.gallery-remove:focus{opacity:1}.gallery-book-ready{margin-top:22px;padding:16px 18px;border-radius:20px;background:linear-gradient(135deg,rgba(255,247,250,.9),rgba(250,247,238,.86));border:1px solid rgba(179,122,143,.14);display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.gallery-book-ready strong{display:block;margin-bottom:3px}.gallery-book-ready small{color:#7f6f77;line-height:1.5}.gallery-toast{position:fixed;left:50%;bottom:24px;z-index:9999;transform:translate(-50%,18px);padding:11px 16px;border-radius:999px;background:rgba(45,35,40,.94);color:#fff;font-size:.8rem;font-weight:850;opacity:0;pointer-events:none;transition:.25s;box-shadow:0 12px 34px rgba(0,0,0,.22)}.gallery-toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes galleryCardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes galleryCoverIn{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:scale(1)}}@keyframes galleryPolaroidIn{from{opacity:0;transform:translateY(14px) rotate(-3deg) scale(.97)}to{opacity:1;transform:translateY(0) rotate(-1.2deg) scale(1)}}@keyframes galleryHeart{0%{transform:scale(.82)}60%{transform:scale(1.13)}100%{transform:scale(1)}}@keyframes galleryFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
@media(max-width:900px){.gallery-highlight-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-day-polaroid{grid-template-columns:minmax(190px,310px) 1fr}}@media(max-width:700px){.gallery-status{grid-template-columns:1fr 1fr}.gallery-status .gallery-stat:last-child{grid-column:1/-1}.gallery-day-cover{min-height:220px}.gallery-day-polaroid{display:block}.gallery-polaroid-badge{margin-bottom:12px}.gallery-polaroid-paper{max-width:330px;margin:0 auto}.gallery-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.gallery-toolbar>*{flex:1 1 auto;text-align:center;justify-content:center}.gallery-grid{grid-template-columns:1fr 1fr;gap:9px}.gallery-day-inner{padding:13px}.gallery-cover-copy{left:17px;right:17px;bottom:17px}.gallery-day-cover{min-height:205px}.gallery-cover-illustration{font-size:4.4rem}.gallery-photo-body{padding:9px}.gallery-remove{opacity:1}.gallery-auto-name{font-size:.74rem}.gallery-caption{font-size:.72rem}.gallery-status{gap:8px}.gallery-stat{padding:12px}.gallery-highlights{padding:14px}.gallery-highlights-head h3{font-size:1.15rem}}@media(prefers-reduced-motion:reduce){.gallery-photo,.gallery-photo img,.gallery-toast,.gallery-polaroid-paper,.gallery-day,.gallery-day-cover img,.gallery-cover-illustration{transition:none!important;animation:none!important}}
