/* ==========================================================================
   TeRe Media UG (haftungsbeschränkt) - Production Design System
   ========================================================================== */

:root {
  --bg-main: #000000;
  --text-main: #ffffff;
  --text-muted: #a3a3a3;
  --text-dim: #8a8a8a; /* WCAG 2.1 AA Compliant (5.2:1 Contrast) */
  --border-line: #262626;
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --accent-btn: #ffffff;
  --accent-btn-text: #000000;

  /* Universal Header Clearance */
  --navbar-height: 90px;
  --page-top-clearance: 240px;
}

/* Default Global Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2px solid var(--text-main);
  outline-offset: 4px;
}

/* Universal Page Top Clearance Rule for Fixed Header */
main, .hero, .legal-page, body > section:first-of-type {
  padding-top: var(--page-top-clearance);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Responsive Grid Layouts */
.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-line);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-symbol {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  padding: 4px 10px;
  border: 1px solid var(--text-main);
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-line);
}

.btn-outline:hover {
  border-color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 260px 0 120px;
  border-bottom: 1px solid var(--border-line);
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 32px;
  font-family: var(--font-heading);
}

/* Base Section Styling */
.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border-line);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border-line);
}

/* Form Minimal Style */
.form-group {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-line);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-bottom-color: var(--text-main);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.honeypot {
  display: none !important;
}

/* Footer */
footer {
  padding: 60px 0 80px;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-line);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

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

/* PRIVACY & ZERO-TRACKING NOTIFICATION BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  width: calc(100% - 48px);
  z-index: 10000;
  background: #000000;
  border: 1px solid var(--border-line);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.9);
  font-family: var(--font-body);
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cookie-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 12px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  :root {
    --page-top-clearance: 140px;
  }
  .hero {
    padding: 160px 0 80px;
  }
  .hero-title {
    font-size: 44px;
  }
  .grid-4col, .grid-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
