@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #fafcfa;
  --bg-secondary: #f0f4f1;
  --text-primary: #121a14;
  --text-secondary: #3b4e41;
  --text-muted: #7c9383;
  --accent: #2B6B40;
  --accent-hover: #1e4d2e;
  --accent-light: #ebf3ed;
  --border-color: #e6ece7;
  --border-strong: #c2d1c6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container-max: 1200px;
  
  /* Radii */
  --radius-card: 24px;
  --radius-button: 9999px;
  --radius-input: 12px;

  /* Transitions & Easing */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --transition-fast: transform 150ms var(--ease-out), opacity 150ms var(--ease-out), background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
  --transition-normal: transform 300ms var(--ease-out), opacity 300ms var(--ease-out), background-color 300ms var(--ease-out);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background-color: rgba(250, 252, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 26, 20, 0.05);
  transition: background-color 200ms ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

/* Hamburger mobile button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-button);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 8px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(43, 107, 64, 0.25);
  }
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
  }
}

/* Typography Elements */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 65ch;
  margin-bottom: 40px;
}

/* Split Hero Section */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr; /* Approximately 38% / 62% for slightly better text breathing room, close enough to 1/3 and 2/3 */
  min-height: 85vh;
  margin-top: 72px; /* Offset for fixed header */
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.hero-split-content {
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 650px;
  margin: 0 auto;
}

.hero-split-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-split-image.hero-bg-index {
  background-image: url('images/hans_hero_final.jpg');
  background-image: image-set(url('images/hans_hero_final.webp') type('image/webp'), url('images/hans_hero_final.jpg') type('image/jpeg'));
}

.hero-split-image.hero-bg-coop {
  background-image: url('images/hans_coop_hero_final.jpg');
  background-image: image-set(url('images/hans_coop_hero_final.webp') type('image/webp'), url('images/hans_coop_hero_final.jpg') type('image/jpeg'));
}

.hero-split-image.hero-bg-shop {
  background-image: url('images/shop_hero_final.jpg');
  background-image: image-set(url('images/shop_hero_final.webp') type('image/webp'), url('images/shop_hero_final.jpg') type('image/jpeg'));
}

.hero-split-image.hero-bg-macher {
  background-image: url('images/macher_hero_final_v2.jpg');
  background-image: image-set(url('images/macher_hero_final_v2.webp') type('image/webp'), url('images/macher_hero_final_v2.jpg') type('image/jpeg'));
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* USP Highlight Strip */
.usp-strip {
  background-color: var(--accent);
  padding: 48px 0;
  position: relative;
  z-index: 10;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.usp-item {
  text-align: center;
  padding: 0 8px;
}

.usp-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--bg-primary);
  opacity: 0.85;
}

.usp-icon svg {
  width: 100%;
  height: 100%;
}

.usp-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg-primary);
  margin-bottom: 8px;
}

.usp-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--bg-primary);
  opacity: 0.8;
}

/* Legacy stats kept for other pages */
.stats-strip {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.stat-value {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* Section Common */
.section {
  padding: 100px 0;
  position: relative;
}

.section-bg {
  background-color: var(--bg-secondary);
}

.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Editorial layout (New Wer ist Hans?) */
.editorial-layout {
  max-width: 800px;
  margin: 0 auto;
}

.editorial-quote {
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  letter-spacing: -0.02em;
}

.editorial-quote span {
  color: var(--accent);
}

.editorial-content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.editorial-col p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.editorial-col p:last-child {
  margin-bottom: 0;
}

.editorial-visual-center {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  max-width: 440px;
  width: 100%;
  border: 4px solid var(--bg-primary);
  margin: 48px auto 0;
}

.editorial-visual-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Warum Hans? Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-cell {
  background: var(--bg-primary);
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
  .bento-cell:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
  }
}

.bento-cell.col-8 {
  grid-column: span 8;
}

.bento-cell.col-4 {
  grid-column: span 4;
}

.bento-cell.col-6 {
  grid-column: span 6;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* New Product Showcase Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.product-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
  }
}

.product-img-wrapper {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 3s var(--ease-out);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.04);
}

.product-info {
  padding: 24px;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.product-price {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  gap: 4px;
  transition: gap 150ms ease;
}

.product-link:hover {
  gap: 8px;
}

/* Hinter Hans (Agency) */
.agency-section {
  padding: 100px 0;
  text-align: center;
  background-color: #ffffff;
}

.agency-card {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-secondary);
}

.agency-logo-placeholder {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.agency-logo-placeholder span {
  color: var(--accent);
}

.agency-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Format Grid */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.format-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

@media (hover: hover) and (pointer: fine) {
  .format-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.format-img-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.format-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-content {
  padding: 28px;
}

.format-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.format-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Process Flow (Macher Services) */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.process-step:last-child {
  border-bottom: none;
}

.process-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.3;
  flex-shrink: 0;
  min-width: 80px;
}

.process-body {
  flex: 1;
  padding-top: 6px;
}

.process-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.process-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 55ch;
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    gap: 12px;
    padding: 28px 0;
  }
  .process-number {
    font-size: 2.5rem;
    min-width: auto;
  }
}

/* Ablauf */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
  border: 4px solid var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Contact Form Section */
.contact-section {
  padding: 100px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-text a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms ease;
}

.contact-text a:hover {
  color: var(--accent);
}

.contact-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 48px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 107, 64, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 12px;
  grid-column: span 2;
  margin-bottom: 8px;
}

.checkbox-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  margin-top: 3px;
  flex-shrink: 0;
  background-color: var(--bg-primary);
}

.checkbox-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkbox-input:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-input:focus {
  box-shadow: 0 0 0 3px rgba(43, 107, 64, 0.15);
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
}

/* Legal Page Layout */
.legal-section {
  padding-top: calc(72px + 60px);
  padding-bottom: 100px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 24px;
  font-size: 1rem;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer-logo span {
  color: var(--accent);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
  }
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
.gsap-reveal {
  opacity: 1;
  visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .bento-cell.col-8, .bento-cell.col-4, .bento-cell.col-6 {
    grid-column: span 12;
  }
  
  .format-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out), visibility 300ms var(--ease-out);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: block;
  }

  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh auto;
  }

  .hero-split-image {
    order: 1;
    width: 100%;
    height: 100%;
  }

  .hero-split-content {
    order: 2;
    padding: 60px 24px 40px;
    align-items: center;
    text-align: center;
  }

  .hero-split-content .hero-actions {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .usp-strip {
    padding: 32px 0;
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stats-strip {
    padding: 20px 0;
  }

  .stats-grid {
    gap: 16px;
  }

  .stat-item {
    min-width: 120px;
  }

  .editorial-content-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .editorial-visual-center {
    aspect-ratio: 1 / 1;
    margin-top: 32px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shop-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    padding-left: 64px;
  }

  .step-number {
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .format-img-wrapper {
    aspect-ratio: 4 / 3;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-card {
    padding: 32px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group.full-width, .checkbox-group {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Accessibility: respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .gsap-reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  
  .btn, .social-link, .bento-cell, .format-card, .product-card {
    transition: none !important;
  }
  
  .btn:active {
    transform: none !important;
  }
  
  .nav-menu {
    transition: none !important;
  }
}

/* Tactile scale properties */
.product-card:active, .format-card:active, .bento-cell:active, .social-link:active, .reference-item:active {
  transform: scale(0.97);
}

/* Reference Wall / Client Logos */
.reference-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.reference-item {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
  letter-spacing: -0.01em;
  padding: 20px 24px;
  text-align: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.reference-item img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(70%);
  transition: filter 200ms var(--ease-out), opacity 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .reference-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .reference-item:hover img {
    filter: grayscale(0%) opacity(100%);
  }
}

@media (max-width: 768px) {
  .reference-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .reference-item {
    font-size: 0.9rem;
    padding: 16px;
  }
}

/* Footer Watermark */
.footer-watermark {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--text-primary);
  opacity: 0.04;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  user-select: none;
  margin-bottom: 40px;
  width: 100%;
}

/* Instagram Reels Embed Section */
.reels-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.reels-follow-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-follow-ig,
.btn-follow-tt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), filter 300ms ease;
}

.btn-follow-ig svg,
.btn-follow-tt svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-follow-ig {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(131, 58, 180, 0.35);
}

.btn-follow-tt {
  background: #121a14;
  color: #fff;
  border: 1px solid rgba(250, 252, 250, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) and (pointer: fine) {
  .btn-follow-ig:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(131, 58, 180, 0.45);
    filter: brightness(1.08);
  }
  
  .btn-follow-tt:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: #1a2a1e;
  }
}

@media (max-width: 576px) {
  .btn-follow-ig,
  .btn-follow-tt {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
}


.reels-embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .reels-embed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .reels-embed-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.reel-embed-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  position: relative;
}

.reel-embed-wrapper iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius-card);
}

/* Loading skeleton shown before iframe loads */
.reel-embed-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    var(--bg-secondary) 30%,
    var(--border-color) 50%,
    var(--bg-secondary) 70%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  z-index: 1;
  border-radius: var(--radius-card);
  pointer-events: none;
  transition: opacity 400ms ease;
}

.reel-embed-wrapper.loaded::before {
  opacity: 0;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Hover effects */
@media (hover: hover) and (pointer: fine) {
  .reel-embed-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
}


/* GDPR Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--bg-primary); border-top: 1px solid var(--border-color); padding: 24px; z-index: 9999; transform: translateY(100%); transition: transform 0.5s var(--ease-out); box-shadow: 0 -4px 20px rgba(0,0,0,0.05); }
.cookie-banner.show { transform: translateY(0); }
.cookie-container { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-text { font-size: 0.9rem; color: var(--text-secondary); max-width: 800px; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
@media (max-width: 768px) { .cookie-container { flex-direction: column; align-items: stretch; text-align: left; } .cookie-actions { flex-direction: column; } }
