:root {
  --plum: #7A4FA0;
  --plum-dark: #5C3A7A;
  --mint: #E8F4F0;
  --white: #FFFFFF;
  --ink: #2B2733;
  --ink-soft: #6E6779;
  --line: rgba(43,39,51,0.1);
  --font-display: "Poppins", sans-serif;
  --font-body: "Karla", sans-serif;
}
* { box-sizing: border-box; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
body { margin: 0; background: var(--mint); color: var(--ink); font-family: var(--font-body); line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; }
a { text-decoration: none; color: inherit; }

.nav { position: sticky; top: 0; background: var(--mint); border-bottom: 1px solid var(--line); z-index: 10; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 2rem; }
.nav-inner > * { min-width: 0; }
.logo { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; font-size: 0.9rem; font-weight: 500; }
.nav-btn { background: var(--plum); color: #fff; padding: 0.6rem 1.2rem; border-radius: 999px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }

.hero { max-width: 1100px; margin: 0 auto; padding: 4.5rem 2rem; display: grid; grid-template-columns: 1fr 0.9fr; gap: 2.5rem; align-items: center; }
.hero > * { min-width: 0; }
.hero-text { max-width: 480px; }
.kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--plum-dark); margin-bottom: 1rem; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 1.2rem; font-weight: 600; }
.lead { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 2rem; }
.btn { display: inline-flex; padding: 0.9rem 1.8rem; border-radius: 999px; font-weight: 600; font-size: 0.94rem; border: 1.5px solid transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1rem; }

.hero-collage { position: relative; height: 380px; }
.hc-tile { position: absolute; border-radius: 18px; overflow: hidden; }
.hc-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-1 { top: 0; left: 10%; width: 62%; height: 62%; background: linear-gradient(160deg, #9B72BE, var(--plum-dark)); z-index: 2; box-shadow: 0 25px 50px -20px rgba(90,58,122,0.45); }
.hc-2 { bottom: 0; left: 0; width: 48%; height: 42%; background: #fff; border: 1px solid var(--line); z-index: 1; }
.hc-3 { bottom: 6%; right: 0; width: 38%; height: 34%; background: linear-gradient(160deg, #E8D4F0, #C9A8DC); z-index: 3; }

.schwerpunkte, .kontakt { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; }
.schwerpunkte h2, .anfahrt h2, .kontakt h2 { font-size: 1.95rem; margin-bottom: 2.2rem; text-align: center; font-weight: 600; }
.schwerpunkte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.schwerpunkte-grid > * { min-width: 0; }
.s-card { background: #fff; border-radius: 12px; padding: 1.7rem; }
.s-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--plum-dark); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.9rem; }
.s-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.s-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

.anfahrt { background: var(--plum); color: #fff; text-align: center; padding: 4rem 2rem; }
.anfahrt-inner { max-width: 560px; margin: 0 auto; }
.anfahrt h2 { color: #fff; }
.anfahrt p { color: rgba(255,255,255,0.85); margin-top: 1rem; }

.kontakt-head { text-align: center; margin-bottom: 2.4rem; }
.kontakt-head p { color: var(--ink-soft); max-width: 42ch; margin: 0.8rem auto 0; }
.kontakt-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.2rem; align-items: start; }
.kontakt-grid > * { min-width: 0; }
.kontakt-form { display: flex; flex-direction: column; gap: 1.1rem; background: #fff; border-radius: 14px; padding: 1.8rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 0.95rem; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--mint); color: var(--ink); resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--plum); }
.btn-wide { width: 100%; justify-content: center; }
.btn-outline { border: 1.5px solid var(--plum); color: var(--plum-dark); }
.kontakt-side { display: flex; flex-direction: column; gap: 1.1rem; }
.map-embed { position: relative; aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(135deg, #E3D5EC 0%, #C9A8DC 50%, #A87FC2 100%); overflow: hidden; }
.map-embed::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(43,39,51,0.07) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, rgba(43,39,51,0.07) 0 1px, transparent 1px 34px); }
.map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); font-size: 1.8rem; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.25)); }

.footer { text-align: center; padding: 2rem; font-size: 0.8rem; color: var(--ink-soft); border-top: 1px solid var(--line); }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { max-width: none; }
  .hero-collage { order: -1; height: 260px; }
  .schwerpunkte-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.1rem; }
  .kontakt-grid { grid-template-columns: 1fr; }

  .nav-inner { flex-wrap: wrap; }
  .nav-toggle { display: flex; order: 2; z-index: 2; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    display: none;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 0 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open { display: flex; }
  .nav-links.is-open.is-animating-in { opacity: 1; transform: translateY(0); }
  .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a.nav-btn { text-align: center; margin-top: 0.5rem; }
}

/* ===== Scroll-Reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
