/* style.css für NISAJO – angepasst für Handwerks- und Kleinbetriebe */

/* Grundlayout */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #111;
  background-color: #fff;
}

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

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Header */
.site-header {
  background: #fff;
  color: #111;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

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

.site-logo {
  height: 70px;
}

.site-header .container {
  width: 94%;
  max-width: 1250px;
  margin: 0 auto;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

.nav-list {
  margin: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #111;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff;
    padding: 1rem 0;
  }

  .main-nav ul.show {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-background::after {
    background-position: center 10%;
    background-size: 100% auto;
  }
}

/* Hero */
.hero-section {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.85), rgba(17, 17, 17, 0.35))
    center/cover no-repeat;
  z-index: 0;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: url('cached_assets_used/team-crop2.png') top center/80% auto no-repeat;*/
  background: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
}

.hero-text .subheading {
  font-size: 1.25rem;
}

.hero-text .description {
  max-width: 32ch;
  font-size: 1.5rem;
}

.hero-image {
  display: none;
}

.accent {
  /*color: #0066cc;*/
  color: #3b82f6;
}

.cta-button {
  display: inline-block;
  background-color: transparent;
  color: #000;
  padding: 0.35rem 0;
  font-size: 1.25rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 1rem;
  line-height: 1;
}

.hero-section .cta-button {
  border-color: #fff;
  color: #fff;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

/* Leistungen */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-item img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.service-item h3 {
  margin-bottom: 0.5rem;
}

/* Über uns */
.about-container {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

/* Kontakt */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}

.contact-info {
  margin-top: 2rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

label.checkbox {
  font-size: 0.9rem;
}

.submit-button {
  background-color: #000;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #000;
  color: #fff;
  padding: 2rem 0;
}

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

.footer-nav {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

body {
  padding-top: 100px; /* Platz schaffen, damit Inhalt nicht unter Header verschwindet */
}