/* Gutjahr Labs — Basisstile */

:root {
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e6e6e6;
  --accent: #2b2b2b;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1100px;

  /* Love Chronicle Palette */
  --lc-cream: #fbf3ea;
  --lc-peach: #f6d8c4;
  --lc-rose: #eab8b8;
  --lc-rose-deep: #d98f8f;
  --lc-text: #3a2a26;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --bg-alt: #181818;
    --text: #f2f2f2;
    --text-muted: #a8a8a8;
    --border: #2a2a2a;
    --accent: #f2f2f2;

    --lc-cream: #2a221d;
    --lc-peach: #3a2b22;
    --lc-rose: #4a2f2f;
    --lc-rose-deep: #d98f8f;
    --lc-text: #f3e6df;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  padding: 1.5rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto;
}

/* Sections */

section {
  padding: 3.5rem 0;
}

.section-heading {
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

/* App Card (Love Chronicle) */

.love-chronicle {
  background: linear-gradient(160deg, var(--lc-cream), var(--lc-peach));
  border-radius: var(--radius-lg);
  color: var(--lc-text);
}

.love-chronicle .section-lead {
  color: var(--lc-text);
  opacity: 0.85;
}

.app-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
}

@media (max-width: 780px) {
  .app-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
  }
}

.app-info h3 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

.app-info p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--lc-rose-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.app-placeholder {
  aspect-ratio: 1 / 1;
  max-width: 260px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed var(--lc-rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-rose-deep);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.app-placeholder:hover {
  transform: translateY(-4px);
}

.app-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
}

/* Generic cards */

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Simple page (Impressum, Datenschutz, Kontakt) */

.simple-page {
  padding: 4rem 0 5rem;
  max-width: 44rem;
}

.simple-page h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.simple-page .placeholder-note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

/* Fade-in animation */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
