/* ============================================================
   BubbleLodge – Stylesheet
   Farbwelt: tiefes Nachtblau + warmes Bernstein (Lagerfeuer)
   ============================================================ */

:root {
  --night: #0f2231;
  --night-2: #16344a;
  --ink: #1d2b34;
  --muted: #5b6b75;
  --line: #e3e9ed;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --amber: #e3a04b;
  --amber-dark: #c8842f;
  --teal: #3a8d8c;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 34, 49, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 34, 49, 0.16);
  --maxw: 1140px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.12; color: var(--night); font-weight: 600; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.97rem; cursor: pointer;
  border: 1.5px solid transparent; transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--night); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 132, 47, 0.35); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: var(--white); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--night); }
.brand-mark { color: var(--amber); font-size: 1.5rem; transform: rotate(-10deg); }
.brand-text strong { color: var(--amber-dark); font-weight: 700; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 0.97rem; color: var(--ink); position: relative; transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--amber); transition: width 0.25s var(--ease); }
.nav-links a:hover { color: var(--night); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 20px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--night); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 0 24px; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease), padding 0.35s var(--ease); }
.mobile-menu.open { max-height: 420px; padding: 16px 24px 24px; }
.mobile-menu a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { border: none; margin-top: 12px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background:
    linear-gradient(180deg, rgba(10,21,33,0.72) 0%, rgba(12,29,41,0.62) 45%, rgba(15,34,49,0.85) 100%),
    radial-gradient(1200px 500px at 70% -10%, rgba(227,160,75,0.22), transparent 60%),
    url("assets/hero.jpg") center 60% / cover no-repeat,
    linear-gradient(160deg, #0c1d29 0%, #143247 55%, #1d4a5e 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 60% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 80% 50%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 35% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 90% 80%, rgba(255,255,255,0.4), transparent);
  opacity: 0.7;
}
.hero-inner { position: relative; padding: 100px 24px 110px; max-width: 860px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--amber); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--white); font-weight: 600; letter-spacing: -0.01em; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,0.85); margin: 24px 0 36px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin-top: 44px; color: rgba(255,255,255,0.9); font-size: 0.95rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 8px; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* ---------- Features ---------- */
.feature { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 56px; height: 56px; display: grid; place-items: center; background: linear-gradient(150deg, #fdf1df, #f8e2c2); border: 1px solid #f0d4a6; border-radius: 16px; margin-bottom: 20px; color: var(--amber-dark); }
.feature-icon svg { width: 28px; height: 28px; }
.feature:hover .feature-icon { background: linear-gradient(150deg, var(--amber), var(--amber-dark)); border-color: var(--amber-dark); color: #fff; transition: all 0.3s var(--ease); }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: var(--muted); }

/* ---------- Use cases ---------- */
.usecase { border-left: 4px solid var(--amber); }
.usecase h3 { font-size: 1.25rem; margin-bottom: 8px; }
.usecase p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; max-width: 760px; margin: 0 auto; counter-reset: step; }
.step { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Fraunces", serif;
  font-size: 1.4rem; font-weight: 600; color: var(--night);
  background: linear-gradient(145deg, var(--amber), var(--amber-dark));
  box-shadow: 0 6px 16px rgba(200,132,47,0.3);
}
.step h3 { font-size: 1.25rem; margin-bottom: 4px; }
.step p { color: var(--muted); }

/* ---------- Specs / Die Bubble ---------- */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.specs-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.spec-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.spec-grid li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 12px; text-align: center; }
.spec-val { display: block; font-family: "Fraunces", serif; font-size: 1.7rem; font-weight: 600; color: var(--night); line-height: 1.1; white-space: nowrap; }
.spec-label { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.spec-notes { list-style: none; display: grid; gap: 12px; }
.spec-notes li { position: relative; padding-left: 28px; color: var(--ink); }
.spec-notes li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--amber-dark); font-weight: 700; }
.spec-fineprint { color: var(--muted); font-size: 0.85rem; margin-top: 18px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 28px; }
.price-card { text-align: center; position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--amber); border-width: 2px; box-shadow: var(--shadow-lg); }
.price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber); color: var(--night); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 14px; border-radius: 999px; }
.price-term { color: var(--muted); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.price-amount { font-family: "Fraunces", serif; font-size: 2.2rem; color: var(--night); margin: 10px 0 6px; font-weight: 600; }
.price-note { color: var(--muted); font-size: 0.9rem; }

.price-extras { max-width: 640px; margin: 0 auto; width: 100%; }
.price-extras h3 { font-size: 1.4rem; margin-bottom: 18px; text-align: center; }
.extras-list { list-style: none; }
.extras-list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.extras-list li:last-child { border-bottom: none; }
.extra-price { font-weight: 700; color: var(--night); }
.price-included { background: #fff7ec; border: 1px solid #f3d9a8; color: #8a5a14; font-size: 0.92rem; padding: 14px 16px; border-radius: var(--radius-sm); margin: 20px 0; text-align: center; }
.price-included strong { color: var(--amber-dark); }
.footer-contact { margin-top: 12px; font-size: 0.95rem; font-style: normal; line-height: 1.7; }
.footer-contact a:hover { color: var(--amber); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0;
}
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 16px 12px; color: var(--white); font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(to top, rgba(10,21,33,0.78), transparent);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; transition: box-shadow 0.25s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--night); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--amber-dark); font-weight: 400; transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 18px; }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(160deg, #0f2231, #1a4055); color: var(--white); }
.section-contact .eyebrow { color: var(--amber); }
.section-contact h2 { color: var(--white); }
.section-contact .section-sub { color: rgba(255,255,255,0.8); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 30px 0 18px; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list strong { color: var(--amber); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: rgba(255,255,255,0.92); font-size: 1.1rem; }
.contact-note { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

.contact-form { color: var(--ink); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--night); }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(227,160,75,0.18); }
.form-row textarea { resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.95rem; text-align: center; }
.form-status.success { color: var(--teal); }
.form-status.error { color: #c0392b; }
.form-hint { color: var(--muted); font-size: 0.8rem; margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1721; color: rgba(255,255,255,0.75); padding: 56px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { max-width: 340px; }
.footer-brand .brand-text { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--white); }
.footer-brand p { margin-top: 10px; font-size: 0.95rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal .lead { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { margin: 8px 0 8px 22px; }
.legal a { color: var(--amber-dark); text-decoration: underline; }
.legal .placeholder { background: #fff7ec; border: 1px solid #f3d9a8; color: #8a5a14; padding: 2px 7px; border-radius: 6px; font-size: 0.92em; }
.legal .back-link { display: inline-block; margin-bottom: 28px; font-weight: 600; color: var(--amber-dark); }
.legal-note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 0.9rem; color: var(--muted); margin-top: 40px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; gap: 32px; }
  .specs-media { order: -1; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 24px 80px; }
  .hero-badges { gap: 12px; flex-direction: column; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .step { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
