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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #233044;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(18, 39, 72, 0.08);
}

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

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-main {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.78rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.92rem;
  color: #4b5563;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #2563eb;
  border-color: #2563eb;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #d0d7ea;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg, #ffffff, #e9f0ff);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
  color: #1d4ed8;
}

.nav-cta:hover {
  background: #2563eb;
  color: #f9fafb;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  margin: 4px 0;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #e5edff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin-top: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  color: #111827;
}

.hero-title span {
  color: #2563eb;
}

.hero-text {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: #eef2ff;
  color: #1f2937;
  border-color: #d4d4ff;
}

.btn-secondary:hover {
  background: #e0e7ff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.8rem;
  font-size: 0.88rem;
  color: #6b7280;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.hero-meta-value {
  font-weight: 600;
  color: #111827;
}

/* Hero media */
.hero-media {
  position: relative;
}

.hero-card {
  border-radius: 1.4rem;
  background: radial-gradient(circle at top, #eff4ff, #dbeafe);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #1d4ed8;
}

.hero-card-location {
  font-size: 0.86rem;
  color: #4b5563;
}

.hero-card-image {
  margin-top: 0.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.9rem;
}

.hero-tag {
  position: absolute;
  bottom: 1.2rem;
  left: 1.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.78rem;
  display: inline-flex;
  flex-direction: column;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.section-title {
  font-size: 1.4rem;
  color: #111827;
}

.section-text {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 36rem;
}

/* Leistungen Grid */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.leistung-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.leistung-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2563eb;
}

.leistung-title {
  font-weight: 600;
  color: #111827;
}

.leistung-text {
  font-size: 0.92rem;
  color: #4b5563;
}

.leistung-tags {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.leistung-tag {
  font-size: 0.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

/* Projekte Grid */
.projekte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.projekt-card {
  background: #ffffff;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.projekt-image {
  height: 190px;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 0.9rem;
}

.projekt-body {
  padding: 1.1rem 1.4rem 1.3rem;
}

.projekt-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.projekt-title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.4rem;
}

.projekt-text {
  font-size: 0.92rem;
  color: #4b5563;
}

.projekt-info-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: #6b7280;
}

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.7rem;
}

.feature-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.feature-bullet {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  margin-top: 0.25rem;
  background: linear-gradient(135deg, #2563eb, #22c55e);
}

.feature-item-title {
  font-weight: 500;
  color: #111827;
}

/* Kontaktformular */
.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.form-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

label {
  font-size: 0.84rem;
  font-weight: 500;
  color: #374151;
}

input,
textarea,
select {
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  background: #f9fafb;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
  background: #ffffff;
}

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

.form-note {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.4rem;
}

/* Kontakt Info Box */
.contact-info-box {
  background: linear-gradient(145deg, #e0ebff, #f9fafb);
  border-radius: 1.1rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid #d1e3ff;
}

.contact-info-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.85rem;
}

.contact-info-item {
  font-size: 0.92rem;
  color: #374151;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

/* Footer */
.footer {
  margin-top: 2rem;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 0 2rem;
  font-size: 0.84rem;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* Utility */
.mt-lg { margin-top: 2rem; }
.mt-md { margin-top: 1.3rem; }
.text-small { font-size: 0.84rem; color: #6b7280; }

.badge-soft-blue {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #e5edff;
  color: #1d4ed8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .feature-row,
  .contact-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.85rem 0;
  }
  .nav {
    position: fixed;
    inset: 60px 0 auto 0;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid #e5e7eb;
    padding: 0.9rem 1.5rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-120%);
    transition: transform 0.18s ease;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
