/* TEA Cybersecurity Solutions GmbH */
:root {
  --primary: #0A2540;
  --accent: #00D4AA;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FC;
  --text: #0A2540;
  --text-muted: #5A6B7C;
  --border: #E1E8EE;
  --shadow: 0 1px 3px rgba(10, 37, 64, 0.06), 0 4px 20px rgba(10, 37, 64, 0.04);
  --shadow-hover: 0 8px 30px rgba(10, 37, 64, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 { color: var(--primary); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* Header */
header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

nav a:hover, nav a.active {
  color: var(--primary);
}

nav a:hover::after, nav a.active::after { width: 100%; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

/* Hero */
.hero {
  padding: 6rem 2rem 5rem;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text .eyebrow {
  display: inline-block;
  background: rgba(0, 212, 170, 0.12);
  color: #00937A;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art svg {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 20px 40px rgba(10, 37, 64, 0.15));
}

/* Sections */
section.block {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section.block.alt {
  background: var(--bg-soft);
  max-width: none;
  padding: 5rem 2rem;
}

section.block.alt > .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.card.in-view { opacity: 1; transform: translateY(0); }

.card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

.card ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card ul li { margin: 0.4rem 0; }

/* Logos placeholder */
.logos-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
  opacity: 0.55;
}

.client-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
}

/* CTA banner */
.cta-banner {
  background: var(--primary);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-banner h2 { color: white; }

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 1rem auto 2rem;
}

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

.cta-banner .btn:hover {
  background: white;
  color: var(--primary);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* Form */
form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

textarea { min-height: 140px; resize: vertical; }

.form-success {
  display: none;
  background: rgba(0, 212, 170, 0.1);
  color: #00937A;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-top: 1rem;
  border-left: 4px solid var(--accent);
}

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 0.7rem; }
.contact-info strong { color: var(--primary); }

/* Footer */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand h4 { color: white; margin-bottom: 0.7rem; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }

.footer-col h5 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin: 0.5rem 0; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* About specific */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 3rem 0;
}

.about-art {
  background: linear-gradient(135deg, var(--bg-soft), white);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  justify-content: center;
}

.timeline-list {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline-list li {
  list-style: none;
  margin: 1.5rem 0;
  position: relative;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid white;
}

.timeline-list .year {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline-list h4 { margin: 0.2rem 0; }
.timeline-list p { color: var(--text-muted); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav ul { gap: 1rem; }
}

@media (max-width: 600px) {
  .header-inner { padding: 1rem; flex-wrap: wrap; gap: 1rem; }
  nav ul { font-size: 0.85rem; gap: 0.8rem; }
  .hero { padding: 3rem 1rem; }
  section.block { padding: 3rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
