:root {
  --green-deep: #1B3A34;
  --green-pale: #E8EDE5;
  --cream: #F7F4EE;
  --brass: #B8935A;
  --brass-light: #D9B98A;
  --ink: #26261F;
  --ink-soft: #5B6058;
  --line: rgba(27, 58, 52, 0.16);
  --radius: 4px; /* Von 2px auf 4px erhöht: Rundungen verstärken den 3D-Look */

  /* DEUTLICH STÄRKERE 3D-SCHATTEN */
  --shadow-sm: 0 4px 8px rgba(27, 58, 52, 0.12), 0 1px 3px rgba(27, 58, 52, 0.08);
  --shadow-md: 0 14px 28px rgba(27, 58, 52, 0.18), 0 6px 10px rgba(27, 58, 52, 0.12);
  --shadow-lg: 0 24px 48px rgba(27, 58, 52, 0.25), 0 8px 18px rgba(27, 58, 52, 0.15);
  
  /* Dunklerer Innen-Schatten für mehr Tiefe bei Kanten */
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, .brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* --- HEADER & NAV --- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(27, 58, 52, 0.03); /* Leichter Schwebe-Effekt für die Nav */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.brand {
  font-size: 1.12rem;
  color: var(--green-deep);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  position: relative;
  z-index: 3;
}

.brand small {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: var(--green-deep);
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--green-deep);
  color: var(--cream) !important;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .2s ease, transform .1s ease, box-shadow .1s ease;
  box-shadow: 0 2px 4px rgba(27, 58, 52, 0.1);
}

.nav-cta:hover {
  background: #15302B;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(27, 58, 52, 0.15);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(27, 58, 52, 0.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  color: var(--green-deep);
  position: relative;
  z-index: 3;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}

/* --- HERO --- */
.hero {
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 82% 18%, rgba(184, 147, 90, 0.16), transparent 45%),
    var(--green-deep);
  color: var(--cream);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 32px 110px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 26px;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass-light);
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.12;
  color: #fff;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}

.hero p {
  margin-top: 26px;
  max-width: 46ch;
  color: rgba(247, 244, 238, 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* Plastischer Hauptbutton mit Drück-Effekt */
.btn-primary {
  background: linear-gradient(180deg, var(--brass-light) 0%, var(--brass) 100%);
  color: var(--green-deep);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(27, 58, 52, 0.1);
  box-shadow: 0 4px 6px rgba(27, 58, 52, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e5c99e 0%, var(--brass-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(27, 58, 52, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 3px rgba(27, 58, 52, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  border: 1px solid rgba(247, 244, 238, 0.4);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease, transform .1s ease;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--brass-light);
  background: rgba(247, 244, 238, 0.06);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0);
}

/* Schwebende Anmeldekarte mit Lichtkante */
.register {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
}

.reg-card {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(247, 244, 238, 0.09) 0%, rgba(247, 244, 238, 0.04) 100%);
  border: 1px solid rgba(247, 244, 238, 0.18);
  border-top: 2px solid var(--brass);
  padding: 20px 24px 22px;
  box-shadow: var(--shadow-md), var(--shadow-inset);
  backdrop-filter: blur(4px);
}

.reg-card .tab {
  display: inline-block;
  background: var(--brass);
  color: var(--green-deep);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reg-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.25;
}

.reg-card p {
  font-size: 0.85rem;
  color: rgba(247, 244, 238, 0.72);
  margin: 0;
  line-height: 1.5;
}

/* --- PHILOSOPHY --- */
.philosophy {
  padding: 108px 0;
  border-bottom: 1px solid var(--line);
}

.phil-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.7fr;
  gap: 56px;
}

.phil-image {
  position: relative;
  align-self: start;
}

.phil-grid h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--green-deep);
  line-height: 1.2;
  position: relative;
  align-self: start;
}

/* Aufgesetzter Bildeffekt */
.phil-image figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(27, 58, 52, 0.12);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.phil-image img {
  width: 100%;
  display: block;
  filter: saturate(0.92);
}

.phil-image figcaption {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.phil-text p {
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-size: 1.02rem;
}

.phil-text p:last-child {
  margin-bottom: 0;
}

.phil-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* --- SERVICES --- */
.services {
  padding: 108px 0 120px;
  background: var(--green-pale);
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head .eyebrow {
  color: var(--brass);
}

.section-head .eyebrow::before {
  background: var(--brass);
}

.section-head h2 {
  color: var(--green-deep);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.18;
}

.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 52ch;
}

.file-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.file-row {
  display: grid;
  grid-template-columns: 240px 1fr 1.4fr;
  gap: 40px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  scroll-margin-top: 90px;
}

.file-row .tag {
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--brass);
  text-transform: uppercase;
  border-left: 2px solid var(--brass);
  padding-left: 14px;
  position: sticky;
  top: 140px;
}

.file-row h3 {
  font-size: 1.5rem;
  color: var(--green-deep);
  line-height: 1.25;
  scroll-margin-top: 110px;
}

.file-row h3 a {
  color: inherit;
  transition: color .2s ease;
}

.file-row h3 a:hover {
  color: var(--brass);
}

.file-row ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.file-row li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.file-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-light);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.15);
}

/* --- DIGITAL --- */
.digital {
  padding: 108px 0;
  background: var(--cream);
}

.digital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Tiefenwirksame Premium-Box */
.digital-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, #112521 100%);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Räumlicherer Deko-Ring */
.digital-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(184, 147, 90, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(184, 147, 90, 0.05);
}

.digital-card h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 16px;
}

.digital-card p {
  color: rgba(247, 244, 238, 0.78);
  font-size: 0.98rem;
  margin-bottom: 28px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid rgba(247, 244, 238, 0.3);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  color: var(--brass-light);
  box-shadow: var(--shadow-inset);
}

.digital-text h2 {
  color: var(--green-deep);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.digital-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* --- AUDIENCE --- */
.audience {
  padding: 108px 0;
  background: var(--green-pale);
  border-top: 1px solid var(--line);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}

/* Schwebende Karten bei Hover (Lifting-Effekt) */
.audience-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.audience-card:hover {
  border-color: var(--brass);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.audience-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* --- CTA SECTION --- */
.cta {
  padding: 110px 0;
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 22px;
}

.cta p {
  color: rgba(247, 244, 238, 0.78);
  max-width: 48ch;
  margin: 0 auto 38px;
}

.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CONTACT & LEGAL --- */
.contact-legal {
  padding: 96px 0;
  background: var(--green-pale);
  border-top: 1px solid var(--line);
}

.contact-legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card, .info-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 38px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3, .info-card h3 {
  color: var(--green-deep);
  font-size: 1.4rem;
  margin: 14px 0 20px;
  line-height: 1.25;
}

.contact-card address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-details {
  list-style: none;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.contact-details li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.94rem;
}

.contact-details li span {
  color: var(--ink-soft);
}

.contact-details li a {
  color: var(--green-deep);
  font-weight: 600;
}

.contact-details li a:hover {
  color: var(--brass);
}

.info-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 28px;
}

.btn-outline {
  border: 1px solid var(--green-deep);
  color: var(--green-deep);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  transition: background .2s ease, color .2s ease, transform .1s ease, box-shadow .1s ease;
  margin-bottom: 12px;
  margin-right: 8px;
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(27, 58, 52, 0.12);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: none;
}

/* --- FOOTER --- */
footer {
  background: #15302B;
  color: rgba(247, 244, 238, 0.7);
  padding: 64px 0 36px;
  font-size: 0.9rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.12);
}

.foot-grid h5 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.foot-grid p {
  margin-bottom: 10px;
}

.foot-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.foot-links a:hover {
  color: var(--brass-light);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  font-size: 0.82rem;
}

.foot-bottom a {
  color: rgba(247, 244, 238, 0.6);
}

.foot-bottom a:hover {
  color: var(--brass-light);
}

/* --- ANIMATION CLASS --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* --- MISC COMPONENTS --- */
.info-graphic {
  margin-bottom: 28px;
  border: 1px solid rgba(27, 58, 52, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm); /* Infografiken leicht anheben */
}

.info-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1000px) {
  .phil-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .phil-image {
    grid-row: 1;
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .file-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .file-row .tag {
    position: static;
    margin-bottom: 4px;
  }
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    background: rgba(247, 244, 238, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg); /* Mobiles Menü plastisch abheben */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .nav-links a {
    display: block;
    padding: 14px 18px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a + a {
    border-top: 1px solid var(--line);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 90px 24px 70px;
  }

  .register {
    display: none;
  }

  .phil-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .phil-grid h2 {
    position: static;
  }
  .phil-image {
    position: static;
    grid-row: auto;
    grid-column: auto;
    order: -1;
  }
  .digital-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-legal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 24px;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .contact-details li {
    flex-direction: column;
    align-items: flex-start;
  }
}