/* ============================================
   aoty.ai — Design Tokens & Base Styles
   Klar, hochwertig, menschenzentriert.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --white: #FEFDFB;
  --ink: #262420;
  --ink-soft: #4A4640;
  --panel: #F3EFE7;
  --muted: #8C8577;
  --green: #66CC00;
  --green-deep: #4F9E00;
  --line: #E4DFD3;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1120px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
  display: inline-block;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark .logo-img { height: 44px; width: auto; display: block; }
.wordmark .logo-suffix {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-item.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 12px 32px rgba(38,36,32,0.08);
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  display: block;
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--panel); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 20px;
  }
  .nav.open { display: flex; }
  .nav-item { width: 100%; }
  .nav a { display: block; padding: 12px 0; width: 100%; }
  .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 12px; display: none; }
  .nav-item.has-dropdown:hover .dropdown,
  .nav-item.has-dropdown:focus-within .dropdown { display: block; }
  .menu-toggle { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: #16260A; }
.btn-primary:hover { background: var(--green-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Sections ---------- */

section { padding: clamp(48px, 8vw, 96px) 0; }
.section-alt { background: var(--panel); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: clamp(56px, 10vw, 110px);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
}

.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: linear-gradient(155deg, var(--panel), #E9E2D2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.side-photo {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 20px;
  background: var(--panel);
  border-radius: 14px;
}
.side-photo img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.side-photo p { margin: 0; font-size: 0.95rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card a { color: var(--green-deep); font-weight: 600; font-size: 0.9rem; text-decoration: none; }

.quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Vorgehen path (signature element) ---------- */

.path-wrap { position: relative; margin-top: 40px; }
.path-svg { width: 100%; height: auto; display: block; }
.path-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .path-steps { grid-template-columns: 1fr; }
  .path-svg { display: none; }
}
.path-step .num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--green-deep);
  display: block;
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-left: 8px;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-badge img { height: 34px; width: auto; }
