@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --bg:      #0e0e0e;
  --fg:      #f0ede8;
  --muted:   #1c1c1c;
  --muted-fg:#888880;
  --accent:  #c8a96e;
  --border:  #4a4a46;
  --radius:  0;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
svg { display: block; }

::-webkit-scrollbar { width: 0; }

/* ── Typography helpers ── */
.serif-italic {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

/* ── Layout ── */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 4rem; }
}

.section-rule { border-top: 1px solid var(--border); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }

/* ── Label ── */
.label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.label-full {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #0e0e0e;
  transition: background 0.2s;
}
.btn-primary:hover { background: #dfc080; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--fg);
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--fg); }

/* ── Accent ── */
.accent { color: var(--accent); }
.accent-italic { color: var(--accent); font-style: italic; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

@media (min-width: 768px) {
  #site-header { padding: 1.25rem 3rem; }
}

.header-anim {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.logo {
  position: relative;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}

.desktop-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--fg); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--accent); color: #0e0e0e !important; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  position: relative;
  z-index: 1;
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--fg);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }

.mobile-link {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2rem;
  transition: opacity 0.2s;
}
.mobile-link:hover { opacity: 0.6; }
.mobile-link.accent { color: var(--accent); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 50vh;
  padding: 11rem 1.5rem 4rem;
  overflow: hidden;
  background: linear-gradient(to bottom, #0e0e0e, #141410);
}

@media (min-width: 768px) {
  .hero { padding: 11rem 4rem 4rem; }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#hero-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.hero-content { position: relative; max-width: 56rem; }

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 60px;
  line-height: 1.02;
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--muted-fg);
  line-height: 1.6;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem; right: 2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .scroll-indicator { display: flex; }
}

.scroll-line {
  width: 1px; height: 3rem;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.1; }
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
  writing-mode: vertical-rl;
}

/* ════════════════════════════════
   PROPOSITION
════════════════════════════════ */
.proposition { padding: 6rem 0; }

@media (min-width: 768px) {
  .proposition { padding: 8rem 0; }
}

.prop-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .prop-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

.prop-grid h2 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.3; }

.prop-text { display: flex; flex-direction: column; gap: 1.5rem; color: var(--muted-fg); }
.prop-text p { font-size: 1rem; line-height: 1.7; font-weight: 300; }

@media (min-width: 768px) {
  .prop-text p { font-size: 1.125rem; }
}

/* ════════════════════════════════
   LEISTUNGEN
════════════════════════════════ */
.leistungen { padding: 6rem 0; }

@media (min-width: 768px) {
  .leistungen { padding: 8rem 0; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

.section-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.6;
  max-width: 18rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

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

.service-tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg);
  transition: background 0.3s;
}
.service-tile:hover { background: var(--muted); }

.num { font-size: 0.7rem; color: var(--accent); }

.service-tile h3 {
  font-size: 1.25rem;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}

.tag {
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--fg);
}

/* ════════════════════════════════
   KUNDEN
════════════════════════════════ */
.kunden {
  padding: 6rem 0;
  background: var(--muted);
}

@media (min-width: 768px) {
  .kunden { padding: 8rem 0; }
}

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

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

@media (min-width: 640px) {
  .client-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.client-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: var(--muted);
  color: rgba(240,237,232,0.6);
  transition: color 0.3s;
}
.client-tile:hover { color: rgba(240,237,232,0.95); }
.client-tile.accent-italic { color: rgba(200,169,110,0.85); font-style: italic; }

.industries { margin-top: 4rem; }

.industry-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.industry-list span { font-size: 0.875rem; color: rgba(240,237,232,0.75); }
.industry-list .dot { color: rgba(200,169,110,0.5); user-select: none; }

/* ════════════════════════════════
   AWARDS
════════════════════════════════ */
.awards { padding: 6rem 0; }

@media (min-width: 768px) {
  .awards { padding: 8rem 0; }
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

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

.award-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  background: var(--bg);
  transition: background 0.3s;
}
.award-tile:hover { background: var(--muted); }

.award-name { font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.2; }
.award-sub  { font-size: 0.7rem; letter-spacing: 0.05em; color: var(--muted-fg); }

/* ════════════════════════════════
   CTA
════════════════════════════════ */
.cta {
  padding: 6rem 0;
  background: var(--muted);
  text-align: center;
}

@media (min-width: 768px) {
  .cta { padding: 9rem 0; }
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
}

.cta-h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.cta-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .cta-text { font-size: 1.125rem; }
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer {
  padding: 3rem 0;
  background: var(--bg);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

@media (min-width: 768px) {
  .footer-grid { flex-direction: row; justify-content: space-between; }
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-title {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer-impressum { display: flex; flex-direction: column; gap: 0.5rem; }

.impressum-btn {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  text-align: left;
  transition: opacity 0.2s;
}
.impressum-btn:hover { opacity: 0.6; }

.footer-contact {
  color: var(--accent);
  transition: color 0.2s;
  margin-top: 0.5rem;
}
.footer-contact:hover { color: var(--fg); }

.footer-nav { display: flex; flex-direction: column; gap: 1rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

.footer-links a {
  color: var(--muted-fg);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-links a.accent { color: var(--accent); }

.copyright { color: var(--muted-fg); }

/* ════════════════════════════════
   MODAL
════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(16px);
}

.modal-overlay.hidden { display: none; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 28rem;
  padding: 2.5rem;
  background: var(--muted);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
  transition: opacity 0.2s;
}
.modal-close:hover { opacity: 0.6; }

.modal-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
}

.modal-name { font-weight: 500; color: var(--fg); }
.modal-address span { color: var(--muted-fg); }
.modal-address span:first-child { color: var(--fg); }
