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

:root {
  --primary: #1b3a5c;
  --secondary: #c8a44e;
  --accent: #f5f0e8;
  --dark: #0f1f30;
  --text: #333;
  --text-light: #777;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

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

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

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s;
  position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(200,164,78,0.12) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

/* Section */
.section { padding: 90px 0; }
.section-muted { background: var(--accent); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.section-title .bar {
  width: 50px;
  height: 3px;
  background: var(--secondary);
  margin: 0 auto 16px;
  border-radius: 2px;
}

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

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-text h2 span { color: var(--secondary); }

.about-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-text .btn { margin-top: 8px; }

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

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item .ci-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-item .ci-text p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: 0.3s;
  background: #fafafa;
}

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

.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  padding: 70px 0;
  text-align: center;
}

.cta h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}

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

.footer-col h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col .logo { color: var(--white); margin-bottom: 12px; }

.footer-col p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 13px;
  transition: 0.3s;
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}

.footer-contact .fc-icon { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

.page-header h1 { font-size: 38px; font-weight: 800; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.7); }

.page-content { padding: 60px 0; }

.impressum-content { max-width: 700px; margin: 0 auto; }

.impressum-content section { margin-bottom: 32px; }

.impressum-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.impressum-content p, .impressum-content li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.impressum-content ul { padding-left: 18px; list-style: disc; }
.impressum-content ul li { margin-bottom: 4px; }

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: rgba(255,255,255,0.9);
  padding: 18px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.25);
}

.cookie-consent.show { transform: translateY(0); }

.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-consent p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.cookie-consent a { color: var(--secondary); text-decoration: underline; }
.cookie-consent .btn { flex-shrink: 0; font-size: 13px; padding: 10px 24px; }

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: 0.3s;
    z-index: 999;
  }

  .nav-links.open { transform: translateY(0); }

  .hero h1 { font-size: 30px; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

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

  .cookie-consent .container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .section-title h2 { font-size: 26px; }
}
