/* ==========================
   DESIGN TOKENS
========================== */

:root {
  --green:        #466b4c;
  --green-light:  #aab596;
  --cream:        #f4f2ed;
  --cream-dark:   #ece8e2;
  --text-dark:    #222;
  --text-white:   #ffffff;

  --font-serif:   'Cormorant Garamond', serif;
  --font-sans:    'Inter', sans-serif;

  --max-width:    1400px;
  --side-pad:     clamp(20px, 6vw, 120px);
  --nav-height:   90px;
}

/* ==========================
   RESET
========================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--text-dark);
}

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

/* ==========================
   LAYOUT WRAPPER
========================== */

.site-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0;
  padding: 28px var(--side-pad) 0 var(--side-pad);
}

/* ==========================
   LOGO
========================== */

.page-logo {
  display: block;
  flex-shrink: 0;
}

.page-logo img {
  width: 95px;
  height: auto;
}

/* ==========================
   NAVIGATION
========================== */

.main-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  transition: opacity 0.2s;
}

.main-nav a:hover {
  opacity: 0.65;
}

/* Green pages: white nav links */
.green-page .main-nav a,
.green-nav a {
  color: var(--text-white);
}

/* ==========================
   SHARED SECTION WRAPPER
========================== */

.section-inner {
  max-width: calc(100vw - var(--side-pad));
  margin: 0;
  margin-left: var(--side-pad);
  padding-right: var(--side-pad);
}

/* ==========================
   TWO-COLUMN LAYOUT
========================== */

.two-col {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

.two-col .col-left {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.two-col .col-right {
  flex: 0 0 42%;
  position: relative;
  margin-top: 0;
}

/* Decorative box shadow behind image */
.col-right--shadow::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -22px;
  width: 100%;
  height: 100%;
  background: var(--cream-dark);
  z-index: 0;
}

.col-right--shadow img {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ==========================
   PAGE TITLE
========================== */

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 400;
  line-height: 0.95;
  margin-bottom: 36px;
  color: var(--text-white);
}

.page-title--dark {
  color: var(--green);
}

/* ==========================
   BUTTON
========================== */

.btn {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid var(--green);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 17px;
  font-family: var(--font-sans);
  transition: background 0.25s, color 0.25s;
}

.btn:hover {
  background: var(--green);
  color: var(--text-white);
}

/* ==========================
   INDEX – HERO
========================== */

.home-page {
  background: var(--cream);
}

.hero-section {
  padding: 50px 0 80px;
}

/* Hero: override section-inner to use full available width */
.hero-section .section-inner {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: var(--side-pad);
}

.hero-section .col-left {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: 55%;
}

.hero-section .col-right {
  flex: 0 0 auto;
  width: clamp(420px, 38vw, 560px);
  margin-top: 10px;
  margin-left: auto;
}

.hero-section .col-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* Green bar under hero image */
.hero-section .col-right--shadow::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -22px;
  width: 110%;
  height: 55px;
  background: var(--green);
  z-index: 0;
  display: block;
}

.hero-section .col-right img {
  position: relative;
  z-index: 1;
}

.hero-section .col-left h2 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 36px;
  text-transform: uppercase;
}

.hero-section .col-left p {
  font-size: 19px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 80px;
}

/* ==========================
   INDEX – INTRO GREEN BAND
========================== */

.intro-green {
  background: var(--green-light);
  padding: 75px 0 100px;
}

.intro-green p {
  color: var(--text-white);
  font-size: 18px;
  line-height: 2;
  max-width: 820px;
  margin-bottom: 40px;
}

.intro-green p:last-child {
  margin-bottom: 0;
}

.intro-green em {
  font-style: italic;
}

/* ==========================
   GREEN CONTENT PAGES
   (Beratungsangebot, Ablauf, Kontakt)
========================== */

.green-page {
  background: var(--green-light);
}

.content-section {
  padding: 50px 0 100px;
  min-height: 70vh;
}

.content-section p {
  color: var(--text-white);
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ==========================
   BERATUNGSANGEBOT
========================== */

.offer-intro {
  color: var(--text-white);
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.offer-list {
  color: var(--text-white);
  font-size: 17px;
  line-height: 2.1;
  padding-left: 22px;
  margin-bottom: 40px;
}

.offer-text {
  color: var(--text-white);
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.offer-text.italic {
  font-style: italic;
}

/* ==========================
   ÜBER MICH
========================== */

.about-page {
  background: var(--cream);
}

.about-section {
  padding: 50px 0 0;
}

.about-section .two-col {
  align-items: flex-start;
}

.about-section .col-right {
  flex: 0 0 32%;
}

.about-section p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 26px;
}

.col-right--about::after {
  content: "";
  position: absolute;
  width: 110%;
  height: 65px;
  background: var(--green);
  left: -30px;
  bottom: -25px;
  z-index: 0;
}

.col-right--about img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
}

/* Career & Qualifications */

.career-section,
.qualification-section {
  background: var(--cream);
  padding-bottom: 70px;
  padding-top: 0;
}

.career-section {
  position: relative;
  z-index: 3;
}

@media (min-width: 1300px) {
  .career-section {
    margin-top: -40px;
  }
}

.qualification-section {
  padding-bottom: 110px;
}

.career-section h2,
.qualification-section h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 36px;
}

.career-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dark);
}

.career-row .year {
  font-style: italic;
  color: var(--green);
}

.qualification-section p {
  font-size: 17px;
  line-height: 2;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* ==========================
   KOSTEN
========================== */

.kosten-section {
  padding: 60px 0 120px;
}

.kosten-section h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 400;
  color: var(--green);
  line-height: 0.95;
  margin-bottom: 50px;
}

.kosten-section h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--green);
  margin-top: 55px;
  margin-bottom: 28px;
}

.kosten-section p {
  font-size: 19px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.kosten-section .italic-note {
  font-style: italic;
  margin-top: 60px;
}

/* ==========================
   KONTAKT
========================== */

.kontakt-intro {
  color: var(--text-white);
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 55px;
  font-style: italic;
}

.kontakt-info {
  display: flex;
  gap: 60px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.kontakt-links,
.kontakt-rechts {
  flex: 1 1 220px;
}

.kontakt-links p,
.kontakt-rechts p {
  color: var(--text-white);
  font-size: 17px;
  line-height: 2;
}

.kontakt-links h3,
.kontakt-rechts h3 {
  color: var(--text-white);
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 8px;
}

.kontakt-formular {
  max-width: 900px;
  background: rgba(0, 0, 0, 0.08);
  padding: 35px;
  border-radius: 4px;
  margin-bottom: 60px;
}

.kontakt-formular h2 {
  color: var(--text-white);
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 30px;
}

.kontakt-hinweis {
  color: var(--text-white);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.kontakt-formular input:not([type="checkbox"]),
.kontakt-formular textarea {
  width: 100%;
  padding: 15px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--text-white);
  font-size: 16px;
  font-family: var(--font-sans);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.kontakt-formular input::placeholder,
.kontakt-formular textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.kontakt-formular input:focus,
.kontakt-formular textarea:focus {
  border-color: rgba(255, 255, 255, 0.8);
}

.kontakt-formular textarea {
  height: 130px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 26px;
  color: var(--text-white);
  font-size: 15px;
  line-height: 1.6;
}

.checkbox input[type="checkbox"] {
  width: 18px !important;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--green);
}

.checkbox label {
  cursor: pointer;
  color: var(--text-white);
  font-size: 15px;
  line-height: 1.6;
}

.kontakt-formular button {
  width: 100%;
  border: none;
  border-radius: 40px;
  padding: 17px;
  background: var(--text-white);
  color: var(--text-dark);
  font-size: 17px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.kontakt-formular button:hover {
  background: var(--green);
  color: var(--text-white);
}

.kontakt-hinweis p {
  color: var(--text-white);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 28px;
  font-style: italic;
}

/* ==========================
   FOOTER – GREEN (dark pages)
========================== */

.footer {
  background: var(--green-light);
  padding: 28px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0;
  margin-left: var(--side-pad);
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-inner a:hover {
  opacity: 0.75;
}

/* ==========================
   FOOTER – LIGHT (cream pages)
========================== */

.light-footer {
  background: var(--cream);
  padding: 28px 0;
}

.light-footer-inner {
  max-width: 1100px;
  margin: 0;
  margin-left: var(--side-pad);
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.light-footer-inner a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}

.light-footer-inner a:hover {
  opacity: 0.65;
}


/* ==========================
   HAMBURGER MENU
========================== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.green-page .hamburger span,
.hamburger.open span {
  background: var(--text-white);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--green-light);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}

.nav-overlay.open {
  transform: translateX(0);
}

.nav-overlay a {
  color: var(--text-white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: opacity 0.2s;
}

.nav-overlay a:last-child {
  border-bottom: none;
}

.nav-overlay a:hover {
  opacity: 0.7;
}

/* Dim background when nav open */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ==========================
   MOBILE – TABLET  ≤ 900px
========================== */

@media (max-width: 900px) {

  .section-inner,
  .footer-inner,
  .light-footer-inner {
    margin-left: 0;
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 0;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .two-col {
    flex-direction: column;
    gap: 40px;
  }

  .two-col .col-left,
  .two-col .col-right {
    flex: none;
    width: 100%;
    margin-top: 0;
  }

  /* Hero stacks on mobile */
  .hero-section .section-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .hero-section .col-right {
    flex: none;
    width: 100%;
  }

  .hero-section .col-left {
    max-width: 100%;
    flex: none;
    width: 100%;
  }

  /* About page: reset negative margin and add proper spacing */
  .about-section {
    padding-bottom: 40px;
    margin-bottom: 0;
  }

  .about-section .col-right {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
  }

  .about-section .col-right img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: top center;
  }

  .career-section {
    padding-top: 40px;
    margin-top: 0;
  }

  /* hide decorative shadow on mobile */
  .col-right--shadow::after,
  .col-right--about::after {
    display: none;
  }

  .career-row {
    grid-template-columns: 110px 1fr;
    gap: 16px;
  }

  .kontakt-info {
    flex-direction: column;
    gap: 0;
  }

  .kontakt-formular {
    max-width: 100%;
    padding: 24px;
  }
}

/* ==========================
   MOBILE – PHONE  ≤ 600px
========================== */

@media (max-width: 600px) {

  .main-nav {
    gap: 12px 18px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .page-title {
    font-size: 48px;
  }

  .hero-section .col-left h2 {
    font-size: 15px;
  }

  .hero-section .col-left p {
    font-size: 17px;
  }

  .intro-green p,
  .content-section p,
  .offer-intro,
  .offer-text {
    font-size: 16px;
  }

  .offer-list {
    font-size: 15px;
  }

  .career-row {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 28px;
  }

  .career-row .year {
    font-size: 15px;
  }

  .kontakt-formular h2 {
    font-size: 34px;
  }

  .kosten-section h1 {
    font-size: 48px;
  }
}

/* ==========================
   IMPRESSUM / DATENSCHUTZ
========================== */

.legal-section {
  padding: 60px 0 120px;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  color: var(--green);
  line-height: 1;
  margin-bottom: 55px;
}

.legal-section h2 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
  margin-top: 45px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-section p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.legal-section a {
  color: var(--green);
  text-decoration: underline;
}

/* Left-align fix override for very wide screens */
@media (min-width: 1600px) {
  .section-inner,
  .footer-inner,
  .light-footer-inner {
    margin-left: max(var(--side-pad), calc((100vw - 1100px) * 0.15));
  }
}

/* ==========================
   HAMBURGER MENU
========================== */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--green);
  padding: 4px 8px;
  line-height: 1;
}

.nav-toggle.green-toggle {
  color: var(--text-white);
}

@media (max-width: 900px) {

  .nav-toggle {
    display: block;
    position: absolute;
    top: 28px;
    right: var(--side-pad);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .main-nav.green-nav {
    background: var(--green-light);
  }

  .main-nav a {
    padding: 16px var(--side-pad);
    font-size: 17px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--green);
  }

  .main-nav.green-nav a {
    color: var(--text-white);
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav.open {
    display: flex;
  }

  /* Header needs relative positioning for absolute nav */
  .site-header {
    position: relative;
  }
}

/* ==========================
   TESTIMONIALS
========================== */

.testimonials-section {
  background: var(--cream-dark);
  padding: 55px 0 65px;
}

.testimonials-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 400;
  color: var(--green);
  margin-bottom: 36px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--cream);
  padding: 22px 22px 18px;
  border-left: 3px solid var(--green-light);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================
   FORTBILDUNGSHINWEIS
========================== */

.fortbildung-hinweis {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.15);
  border-left: 3px solid rgba(255,255,255,0.6);
  font-size: 16px !important;
  font-style: italic;
  color: white !important;
  line-height: 1.6 !important;
}

/* ==========================
   AKTIVE NAV LINKS
========================== */

.main-nav a.active {
  font-weight: 500;
  opacity: 1;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.nav-overlay a.active {
  font-weight: 500;
  opacity: 1;
}

/* ==========================
   SEITENÜBERGANG
========================== */

body {
  animation: pageFadeIn 0.3s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
