/* ── SHARED STYLES – Der Lockermacher ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal: #5a9e91;
  --teal-dark: #3d7a6e;
  --teal-light: #d4ede9;
  --teal-pale: #eef7f5;
  --bg: #faf9f7;
  --text: #1e1e1e;
  --text-muted: #6b7280;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Helvetica, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; }

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 18px 56px; gap: 32px;
  background: rgba(250,249,247,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06); transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
nav .nav-logo { grid-column: 2; justify-self: center; margin: 0 16px; }
.nav-logo {
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  border: 1.5px solid var(--text); padding: 6px 12px;
  text-decoration: none; color: var(--text);
}
.nav-logo .logo-main { font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.nav-logo .logo-sub { font-family: var(--sans); font-size: 7px; letter-spacing: 4px; text-transform: uppercase; border: 1px solid var(--text); padding: 2px 6px; margin-top: 3px; }
.nav-links { display: flex; gap: 22px; list-style: none; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.nav-links a { font-size: 13px; text-decoration: none; color: var(--text-muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-right { display: flex; justify-content: flex-end; }
.nav-cta {
  background: var(--teal); color: white; border: none; cursor: pointer;
  padding: 10px 20px; font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .5px; transition: background .2s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--teal-dark); }

/* PAGE HERO (subpages) */
.page-hero {
  padding: 140px 80px 80px; background: linear-gradient(135deg, #1a1a1a 0%, #2d3a38 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: 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='none'%3E%3Cg fill='%235a9e91' fill-opacity='0.04'%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/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; }
.page-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #8ecfc6; margin-bottom: 16px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(36px, 4vw, 58px); color: white; line-height: 1.12; margin-bottom: 20px; font-weight: 700; }
.page-hero h1 em { color: var(--teal); font-style: italic; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 17px; max-width: 560px; margin-bottom: 32px; font-weight: 300; line-height: 1.7; }

/* BREADCRUMB */
.breadcrumb { padding: 16px 80px; background: white; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb span { margin: 0 8px; }

/* SECTION GLOBALS */
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section { padding: 80px 80px; }
.section.bg-pale { background: var(--teal-pale); }
.section.bg-white { background: white; }
.section.bg-dark { background: #1a1a1a; color: white; }
.section h2 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 16px; }
.section h2 em { color: var(--teal); font-style: italic; }
.section .lead { color: var(--text-muted); font-size: 16px; line-height: 1.8; max-width: 700px; margin-bottom: 40px; }

/* CONTENT GRID */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.content-grid.wide { grid-template-columns: 3fr 2fr; }

/* CHECKLIST */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; }
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* STEP CARDS */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid #f0f0f0; }
.step:last-child { border-bottom: none; }
.step-n { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--teal-light); line-height: 1; flex-shrink: 0; width: 44px; }
.step h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* FAQ */
.faq-item { border-bottom: 1px solid #e8e8e8; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 15px; font-weight: 500; transition: color .2s; user-select: none; }
.faq-q:hover { color: var(--teal); }
.faq-arrow { width: 26px; height: 26px; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .2s; font-size: 13px; }
.faq-item.open .faq-arrow { transform: rotate(45deg); background: var(--teal); border-color: var(--teal); color: white; }
.faq-a { font-size: 14px; color: var(--text-muted); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* INTERNAL LINKS BOX */
.related-box { background: var(--teal-pale); border: 1.5px solid var(--teal-light); padding: 28px; margin-top: 40px; }
.related-box h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 16px; color: var(--teal-dark); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-link { padding: 8px 16px; background: white; border: 1px solid var(--teal-light); font-size: 13px; color: var(--teal-dark); text-decoration: none; font-weight: 500; transition: all .2s; }
.related-link:hover { background: var(--teal); color: white; }

/* CTA BANNER */
.cta-banner { background: var(--teal-dark); padding: 60px 80px; text-align: center; color: white; }
.cta-banner h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; }
.btn-primary { background: var(--teal); color: white; border: none; cursor: pointer; padding: 16px 32px; font-family: var(--sans); font-size: 15px; font-weight: 600; transition: all .2s; letter-spacing: .3px; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: #2d7a6e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(90,158,145,0.4); }
.btn-white { background: white; color: var(--teal-dark); border: none; cursor: pointer; padding: 16px 32px; font-family: var(--sans); font-size: 15px; font-weight: 600; transition: all .2s; text-decoration: none; display: inline-block; }
.btn-white:hover { background: var(--teal-pale); }

/* PHOTO PLACEHOLDER */
.photo-placeholder {
  min-height: 400px; background: var(--teal-pale);
  background-image: repeating-linear-gradient(45deg, rgba(90,158,145,0.08) 0px, rgba(90,158,145,0.08) 1px, transparent 1px, transparent 10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px; font-family: monospace; gap: 10px;
}

/* HIGHLIGHT BOX */
.highlight-box { background: var(--teal); color: white; padding: 24px 28px; margin-top: 32px; }
.highlight-box h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 8px; }
.highlight-box p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.85); }

/* FOOTER */
.site-footer { background: #0f0f0f; padding: 28px 80px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-logo .logo-main { font-family: var(--serif); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: white; }
.footer-logo .logo-sub { font-size: 7px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 2px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

/* FADE UP */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* SHARED JS (nav + faq + observer) */

@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .page-hero, .breadcrumb, .section, .cta-banner, .site-footer { padding-left: 24px; padding-right: 24px; }
  .content-grid, .content-grid.wide { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 16px; padding: 24px; }
}
