/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #f5f4f0;
  --bg-card:     #ffffff;
  --bg-alt:      #eeecea;
  --text:        #1c1f1e;
  --text-light:  #4a5250;
  --accent:      #1a3a2e;
  --accent-mid:  #2d6651;
  --accent-soft: #e8f0ec;
  --border:      #d6d4cf;
  --radius:      6px;
  --max-w:       1080px;
  --max-prose:   680px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--accent-mid);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ===== Layout Helpers ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.prose {
  max-width: var(--max-prose);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: 3rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-mid);
  border-color: var(--accent-mid);
  text-decoration: none;
}

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

.btn-outline:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

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

.nav-links a {
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius);
  transition: color 0.12s, background 0.12s;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.nav-links .btn {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

/* ===== Hero ===== */
.hero {
  padding-block: 6rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-tagline {
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-light);
  border-left: 2px solid var(--border);
  padding-left: 0.75rem;
}

/* Hero visual: Raster-Skizze, kein Foto */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-diagram {
  width: 100%;
  max-width: 380px;
}

/* ===== Trust Strip ===== */
.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  border: 1px solid #c5d8cf;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust-item p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Sections shared ===== */
section {
  padding-block: 4.5rem;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

/* ===== Offer Cards ===== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.offer-card:hover {
  border-color: #b0c9bd;
  box-shadow: 0 2px 12px rgba(26, 58, 46, 0.07);
}

.offer-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border: 1px solid #c5d8cf;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.offer-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.offer-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.offer-list {
  margin-top: 0.5rem;
}

.offer-list li {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}

.offer-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent-mid);
}

/* ===== Arbeitsweise ===== */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.step-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

.approach-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.approach-aside h3 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

.approach-aside ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.approach-aside li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.approach-aside li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent-mid);
  font-weight: 700;
}

/* ===== Über mich ===== */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.about-text p:first-child {
  font-size: 1rem;
  color: var(--text);
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.about-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #c5d8cf;
  border-radius: 3px;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  font-weight: 500;
}

/* ===== Beispiele ===== */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.example-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
  position: relative;
}

.example-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 3px;
  background: var(--accent-mid);
  border-radius: 2px;
  opacity: 0.5;
}

/* ===== Kontakt ===== */
section.contact-section {
  background: var(--accent);
  color: #fff;
}

.contact-section .label {
  color: rgba(255,255,255,0.65);
}

.contact-section h2 {
  color: #fff;
  max-width: 580px;
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border: 2px solid #fff;
}

.btn-white:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  text-decoration: none;
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ===== Footer ===== */
.site-footer {
  background: #111613;
  color: rgba(255,255,255,0.5);
  padding-block: 2rem;
  font-size: 0.82rem;
}

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

.footer-brand {
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.75);
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .nav-links .btn {
    display: none;
  }
}

@media (max-width: 560px) {
  section {
    padding-block: 3rem;
  }

  .hero {
    padding-block: 3.5rem 3rem;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .nav-links .btn {
    display: inline-block;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }

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

  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Projekte-Sektion ===== */
.section-intro {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.6rem;
  max-width: var(--max-prose);
  line-height: 1.7;
}

.project-badge {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid #c5d8cf;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-mid);
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.5rem;
}

.mahava-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.mahava-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.mahava-domains {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.mahava-domains a {
  color: var(--accent-mid);
  font-weight: 500;
}

.mahava-domains span {
  margin: 0 0.3rem;
}

.mahava-intro {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: var(--max-prose);
  margin-bottom: 1.5rem;
}

.mahava-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.75rem;
}

.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.flow-arrow {
  color: var(--accent-mid);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.65;
}

.mahava-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.mahava-point {
  border-left: 2px solid var(--accent-mid);
  padding-left: 0.85rem;
}

.mahava-point h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mahava-point p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
}

.mahava-insight {
  background: var(--accent-soft);
  border: 1px solid #c5d8cf;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.mahava-insight h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.mahava-insight p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.secondary-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.secondary-project-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.secondary-project-card > p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 640px;
  margin-top: 0.75rem;
}

.solowerk-cta {
  margin-top: 1.25rem;
  display: inline-block;
}

@media (max-width: 640px) {
  .mahava-feature {
    padding: 1.25rem;
  }
  .mahava-points {
    grid-template-columns: 1fr;
  }
}

/* ===== Rechtsseiten (Impressum, Datenschutz) ===== */
.legal-page {
  padding-block: 3.5rem 5rem;
  min-height: 55vh;
}

.legal-content {
  max-width: 820px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--accent-mid);
  margin-bottom: 2rem;
}

.back-link:hover {
  text-decoration: underline;
}

.legal-intro {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-top: 0.6rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.legal-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section p,
.legal-section address {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  font-style: normal;
  margin-bottom: 0.5rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--accent-mid);
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

.legal-section ul {
  list-style: none;
  margin: 0.5rem 0;
}

.legal-section ul li {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.2rem;
}

.legal-section ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent-mid);
}

.legal-todo {
  display: inline-block;
  background: #fef9ec;
  border: 1px dashed #d4a020;
  border-radius: 3px;
  padding: 0.1rem 0.45rem;
  font-size: 0.82rem;
  color: #7a5410;
  font-style: italic;
}

.legal-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
