/* Basis */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111111;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #145a7a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header & Navigation */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  color: #111111;
}

nav {
  /* Desktop: normal Flow, Mobile: siehe Media Query */
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  color: #111111;
}

.nav-links a.active {
  text-decoration: underline;
}

/* Burger-Button */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #111111;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.hero {
  padding: 80px 40px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero--sub {
  padding-top: 60px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: #777777;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 16px;
}

.hero-lead {
  font-size: 18px;
  max-width: 650px;
  margin: 0 0 32px;
  color: #444444;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid #111111;
  background-color: #111111;
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  color: #111111;
}

/* Sections */

.section {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #f5f5f5;
}

.section--border {
  border-top: 1px solid #f0f0f0;
}

.section h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

.section-lead {
  font-size: 16px;
  max-width: 650px;
  margin: 0 0 32px;
  color: #555555;
}

.section-cta {
  margin-top: 28px;
}

.text-link {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Grid & Cards */

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

.card-min h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.card-min p {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

/* Steps (Abläufe) */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step-counter;
}

.steps li {
  margin-bottom: 24px;
}

.steps h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.steps p {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

/* Listen */

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.list-clean li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #333333;
}

.muted {
  font-size: 12px;
  color: #888888;
}

/* Kontakt */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: flex-start;
}

.contact-form {
  width: 100%;
  max-width: 480px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid #dddddd;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #145a7a;
}

/* Footer */

footer {
  border-top: 1px solid #f0f0f0;
  padding: 20px 40px;
  font-size: 12px;
  color: #888888;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-links a {
  color: #777777;
}

/* Mobile */

@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 52px;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 12px;
    transform: translateY(-120%);
    transition: transform 0.2s ease;
  }

  .nav-links li {
    padding: 6px 0;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

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

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 56px;
  }

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

  .hero-lead {
    font-size: 16px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  footer {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* Bild-Platzhalter */

.image-placeholder {
  background-color: #f4f4f4;
  border-radius: 8px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.image-placeholder span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
  text-align: center;
}
