/* ===== webgoat.ch – Geissmann Webconsulting ===== */

/* --- Fonts (system stack, fast load) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Variables --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-overlay: rgba(10, 10, 10, 0.85);
  --red: #e63946;
  --red-light: #ff4d5a;
  --red-dark: #c62833;
  --red-accent: rgba(230, 57, 70, 0.15);
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-muted: #777777;
  --border-color: #2a2a2a;
  --border-red: rgba(230, 57, 70, 0.3);
  --font-heading: 'Space Grotesk', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --section-padding: 6rem 0;
  --container-width: 1200px;
  --container-padding: 0 1.5rem;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-red: 0 4px 30px rgba(230, 57, 70, 0.15);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* --- Reset --- */
*, ::after, ::before { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--red-light); }
ol, ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; }

/* --- Utility --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: var(--container-padding); }
.section { padding: var(--section-padding); }
.section-dark { background-color: var(--bg-secondary); }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; position: relative; display: inline-block; }
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark));
  border-radius: 2px;
}
.section-header p { max-width: 600px; margin: 1.5rem auto 0; font-size: 1.05rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: #fff;
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.btn-small { padding: .6rem 1.4rem; font-size: .85rem; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-normal), background var(--transition-normal);
}
.header.scrolled { border-bottom-color: var(--border-color); background: rgba(10, 10, 10, 0.98); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 1px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.logo:hover .logo-mark {
  transform: rotate(-3deg) scale(1.05);
  box-shadow: var(--shadow-red);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text .logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.logo-text .logo-sub {
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .5px;
  font-weight: 500;
}

/* Nav */
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: .3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition-normal);
}
.nav-links a.active, .nav-links a:hover { color: var(--red); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  transform-origin: center;
}
.nav-toggle.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-secondary);
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .nav-links a { font-size: 1.1rem; }
  .nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
  }
  .nav-overlay.visible { opacity: 1; visibility: visible; pointer-events: auto; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(230, 57, 70, 0.12) 0, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(230, 57, 70, 0.06) 0, transparent 50%),
    var(--bg-primary);
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 2;
}
/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(230, 57, 70, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 57, 70, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  padding: 2rem 1.5rem;
}
.hero-badge {
  display: inline-block;
  padding: .4rem 1.2rem;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid var(--border-red);
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--red); position: relative; }
.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; stroke: var(--red); }
@keyframes bounce {
  0%, 100%, 20%, 50%, 80% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}
.feature-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 57, 70, 0.1);
  border-radius: 10px;
  margin-bottom: 1.2rem;
}
.feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .75rem; font-family: var(--font-body); font-weight: 600; }
.feature-card p { font-size: .92rem; line-height: 1.65; margin-bottom: 0; }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.service-card:hover { border-color: var(--border-red); box-shadow: var(--shadow-card); }
.service-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(230, 57, 70, 0.15);
  margin-bottom: 1rem;
  line-height: 1;
}
.service-card h3 { margin-bottom: 1rem; color: var(--red); }
.service-card p { font-size: .92rem; line-height: 1.65; }
.service-card ul { margin-top: 1rem; }
.service-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
  font-size: .9rem;
  color: var(--text-secondary);
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6rem;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* --- Stats --- */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1.5rem; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  min-height: 3rem;
}
.stat-label {
  font-size: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: .5rem;
}

/* --- Process / Timeline --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  counter-reset: process-step;
}
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.process-step::before {
  counter-increment: process-step;
  content: counter(process-step, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(230, 57, 70, 0.12);
  margin-bottom: 1rem;
}
.process-step h3 { color: var(--red); margin-bottom: .75rem; font-size: 1.1rem; }
.process-step p { font-size: .9rem; line-height: 1.6; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(230, 57, 70, 0.12);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
.testimonial-name { font-weight: 600; color: var(--text-primary); font-size: .95rem; }
.testimonial-role { font-size: .82rem; color: var(--text-muted); }

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(230, 57, 70, 0.08) 0, transparent 70%);
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { max-width: 550px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* --- Tech Stack visual --- */
.tech-stack {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .6;
  transition: opacity var(--transition-normal);
}
.tech-item:hover { opacity: 1; }
.tech-item svg { width: 36px; height: 36px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.tech-item span { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; margin-top: 1rem; }
.footer .footer-heading {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: var(--text-muted); font-size: .9rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--red); }
.footer-social { display: flex; gap: .75rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.footer-social a:hover { border-color: var(--red); background: rgba(230, 57, 70, 0.1); }
.footer-social a svg { width: 18px; height: 18px; fill: var(--text-muted); transition: fill var(--transition-fast); }
.footer-social a:hover svg { fill: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .82rem; color: var(--text-muted); margin-bottom: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .82rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--red); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--bg-card);
  border-top: 1px solid var(--border-red);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform .5s ease;
  box-shadow: 0 -4px 30px rgba(0,0,0,.5);
  pointer-events: none;
}
.cookie-banner.visible { transform: translateY(0); pointer-events: auto; }
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-inner .cookie-icon { font-size: 1.8rem; flex-shrink: 0; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text p { color: var(--text-secondary); font-size: .88rem; line-height: 1.6; margin: 0; }
.cookie-text a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.cookie-buttons { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-buttons .btn-cookie-accept {
  padding: .6rem 1.5rem;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition-normal);
}
.cookie-buttons .btn-cookie-accept:hover { transform: translateY(-1px); box-shadow: var(--shadow-red); }
.cookie-buttons .btn-cookie-decline {
  padding: .6rem 1.5rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition-normal);
}
.cookie-buttons .btn-cookie-decline:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Glitch effect for hero text (bold/dynamic) --- */
.glitch {
  position: relative;
  display: inline-block;
}

/* --- KI Pulse animation --- */
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); }
}
.pulse-red { animation: pulse-red 2s ease-in-out infinite; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stat-number { font-size: 2.2rem; }
  .stat-label { font-size: .85rem; letter-spacing: 1px; }
  .service-number { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-badge { font-size: .7rem; padding: .3rem 1rem; }
}

@media (max-width: 600px) {
  .header .container { height: 65px; }
  .hero { padding-top: 65px; }
  .logo-mark { width: 36px; height: 36px; font-size: 1rem; }
  .logo-text .logo-name { font-size: 1rem; }
  .service-card { padding: 1.5rem; }
  .feature-card { padding: 1.5rem; }
  .cta-section { padding: 3rem 0; }
  .cookie-inner { flex-direction: row; flex-wrap: wrap; text-align: left; gap: .5rem; }
  .cookie-inner .cookie-icon { font-size: 1.2rem; }
  .cookie-text p { font-size: .75rem; line-height: 1.4; }
  .cookie-buttons .btn-cookie-accept,
  .cookie-buttons .btn-cookie-decline { padding: .6rem 1rem; font-size: .75rem; min-height: 44px; }
}

@media (max-width: 480px) {
  :root { --section-padding: 3.5rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { min-height: 90vh; }
  .hero-description { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .features-grid, .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; min-height: 2rem; }
  .stat-item { padding: .75rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-card::before { font-size: 3rem; top: 5px; left: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 2rem; }
  .hero-content { padding: 1rem; }
  .btn { min-height: 44px; }
}

@media (max-width: 360px) {
  .header .container { height: 56px; padding: 0 .75rem; }
  .hero { padding-top: 56px; }
  .logo-text .logo-name { font-size: .9rem; }
  .logo-mark { width: 32px; height: 32px; font-size: .9rem; border-radius: 6px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .container { padding: 0 .75rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
}

@media print {
  .cookie-banner, .cta-section, .footer, .header, .hero-scroll, .nav-toggle { display: none; }
  body { background: #fff; color: #333; }
  .hero { min-height: auto; padding: 2rem 0; }
}
