/* =============================================
   KlarWort – Kommunikationstrainings
   soft-light-844.css | Hauptstylesheet
   ============================================= */

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }

/* ---------- Farben (Variablen) ---------- */
:root {
  --espresso:   #3b2314;
  --carmine:    #76270c;
  --teal:       #588c8e;
  --cream:      #f5f0e8;
  --rock:       #6b6560;
  --white:      #ffffff;
  --black:      #000000;
  --overlay-dk: rgba(0,0,0,0.68);
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

.section-kicker {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  display: block;
  margin-bottom: .55rem;
}

/* ---------- Hilfsklassen ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 13px 32px;
  transition: background .22s, color .22s, border-color .22s;
  line-height: 1;
}

.btn--solid-carmine { background: var(--carmine); color: var(--white); }
.btn--solid-carmine:hover { background: #5c1c08; }

.btn--solid-teal { background: var(--teal); color: var(--white); }
.btn--solid-teal:hover { background: #3f6b6d; }

.btn--border-white { border: 2px solid var(--white); color: var(--white); }
.btn--border-white:hover { background: var(--white); color: var(--espresso); }

.btn--border-carmine { border: 2px solid var(--carmine); color: var(--carmine); }
.btn--border-carmine:hover { background: var(--carmine); color: var(--white); }

.btn--solid-espresso { background: var(--espresso); color: var(--white); }
.btn--solid-espresso:hover { background: #28180d; }

/* ---------- HEADER ---------- */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--espresso);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 28px;
}

.header-logo svg { height: 44px; width: auto; }

.header-nav { display: flex; gap: 30px; align-items: center; }

.header-nav a {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  transition: color .18s;
}
.header-nav a:hover, .header-nav a.active { color: var(--teal); }

.header-cta .btn { font-size: .72rem; padding: 10px 22px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform .22s, opacity .22s;
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.nav-overlay.open { transform: translateX(0); }
.nav-overlay__close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.6rem;
  color: var(--white);
  cursor: pointer;
}
.nav-overlay__links { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.nav-overlay__links a {
  font-size: 1.5rem;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  transition: color .18s;
}
.nav-overlay__links a:hover { color: var(--teal); }

/* ---------- HERO CAROUSEL ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; margin-top: 72px; }

.hero-slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dk);
}

.hero-slide__content {
  position: absolute;
  bottom: 13%;
  left: 8%;
  z-index: 2;
  max-width: 620px;
  color: var(--white);
}

.hero-slide__kicker {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.hero-slide__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-style: italic;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

.hero-nav {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.hero-dot.active { background: var(--teal); }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,.35);
  color: var(--white);
  border: none;
  width: 48px; height: 48px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover { background: var(--carmine); }
.hero-arrow--prev { left: 20px; }
.hero-arrow--next { right: 20px; }

/* ---------- PROMO GRID (Leistungen) ---------- */
.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--espresso { background: var(--espresso); }
.section--dark { background: #1e1008; }

.section__head { margin-bottom: 52px; }
.section__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--espresso); }
.section--espresso .section__head h2,
.section--dark .section__head h2 { color: var(--white); }
.section--espresso .section-kicker,
.section--dark .section-kicker { color: var(--teal); }
.section__head p { max-width: 620px; color: #555; margin-top: 14px; font-size: 1.02rem; line-height: 1.7; }
.section--espresso .section__head p { color: rgba(255,255,255,.75); }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.promo-block {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.promo-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59,35,20,.82) 0%, rgba(59,35,20,.1) 60%, transparent 100%);
  transition: background .3s;
}

.promo-block:hover::after {
  background: linear-gradient(to top, rgba(59,35,20,.9) 0%, rgba(59,35,20,.3) 70%, transparent 100%);
}

.promo-block--color-carmine::after { background: linear-gradient(to top, rgba(118,39,12,.88) 0%, rgba(118,39,12,.2) 60%, transparent 100%); }
.promo-block--color-teal::after { background: linear-gradient(to top, rgba(88,140,142,.88) 0%, rgba(88,140,142,.2) 60%, transparent 100%); }
.promo-block--color-rock::after { background: linear-gradient(to top, rgba(107,101,96,.88) 0%, rgba(107,101,96,.2) 60%, transparent 100%); }
.promo-block--color-espresso::after { background: linear-gradient(to top, rgba(59,35,20,.92) 0%, rgba(59,35,20,.3) 60%, transparent 100%); }

.promo-block--solid-carmine { background-color: var(--carmine) !important; }
.promo-block--solid-teal    { background-color: var(--teal) !important; }
.promo-block--solid-espresso{ background-color: var(--espresso) !important; }

.promo-block__content {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  color: var(--white);
}

.promo-block__kicker {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
  display: block;
}

.promo-block__title {
  font-size: 1.65rem;
  color: var(--white);
  margin-bottom: 16px;
  font-style: italic;
}

/* ---------- ÜBER UNS (Über-Teaser) ---------- */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; min-height: 480px; }

.about-teaser__img {
  background-size: cover;
  background-position: center;
  min-height: 340px;
}

.about-teaser__text {
  background: var(--espresso);
  color: var(--white);
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-teaser__text h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); color: var(--white); margin-bottom: 20px; }
.about-teaser__text p { color: rgba(255,255,255,.78); line-height: 1.75; margin-bottom: 14px; font-size: 1rem; }
.about-teaser__text .btn { margin-top: 14px; }

/* ---------- FORMATE (3 Karten) ---------- */
.formate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 10px; }

.format-card {
  background: var(--white);
  border-top: 4px solid var(--carmine);
  padding: 38px 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: transform .22s, box-shadow .22s;
}
.format-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.13); }

.format-card__icon { font-size: 2rem; color: var(--teal); margin-bottom: 18px; }
.format-card--teal { border-top-color: var(--teal); }
.format-card--rock  { border-top-color: var(--rock); }
.format-card--rock .format-card__icon { color: var(--rock); }

.format-card h3 { font-size: 1.25rem; color: var(--espresso); margin-bottom: 12px; }
.format-card p { font-size: .95rem; color: #555; line-height: 1.68; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.testimonial {
  background: var(--white);
  padding: 36px 28px;
  box-shadow: 0 3px 18px rgba(0,0,0,.07);
  position: relative;
}

.testimonial__quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  font-family: 'Playfair Display', serif;
  opacity: .55;
  margin-bottom: 10px;
}

.testimonial p { font-size: .96rem; color: #444; line-height: 1.7; font-style: italic; margin-bottom: 20px; }

.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--espresso);
  flex-shrink: 0;
}
.testimonial__name { font-weight: 700; font-size: .9rem; color: var(--espresso); }
.testimonial__role { font-size: .8rem; color: var(--rock); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid #ddd; }

.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .18s;
}
.faq-item__q:hover { color: var(--carmine); }
.faq-item__q i { font-size: .85rem; transition: transform .22s; color: var(--teal); flex-shrink: 0; }
.faq-item.open .faq-item__q i { transform: rotate(180deg); }

.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .22s; }
.faq-item__a p { padding-bottom: 20px; color: #555; line-height: 1.72; font-size: .97rem; }
.faq-item.open .faq-item__a { max-height: 400px; }

/* ---------- KONTAKT CTA SEKTION ---------- */
.cta-band {
  background: var(--carmine);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 540px; margin: 0 auto 28px; font-size: 1.02rem; }

/* ---------- KONTAKTFORMULAR ---------- */
.contact-section { padding: 90px 0; background: var(--cream); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.contact-info h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--espresso); margin-bottom: 18px; }
.contact-info p { color: #555; font-size: .97rem; line-height: 1.7; margin-bottom: 24px; }

.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.contact-detail i { color: var(--teal); font-size: 1.05rem; margin-top: 3px; flex-shrink: 0; }
.contact-detail span { font-size: .96rem; color: #444; line-height: 1.6; }

.contact-form { background: var(--white); padding: 44px 38px; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.contact-form h3 { font-size: 1.4rem; color: var(--espresso); margin-bottom: 24px; }

.form-group { display: flex; gap: 16px; flex-wrap: wrap; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; min-width: 200px; }
.form-field--full { flex-basis: 100%; min-width: unset; }

.form-field label { font-size: .82rem; font-weight: 700; color: var(--espresso); letter-spacing: .05em; text-transform: uppercase; }

.form-field input,
.form-field textarea,
.form-field select {
  border: 1.5px solid #ccc;
  padding: 12px 14px;
  font-size: .96rem;
  font-family: inherit;
  color: #222;
  background: var(--white);
  transition: border-color .18s;
  width: 100%;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--teal); }

.form-field textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; text-align: center; font-size: .85rem; padding: 15px 32px; }

.form-note { font-size: .78rem; color: #888; margin-top: 10px; }

/* ---------- FOOTER ---------- */
.main-footer {
  background: var(--espresso);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }

.footer-brand svg { height: 38px; margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 280px; }

.footer-col h4 {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color .18s; }
.footer-col ul a:hover { color: var(--teal); }

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.footer-contact-item i { color: var(--teal); margin-top: 3px; flex-shrink: 0; }

.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  transition: background .18s, border-color .18s, color .18s;
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

.footer-bottom a { color: rgba(255,255,255,.45); transition: color .18s; }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- GDPR COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--espresso);
  color: rgba(255,255,255,.88);
  z-index: 9999;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.35);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  flex-wrap: wrap;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__text { font-size: .88rem; line-height: 1.55; flex: 1; min-width: 220px; }
.cookie-banner__text a { color: var(--teal); text-decoration: underline; }

.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- INNER PAGES ---------- */
.page-hero {
  background: var(--espresso);
  padding: 120px 0 60px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 14px; font-style: italic; }
.page-hero p  { color: rgba(255,255,255,.72); max-width: 580px; margin: 0 auto; font-size: 1.02rem; }

.page-content { padding: 80px 0; }
.page-content h2 { font-size: 1.6rem; color: var(--espresso); margin: 36px 0 14px; }
.page-content h3 { font-size: 1.2rem; color: var(--espresso); margin: 26px 0 10px; }
.page-content p  { color: #444; line-height: 1.75; margin-bottom: 16px; font-size: .98rem; }
.page-content ul { margin: 12px 0 20px 20px; }
.page-content ul li { list-style: disc; color: #444; line-height: 1.7; margin-bottom: 8px; font-size: .98rem; }

/* ---------- SEND.PHP ---------- */
.send-box {
  max-width: 600px;
  margin: 100px auto;
  background: var(--cream);
  padding: 56px 44px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.send-box i { font-size: 3.5rem; color: var(--teal); margin-bottom: 22px; }
.send-box h1 { font-size: 1.9rem; color: var(--espresso); margin-bottom: 14px; }
.send-box p { color: #555; font-size: .98rem; line-height: 1.7; margin-bottom: 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .formate-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .header-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero { height: 88vh; }
  .hero-slide__content { left: 5%; bottom: 16%; max-width: 90%; }

  .promo-grid { grid-template-columns: 1fr; }
  .promo-block { height: 300px; }

  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser__text { padding: 44px 28px; }

  .formate-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-band { padding: 52px 0; }

  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-slide__title { font-size: 2rem; }
  .section { padding: 56px 0; }
  .form-group { flex-direction: column; }
  .form-field { min-width: unset; }
  .hero-arrow { display: none; }
}
