/* Graham Miranda UG - Bad Harzburg IT Services */
/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3a5c;
  --primary-light: #2c5282;
  --accent: #e67e22;
  --accent-light: #f39c12;
  --dark: #0f2744;
  --light: #f4f8fb;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #cbd5e0;
  --gray-600: #718096;
  --gray-800: #2d3748;
  --text: #2d3748;
  --text-light: #4a5568;
  --border: #e2e8f0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

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

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

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

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.logo span { color: var(--accent); }

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

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: all 0.2s;
}

.nav-link:hover { background: var(--light); color: var(--primary); }

.nav-link.active { background: var(--primary); color: white; }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-content { display: block; }

.nav-dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: var(--gray-800);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-200);
}

.nav-dropdown-content a:last-child { border-bottom: none; }
.nav-dropdown-content a:hover { background: var(--light); color: var(--primary); }

.lang-switch { display: flex; gap: 4px; margin-left: 16px; }

.lang-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--gray-600);
  transition: all 0.2s;
}

.lang-btn:hover, .lang-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,126,34,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,126,34,0.2);
  border: 1px solid rgba(230,126,34,0.3);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: var(--accent-light); }

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(230,126,34,0.3);
}

.btn-primary:hover { background: var(--accent-light); color: white; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(230,126,34,0.4); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }

.btn-secondary {
  background: var(--gray-200);
  color: var(--gray-800);
}

.btn-secondary:hover { background: var(--gray-300); color: var(--dark); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--dark); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-header p { font-size: 1.1rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.service-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 32px;
  color: white;
}

.service-header h3 { color: white; margin-bottom: 8px; }
.service-header p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin: 0; }

.service-body { padding: 28px; }

.service-body ul {
  list-style: none;
  margin: 0;
}

.service-body li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-body li:last-child { border-bottom: none; }

.service-body li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.stat-item { text-align: center; }

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 1rem; color: rgba(255,255,255,0.7); font-weight: 600; }

/* Why Choose Us */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

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

.reason-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.reason-content h4 { margin-bottom: 6px; }
.reason-content p { font-size: 0.9rem; margin: 0; }

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

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
}

.blog-content { padding: 28px; }

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.blog-tag { background: var(--light); padding: 2px 10px; border-radius: 50px; font-weight: 600; }

.blog-content h3 { margin-bottom: 12px; font-size: 1.2rem; }
.blog-content p { font-size: 0.95rem; }

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name { font-weight: 700; color: var(--dark); }
.testimonial-role { font-size: 0.85rem; color: var(--gray-600); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: white;
}

.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

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

.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.contact-info-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.contact-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
}

.contact-info h4 { margin-bottom: 6px; }
.contact-info p { margin: 0; font-size: 0.95rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
  background: white;
}

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

/* About Page */
.about-hero {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  padding: 80px 0;
  color: white;
  text-align: center;
}

.about-hero h1 { color: white; margin-bottom: 16px; }
.about-hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-left, .timeline-right {
  flex: 1;
  padding: 0 32px;
}

.timeline-right { text-align: left; }

/* Vendor Logos */
.vendor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.vendor-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  font-weight: 700;
  color: var(--gray-600);
  font-size: 1.1rem;
  transition: all 0.3s;
}

.vendor-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--primary); }

/* Legal */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-content h2 { margin: 32px 0 16px; color: var(--dark); font-size: 1.3rem; }
.legal-content h3 { margin: 24px 0 12px; color: var(--dark); font-size: 1.1rem; }
.legal-content p { color: var(--text-light); margin-bottom: 16px; font-size: 0.95rem; }
.legal-content ul { margin: 0 0 16px 24px; }
.legal-content li { color: var(--text-light); margin-bottom: 8px; font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 0.9rem; }

.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1rem; }

.footer-links { list-style: none; }

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

.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

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

.footer-backlinks {
  background: rgba(255,255,255,0.05);
  padding: 16px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-backlinks a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0 16px;
  transition: color 0.2s;
}

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

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--gray-300); }

/* Blog Article */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-content h2 { margin: 40px 0 16px; }
.article-content h3 { margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; color: var(--text-light); }

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  padding: 60px 0;
  color: white;
  text-align: center;
}

.page-header h1 { color: white; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Responsive */
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-btn { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: 60px 0 80px; }
  .section { padding: 60px 0; }
  .cta-banner { padding: 40px 24px; }
  .timeline::before { left: 20px; }
  .timeline-item::before { left: 20px; }
  .timeline-left, .timeline-right { padding-left: 56px; }
  .legal-content { padding: 28px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
}
