/* ========================================
   TerminFabrik - Redesigned Landing Page
   ======================================== */

/* CSS Variables */
:root {
  --bg: #0E0E12;
  --surface: #16161D;
  --surface-elevated: #1E1E28;
  --surface-hover: #262633;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);
  --text: #E8E6E1;
  --text-muted: #8A8A96;
  --text-disabled: #4A4A56;
  --orange-dark: #C45E1A;
  --orange: #E8762B;
  --orange-light: #F09245;
  --orange-muted: #F8C89A;
  --orange-glow: rgba(232,118,43,0.08);
  --success: #4ADE80;
  --error: #F87171;
  --container-width: 1200px;
  --section-padding: 100px;
  --section-padding-mobile: 60px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(22px, 3vw, 28px); }
h4 { font-size: 20px; }

.text-gradient {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title { margin-bottom: 16px; }

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.15);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 14, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; }

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text .logo-white { color: #fff; }
.logo-text .logo-accent { color: var(--orange); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-elevated);
}

.nav-arrow {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 24px;
  z-index: 99;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  .nav, .header .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav.active { display: block; }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 118, 43, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(232, 118, 43, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  border: 1px solid rgba(232, 118, 43, 0.2);
  border-radius: 50px;
  margin-bottom: 32px;
}

.hero-title { margin-bottom: 24px; }

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-trust { display: flex; justify-content: center; }

.hero-trust-items {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--success);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .hero-trust-items { flex-direction: column; gap: 12px; }
}

/* ========================================
   Problem Section
   ======================================== */

.problem-section {
  padding: var(--section-padding) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.problem-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.problem-icon-red {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--error);
}

.problem-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.problem-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.problem-card-header {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.problem-stat {
  margin-bottom: 16px;
}

.problem-stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--error);
  line-height: 1;
  display: block;
}

.problem-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.problem-bar {
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.problem-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--error), #fb923c);
  border-radius: 4px;
  animation: barFill 2s ease-out;
}

@keyframes barFill {
  from { width: 0; }
}

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

.problem-stat-mini {
  text-align: center;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
}

.problem-stat-mini-number {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.problem-stat-mini-label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 500px) {
  .problem-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Services Section
   ======================================== */

.services {
  padding: var(--section-padding) 0;
}

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

.service-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.service-card:hover {
  background: var(--surface-elevated);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.service-card-featured {
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border-color: rgba(232, 118, 43, 0.2);
}

.service-card-featured:hover {
  border-color: rgba(232, 118, 43, 0.4);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-glow);
  border-radius: 50px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-glow);
  border: 1px solid rgba(232, 118, 43, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--orange);
}

.service-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.service-benefits li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========================================
   Process Section
   ======================================== */

.process-section {
  padding: var(--section-padding) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.process-content .section-subtitle {
  margin-bottom: 40px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-step-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-glow);
  border: 1px solid rgba(232, 118, 43, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  flex-shrink: 0;
}

.process-step-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.process-step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-visual-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.process-visual-header {
  display: flex;
  gap: 6px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.process-visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-hover);
}

.process-visual-dot:first-child { background: var(--error); }
.process-visual-dot:nth-child(2) { background: var(--orange); }
.process-visual-dot:nth-child(3) { background: var(--success); }

.process-visual-content {
  padding: 8px;
}

.process-visual-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.process-visual-row:hover {
  background: var(--surface-hover);
}

.process-visual-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-glow), rgba(232,118,43,0.2));
  border: 1px solid rgba(232,118,43,0.3);
  flex-shrink: 0;
}

.process-visual-info { flex: 1; min-width: 0; }

.process-visual-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.process-visual-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.process-visual-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border-radius: 50px;
  flex-shrink: 0;
}

.process-visual-badge-pending {
  color: var(--orange);
  background: var(--orange-glow);
}

.process-visual-row-new {
  opacity: 0.6;
}

@media (max-width: 900px) {
  .process-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========================================
   Why Us Section
   ======================================== */

.why-us {
  padding: var(--section-padding) 0;
}

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

.why-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.why-card:hover {
  background: var(--surface-elevated);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.why-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.3;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
  padding: var(--section-padding) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--orange);
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.contact-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.contact-benefit svg {
  color: var(--success);
  flex-shrink: 0;
}

.contact-details {
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-glow);
  border: 1px solid rgba(232, 118, 43, 0.2);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.contact-item h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-item a, .contact-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--orange);
}

/* Contact Form */
.contact-form-wrapper {
  position: sticky;
  top: 96px;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-disabled);
}

.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 118, 43, 0.15);
}

.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-error {
  display: none;
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
}

.form-input.error ~ .form-error,
.form-checkbox.has-error .form-error {
  display: block;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A96' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--orange);
  text-decoration: underline;
}

.form-note {
  font-size: 12px;
  color: var(--text-disabled);
  margin-top: 16px;
  line-height: 1.5;
}

.form-note a {
  color: var(--text-muted);
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  margin-bottom: 24px;
  color: var(--success);
}

.form-success h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Button loading state */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-wrapper {
    position: static;
  }
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-card {
    padding: 24px;
  }
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 60px 0 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand-name .logo-white { color: #fff; }
.footer-brand-name .logo-accent { color: var(--orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

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

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ========================================
   Legal Pages
   ======================================== */

.legal-section {
  padding: 140px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--orange);
  text-decoration: underline;
}

.legal-content strong {
  color: var(--text);
}

.legal-date {
  margin-top: 40px;
  font-style: italic;
  color: var(--text-disabled);
}

/* ========================================
   Utility: Scroll animations
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   DSGVO Privacy Notice Banner
   ======================================== */

#dsgvo-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface-elevated);
  border-top: 1px solid var(--border-strong);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

#dsgvo-notice.dsgvo-notice--visible {
  transform: translateY(0);
}

.dsgvo-notice__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.dsgvo-notice__text {
  flex: 1;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  min-width: 200px;
}

.dsgvo-notice__text a {
  color: var(--orange);
  text-decoration: underline;
}

.dsgvo-notice__btn {
  flex-shrink: 0;
  padding: 8px 20px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.dsgvo-notice__btn:hover {
  background: var(--orange-dark);
}
