/* ============================================================
   Christine Kniephoff | Leadership Architecture
   Globales CSS – statische HTML-Version
   Farben: #eddfcb (Beige), #c29d51 (Gold), #f2f2f2 (Hellgrau)
   Fonts: Josefin Sans (Überschriften), Open Sans 400/600 (Text)
   ============================================================ */

/* --- Lokale Schriftarten (DSGVO-konform, kein Google-Server) --- */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/josefin-sans/josefin-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- CSS-Variablen --- */
:root {
  --color-beige:        #eddfcb;
  --color-gold:         #c29d51;
  --color-gray-light:   #f2f2f2;
  --color-white:        #ffffff;
  --color-body-bg:      #f8f8f8;
  --color-heading:      #222222;
  --color-text:         #555555;
  --color-text-light:   #666666;
  --color-nav-bg:       #ffffff;
  --color-nav-text:     #444444;
  --color-footer-bg:    #6786a1;
  --color-footer-text:  #ffffff;
  --color-socket-bg:    #3a4d5c;
  --color-link:         #6786a1;
  --color-border:       #e1e1e1;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --max-width: 1130px;
  --content-width: 800px;
}

/* --- Reset & Basis --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-body-bg);
}

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

a { color: var(--color-link); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--color-gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.3;
  font-weight: 400;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* --- Wrapper / Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION --- */
#site-header {
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

/* Desktop: zwei Reihen — Menülinks oben (zentriert), Logo darunter (zentriert, groß) */
.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  order: 2;
  display: block;
  padding: 8px 0 16px;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-menu {
  order: 1;
  display: flex;
  list-style: none;
  gap: 2.5rem;
  padding: 14px 0 0;
  margin: 0;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-nav-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* Hamburger (Mobile) */
.nav-toggle {
  order: 3;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  transition: all 0.3s;
}

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

/* --- HERO / SLIDESHOW --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-heading);
}

/* Textbox: mittig rechts, läuft von rechts ein */
@keyframes heroSlideIn {
  from { transform: translateX(90px) translateY(-50%); opacity: 0; }
  to   { transform: translateX(0)    translateY(-50%); opacity: 1; }
}

.hero-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15%;
  max-width: 500px;
  padding: 24px 32px;
  background: rgba(0, 0, 0, 0.46);
  text-align: right;
  z-index: 2;
  animation: heroSlideIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s both;
}

.hero-caption .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.hero-caption .hero-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
  font-weight: 400;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

/* --- SEKTIONEN --- */
.section {
  padding: 60px 0;
}

.section-white  { background: var(--color-white); }
.section-light  { background: var(--color-body-bg); }
.section-beige  { background: var(--color-beige); }
.section-gray   { background: var(--color-gray-light); }
.section-dark   { background: var(--color-socket-bg); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  display: block;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* --- ZWEISPALTEN-LAYOUT --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.two-col.col-60-40 { grid-template-columns: 3fr 2fr; }
.two-col.col-40-60 { grid-template-columns: 2fr 3fr; }

/* --- ANGEBOTSKARTEN (Workshop) --- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.offer-card {
  background: var(--color-beige);
  padding: 28px;
  border-radius: 2px;
}

.offer-card.card-gray {
  background: var(--color-gray-light);
}

.offer-card .offer-type {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.offer-card .offer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.offer-card .offer-meta {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.offer-card .offer-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-heading);
  margin: 0.75rem 0;
  font-weight: 400;
}

.offer-card .offer-price span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.offer-card .offer-date {
  font-size: 0.9rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Workshop-Karten-Reihe (zwei Spalten: Beige-Links + Grau-Rechts) */
.workshop-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 2px;
  overflow: hidden;
}

.workshop-row .ws-side {
  background: var(--color-beige);
  padding: 28px 24px;
}

.workshop-row .ws-main {
  background: var(--color-gray-light);
  padding: 28px 28px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 10px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-beige);
  border-color: var(--color-beige);
  color: var(--color-heading);
}

.btn-primary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

.btn-gold {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

.btn-gold:hover {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: #fff;
}

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

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--color-gold);
  padding: 24px 28px;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--color-gold);
}

/* --- KONTAKTFORMULAR --- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  border-radius: 2px;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-honeypot { display: none; }

.form-success {
  background: var(--color-beige);
  border-left: 4px solid var(--color-gold);
  padding: 16px 20px;
  margin-top: 1rem;
  display: none;
  font-family: var(--font-heading);
}

/* --- PAGE HEADER (Unterseiten) --- */
.page-header {
  background: var(--color-beige);
  padding: 50px 0 40px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.page-header .page-intro {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 680px;
  margin: 0 auto;
}

/* --- BILD MIT TEXT NEBENEINANDER --- */
.img-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.img-text-grid img {
  width: 100%;
  border-radius: 2px;
}

/* --- CAREER / STATIONEN --- */
.career-list {
  list-style: none;
  padding: 0;
}

.career-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.career-list li:last-child { border-bottom: none; }

.career-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* --- BUCHUNGSSEITE --- */
.booking-box {
  background: var(--color-beige);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 2px;
}

.booking-box h2 {
  margin-bottom: 1.5rem;
}

.booking-info {
  display: flex;
  gap: 40px;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.booking-info-item {
  text-align: center;
}

.booking-info-item .value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-gold);
  display: block;
}

.booking-info-item .label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Bankdaten */
.bank-info {
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
  padding: 20px 24px;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.bank-info strong { display: block; margin-bottom: 0.5rem; color: var(--color-heading); }

/* --- HR / TRENNLINIE --- */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.divider-gold {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 1rem 0 2rem;
}

.divider-gold.divider-animate {
  width: 0;
  transition: width 0.7s ease;
}
.divider-gold.divider-animate.is-visible {
  width: 60px;
}

/* --- BADGE / TAG --- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-gold);
  color: #fff;
  border-radius: 1px;
  margin-bottom: 0.5rem;
}

/* --- INTRO TEXT BLOCK --- */
.intro-block {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* --- FOOTER --- */
#site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 40px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1 1 200px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.footer-links {
  flex: 1 1 160px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact {
  flex: 1 1 200px;
}

.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

.footer-contact a {
  color: rgba(255,255,255,0.82);
}

.footer-contact a:hover { color: var(--color-gold); }

/* Socket (unterste Leiste) */
.footer-socket {
  background: var(--color-socket-bg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socket p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.footer-socket-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.footer-socket-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.footer-socket-links a:hover { color: var(--color-gold); }

/* --- SCROLL-TO-TOP --- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--color-gold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 2px;
  z-index: 200;
  transition: background 0.3s;
}

.scroll-top:hover { background: var(--color-heading); }
.scroll-top.visible { display: flex; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .two-col,
  .two-col.col-60-40,
  .two-col.col-40-60,
  .img-text-grid {
    grid-template-columns: 1fr;
  }

  .workshop-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile: Logo links, Hamburger rechts — eine Zeile */
  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
  }

  .nav-logo {
    order: 1;
    padding: 0;
  }

  .nav-logo img {
    height: 44px;
  }

  .nav-toggle {
    order: 2;
    display: flex;
  }

  .nav-menu {
    order: 3;
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

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

  .nav-menu li a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-border);
  }

  /* Hero-Caption auf Mobile: zentriert, schmaler Rand */
  .hero-caption {
    top: auto;
    transform: none;
    bottom: 4%;
    right: 3%;
    left: 3%;
    max-width: none;
    text-align: center;
    padding: 16px 20px;
  }

  .section { padding: 40px 0; }

  .booking-box { padding: 24px; }

  .footer-socket {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 300px; }
}

@media (max-width: 480px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .booking-info {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- IMPRESSUM / RECHTLICHE SEITEN --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* --- ANIMATIONEN --- */

/* Seiten-Fade-in */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
main { animation: pageFadeIn 0.8s ease; }

/* Card Hover-Lift */
.offer-card,
.testimonial-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.11);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

/* Scroll Fade-in */
.scroll-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- HILFKLASSEN --- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
