/* Farben */
:root {
  --color-background: #30302b;
  --color-hero-background-start: #40423e;
  --color-hero-background-end: #4d4f4a;
  --color-text: #f4f1ea;
  --color-muted: #d8d2c7;
  --color-subtle: #c6bfb4;
  --color-border: #000000;
  --color-link: #f1d38a;
  --page-padding: clamp(1.5rem, 5vw, 2rem);
  --font-system:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

/* Grundlayout */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-system);
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3rem, 10vw, 5rem) var(--page-padding);
}

.app-page {
  min-height: 100vh;
}

.app-page .container {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--page-padding);
  text-align: center;
}

h1 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  margin: 2rem 0 0;
}

h3 {
  margin: 1.5rem 0 0;
}

/* Header */
.site-logo {
  display: block;
  width: min(100%, 300px);
}

.logo-container {
  display: flex;
  justify-content: center;
  background: linear-gradient(
    180deg,
    var(--color-hero-background-start) 0%,
    var(--color-hero-background-end) 100%
  );
  padding: clamp(2.25rem, 6vw, 3rem) var(--page-padding) 1.5rem;
}

.separator {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

/* App-Kacheln */
.apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 7vw, 3rem);
}

.app {
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.app:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.app-icon {
  display: block;
  width: 315px;
  height: 315px;
  margin: 0 auto 1rem;
  border-radius: 72px;
}

.app-title {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  color: var(--color-subtle);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.822),
    0 -1px 0 rgba(3, 3, 3, 0.314);
}

.app-page .app-icon {
  margin-bottom: 1.5rem;
}

.app-page h1 {
  margin-bottom: 0;
}

.subtitle {
  max-width: 500px;
  margin: 0.8rem 0 0;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  text-align: center;
}

.contact {
  color: var(--color-subtle);
}

.copyright {
  color: var(--color-subtle);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.legal-links a {
  color: var(--color-link);
}

.app-page .site-footer {
  margin-top: 2rem;
}

/* Textseiten */
.text-page {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--page-padding);
  line-height: 1.7;
}

.text-page h1 {
  margin-bottom: 2rem;
}

.text-page .footer {
  margin-top: 3rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
  .app-page .app-icon {
    width: 240px;
    height: 240px;
    border-radius: 55px;
  }
}
