/* =========================================================================
   1Doc — one-pager styles
   Ported from the original design bundle, with additions for the app
   mockup, the language switcher and the mobile menu.
   ========================================================================= */

:root {
  --bg: #FBFAF8; --ink: #16150F; --ink-soft: #5C5A52; --muted: #9A968C;
  --line: #EAE6DC; --gold: #bf8f28; --gold-bright: #d9aa3d; --gold-tint: #F7EFDA;
  --charcoal: #15140F; --white: #fff;
  --rainbow: linear-gradient(90deg, #E40303, #FF8C00, #F5B700, #008026, #0E5BD6, #732982);
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; width: 100%; }
.container-narrow { max-width: 820px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Typography */
.h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; line-height: 1.04; letter-spacing: -.022em; margin: 18px 0 0; text-wrap: balance; }
.h1.huge { font-size: clamp(44px, 6.2vw, 82px); }
.h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 12px 0 0; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-soft); max-width: 34em; margin: 22px 0 28px; line-height: 1.62; }
.lede.center { margin-left: auto; margin-right: auto; }
.on-dark { color: var(--white); }
.on-dark.lede, .lede.on-dark { color: rgba(255, 255, 255, .74); }
.gold-word { color: var(--gold-bright); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-bright); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 3px rgba(217, 170, 61, .2); }

.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.sec-head { max-width: 40em; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-sub { font-size: 17px; color: var(--ink-soft); margin: 16px 0 0; line-height: 1.6; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

.trust-line { font-size: 13.5px; color: var(--muted); font-weight: 600; margin: 22px 0 0; }
.trust-line.on-dark { color: rgba(255, 255, 255, .55); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 15px; padding: 13px 22px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .4); }
.btn-gold { background: var(--gold); color: #fff; margin-top: 8px; }
.btn-gold:hover { box-shadow: 0 10px 24px -8px rgba(217, 170, 61, .6); }
.btn-outline { background: transparent; color: var(--ink); border: 1.6px solid var(--line); margin-top: 8px; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px 10px 15px; border-radius: 14px; transition: transform .15s ease, box-shadow .15s ease; background: var(--charcoal); color: #fff; }
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.store-badge svg { display: block; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge-small { font-size: 10.5px; font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, .7); }
.store-badge-big { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
/* On a dark background the badge flips to white. */
.store-badge--on-dark { background: #fff; color: var(--ink); }
.store-badge--on-dark .store-badge-small { color: var(--ink-soft); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav-scrolled { background: rgba(251, 250, 248, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; margin-left: 14px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 10px 20px; font-size: 14px; }

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { appearance: none; border: none; background: none; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted); padding: 7px 12px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Hero shared */
.hero { position: relative; overflow: hidden; }
.hero-split { padding: 48px 0 60px; }
.hero-split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { padding: 24px 0; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.hero-panel { position: absolute; inset: 14% -8% 6% 8%; background: radial-gradient(120% 120% at 70% 20%, #FBEFD2, #F4E7C8 40%, #EFE3CB 100%); border-radius: 36px; }
.hero-phone { position: relative; z-index: 2; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: linear-gradient(180deg, #F5F1E8, #FBFAF8); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.step { position: relative; padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(40, 34, 15, .3); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-size: 30px; font-weight: 800; color: var(--gold-tint); -webkit-text-stroke: 1px #E4D3A6; letter-spacing: -.02em; }
.step-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--gold-tint); display: grid; place-items: center; }
.step-title { font-size: 18px; font-weight: 800; margin: 20px 0 0; letter-spacing: -.01em; }
.step-body { font-size: 14.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.55; }

/* Products */
.products { display: grid; grid-template-columns: 1.12fr .88fr; gap: 26px; margin-top: 52px; }
.product { position: relative; border-radius: 26px; padding: 40px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.product-primary { background: linear-gradient(150deg, #211e16, #15140F); border-color: transparent; color: #fff; }
.product-tag { position: absolute; top: 26px; right: 26px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #15140F; background: var(--gold-bright); padding: 6px 13px; border-radius: 999px; }
.product-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.product-icon.light { background: var(--gold-tint); }
.product-title { font-size: 28px; font-weight: 800; margin: 22px 0 0; letter-spacing: -.015em; }
.product-desc { font-size: 15.5px; line-height: 1.6; margin: 14px 0 22px; color: rgba(255, 255, 255, .72); max-width: 30em; }
.product-desc.dark { color: var(--ink-soft); }
.product-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.product-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.product-list-light li { color: rgba(255, 255, 255, .92); }
.product .btn { align-self: flex-start; margin-top: auto; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.why-card { padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.why-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-tint); display: grid; place-items: center; }
.why-title { font-size: 19px; font-weight: 800; margin: 20px 0 0; letter-spacing: -.01em; }
.why-body { font-size: 14.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.55; }

/* Trust band */
.trust-band { background: var(--charcoal); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.trust-card { text-align: center; padding: 8px; }
.trust-icon { width: 62px; height: 62px; border-radius: 50%; background: rgba(212, 160, 44, .12); display: grid; place-items: center; margin: 0 auto; border: 1px solid rgba(212, 160, 44, .3); }
.trust-title { color: #fff; font-size: 19px; font-weight: 800; margin: 20px 0 0; }
.trust-body { color: rgba(255, 255, 255, .62); font-size: 14.5px; margin: 10px auto 0; line-height: 1.55; max-width: 24em; }

/* FAQ */
.faq { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s ease; }
.faq-item.open { border-color: #E4D3A6; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 16.5px; font-weight: 700; color: var(--ink); text-align: left; }
.faq-chevron { transition: transform .25s ease; flex-shrink: 0; display: flex; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a p { margin: 0; padding: 0 24px 22px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 60em; }

/* App CTA */
.app-cta { background: var(--charcoal); position: relative; overflow: hidden; }
.app-cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.app-cta-bar { position: absolute; left: 32px; right: 32px; top: -96px; height: 5px; background: var(--rainbow); border-radius: 4px; opacity: .92; }
.app-cta-qr { display: flex; justify-content: center; }
.qr-card { background: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.qr-box { width: 132px; height: 132px; line-height: 0; }
.qr-box svg, .qr-box img, .qr-box canvas { display: block; width: 132px; height: 132px; }
.qr-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }

/* Footer */
.footer { background: #0F0E0A; color: #fff; padding: 72px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 48px; }
.footer-brand img { height: 52px; width: auto; display: block; }
.footer-tag { font-size: 14.5px; color: rgba(255, 255, 255, .55); margin: 20px 0 0; max-width: 24em; line-height: 1.6; }
.footer-trademark { font-size: 13px; color: rgba(255, 255, 255, .5); margin: 12px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 16px; }
.footer-col p { font-size: 14.5px; color: rgba(255, 255, 255, .62); margin: 0 0 12px; line-height: 1.7; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .62); margin-bottom: 11px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .4); }
.footer-rainbow { height: 4px; width: 120px; border-radius: 4px; background: var(--rainbow); opacity: .85; }
.footer-note { margin: 28px 0 0; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .4); max-width: 70em; }

/* App redirect page (app.html) */
.applink { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.applink-logo { height: 56px; width: auto; margin-bottom: 18px; }
.applink h1 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 6px; }
.applink p { color: var(--ink-soft); font-size: 15px; margin: 0 0 22px; }
.applink .store-badges { justify-content: center; }
.applink-back { margin-top: 26px; font-size: 14px; }
.applink-back a { color: var(--gold); }

/* =========================================================================
   App home-screen mockup (hero visual)
   ========================================================================= */
.phone { width: 291.2px; height: 609px; flex: 0 0 auto; }
.phone-scale { width: 416px; height: 870px; transform: scale(.7); transform-origin: top left; }
.phone-bezel {
  width: 100%; height: 100%; border-radius: 54px; background: #15140F; padding: 13px;
  box-shadow: 0 40px 90px -36px rgba(40, 34, 15, .5), 0 0 0 1px rgba(255, 255, 255, .05) inset;
}
.phone-screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #FCEFE8; }

.app { width: 390px; height: 844px; background: #FCEFE8; display: flex; flex-direction: column; position: relative; color: #1d1b18; }
.app-status { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px 4px; font-size: 15px; font-weight: 700; flex: 0 0 auto; }
.app-status-icons { display: flex; align-items: center; gap: 7px; }
.app-body { flex: 1; overflow: hidden; padding: 0 22px; }
.app-logo { display: flex; justify-content: center; padding: 18px 0 22px; }
.app-logo img { height: 54px; width: auto; display: block; }

.app-profile { display: flex; align-items: center; gap: 18px; padding: 4px 4px 6px; }
.app-avatar { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: #ece3d6; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .3); }
.app-avatar svg { display: block; width: 100%; height: 100%; }
.app-greeting { font-size: 27px; font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.app-location { font-size: 16px; color: #9a948c; font-weight: 600; margin-top: 3px; }
.app-profile-icon { margin-left: auto; align-self: flex-start; color: #2a2824; }

.app-section-title { font-size: 25px; font-weight: 800; letter-spacing: -.01em; margin: 30px 2px 16px; }
.app-services { display: flex; gap: 16px; overflow: hidden; margin: 0 -22px; padding: 2px 22px 6px; }
.app-card { flex: 0 0 76%; background: #E8E6E3; border-radius: 22px; padding: 26px 24px 24px; display: flex; flex-direction: column; min-height: 312px; }
.app-card h3 { font-size: 30px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
.app-card p { font-size: 17px; color: #55514b; line-height: 1.4; margin: 16px 0 0; font-weight: 600; }
.app-open-btn { margin-top: auto; background: #d9aa3d; color: #fff; border: none; font-family: inherit; font-size: 18px; font-weight: 800; padding: 15px 0; border-radius: 13px; text-align: center; width: 100%; }

.app-messages-head { display: flex; align-items: center; justify-content: space-between; margin: 34px 2px 16px; }
.app-messages-head .t { font-size: 25px; font-weight: 800; letter-spacing: -.01em; }
.app-messages-head .a { font-size: 17px; font-weight: 700; color: #8a6d1e; }
.app-message { background: #FAE6B8; border-radius: 20px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.app-message-icon { flex: 0 0 auto; color: #6b561a; }
.app-message-body { flex: 1; }
.app-message-body b { display: block; font-size: 18px; font-weight: 800; color: #6b561a; margin-bottom: 3px; }
.app-message-body span { font-size: 15px; color: #7a6526; line-height: 1.35; font-weight: 600; }
.app-message-cta { font-size: 16px; font-weight: 800; color: #8a6d1e; flex: 0 0 auto; align-self: flex-start; white-space: nowrap; }

.app-help { position: absolute; right: 16px; bottom: 18px; width: 58px; height: 58px; border-radius: 20px; background: #FBE9BC; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(138, 109, 30, .6); color: #8a6d1e; }
.app-home-indicator { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); width: 140px; height: 6px; border-radius: 99px; background: rgba(20, 16, 8, .32); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 920px) {
  .hero-split-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { min-height: 480px; order: 2; }
  .hero-panel { inset: 6% 4% 4% 4%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .app-cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .hero-phone { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .1s both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================= */
.legal-main { padding: 56px 0 80px; }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.legal h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 40px 0 10px; }
.legal h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 6px; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 12px; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--gold); text-decoration: underline; }
.legal a:hover { color: var(--gold-bright); }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal address { font-style: normal; }
.legal-updated { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.legal-note { background: var(--gold-tint); border: 1px solid #E4D3A6; border-radius: 14px; padding: 16px 20px; margin: 26px 0; font-size: 14px; color: #7a5e16; line-height: 1.6; }
.legal-note strong { color: #5f4a11; }
