/* solariapps.de — shared styles. Plus Jakarta Sans and the colours of the Roger app.
   The Roger logo is only ever shown on pure white (#FFF) or pure black (#000), as the brand manual requires. */
@font-face { font-family: 'Jakarta'; font-weight: 200 800; font-display: swap; src: url('fonts/jakarta-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212; }
@font-face { font-family: 'Jakarta'; font-weight: 200 800; font-display: swap; src: url('fonts/jakarta-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #ffffff; --ink: #141413; --ink2: #5f5e5a; --line: #e6e4dd; --soft: #f6f5f1; --ok: #2e7d4f;
  --max: 1080px; --gutter: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --ink: #f4f3ee; --ink2: #b5b2a9; --line: #2c2b28; --soft: #141413; --ok: #7cc495; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 'Jakarta', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Language: every page holds de / en / es blocks; the script in <head> sets html[data-lang]. Without script: German. */
html:not([data-lang]) [data-l]:not([data-l='de']),
html[data-lang='de'] [data-l]:not([data-l='de']),
html[data-lang='en'] [data-l]:not([data-l='en']),
html[data-lang='es'] [data-l]:not([data-l='es']) { display: none !important; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand-logo { height: 46px; width: auto; margin-left: -12px; }
.logo-night { display: none; }
@media (prefers-color-scheme: dark) { .logo-day { display: none; } .logo-night { display: block; } }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink2); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.langs { display: flex; gap: 4px; }
.langs button {
  font: inherit; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--line); background: none; color: var(--ink2); border-radius: 999px; padding: 4px 9px; min-height: 30px;
}
.langs button[aria-pressed='true'] { color: var(--ink); border-color: var(--ink); }

/* Type */
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 650; margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; margin: 0 0 14px; }
h3 { font-size: 18px; letter-spacing: -0.01em; font-weight: 650; margin: 0 0 6px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink2); max-width: 640px; margin: 0; }
.label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); margin: 0 0 14px; }
.muted { color: var(--ink2); }
.small { font-size: 14px; }

/* Sections */
section.block { padding: 72px 0; border-bottom: 1px solid var(--line); }
section.block:last-of-type { border-bottom: 0; }
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 26px; border: 1px solid var(--line); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.pill--solid { background: var(--ink); color: var(--bg); }
.pill--line { border: 1px solid var(--line); color: var(--ink); }
.hero-shot { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); max-width: 380px; margin-left: auto; }

.hero-shot img { display: block; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card p { margin: 0; color: var(--ink2); font-size: 15px; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots img { border-radius: 18px; border: 1px solid var(--line); }

.price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.price strong { font-size: 34px; letter-spacing: -0.02em; }
ul.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 26px; position: relative; font-size: 15px; }
ul.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* Long-form pages (privacy, support, imprint) */
.doc { max-width: 720px; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc p, .doc li { font-size: 16px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--ink2); font-weight: 400; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--ink2); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--ink2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero-grid, .grid3, .grid2 { grid-template-columns: 1fr; }
  .hero-shot { margin: 0 auto; max-width: 300px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .nav .hide-s { display: none; }
  section.block { padding: 56px 0; }
}
