/* Oliver Richter Business IT Services - Professional Green-Gray Corporate Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Slab:wght@600;700&display=swap');

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

:root {
  --primary-green: #2d7a3e;
  --primary-dark: #1e5129;
  --primary-light: #4a9d5f;
  --gray-dark: #2c3e50;
  --gray-medium: #5a6c7d;
  --gray-light: #ecf0f1;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --accent: #27ae60;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: var(--gray-dark);
}

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

/* Header - Professional Top Bar */
header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Roboto Slab', serif;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 8px;
  padding: 5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  position: relative;
  padding-bottom: 5px;
}

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

nav a:hover::after {
  width: 100%;
}

/* Hero - Full Width with Overlay */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url('../images/hero.jpg') center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 122, 62, 0.9) 0%, rgba(30, 81, 41, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-green);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-green);
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-light {
  background-color: var(--white);
}

.section-gray {
  background-color: var(--gray-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-medium);
  line-height: 1.8;
}

/* Service Cards - Professional Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  transition: all 0.4s ease;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-green);
  transition: height 0.4s;
  border-radius: 12px 0 0 12px;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(45, 122, 62, 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.service-text {
  color: var(--gray-medium);
  font-size: 1rem;
  line-height: 1.8;
}

/* Testimonials - Side by Side */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 5px solid var(--primary-green);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
}

.stars {
  color: #f39c12;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.testimonial-text {
  color: var(--gray-medium);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--primary-green);
  font-weight: 500;
}

/* CTA Section - Boxed */
.cta-section {
  text-align: center;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  margin: 0 2rem;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

/* Footer */
footer {
  background-color: var(--gray-dark);
  color: var(--gray-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.footer-section p,
.footer-section a {
  color: var(--gray-light);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1.8;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-light);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--primary-green);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 2rem;
  z-index: 1000;
  display: none;
}

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

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gray-dark);
}

.cookie-banner p {
  color: var(--gray-medium);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.cookie-banner a {
  color: var(--primary-green);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Legal Pages */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background-color: var(--white);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.legal-page h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--gray-dark);
  border-bottom: 3px solid var(--primary-green);
  padding-bottom: 1rem;
}

.legal-page h2 {
  font-size: 1.875rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-green);
}

.legal-page h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.legal-page p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
  color: var(--gray-medium);
}

.legal-page ul {
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  line-height: 1.9;
  color: var(--gray-medium);
}

.legal-page a {
  color: var(--primary-green);
  text-decoration: underline;
  font-weight: 500;
}

.legal-page a:hover {
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    gap: 1.5rem;
    font-size: 0.875rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cta-section {
    padding: 3rem 2rem;
    margin: 0 1rem;
  }
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}
