/* TRAUMWELT – Hauptdesign */
:root {
  --cream: #f5f0e8;
  --warm-white: #fdfaf4;
  --brown: #5c3d2e;
  --rust: #b85c38;
  --gold: #c9a84c;
  --olive: #6b7c45;
  --charcoal: #2c2c2c;
  --light-brown: #9b7653;
  --bg-texture: #ede8df;
  --nav-h: 70px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family:'Lato', 'Helvetica Neue', Arial, sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  padding-top: var(--nav-h);
}
img { max-width:100%; height:auto; display:block; }
a { color: inherit; }

/* ══ NAVIGATION ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(30, 15, 8, 0.97);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%; height: var(--nav-h);
  border-bottom: 2px solid var(--gold);
}

.nav-brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  height: 42px; width: 42px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.nav-logo-ph {
  height: 42px; width: 42px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.nav-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; color: var(--gold); letter-spacing: .5px;
  white-space: nowrap;
}
.nav-name span { color: var(--cream); font-style: italic; font-size: 1rem; }

.nav-links {
  display: flex; gap: 1.2rem;
  list-style: none; align-items: center;
}
.nav-links a {
  color: rgba(253,250,244,.8);
  text-decoration: none; font-size: .78rem;
  letter-spacing: 1px; text-transform: uppercase;
  transition: color .25s; font-weight: 400;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-admin-btn {
  background: var(--rust) !important; color: #fff !important;
  padding: 6px 14px !important; border-radius: 2px;
}
.nav-admin-btn:hover { background: var(--gold) !important; color: var(--brown) !important; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); transition: all .3s; border-radius: 1px;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(20,10,4,.98); z-index: 190;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0; overflow-y: auto; padding: 2rem 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(253,250,244,.8); text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; padding: 1rem 2rem;
  transition: color .25s; width: 100%; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--gold); }
.nav-mobile .mob-admin {
  background: var(--rust); color: #fff !important;
  font-family: 'Lato', Arial, sans-serif;
  font-size: .85rem; letter-spacing: 2px; text-transform: uppercase;
  margin-top: 1rem; border: none;
}

/* ══ PAGE HERO ══ */
.page-hero {
  background: linear-gradient(135deg, var(--brown) 0%, #2d1a08 100%);
  padding: 55px 5% 50px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-label {
  font-size: .65rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .6rem; position: relative;
}
.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 3rem); color: var(--cream);
  line-height: 1.15; position: relative;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p {
  color: rgba(253,250,244,.6); font-size: .9rem;
  margin-top: .6rem; font-weight: 300; letter-spacing: 1px; position: relative;
}

/* ══ SECTIONS ══ */
section { padding: 65px 5%; }
.section-label {
  font-size: .65rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--rust); font-weight: 700; margin-bottom: .5rem;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--brown); line-height: 1.2;
}
.section-line { width: 50px; height: 3px; background: var(--gold); margin: 1rem 0 2rem; }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; text-decoration: none; font-size: .78rem;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  transition: all .3s; cursor: pointer; border: none; gap: .5rem;
  font-family: 'Lato', Arial, sans-serif;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--gold); color: var(--brown); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid currentColor; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-gold { background: var(--gold); color: var(--brown); }
.btn-gold:hover { background: var(--rust); color: #fff; }

/* ══ ITEM CARDS ══ */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.item-card {
  background: #fff; border: 1px solid rgba(92,61,46,.1);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
  position: relative; cursor: pointer;
}
.item-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(92,61,46,.16); }
.item-thumb { position: relative; overflow: hidden; height: 220px; }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.item-thumb .item-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.item-card:hover .item-thumb img { transform: scale(1.05); }
.item-count-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.65); color: #fff;
  font-size: .65rem; letter-spacing: 1px; padding: 4px 10px;
}
.item-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--rust); color: #fff;
  font-size: .6rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 10px; font-weight: 700;
}
.item-tag.geschenk { background: var(--gold); color: var(--brown); }
.item-body { padding: 1.1rem 1.2rem 1.3rem; }
.item-cat {
  font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--olive); border: 1px solid var(--olive);
  padding: 2px 8px; display: inline-block; margin-bottom: .4rem;
}
.item-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; color: var(--brown); margin-bottom: .3rem; line-height: 1.3;
}
.item-desc { font-size: .82rem; color: #777; line-height: 1.55; font-weight: 300; margin-bottom: .7rem; }
.item-footer { display: flex; align-items: center; justify-content: space-between; }
.item-price { font-size: 1.05rem; font-weight: 700; color: var(--rust); }
.item-view-btn {
  font-size: .68rem; color: var(--brown); text-decoration: none;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}

/* ══ ITEM MODAL ══ */
.item-modal {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.88); align-items: center; justify-content: center; padding: 1rem;
}
.item-modal.open { display: flex; }
.modal-box {
  background: #fff; max-width: 900px; width: 100%;
  max-height: 92vh; overflow-y: auto; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(0,0,0,.5); color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.2rem; z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--rust); }
.modal-gallery { position: relative; background: #111; }
.modal-main-img { width: 100%; height: 320px; object-fit: contain; }
.modal-main-ph { width: 100%; height: 320px; display: flex; align-items: center; justify-content: center; font-size: 5rem; background: #1a1a1a; }
.mg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); color: #fff; border: none;
  width: 40px; height: 40px; cursor: pointer; font-size: 1.1rem;
  z-index: 5; display: flex; align-items: center; justify-content: center;
}
.mg-arrow:hover { background: var(--gold); color: var(--brown); }
.mg-left { left: .5rem; } .mg-right { right: .5rem; }
.modal-thumbs {
  display: flex; gap: .4rem; padding: .6rem; background: #f0ebe2;
  overflow-x: auto; flex-wrap: nowrap;
}
.modal-thumbs::-webkit-scrollbar { height: 4px; }
.modal-thumbs::-webkit-scrollbar-thumb { background: var(--gold); }
.modal-thumb { width: 70px; height: 70px; object-fit: cover; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; transition: border-color .2s; }
.modal-thumb.active { border-color: var(--gold); }
.modal-info { padding: 1.5rem 1.8rem; }
.modal-info h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; color: var(--brown); margin-bottom: .5rem; }
.modal-info .mprice { font-size: 1.3rem; font-weight: 700; color: var(--rust); margin-bottom: .8rem; }
.modal-info p { font-size: .93rem; color: #666; line-height: 1.75; font-weight: 300; }
.modal-img-counter { position: absolute; bottom: .5rem; right: .8rem; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; padding: 3px 10px; }

/* ══ GESCHENK SECTION ══ */
.geschenk-section {
  background: linear-gradient(135deg, #2d1a08 0%, var(--brown) 50%, #4a2a15 100%);
  padding: 75px 5%; position: relative; overflow: hidden;
}
.geschenk-section::before {
  content: '🎁'; position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%); font-size: 12rem; opacity: .07; pointer-events: none;
}
.geschenk-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--brown); font-size: .7rem;
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 18px; margin-bottom: 1.2rem;
}
.geschenk-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem); color: var(--cream);
  line-height: 1.2; margin-bottom: 1rem; max-width: 600px;
}
.geschenk-section h2 em { color: var(--gold); font-style: italic; }
.geschenk-section p {
  font-size: 1rem; color: rgba(253,250,244,.7); line-height: 1.8;
  font-weight: 300; max-width: 520px; margin-bottom: 2rem;
}
.geschenk-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.5rem; }
.gf-item { background: rgba(255,255,255,.06); border: 1px solid rgba(201,168,76,.2); padding: 1.5rem; text-align: center; }
.gf-icon { font-size: 2rem; margin-bottom: .7rem; display: block; }
.gf-item h4 { font-family: 'Playfair Display', Georgia, serif; font-size: .95rem; color: var(--gold); margin-bottom: .4rem; }
.gf-item p { font-size: .8rem; color: rgba(253,250,244,.5); line-height: 1.6; }

/* ══ CONTACT BLOCK ══ */
.site-kontakt { background: var(--brown); color: var(--cream); padding: 55px 5% 45px; }
.site-kontakt .sk-title {
  font-size: .63rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .5rem; text-align: center;
}
.site-kontakt h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--cream); text-align: center;
}
.sk-line { width: 46px; height: 3px; background: var(--rust); margin: .8rem auto 2rem; }
.sk-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.sk-card { padding: 1.6rem 1.2rem; border: 1px solid rgba(201,168,76,.22); background: rgba(255,255,255,.04); text-align: center; }
.sk-icon { font-size: 1.7rem; margin-bottom: .6rem; }
.sk-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: .95rem; color: var(--gold); margin-bottom: .4rem; }
.sk-card p { font-size: .85rem; color: rgba(253,250,244,.6); font-weight: 300; line-height: 1.75; }
.sk-card p a { color: var(--gold); text-decoration: none; }
.sk-card p a:hover { text-decoration: underline; }

/* ══ FOOTER ══ */
footer {
  background: var(--charcoal); padding: 1.8rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 2px solid var(--gold); flex-wrap: wrap; gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-logo-img { height: 30px; width: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.footer-logo-ph { height: 30px; width: 30px; border-radius: 50%; background: var(--brown); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.footer-name { font-family: 'Playfair Display', Georgia, serif; font-size: .95rem; color: var(--gold); }
.footer-copy { font-size: .75rem; color: #666; }
.footer-links { display: flex; flex-wrap: wrap; gap: .2rem; }
.footer-links a { color: #888; text-decoration: none; font-size: .75rem; padding: 0 .7rem; border-right: 1px solid #444; transition: color .2s; }
.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: var(--gold); }

/* ══ LEGAL PAGES ══ */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 60px 5% 80px; }
.legal-wrap h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; color: var(--brown); margin: 2.2rem 0 .7rem; padding-bottom: .4rem; border-bottom: 2px solid var(--gold); }
.legal-wrap h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; color: var(--light-brown); margin: 1.5rem 0 .4rem; }
.legal-wrap p { font-size: .95rem; color: #555; line-height: 1.85; margin-bottom: 1rem; font-weight: 300; }
.legal-wrap ul { margin: .5rem 0 1rem 1.5rem; }
.legal-wrap li { font-size: .93rem; color: #555; line-height: 1.8; font-weight: 300; }
.legal-meta { background: var(--bg-texture); padding: 1rem 1.5rem; margin-bottom: 2rem; font-size: .78rem; color: #888; border-left: 3px solid var(--gold); }
.back-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--rust); text-decoration: none; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2rem; }
.back-link:hover { color: var(--brown); }

/* ══ REVEAL ══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ MOBILE ══ */
@media (max-width: 900px) {
  .items-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 50px 4%; }
  .sk-grid { grid-template-columns: 1fr; }
  .geschenk-features { grid-template-columns: 1fr; gap: 1rem; }
  .geschenk-section::before { display: none; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .modal-main-img, .modal-main-ph { height: 240px; }
  .modal-info { padding: 1.2rem; }
}
@media (max-width: 560px) {
  .nav-name span { display: none; }
  .items-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .item-thumb { height: 160px; }
}
@media (max-width: 380px) {
  .items-grid { grid-template-columns: 1fr; }
}
