/* ===== Grundreset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Farben & Basis (Dark Theme) ===== */
:root {
  --bg-page: #020617;       /* sehr dunkles Blau/Schwarz */
  --bg-card: #020617;       /* Hintergrund der Seite */
  --bg-hero: #020617;
  --bg-hero-grad: #111827;
  --bg-section-soft: #020617;
  --bg-cta: #0b1120;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --border-soft: #1f2937;
  --accent: #38bdf8;        /* dezentes Cyan als Akzent */
  --accent-soft: #0f172a;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
}

/* ===== Gesamtseite / Rahmen ===== */
.page {
  max-width: 1100px;
  margin: 2.5rem auto;
  background-color: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  border: 1px solid #020617;
}

/* ===== Header / Navigation ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--text-main);
}

.main-nav a {
  margin-left: 1.2rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav .nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: 2.8rem 1.8rem 2.4rem;
  background: linear-gradient(
    to right,
    var(--bg-hero),
    var(--bg-hero-grad)
  );
  border-bottom: 1px solid var(--border-soft);
}

.hero-content h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-buttons {
  margin-top: 1.8rem;
}

/* Rechte Seite im Hero – später Bild oder Platzhalter */
.hero-aside {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder {
  width: 100%;
  min-height: 160px;
  border-radius: 16px;
  border: 1px dashed #4b5563;
  background: radial-gradient(circle at top left, #111827, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Buttons ===== */
.button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  margin-right: 0.6rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}

.button.primary {
  background-color: var(--accent);
  color: #020617;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
}

.button.primary:hover {
  background-color: #0ea5e9;
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.35);
}

.button.secondary {
  background-color: transparent;
  color: var(--accent);
}

.button.secondary:hover {
  background-color: var(--accent-soft);
}

/* ===== Hauptinhalt ===== */
.content-card {
  padding: 2.6rem 1.8rem 2.2rem;
  background: radial-gradient(circle at top left, #020617, #020617);
}

.content-card section {
  margin-bottom: 2.3rem;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

p {
  max-width: 720px;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

/* ===== Listen ===== */
ul {
  margin-left: 1.2rem;
  color: var(--text-main);
}

li {
  margin-bottom: 0.35rem;
}

/* ===== CTA-Block ===== */
.cta {
  margin-top: 1rem;
  padding: 1.8rem 1.6rem;
  background-color: var(--bg-cta);
  border-radius: 16px;
  border: 1px solid var(--border-soft);
}

/* ===== Footer ===== */
.site-footer {
  padding: 1.3rem 1.8rem 1.6rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.85rem;
  color: var(--text-muted);
  background-color: #020617;
}

/* ===== Responsiv ===== */
@media (max-width: 780px) {
  .page {
    margin: 1.2rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    margin-top: 1.2rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

                                                                    /* ===== Projektablauf / Steps ===== */
.step-list {
  list-style: none;
  counter-reset: step-counter;
  margin-top: 0.8rem;
}

.step-list li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1.4rem;
}

.step-list h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.step-list p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent);
}


                                                                    /* ===== Kontaktseite Layout ===== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2.2rem;
}

.contact-main h2,
.contact-aside h2 {
  margin-bottom: 0.6rem;
}

.contact-main p {
  color: var(--text-muted);
}

/* ===== Formular ===== */
.contact-form {
  margin-top: 1.2rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background-color: #020617;
  color: var(--text-main);
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.form-row textarea {
  resize: vertical;
}

/* ===== Kontakt-Seitenleiste ===== */
.contact-aside p {
  margin-bottom: 0.7rem;
  color: var(--text-muted);
}

.contact-aside a {
  color: var(--accent);
  text-decoration: none;
}

.contact-aside a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
}

/* Responsiv für Kontaktlayout */
@media (max-width: 780px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}


                                                                    /* ===== Referenzen / Kartenlayout ===== */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 1.2rem;
}

.ref-card {
  padding: 1.4rem 1.3rem;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #020617;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ref-card h3 {
  font-size: 1.05rem;
}

.ref-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ref-tech {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsiv für Referenzen */
@media (max-width: 960px) {
  .ref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ref-grid {
    grid-template-columns: 1fr;
  }
}



                                                                    /* ===== Über uns / Layout ===== */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  margin-bottom: 2.4rem;
}

.about-highlight {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background-color: #020617;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.about-highlight h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.fact-list {
  list-style: none;
  margin-left: 0;
}

.fact-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.fact-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* Responsiv für Über-uns-Layout */
@media (max-width: 780px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}


                                                                    /* ===== Rechtstexte ===== */
.legal h1 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 1.4rem;
}

.legal p {
  max-width: 820px;
  color: var(--text-muted);
}
