/* Graham Miranda UG - Königslutter City Site Styles */

:root {
  --primary: #1a3a5c;
  --primary-light: #2d5a8a;
  --secondary: #e67e22;
  --accent: #27ae60;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #ecf0f1;
  --border: #dee2e6;
  --shadow: rgba(0, 0, 0, 0.1);
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
}

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

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--secondary);
}

.nav-cta {
  background: var(--secondary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 5px;
}

.nav-cta:hover {
  background: #d35400;
}

.language-switch {
  display: flex;
  gap: 10px;
  align-items: center;
}

.language-switch a {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
}

.language-switch a.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpolygon fill='rgba(255,255,255,0.05)' points='0,0 200,0 200,200'/%3E%3C/svg%3E");
  background-size: cover;
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-right: 15px;
  margin-bottom: 10px;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: #d35400;
  transform: translateY(-2px);
}

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

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

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

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

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

.service-card {
  background: var(--white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

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

/* Features / Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 2rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.feature-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

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

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  border-left: 4px solid var(--secondary);
}

.testimonial-card p {
  font-style: italic;
  color: var(--dark);
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-company {
  font-size: 0.85rem;
  color: var(--gray);
}

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

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-section .btn {
  background: var(--white);
  color: var(--secondary);
}

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

/* Contact Info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.contact-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--secondary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
}

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

.form-submit {
  background: var(--secondary);
  color: var(--white);
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background: #d35400;
}

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

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-content {
  padding: 25px;
}

.blog-date {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.blog-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.blog-card p {
  color: var(--gray);
  margin-bottom: 15px;
}

.read-more {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}

/* Single Blog Post */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
}

.blog-post h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-post .meta {
  color: var(--gray);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.blog-post h2 {
  color: var(--primary);
  margin-top: 35px;
  margin-bottom: 15px;
}

.blog-post p {
  margin-bottom: 20px;
}

.blog-post ul, .blog-post ol {
  margin: 20px 0;
  padding-left: 25px;
}

.blog-post li {
  margin-bottom: 10px;
}

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

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

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-about h3 span {
  color: var(--secondary);
}

.footer-about p {
  opacity: 0.8;
  line-height: 1.8;
}

.footer-links h4 {
  color: var(--secondary);
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--secondary);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.backlinks {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.backlinks a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 15px;
}

.backlinks a:hover {
  text-decoration: underline;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--dark);
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 10px;
}

/* About Page */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 60px 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 40px;
  margin: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
}

.timeline-date {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
}

.vendor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.vendor-badge {
  background: var(--white);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow);
  font-weight: 600;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  nav {
    display: none;
    width: 100%;
    padding-top: 15px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-post {
    padding: 30px 20px;
  }
}
