/* ─── FONTS ─────────────────────────────────────────────── */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --orange:      #FF4500;
  --green-card:  #3DB54A;
  --yellow-card: #FFD600;
  --teal-card:   #8FD4DC;
  --orange-card: #FF6635;
  --cream-card:  #F2EBD6;
  --dark:        #1A1A1A;
  --white:       #FFFFFF;
  --gap:         3px;
  --pad:         1.5rem;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--dark);
  max-width: 1200px;
  margin: 0 auto;
}

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

/* ─── NAV ───────────────────────────────────────────────── */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--pad);
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
}
.nav-link:hover { text-decoration: underline; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero-section {
  padding: 0 var(--pad);
}

.hero-svg {
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 0.1em;
}


/* ─── TILES ─────────────────────────────────────────────── */
.tiles-section {
  margin-top: 1.5rem;
  padding: 0 var(--pad);
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  display: block;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease,
              rotate 0.35s ease, scale 0.35s ease;
}

.tile--visible {
  opacity: 1;
  transform: translateY(0);
}

.tile--static.tile--visible:hover {
  rotate: 0deg;
  scale: 1;
}

.tile--bordered {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}

.tile--visible:hover {
  rotate: 1deg;
  scale: 1.06;
  z-index: 2;
}

.tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

/* ─── BESCHREIBUNG ──────────────────────────────────────── */
.desc-section {
  padding: 4rem var(--pad) 3rem;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desc-text {
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--dark);
  padding: 1.1rem 2rem;
  min-width: min(540px, 100%);
  gap: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  transition: background 0.2s, color 0.2s;
}
.cta-link:hover {
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
}

.cta-arrow {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

/* ─── FOTO FULL-WIDTH ────────────────────────────────────── */
.fullphoto {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.fullphoto img {
  width: 100%;
  height: 58vh;
  object-fit: cover;
  object-position: center 30%;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  padding: 3rem var(--pad) 2rem;
  text-align: center;
  border-top: 1px solid #E0E0E0;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid #E0E0E0;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .desc-section {
    padding: 2.5rem var(--pad);
  }
  .cta-link {
    min-width: unset;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
