/* SUM Website - Kompromisslos minimalistisch */

:root {
  --fg: #fff;
  --fg-secondary: rgba(255, 255, 255, 0.65);
  --fg-tertiary: rgba(255, 255, 255, 0.5);
  --bg: #000;
  --separator: rgba(255, 255, 255, 0.06);
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --fg: #000;
    --fg-secondary: rgba(0, 0, 0, 0.65);
    --fg-tertiary: rgba(0, 0, 0, 0.5);
    --bg: #fff;
    --separator: rgba(0, 0, 0, 0.06);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-system);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.6;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--fg);
  transition: border-color 0.2s;
}

a:hover {
  border-bottom-color: transparent;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
}

.logo {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
}

.logo-light { display: none; }
.logo-dark { display: block; }

@media (prefers-color-scheme: light) {
  .logo-light { display: block; }
  .logo-dark { display: none; }
}

.app-name {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

.tagline {
  font-size: 1.25rem;
  color: var(--fg-secondary);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.app-store-badge {
  height: 54px;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.7;
}

a:has(.app-store-badge) {
  border-bottom: none;
}

.help-hint {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
}

.help-hint a {
  color: var(--fg-tertiary);
  border-bottom-color: var(--fg-tertiary);
}

.help-hint a:hover {
  color: var(--fg);
}

/* Screenshot Karussell - Scroll Snap */
.screenshots {
  display: flex;
  gap: 24px;
  padding: 40px 24px 100px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.screenshot-item img {
  width: 260px;
  height: auto;
  border-radius: 28px;
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .screenshot-item img {
    width: 300px;
    border-radius: 36px;
  }
}

@media (max-width: 600px) {
  .screenshots {
    gap: 16px;
    padding: 40px 16px 80px;
  }

  .screenshot-item img {
    width: 220px;
    border-radius: 24px;
  }
}

/* Sections */
.section {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--fg-tertiary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: var(--fg-secondary);
}

.section p:last-child {
  margin-bottom: 0;
}

.section strong {
  color: var(--fg);
  font-weight: 500;
}

/* Vision Section */
.vision {
  padding: 100px 24px;
}

.vision-content {
  max-width: 680px;
  margin: 0 auto;
}

.vision h2 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.4;
}

.vision p {
  font-size: 1.125rem;
  color: var(--fg-secondary);
  margin-bottom: 20px;
}

.vision strong {
  color: var(--fg);
  font-weight: 500;
}

/* Features Grid */
.features {
  padding: 80px 24px;
}

.features-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
  }
}

.feature {
  padding-left: 16px;
  border-left: 1px solid var(--separator);
}

.feature-title {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* Anekdote */
.anecdote {
  padding: 80px 24px;
}

.anecdote-content {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
}

.anecdote-intro {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.anecdote-text {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  font-style: italic;
}

/* Future / API */
.future {
  padding: 100px 24px;
  text-align: center;
}

.future-content {
  max-width: 550px;
  margin: 0 auto;
}

.future h2 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 20px;
}

.future p {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  margin-bottom: 14px;
}

.future-highlight {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  margin-top: 28px;
  letter-spacing: 0.05em;
}

/* Footer */
footer {
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--separator);
}

.footer-links {
  margin-bottom: 32px;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--fg-tertiary);
  margin: 0 16px;
  border-bottom: none;
}

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

.footer-address {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--fg-tertiary);
  line-height: 1.8;
}

.footer-address a {
  color: var(--fg-tertiary);
  border-bottom: none;
}

.footer-address a:hover {
  color: var(--fg);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal[hidden] {
  display: none;
}

.modal-content {
  background: var(--bg);
  padding: 32px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  border: 1px solid var(--separator);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--fg-tertiary);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--fg);
}

.modal h2 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.modal address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--fg-secondary);
  line-height: 1.8;
}

.modal address a {
  color: var(--fg-secondary);
}

.modal address a:hover {
  color: var(--fg);
}

/* Language Switcher */
.lang-switch {
  position: fixed;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  z-index: 100;
}

.lang-switch a {
  color: var(--fg-tertiary);
  padding: 8px;
  border-bottom: none;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--fg);
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 140px 24px 60px;
  }

  .logo {
    width: 72px;
    height: 72px;
  }

  .app-name {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.125rem;
  }

  .section {
    padding: 60px 24px;
  }

  .vision {
    padding: 60px 24px;
  }

  .vision h2 {
    font-size: 1.25rem;
  }

  .future {
    padding: 60px 24px;
  }

  .anecdote {
    padding: 60px 24px;
  }
}

