/* alama marketing site — tokens and components from the design package
   (docs/design/designpaket-README.md). No shadows, no animation; separation
   by surface and 1px borders only. */

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/WorkSans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/WorkSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #D6003C;
  --accent-on-dark: #FF3D68;
  --accent-hover: #A30030;
  --ink: #111111;
  --ink-1: #2B2B27;
  --ink-2: #3F3F3B;
  --ink-3: #44443F;
  --ink-4: #4A4A46;
  --ink-button: #1E1E1B;
  --muted: #6B6B66;
  --muted-on-dark: #B8B5B0;
  --grey: #8A8A8A;
  --surface: #F2F1EF;
  --paper: #FDFCFB;
  --card: #FFFFFF;
  --border: #EAE7E3;
  --border-2: #E2DFDA;
  --border-on-dark: #3A3A36;
  --border-3: #D5D2CD;
  --stripe-a: #EDEBE7;
  --stripe-b: #DDD9D4;
  --stripe-b-hero: #E2DFDA;
  --content: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

svg {
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 500;
}

.skip-link:focus {
  top: 16px;
  color: var(--paper);
}

.content {
  max-width: var(--content);
  margin: 0 auto;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 32px;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lockup:hover {
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  color: var(--ink-1);
}

.site-nav a:hover {
  color: var(--accent);
}

/* Buttons */

.button {
  display: inline-block;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  line-height: 1.2;
}

.button-primary {
  background: var(--accent);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--accent-hover);
  color: var(--paper);
}

.button-secondary {
  border: 1px solid var(--border-3);
  color: var(--ink-button);
  font-weight: 500;
}

.button-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.button-small {
  font-size: 15px;
  padding: 10px 20px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 64px 32px 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.hero-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  justify-content: center;
}

.phone {
  width: 220px;
  aspect-ratio: 9 / 18;
  border-radius: 28px;
  border: 6px solid var(--ink);
  background: repeating-linear-gradient(135deg, var(--stripe-a) 0 10px, var(--stripe-b-hero) 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Real screens replace the striped placeholders; the frame keeps its shape. */
.phone.has-image,
.preview-frame.has-image {
  aspect-ratio: 390 / 693;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
}

.has-image img,
.has-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The hero plays the capture once (under five seconds, no loop); without
   motion, or where video is unavailable, the poster stands in its place. */
.phone.has-image .poster {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .phone.has-image video {
    display: none;
  }

  .phone.has-image .poster {
    display: block;
  }
}

.placeholder-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--ink-1);
  text-align: center;
  background: var(--paper);
  padding: 10px;
  border-radius: 8px;
}

/* Sections */

.section {
  padding: 64px 32px;
}

.section-surface {
  background: var(--surface);
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-deck {
  font-size: 16px;
  color: var(--ink-4);
  margin-bottom: 40px;
  max-width: 600px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.grid-features {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-preview {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-pricing {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
}

.card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.preview-frame {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: repeating-linear-gradient(135deg, var(--stripe-a) 0 10px, var(--stripe-b) 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Pricing */

.plan {
  padding: 32px;
  gap: 16px;
}

.plan-title {
  font-size: 20px;
  font-weight: 600;
}

.plan-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}

.plan-rule {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.plan-note {
  font-size: 14px;
  color: var(--muted);
}

.plan-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.plan-dark .plan-text {
  color: var(--border-2);
}

.plan-dark .plan-rule {
  background: var(--border-on-dark);
}

.plan-dark .plan-note {
  color: var(--muted-on-dark);
}

/* FAQ */

.faq-content {
  max-width: 760px;
  margin: 0 auto;
}

.faq-content .section-title {
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--card);
  border-radius: 10px;
  padding: 18px 22px;
}

.faq-list summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-list summary::marker,
.faq-list summary::-webkit-details-marker {
  color: var(--accent);
}

.faq-list details p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 10px;
}

/* Footer */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.footer-lockup:hover {
  color: var(--ink);
}

.footer-note {
  font-size: 13.5px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14.5px;
}

.footer-links a {
  color: var(--ink-2);
}

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

/* Legal pages */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal h1 {
  font-size: 28px;
  font-weight: 600;
}

.legal h2 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 8px;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.legal ul {
  margin: 0;
  padding-left: 20px;
}

.legal address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.legal-note {
  background: var(--surface);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-3);
}

/* Responsive */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-title {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .section,
  .site-footer,
  .legal {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Pre-launch additions: eyebrow, trust line, calls to action, text blocks */

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.trust-line {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 4px;
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta .button {
  max-width: 100%;
  text-align: center;
}

.cta-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 8px;
}

.text-block {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-block .section-title {
  margin-bottom: 4px;
}

.text-block p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}

.text-block .cta-note {
  font-size: 14px;
  color: var(--muted);
}

.section-more {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 500;
}

/* Preview figures */

.preview {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-caption {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* Pricing additions */

.pricing {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-price {
  font-size: 18px;
  font-weight: 600;
}

.highlight {
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-title {
  font-size: 18px;
  font-weight: 600;
}

.highlight-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}

.pricing-line {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Content pages (Preise, Funktionen, Ratgeber, Vergleich) */

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.page-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}

.page-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

.page h3 {
  font-size: 17px;
  font-weight: 600;
}

.page p,
.page li,
.page dd {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}

.page ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page .button,
.page .page-links a,
.page .faq-list summary {
  text-decoration: none;
}

.note {
  background: var(--surface);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--ink-3);
}

.qa {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qa dt {
  font-weight: 600;
  margin-top: 12px;
}

.qa dt:first-child {
  margin-top: 0;
}

.qa dd {
  margin: 0;
}

.page .faq-list details {
  border: 1px solid var(--border);
}

.page .faq-list summary {
  font-size: 16px;
}

.page-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 14.5px;
  line-height: 1.5;
  background: var(--card);
}

caption {
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
  caption-side: bottom;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}

thead th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.row-own th,
.row-own td {
  background: var(--surface);
}

@media (max-width: 600px) {
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page h1 {
    font-size: 28px;
  }

  .cta .button {
    width: 100%;
  }
}
