@import url('https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,400;7..72,600;7..72,700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --ap-sandstone: #E8DFD0;
  --ap-sandstone-light: #F4EFE6;
  --ap-forest: #1F4D3A;
  --ap-forest-dark: #163528;
  --ap-ink: #1A1A1A;
  --ap-ink-muted: #4A4A4A;
  --ap-white: #FFFFFF;
  --ap-border: #D4C9B8;
  --ap-font-serif: 'Literata', Georgia, serif;
  --ap-font-sans: 'Source Sans 3', system-ui, sans-serif;
  --ap-max: 1140px;
  --ap-radius: 4px;
  --ap-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ap-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ap-ink);
  background: var(--ap-sandstone-light);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ap-forest); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ap-forest-dark); }

h1, h2, h3, h4 {
  font-family: var(--ap-font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ap-ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--ap-ink-muted); }

.ap-container {
  max-width: var(--ap-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.ap-header {
  background: var(--ap-white);
  border-bottom: 1px solid var(--ap-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ap-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--ap-max);
  margin: 0 auto;
}

.ap-logo {
  font-family: var(--ap-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ap-forest);
  letter-spacing: -0.02em;
}

.ap-logo span {
  display: block;
  font-family: var(--ap-font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ap-ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ap-nav { display: flex; gap: 1.75rem; list-style: none; }

.ap-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ap-ink);
  letter-spacing: 0.01em;
}

.ap-nav a:hover,
.ap-nav a.ap-nav__active { color: var(--ap-forest); }

.ap-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.ap-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ap-ink);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero — centered monumental */
.ap-hero {
  background: var(--ap-sandstone);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.ap-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244,239,230,0.3) 0%, var(--ap-sandstone) 100%);
  pointer-events: none;
}

.ap-hero__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.ap-hero__brand {
  font-family: var(--ap-font-serif);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--ap-forest);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.ap-hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--ap-ink-muted);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.ap-hero__img {
  margin-top: 2.5rem;
  border-radius: var(--ap-radius);
  overflow: hidden;
  box-shadow: var(--ap-shadow);
}

.ap-hero__img img { width: 100%; object-fit: cover; max-height: 420px; }

/* Buttons */
.ap-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--ap-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--ap-radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ap-btn--primary {
  background: var(--ap-forest);
  color: var(--ap-white);
}

.ap-btn--primary:hover {
  background: var(--ap-forest-dark);
  color: var(--ap-white);
}

.ap-btn--outline {
  background: transparent;
  color: var(--ap-forest);
  border: 1.5px solid var(--ap-forest);
}

.ap-btn--outline:hover {
  background: var(--ap-forest);
  color: var(--ap-white);
}

/* Sections */
.ap-section {
  padding: 4.5rem 0;
}

.ap-section--white { background: var(--ap-white); }
.ap-section--sand { background: var(--ap-sandstone-light); }

.ap-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.ap-section__header p { font-size: 1.05rem; }

.ap-section__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-forest);
  margin-bottom: 0.75rem;
  display: block;
}

/* Grid */
.ap-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.ap-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ap-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Cards */
.ap-card {
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.ap-card:hover { box-shadow: var(--ap-shadow); }

.ap-card__icon {
  width: 48px;
  height: 48px;
  background: var(--ap-sandstone);
  border-radius: var(--ap-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ap-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ap-forest);
  margin-bottom: 1.25rem;
}

.ap-card h3 { color: var(--ap-forest); }

/* Steps */
.ap-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ap-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.ap-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  background: var(--ap-forest);
  color: var(--ap-white);
  font-family: var(--ap-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 50%;
}

.ap-step h3 { margin-bottom: 0.75rem; }

/* Stats — restrained, no fake % */
.ap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--ap-border);
  border-bottom: 1px solid var(--ap-border);
}

.ap-stat__num {
  font-family: var(--ap-font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ap-forest);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ap-stat__label {
  font-size: 0.85rem;
  color: var(--ap-ink-muted);
  line-height: 1.4;
}

/* CTA band */
.ap-cta {
  background: var(--ap-forest);
  color: var(--ap-white);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ap-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('ap_cta.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.ap-cta__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.ap-cta h2 { color: var(--ap-white); margin-bottom: 1rem; }
.ap-cta p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* Service catalog */
.ap-service {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--ap-border);
}

.ap-service:last-child { border-bottom: none; }

.ap-service__img {
  border-radius: var(--ap-radius);
  overflow: hidden;
}

.ap-service__img img { width: 100%; height: 200px; object-fit: cover; }

.ap-service h3 {
  font-size: 1.5rem;
  color: var(--ap-forest);
  margin-bottom: 0.75rem;
}

.ap-service ul {
  margin: 1rem 0 0 1.25rem;
  color: var(--ap-ink-muted);
}

.ap-service li { margin-bottom: 0.4rem; }

/* Team */
.ap-team-card {
  text-align: center;
}

.ap-team-card__photo {
  border-radius: var(--ap-radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 3/4;
}

.ap-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-team-card h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }

.ap-team-card__role {
  font-size: 0.85rem;
  color: var(--ap-forest);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.ap-team-card p { font-size: 0.9rem; }

/* Contact */
.ap-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.ap-form-group { margin-bottom: 1.25rem; }

.ap-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ap-ink);
}

.ap-form-group input,
.ap-form-group textarea,
.ap-form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius);
  font-family: var(--ap-font-sans);
  font-size: 0.95rem;
  background: var(--ap-white);
  color: var(--ap-ink);
}

.ap-form-group textarea { min-height: 140px; resize: vertical; }

.ap-form-group input:focus,
.ap-form-group textarea:focus,
.ap-form-group select:focus {
  outline: 2px solid var(--ap-forest);
  outline-offset: 1px;
}

.ap-contact-info {
  background: var(--ap-sandstone);
  padding: 2.5rem;
  border-radius: var(--ap-radius);
}

.ap-contact-info h3 {
  color: var(--ap-forest);
  margin-bottom: 1.5rem;
}

.ap-contact-info__item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ap-border);
}

.ap-contact-info__item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.ap-contact-info__item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ap-forest);
  margin-bottom: 0.35rem;
}

/* Privacy / legal text */
.ap-legal { max-width: 780px; margin: 0 auto; }
.ap-legal h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.35rem; }
.ap-legal h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; font-size: 1.1rem; }
.ap-legal ul, .ap-legal ol { margin: 0 0 1rem 1.5rem; color: var(--ap-ink-muted); }
.ap-legal li { margin-bottom: 0.35rem; }

/* Page header */
.ap-page-header {
  background: var(--ap-sandstone);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.ap-page-header h1 { margin-bottom: 0.75rem; }
.ap-page-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* Footer */
.ap-footer {
  background: var(--ap-ink);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 0;
  font-size: 0.9rem;
}

.ap-footer a { color: rgba(255,255,255,0.85); }
.ap-footer a:hover { color: var(--ap-white); }

.ap-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.ap-footer__col h4 {
  font-family: var(--ap-font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ap-white);
  margin-bottom: 1.25rem;
}

.ap-footer__col ul { list-style: none; }
.ap-footer__col li { margin-bottom: 0.5rem; }

.ap-footer__brand {
  font-family: var(--ap-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ap-white);
  margin-bottom: 0.75rem;
}

.ap-footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.ap-footer__impressum {
  padding: 1.25rem 0 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Cookie bar */
.ap-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ap-white);
  border-top: 1px solid var(--ap-border);
  padding: 1rem 1.5rem;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  display: none;
}

.ap-cookie.ap-cookie--visible { display: block; }

.ap-cookie__inner {
  max-width: var(--ap-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ap-cookie p {
  margin: 0;
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.ap-cookie__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

.ap-cookie .ap-btn { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

/* Responsive 900px */
@media (max-width: 900px) {
  .ap-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ap-white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--ap-border);
    gap: 0;
  }

  .ap-nav.ap-nav--open { display: flex; }

  .ap-nav li { padding: 0.75rem 0; border-bottom: 1px solid var(--ap-border); }
  .ap-nav li:last-child { border-bottom: none; }

  .ap-burger { display: block; }

  .ap-header { position: relative; }

  .ap-grid-2,
  .ap-grid-3,
  .ap-grid-4,
  .ap-steps,
  .ap-stats,
  .ap-contact-grid,
  .ap-footer__grid { grid-template-columns: 1fr 1fr; }

  .ap-service { grid-template-columns: 1fr; }

  .ap-hero { padding: 3.5rem 1.5rem 3rem; }
}

/* Responsive 560px */
@media (max-width: 560px) {
  .ap-grid-2,
  .ap-grid-3,
  .ap-grid-4,
  .ap-steps,
  .ap-stats,
  .ap-contact-grid,
  .ap-footer__grid { grid-template-columns: 1fr; }

  .ap-hero__brand { font-size: 2.5rem; }

  .ap-section { padding: 3rem 0; }

  .ap-cookie__inner { flex-direction: column; text-align: center; }

  .ap-cookie__actions { width: 100%; justify-content: center; }
}
