/* ===== CREOTEC Website – Global Styles ===== */

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

:root {
  --dark: #0f1b2d;
  --dark-light: #1a2a42;
  --accent: #e87722;
  --accent-hover: #d06818;
  --text: #3a3a3a;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #0f1b2d;
  --border: #e2e5ea;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--dark); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section-label {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 680px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,119,34,.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}
.btn-white:hover {
  background: rgba(255,255,255,.9);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: .85rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,27,45,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15,27,45,.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo img {
  height: 82px;
  width: auto;
  filter: brightness(1.3) drop-shadow(0 0 6px rgba(255,255,255,.25));
}

.nav-logo {
  text-decoration: none;
}
.logo-text {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.logo-text .logo-creo {
  color: #fff;
}
.logo-text .logo-tec {
  color: var(--accent);
}
.nav-logo:hover .logo-text { opacity: .9; }

.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta .btn { padding: 10px 24px; font-size: .85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 968px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 96px; left: 0; right: 0;
    background: var(--dark);
    padding: 24px;
    transform: translateY(-120%);
    transition: var(--transition);
    border-bottom: 2px solid var(--accent);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a { display: block; padding: 16px 0; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
  overflow: hidden;
}

/* Hero panels (G+H-inspired visual columns) */
.hero-panels {
  display: flex;
  width: 100%;
  flex: 1;
  padding-top: 96px;
}

.hero-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  min-height: 420px;
  cursor: pointer;
  transition: flex .5s ease;
}

.hero-panel:hover { flex: 1.3; }

.hero-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}

.hero-panel:hover .hero-panel-bg { transform: scale(1.08); }

.hero-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,27,45,.55);
  transition: var(--transition);
}

.hero-panel:hover .hero-panel-overlay {
  background: rgba(232,119,34,.35);
}

.hero-panel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero-panel-icon {
  width: 72px; height: 72px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(255,255,255,.08);
  transition: var(--transition);
}

.hero-panel:hover .hero-panel-icon {
  border-color: var(--accent);
  background: rgba(232,119,34,.2);
}

.hero-panel-content h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Hero bottom text overlay */
.hero-text-bar {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, rgba(15,27,45,0) 0%, rgba(15,27,45,.95) 30%, var(--bg-dark) 100%);
  padding: 60px 0 48px;
  margin-top: -80px;
}

.hero-text-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-text-left { max-width: 600px; }
.hero-text-left h1 { color: #fff; margin-bottom: 12px; font-size: clamp(2rem, 5vw, 3rem); }
.hero-text-left h1 span { color: var(--accent); }
.hero-text-left p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-text-right { display: flex; gap: 40px; }

.hero-badge { text-align: center; }
.hero-badge .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.hero-badge .label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  display: block;
}

@media (max-width: 968px) {
  .hero-panels { flex-wrap: wrap; }
  .hero-panel { min-height: 200px; min-width: 50%; }
  .hero-panel:hover { flex: 1; }
  .hero-text-inner { flex-direction: column; align-items: flex-start; }
  .hero-text-right { gap: 24px; }
}

@media (max-width: 480px) {
  .hero-panel { min-width: 100%; min-height: 140px; }
  .hero-text-right { flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,.6); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(232,119,34,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { color: var(--text-light); font-size: 1rem; margin-bottom: 20px; line-height: 1.6; }

.service-link {
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link svg { transition: var(--transition); }
.service-link:hover svg { transform: translateX(4px); }

/* ---------- Advantages ---------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.advantage-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.advantage-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,119,34,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.advantage-item h4 { margin-bottom: 6px; }
.advantage-item p { color: var(--text-light); font-size: 1rem; }

/* ---------- Process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%; right: 10%;
  height: 2px;
  background: var(--accent);
  opacity: .3;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--accent);
  color: #fff;
}

.process-step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { color: var(--text-light); font-size: .95rem; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .process-step { display: flex; gap: 20px; text-align: left; }
  .step-number { width: 56px; height: 56px; font-size: 1.2rem; flex-shrink: 0; margin: 0; }
}

/* ---------- Clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

.client-logo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 100px;
  transition: var(--transition);
  text-align: center;
}
.client-logo:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.client-logo .cl-name {
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.3;
}

.client-logo .cl-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
  letter-spacing: .5px;
  line-height: 1.2;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page Header ---------- */
.page-header {
  background: var(--bg-dark);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(232,119,34,.08) 0%, transparent 60%);
}

.page-header h1 { color: #fff; margin-bottom: 16px; position: relative; }
.page-header p { color: rgba(255,255,255,.6); font-size: 1.1rem; max-width: 600px; margin: 0 auto; position: relative; }

/* ---------- Content Layouts ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .content-grid,
  .content-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
}

.content-text h2 { margin-bottom: 20px; }
.content-text p { margin-bottom: 16px; }

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.content-image-placeholder {
  text-align: center;
  color: var(--text-light);
  padding: 40px;
}

.content-image-placeholder svg { margin-bottom: 12px; opacity: .4; }

/* ---------- Feature List ---------- */
.feature-list { list-style: none; margin: 24px 0; }
.feature-list li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text);
  font-size: .95rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(232,119,34,.15);
  border: 2px solid var(--accent);
}
.feature-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 22px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Certifications ---------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .certs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .certs-grid { grid-template-columns: repeat(2, 1fr); } }

.cert-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: var(--transition);
}
.cert-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.cert-item .cert-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(232,119,34,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--accent);
  flex-shrink: 0;
}
.cert-item h4 { font-size: 1rem; margin-bottom: 8px; text-align: center; }
.cert-item p { font-size: .9rem; color: var(--text-light); text-align: center; }

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  background: var(--bg-alt);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-image img { width: 100%; height: 100%; object-fit: cover; }

.project-info { padding: 28px; }
.project-info .project-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(232,119,34,.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.project-info h3 { font-size: 1.15rem; margin-bottom: 10px; }
.project-info p { font-size: .95rem; color: var(--text-light); }

/* ---------- Partner ---------- */
.partner-box {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.partner-logo {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .partner-box { flex-direction: column; padding: 32px; gap: 24px; }
  .partner-logo { width: 100%; }
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

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

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,119,34,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { color: var(--text-light); font-size: 1rem; }
.contact-info-item a { color: var(--accent); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,119,34,.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p { font-size: .95rem; margin-top: 16px; line-height: 1.6; }
.footer-brand img { height: 80px; margin-bottom: 8px; filter: brightness(1.3) drop-shadow(0 0 6px rgba(255,255,255,.25)); }
.footer-logo-text {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.footer-logo-text .logo-creo { color: #fff; }
.footer-logo-text .logo-tec { color: var(--accent); }

.footer h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links li {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 20px;
  z-index: 9999;
  display: none;
  border-top: 2px solid var(--accent);
}

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

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p { font-size: .9rem; flex: 1; min-width: 200px; }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  border: none;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(232,119,34,.3);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
}

/* ---------- Application Areas ---------- */
.app-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.app-area-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.app-area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.app-area-header {
  background: var(--dark);
  padding: 28px 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-area-number {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  color: var(--accent);
}

.app-area-header h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0;
}

.app-area-body { padding: 24px 28px 28px; }
.app-area-body > p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.app-area-section { margin-bottom: 16px; }
.app-area-section:last-child { margin-bottom: 0; }

.app-area-section h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}

.app-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.app-area-tag {
  display: inline-block;
  font-size: .9rem;
  background: var(--bg-alt);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  line-height: 1.5;
}

/* ---------- Feature Items (for Leistungen sub-pages) ---------- */
.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }

.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,119,34,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-item p { font-size: 1rem; color: var(--text-light); line-height: 1.6; }

/* ---------- Leistungen Area Sections with Background Images ---------- */
.area-section {
  position: relative;
  overflow: hidden;
}

.area-section .area-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  transition: opacity .6s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}

.area-section:hover .area-bg {
  opacity: 0.25;
}

.area-section > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
