/* ==========================================================================
   LOFTS by Lokahi — Website Stylesheet
   ========================================================================== */

:root {
  --ink: #121214;
  --surface: #1B1B1E;
  --surface-alt: #17171A;
  --border: #2A2A2E;
  --text: #F5F3ED;
  --text-muted: #A6A39C;
  --accent: #C6A15B;
  --accent-dark: #8A6D2F;
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --container: 1180px;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font-family: inherit; cursor: pointer; }
address { font-style: normal; }
hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: .75rem 1.25rem;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Promo bar ---- */
.promo-bar {
  background: var(--accent);
  color: var(--ink);
}
.promo-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  position: relative;
}
.promo-bar-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.promo-bar-track {
  display: flex;
  width: max-content;
  animation: promo-marquee 20s linear infinite;
}
.promo-bar-msg {
  margin: 0;
  padding-right: 64px;
  font-size: .9rem;
  white-space: nowrap;
}
@keyframes promo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.promo-bar-cta {
  background: var(--ink);
  color: var(--text);
  font-weight: 600;
  font-size: .85rem;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease;
}
.promo-bar-cta:hover { background: #000; }
.promo-bar-close {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: .7;
  flex-shrink: 0;
}
.promo-bar-close:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .promo-bar-track { animation: none; }
}
@media (max-width: 560px) {
  .promo-bar-inner { padding: 8px 12px; gap: 10px; }
  .promo-bar-cta { padding: 6px 12px; font-size: .8rem; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

.section { padding: 96px 0; }
.section.alt { background: var(--surface-alt); }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.section-head p { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7CC576;
  box-shadow: 0 0 0 3px rgba(124,197,118,0.2);
}

.accent-text { color: var(--accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #d4af6a; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: #000; }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: rgba(18,18,20,0.35); }
.btn-outline-dark:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.btn-row.center { justify-content: center; margin-top: 32px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,18,20,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { border-radius: 6px; }
.logo-wordmark { height: 16px; width: auto; }
.logo-sub {
  font-family: var(--font-display);
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  margin-left: 2px;
}
.footer-logo .logo-wordmark { height: 15px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a { color: var(--text-muted); transition: color .2s ease; }
.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .02em;
  transition: border-color .2s ease, color .2s ease;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.is-open { display: flex; }

/* ---- Hero ---- */
.hero { padding: 72px 0 96px; }
.hero-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero .lead { color: var(--text-muted); font-size: 1.1rem; max-width: 480px; }
.hero-subnote {
  margin: -14px 0 0;
  font-size: .85rem;
  color: var(--text-muted);
}
.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat-row div { display: flex; flex-direction: column; }
.stat-row strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); }
.stat-row span { font-size: .8rem; color: var(--text-muted); }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(18,18,20,0.75);
  backdrop-filter: blur(6px);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.card .icon { color: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

.steps .step {
  text-align: center;
  padding: 20px;
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: .85;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: .95rem; }

.app-callout {
  max-width: 560px;
  margin: 12px auto 0;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.app-callout p { color: var(--text-muted); }
.app-callout .btn-row.center { margin-top: 18px; margin-bottom: 0; }
.app-qr {
  display: block;
  width: 140px;
  height: 140px;
  margin: 20px auto 0;
  border-radius: 12px;
}
.app-qr-caption {
  margin: 10px 0 0;
  font-size: .8rem;
  color: var(--text-muted);
}
.app-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.app-code-row code {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .8rem;
  color: var(--text);
  word-break: break-all;
}
.app-code-copy {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  transition: border-color .2s ease, color .2s ease;
}
.app-code-copy:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Pricing ---- */
.pricing { align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  background: var(--ink);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
.price-sub { color: var(--text-muted); font-size: .88rem; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.price .amount { font-family: var(--font-display); font-size: 2.3rem; font-weight: 900; }
.price .period { color: var(--text-muted); font-size: .9rem; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 8px; flex-grow: 1; }
.check-list li {
  padding-left: 26px;
  position: relative;
  font-size: .92rem;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.fine-print { font-size: .78rem; color: var(--text-muted); margin: 10px 0 18px; text-align: center; }
.price-card .btn { margin-top: auto; }

/* ---- Gallery ---- */
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption {
  padding: 12px 4px 0;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---- Kiezstimmen / Testimonials ---- */
.heading-with-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  margin: 0;
  position: relative;
}
.quote-card p { font-size: .98rem; color: var(--text); }
.quote-card cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.quote-card.placeholder {
  border-style: dashed;
  border-color: var(--accent-dark);
  background: rgba(198,161,91,0.05);
}
.placeholder-tag {
  display: inline-block;
  background: var(--accent-dark);
  color: var(--text);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---- Brand cards ---- */
.brand-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.brand-card.featured { border-color: var(--accent); }
.brand-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,20,0.25) 0%, rgba(18,18,20,0.45) 40%, rgba(18,18,20,0.92) 100%);
}
.brand-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 30px 24px;
}
.brand-card-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  opacity: .85;
}
.brand-card-logo { width: 48px; height: 48px; }
.brand-card-text h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: .4em;
}
.brand-card-text .tag {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--accent);
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
}
.brand-card-text p { color: rgba(245,243,237,0.85); font-size: .9rem; margin-bottom: 12px; }
.brand-card-text a { color: var(--accent); font-weight: 700; font-size: .9rem; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
}
.faq-question svg { flex-shrink: 0; transition: transform .25s ease; color: var(--accent); }
.faq-question[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 22px;
}
.faq-answer p { color: var(--text-muted); font-size: .95rem; padding-bottom: 20px; margin: 0; }
.faq-item.is-open .faq-answer { max-height: 320px; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--accent);
  color: var(--ink);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(18,18,20,0.75); max-width: 480px; margin: 0 auto; }

/* ---- Footer ---- */
.site-footer { background: var(--surface-alt); padding: 72px 0 32px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { margin-bottom: 14px; }
.site-footer > .container > .footer-grid > div > p { color: var(--text-muted); font-size: .9rem; max-width: 280px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  padding: 6px 0;
  font-size: .92rem;
  color: var(--text);
}
.footer-grid a:hover { color: var(--accent); }
address span, address a { display: block; padding: 6px 0; font-size: .92rem; }
address a:hover { color: var(--accent); }
.site-footer .fine-print { text-align: left; color: var(--text-muted); }

/* ---- Legal pages ---- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal-page h1 { font-size: 2.2rem; margin-bottom: .3em; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-page p, .legal-page li { color: var(--text-muted); }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page li { margin-bottom: .5em; }
.legal-page .back-link { display: inline-block; margin-bottom: 32px; color: var(--accent); font-weight: 600; }
.legal-page .placeholder-note {
  background: rgba(198,161,91,0.08);
  border: 1px dashed var(--accent-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .88rem;
  margin: 24px 0;
  color: var(--text);
}

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35);
}
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  max-width: 640px;
}
.cookie-banner-inner p a { color: var(--accent); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }

@media (max-width: 560px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* ---- Utility ---- */
.desktop-only { display: inline-flex; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .desktop-only { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-nav { display: none; }
  .mobile-nav.is-open { display: flex; }

  .hero-row { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .hero .lead { max-width: none; }

  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .gallery { grid-template-columns: 1fr 1fr; }

  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-row { height: 72px; }
  .logo-sub { display: none; }
  .grid-3, .grid-4, .gallery { grid-template-columns: 1fr; }
  .stat-row { gap: 20px; flex-wrap: wrap; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero h1 { font-size: 2.1rem; }
}
