/* ==========================================================
   Holzkisterl – Fotobox-Verleih
   ========================================================== */

@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --creme: #FBF5EC;
  --creme-2: #F4E9D8;
  --holz: #E4B57E;
  --holz-dunkel: #C48A4E;
  --braun: #2E2420;
  --braun-weich: #5B4A40;
  --orange: #E8693E;
  --orange-dunkel: #C9532B;
  --gruen: #5E8C61;
  --weiss: #FFFFFF;
  --radius: 22px;
  --schatten: 0 18px 40px -18px rgba(46, 36, 32, .35);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--braun);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dunkel); }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .6em; }
h3 { font-size: 1.45rem; margin-bottom: .4em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--holz { background: var(--creme-2); }
.section--dunkel { background: var(--braun); color: var(--creme); }
.section-kopf { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.section-kopf p { color: var(--braun-weich); font-size: 1.15rem; }
.section--dunkel .section-kopf p { color: #d9c9b6; }
.kicker {
  display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .7rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 800 1.02rem "Nunito", sans-serif; text-decoration: none; cursor: pointer;
  padding: .95em 1.7em; border-radius: 999px; border: 2.5px solid var(--braun);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--primaer { background: var(--orange); color: var(--weiss); border-color: var(--orange); box-shadow: 0 10px 24px -10px var(--orange); }
.btn--primaer:hover { background: var(--orange-dunkel); border-color: var(--orange-dunkel); }
.btn--sekundaer { background: transparent; color: var(--braun); }
.btn--sekundaer:hover { background: var(--braun); color: var(--creme); }
.btn--whatsapp { background: #25D366; border-color: #25D366; color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 236, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.gescrollt { border-color: var(--creme-2); box-shadow: 0 6px 20px -14px rgba(46,36,32,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--braun); }
.logo img { width: 46px; height: auto; }
.logo span { font: 600 1.6rem "Fredoka", sans-serif; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { color: var(--braun); text-decoration: none; font-weight: 700; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px;
  border-radius: 3px; background: var(--orange); transition: right .25s ease;
}
.nav a:not(.btn):hover::after { right: 0; }
.nav .btn { padding: .6em 1.3em; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px auto; background: var(--braun); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
.hero h1 span { color: var(--orange); }
.hero__text p { font-size: 1.25rem; color: var(--braun-weich); margin: 1.3rem 0 2.1rem; max-width: 34ch; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__vorteile { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; font-weight: 700; color: var(--braun-weich); list-style: none; }
.hero__vorteile li::before { content: "✓"; color: var(--gruen); font-weight: 800; margin-right: .4em; }

.hero__bild { position: relative; justify-self: center; }
.hero__kisterl { position: relative; z-index: 1; width: min(360px, 80vw); animation: schweben 5s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(46,36,32,.25)); }
.blase {
  position: absolute; z-index: 3; top: 9%; left: 78%;
  background: var(--weiss); border: 2.5px solid var(--braun); border-radius: 22px;
  padding: .7rem 1.1rem; font: 600 1.15rem "Fredoka", sans-serif; white-space: nowrap;
  box-shadow: var(--schatten); transform-origin: bottom left;
  transition: opacity .3s ease, transform .3s ease;
}
.blase::after {
  content: ""; position: absolute; left: 18px; bottom: -14px; width: 22px; height: 22px;
  background: var(--weiss); border-right: 2.5px solid var(--braun); border-bottom: 2.5px solid var(--braun);
  transform: rotate(45deg) skew(10deg, 10deg); border-bottom-right-radius: 4px;
}
.blase.weg { opacity: 0; transform: scale(.8); }
.polaroid {
  position: absolute; z-index: 2; background: var(--weiss); padding: 8px 8px 26px; border-radius: 4px;
  box-shadow: var(--schatten); width: 150px;
}
.polaroid img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.polaroid--1 { left: -34%; top: 30%; transform: rotate(-9deg); animation: wackeln 7s ease-in-out infinite; }
.polaroid--2 { right: -22%; bottom: 22%; transform: rotate(7deg); animation: wackeln 8s ease-in-out infinite reverse; }
.hero__kreis { position: absolute; z-index: -1; border-radius: 50%; }
.hero__kreis--1 { width: 520px; height: 520px; background: var(--creme-2); right: -6%; top: 6%; }
.hero__kreis--2 { width: 140px; height: 140px; background: rgba(232,105,62,.14); left: 44%; bottom: 6%; }

@keyframes schweben { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes wackeln { 0%,100% { rotate: 0deg; } 50% { rotate: 3deg; } }

/* ---------- Vorstellung ---------- */
.vorstellung { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.vorstellung__bild { position: relative; }
.vorstellung__bild img { border-radius: var(--radius); box-shadow: var(--schatten); }
.vorstellung__bild::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--holz);
  border-radius: var(--radius); z-index: -1;
}
.vorstellung p + p { margin-top: 1rem; }
.kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 4rem; }
.kachel {
  background: var(--weiss); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten);
  transition: transform .25s ease;
}
.kachel:hover { transform: translateY(-6px); }
.kachel__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; background: var(--creme-2); margin-bottom: 1rem;
}

/* ---------- Ablauf ---------- */
.ablauf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: schritt; list-style: none; }
.ablauf li { position: relative; padding-top: 4.2rem; }
.ablauf li::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font: 600 1.6rem "Fredoka", sans-serif;
  background: var(--orange); color: var(--weiss);
}
.ablauf li:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 68px; right: -10px; border-top: 3px dashed #7a675a;
}
.ablauf p { color: #d9c9b6; }

/* ---------- Pakete ---------- */
.pakete { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.paket {
  position: relative; display: flex; flex-direction: column;
  background: var(--weiss); border-radius: var(--radius); padding: 2.3rem 2rem;
  border: 2.5px solid transparent; box-shadow: var(--schatten); transition: transform .25s ease;
}
.paket:hover { transform: translateY(-6px); }
.paket--beliebt { border-color: var(--orange); }
.paket__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--weiss); font-weight: 800; font-size: .85rem;
  padding: .3em 1em; border-radius: 999px; letter-spacing: .05em;
}
.paket__preis { font: 600 3rem "Fredoka", sans-serif; color: var(--braun); margin: .2rem 0 1.2rem; }
.paket__preis small { font: 700 1rem "Nunito", sans-serif; color: var(--braun-weich); }
.paket ul { list-style: none; margin-bottom: 1.6rem; flex: 1; }
.paket li { padding: .45rem 0 .45rem 1.9rem; position: relative; border-bottom: 1px dashed var(--creme-2); }
.paket li::before { content: "✓"; position: absolute; left: 0; color: var(--gruen); font-weight: 800; }
.paket li strong { color: var(--orange-dunkel); }
.paket__ideal { font-size: .95rem; color: var(--braun-weich); margin-bottom: 1.4rem; }
.paket .btn { justify-content: center; }
.pakete-hinweis { text-align: center; margin-top: 2.4rem; color: var(--braun-weich); font-size: .98rem; }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3.5rem; }
.extra {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--creme); border: 2px dashed var(--holz); border-radius: 18px; padding: 1.1rem 1.4rem; font-weight: 700;
}
.extra span:last-child { font: 600 1.25rem "Fredoka", sans-serif; color: var(--orange-dunkel); white-space: nowrap; }
.extras-radius { text-align: center; margin-top: 1.4rem; color: var(--braun-weich); }

/* ---------- Anlässe ---------- */
.anlaesse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.anlass { background: var(--weiss); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten); border-top: 6px solid var(--holz); }
.anlass:nth-child(2) { border-top-color: var(--orange); }
.anlass:nth-child(3) { border-top-color: var(--gruen); }
.anlass:nth-child(4) { border-top-color: var(--braun); }
.anlass__emoji { font-size: 2rem; margin-bottom: .6rem; }
.anlass p { color: var(--braun-weich); font-size: 1rem; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.galerie button { aspect-ratio: 3 / 2; border: 0; padding: 0; cursor: zoom-in; border-radius: 18px; overflow: hidden; background: var(--creme-2); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie button:hover img { transform: scale(1.05); }
.g1 { grid-column: span 4; grid-row: span 2; aspect-ratio: auto !important; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 2; }
.g4, .g5, .g6 { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center;
  background: rgba(20, 15, 12, .9); padding: 2rem;
}
.lightbox.offen { display: grid; }
.lightbox img { max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; }

/* ---------- Über uns ---------- */
.ueber { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ueber__bild { justify-self: center; position: relative; }
.ueber__bild img { width: min(440px, 80vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--schatten); border: 8px solid var(--weiss); }
.ueber__bild::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 3px dashed var(--holz); z-index: 0; pointer-events: none;
}
.ueber p + p { margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--weiss); border-radius: 18px; margin-bottom: .9rem; box-shadow: 0 8px 20px -16px rgba(46,36,32,.4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3.6rem 1.2rem 1.5rem; font-weight: 800; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--creme-2); display: grid; place-items: center;
  font: 600 1.4rem "Fredoka", sans-serif; transition: transform .25s ease, background .25s;
}
.faq details[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq details p { padding: 0 1.5rem 1.3rem; color: var(--braun-weich); }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: start; }
.formular { background: var(--weiss); color: var(--braun); border-radius: var(--radius); padding: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.feld { display: flex; flex-direction: column; gap: .35rem; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-weight: 800; font-size: .95rem; }
.feld input, .feld select, .feld textarea {
  font: inherit; padding: .8rem 1rem; border: 2px solid var(--creme-2); border-radius: 12px; background: var(--creme);
  transition: border-color .2s;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--orange); }
.feld textarea { min-height: 130px; resize: vertical; }
.formular .btn { justify-self: start; }
.formular .klein { grid-column: 1 / -1; font-size: .88rem; color: var(--braun-weich); }
.honig { position: absolute; left: -9999px; }
.meldung { grid-column: 1 / -1; font-weight: 700; border-radius: 12px; }
.meldung:empty { display: none; }
.meldung--ok { background: #e3f1e4; color: #2f6b35; padding: .9rem 1.1rem; }
.meldung--fehler { background: #fbe4dc; color: #a33d1c; padding: .9rem 1.1rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.direkt { display: grid; gap: 1rem; }
.direkt a {
  display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--creme);
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.14); border-radius: 18px; padding: 1.1rem 1.3rem;
  transition: background .2s, transform .2s;
}
.direkt a:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.direkt__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.direkt small { display: block; color: #cbb9a5; font-size: .85rem; }
.direkt strong { font-weight: 800; }

/* ---------- Footer ---------- */
.footer { background: #231b18; color: #cbb9a5; padding: 2.4rem 0; font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer a { color: #cbb9a5; margin-left: 1.4rem; }

/* ---------- WhatsApp-Schwebeknopf ---------- */
.wa-knopf {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45);
  transition: transform .2s;
}
.wa-knopf:hover { transform: scale(1.08); }
.wa-knopf svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Einblend-Animation ---------- */
.zeigen { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.zeigen.sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .zeigen { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .vorstellung, .ueber, .kontakt { grid-template-columns: 1fr; }
  .hero__bild { margin-top: 1rem; }
  .pakete { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .paket--beliebt { order: -1; }
  .ablauf, .anlaesse { grid-template-columns: 1fr 1fr; }
  .ablauf li::after { display: none; }
  .extras { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; margin-top: 3rem; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g2, .g3, .g4, .g5, .g6 { grid-column: span 1; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--creme);
    padding: 1rem 1.5rem 1.8rem; border-bottom: 1px solid var(--creme-2);
    transform: translateY(-120%); transition: transform .35s ease; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
  }
  .nav.offen { transform: none; }
  .nav a { padding: .85rem 0; width: 100%; text-align: center; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: .6rem; justify-content: center; }
  .burger.offen span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.offen span:nth-child(2) { opacity: 0; }
  .burger.offen span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero__kisterl { width: 72vw; }
  .polaroid { width: 92px; padding: 5px 5px 16px; }
  .polaroid--1 { left: -8%; }
  .polaroid--2 { right: -6%; }
  .blase { left: 62%; font-size: .95rem; }
  .ablauf, .anlaesse, .kacheln { grid-template-columns: 1fr; }
  .formular { grid-template-columns: 1fr; padding: 1.5rem; }
  .footer a { margin: 0 1.2rem 0 0; }
}

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */
.rechtliches { padding: clamp(3rem, 7vw, 5rem) 0 6rem; }
.rechtliches .container { max-width: 820px; }
.rechtliches h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.rechtliches h2 { font-size: 1.5rem; margin: 2.4rem 0 .6rem; }
.rechtliches p, .rechtliches li { color: var(--braun-weich); }
.rechtliches p + p { margin-top: .8rem; }
.rechtliches ul { padding-left: 1.3rem; margin: .6rem 0; }
.rechtliches .zurueck { display: inline-block; margin-bottom: 2rem; font-weight: 800; text-decoration: none; }
.fehlerseite { text-align: center; padding: 6rem 0; }
.fehlerseite img { width: 180px; margin: 0 auto 2rem; }
