/* =========================================================
   jbox — Ultra-clean, super-fast static stylesheet
   Keine externen Fonts = maximale Ladezeit & 100 % DSGVO-konform
   ========================================================= */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-alt: #f2f0eb;
  --text: #141413;
  --text-muted: #5c5b57;
  --border: #e6e3dc;
  --accent: #e85d3f;
  --accent-hover: #d14a2e;
  --accent-soft: #fdeee9;
  --whatsapp: #1fa855;
  --whatsapp-hover: #198f47;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(20, 20, 19, 0.04);
  --shadow-md: 0 14px 34px rgba(20, 20, 19, 0.07);
  --container: 1120px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 227, 220, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--text);
  display: inline-grid;
  place-items: center;
  position: relative;
}

.brand-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  background: #2b2b29;
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 20px rgba(232, 93, 63, 0.28);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  color: var(--text-muted);
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-facts strong {
  color: var(--text);
}

.hero-media {
  position: relative;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.45rem;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  padding: 0;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(20, 20, 19, 0.72), transparent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.section-alt .card {
  background: var(--bg);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ---------- Pricing (Single Package) ---------- */
.single-price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.single-price-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: clamp(0rem, 2vw, 1.5rem);
  border-right: 1px solid var(--border);
}

.price-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}

.price-desc {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-amount {
  font-size: clamp(2.6rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.price-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.65rem;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 0.98rem;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}

.quick-contact-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.quick-contact-item:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
}

.quick-icon.wa {
  background: #e9f8ef;
  color: var(--whatsapp);
  border-color: #c8eed6;
}

.quick-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quick-value {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-status {
  margin: 0;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #e9f8ef;
  color: #146c38;
  border: 1px solid #bce8cd;
}

.form-status.error {
  background: #fdeee9;
  color: #a9321b;
  border: 1px solid #f7c9bc;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 20, 19, 0.9);
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox-content {
  position: relative;
  max-width: min(960px, 100%);
  max-height: 88vh;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.lightbox-content img {
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  color: #faf9f6;
  font-size: 0.95rem;
  margin: 0;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 20, 19, 0.7);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.2rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: var(--text);
}

/* ---------- Legal Pages ---------- */
.legal-page {
  padding: 3.5rem 0 5rem;
  max-width: 720px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

/* ---------- Floating Mobile Quick CTA ---------- */
.floating-cta {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-price-card {
    grid-template-columns: 1fr;
  }

  .single-price-left {
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .gallery-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.35rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-links.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .features-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 35;
    display: inline-flex;
    box-shadow: 0 10px 26px rgba(20, 20, 19, 0.22);
  }

  body {
    padding-bottom: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
