/* ==========================================================================
   Kreatur Theme — Base Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   @font-face declarations
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'simiandisplay';
  src: url('../fonts/simiandisplay-gorilla.eot');
  src: url('../fonts/simiandisplay-gorilla.eot?#iefix') format('embedded-opentype'),
       url('../fonts/simiandisplay-gorilla.woff') format('woff'),
       url('../fonts/simiandisplay-gorilla.ttf') format('truetype'),
       url('../fonts/simiandisplay-gorilla.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Karla';
  src: url('../fonts/Karla-Regular.woff2') format('woff2'),
       url('../fonts/Karla-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Karla';
  src: url('../fonts/Karla-Bold.woff2') format('woff2'),
       url('../fonts/Karla-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   CSS Reset
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   Design Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */

:root {
  --color-bg: #F9F7F4;
  --color-text: #1A1A1A;
  --color-accent: #c403ff;
  --color-accent-hover: #a002cc;
  --color-muted: #666;
  --color-light: #fff;

  --font-display: 'simiandisplay', sans-serif;
  --font-body: 'Karla', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base Styles
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url('../images/background-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.1;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-light);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-light);
}

/* --------------------------------------------------------------------------
   Section Spacing
   -------------------------------------------------------------------------- */

section {
  padding: 5rem 0;
  position: relative;
}

section:not(.hero) {
  background-color: rgba(249, 247, 244, 0.65);
}

section:nth-child(even):not(.hero) {
  background-color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background-color: rgba(249, 247, 244, 0.92);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 93px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav.scrolled .nav-link {
  color: var(--color-text);
}

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

.lang-toggle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border: 2px solid var(--color-light);
  border-radius: 4px;
  background: transparent;
  color: var(--color-light);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.site-nav.scrolled .lang-toggle {
  border-color: var(--color-text);
  color: var(--color-text);
}

.lang-toggle:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-light);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--color-light);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  font-size: 1.1rem;
  padding: 0.9rem 2.25rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Responsive — Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-link {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 80vh;
    padding: 6rem 0 3rem;
  }

  .hero-content {
    padding: 0 0.5rem;
  }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */

.about-inner {
  max-width: 700px;
  text-align: center;
}

.about h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: var(--color-text);
}

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

/* --------------------------------------------------------------------------
   Space Section
   -------------------------------------------------------------------------- */

.space h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.space-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.space-grid img:hover {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.5rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.space-features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature {
  text-align: center;
  max-width: 220px;
}

.feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.feature span {
  font-size: 0.95rem;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .space-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */

.pricing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1 1 280px;
  max-width: 380px;
  background: var(--color-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.pricing-desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.pricing-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */

.contact-inner {
  max-width: 600px;
  text-align: center;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.contact-address {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.contact-email {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.contact-cta {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.contact .btn {
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Impressum
   -------------------------------------------------------------------------- */

.impressum-page {
  padding-top: 8rem;
}

.impressum-inner {
  max-width: 700px;
  text-align: left;
}

.impressum-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.impressum-inner h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.impressum-inner p,
.impressum-inner ul {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.impressum h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.impressum p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background-color: rgba(249, 247, 244, 0.92);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-inner a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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