/* ============================================
   AGENTUR KUSI — Global Stylesheet
   Fonts: Quicksand (headings) + Nunito Sans (body)
   Colors: Gold #febb0b, Orange #f14c23, Dark #0b1b2e, Teal #508a90
   ============================================ */

/* --- VARIABLES --- */
:root {
  --gold: #febb0b;
  --orange: #f14c23;
  --dark: #0b1b2e;
  --teal: #508a90;
  --white: #ffffff;
  --light: #f5f3ef;
  --muted: #8a9ab5;
  --card-dark: #0f2340;
  --text: #5a6a80;
  --border: #e4e8ee;
  --max-w: 1100px;
  --max-w-narrow: 800px;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > section, body > .werte-bar, body > .hero { flex-shrink: 0; }
body > .footer { margin-top: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: 'Quicksand', sans-serif; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { line-height: 1.8; }

/* --- LAYOUT --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 27, 46, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600; font-size: 1.4rem;
  color: var(--gold); letter-spacing: 2px;
}
.nav__links { display: flex; gap: 1.8rem; align-items: center; }
.nav__links a {
  color: var(--muted); font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.4px; transition: color 0.3s;
}
.nav__links a:hover, .nav__links a.active { color: var(--gold); }
.nav__cta {
  background: var(--gold); color: var(--dark) !important;
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 1px;
  padding: 0.55rem 1.3rem; transition: all 0.3s;
}
.nav__cta:hover { background: var(--orange); color: var(--white) !important; }
.nav__hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); transition: 0.3s; }

/* --- SECTION LABELS --- */
.label {
  font-family: 'Quicksand', sans-serif; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.75rem;
}
.label--gold { color: var(--gold); }
.label--white { color: var(--gold); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.8px;
  padding: 1rem 2.2rem; border: none; cursor: pointer;
  transition: all 0.3s; text-decoration: none;
}
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.btn--outline {
  background: transparent; border: 2px solid var(--gold); color: var(--gold);
  padding: 0.85rem 2rem;
}
.btn--outline:hover { background: var(--gold); color: var(--dark); }
.btn--full { width: 100%; justify-content: center; }

/* --- CARDS --- */
.card {
  background: var(--white); padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,27,46,0.08); }
.card--dark { background: var(--card-dark); }
.card--bordered { border: 1px solid var(--border); }
.card--accent-left { border-left: 4px solid var(--orange); }
.card--accent-top { position: relative; }
.card--accent-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}

/* --- HERO VARIANTS --- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero--dark { background: var(--dark); }
.hero--short { min-height: auto; padding: 8rem 0 4rem; }
.hero__glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero__glow--gold {
  top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(254,187,11,0.07) 0%, transparent 70%);
}
.hero__glow--orange {
  bottom: -30%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(241,76,35,0.05) 0%, transparent 70%);
}

/* --- BACKGROUNDS --- */
.bg-dark { background: var(--dark); color: var(--white); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }
.bg-gold { background: var(--gold); color: var(--dark); }

/* --- TEXT COLORS --- */
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }
.text-body { color: var(--text); }

/* --- GRIDS --- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* --- STATS --- */
.stat { background: var(--dark); padding: 1.5rem; text-align: center; }
.stat__num { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 2.2rem; color: var(--gold); }
.stat__label { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }

/* --- PRICING --- */
.price-card {
  border: 2px solid var(--border); padding: 2.5rem 2rem;
  position: relative; transition: all 0.3s;
}
.price-card:hover { border-color: var(--gold); box-shadow: 0 12px 40px rgba(11,27,46,0.08); }
.price-card--featured {
  border-color: var(--gold);
  background: linear-gradient(165deg, #fffdf5 0%, var(--white) 100%);
}
.price-card__badge {
  position: absolute; top: -0.75rem; left: 2rem;
  background: var(--gold); color: var(--dark);
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.35rem 1rem;
}
.price-card__amount {
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 2.5rem; color: var(--dark); margin: 0.5rem 0;
}
.price-card__amount span { font-size: 0.9rem; font-weight: 400; color: var(--text); }
.price-card__list { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.5rem 0; }
.price-card__list li {
  font-size: 0.9rem; color: var(--text); padding-left: 1.5rem;
  position: relative; line-height: 1.5;
}
.price-card__list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* --- FAQ --- */
.faq__item { margin-bottom: 1.5rem; }
.faq__q {
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--dark); margin-bottom: 0.4rem;
}
.faq__a { font-size: 0.9rem; color: var(--text); line-height: 1.7; }

/* --- BLOG --- */
.blog-card { border-bottom: 1px solid var(--border); padding: 2rem 0; }
.blog-card:last-child { border-bottom: none; }
.blog-card__date { font-size: 0.8rem; color: var(--teal); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; }
.blog-card__title { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--dark); margin-bottom: 0.5rem; transition: color 0.3s; }
.blog-card__title:hover { color: var(--orange); }
.blog-card__excerpt { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 0.75rem; }
.blog-card__link { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--gold); }
.blog-card__link:hover { color: var(--orange); }

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: 0 2rem; }
.article h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.article h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--orange); }
.article p { font-size: 1rem; color: var(--text); margin-bottom: 1.2rem; line-height: 1.9; }
.article strong { color: var(--dark); }
.article blockquote {
  border-left: 4px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0;
  background: var(--light); font-style: italic; color: var(--dark);
}

/* --- WERTE BAR --- */
.werte-bar { background: var(--gold); padding: 0.8rem 2rem; overflow: hidden; white-space: nowrap; }
.werte-bar__track { display: inline-flex; gap: 3rem; animation: werte-scroll 25s linear infinite; }
.werte-bar__item {
  font-family: 'Quicksand', sans-serif; font-weight: 700;
  font-size: 0.75rem; color: var(--dark); letter-spacing: 3px; text-transform: uppercase;
}

/* --- FOOTER --- */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 3rem 2rem; }
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer__brand { font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--gold); letter-spacing: 2px; }
.footer__info { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: var(--muted); font-size: 0.85rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--gold); }

/* --- CTA SECTION --- */
.cta-section {
  background: var(--dark); text-align: center; padding: 5rem 2rem; position: relative;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes werte-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.fade-up { opacity: 0; animation: fadeUp 0.8s forwards; }
.fade-up-1 { animation-delay: 0.2s; }
.fade-up-2 { animation-delay: 0.4s; }
.fade-up-3 { animation-delay: 0.6s; }
.fade-up-4 { animation-delay: 0.8s; }

/* --- LAYOUT GRIDS (page-specific) --- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.kontakt-sidebar { position: sticky; top: 6rem; }
.workshop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; text-align: left; max-width: 700px; margin: 0 auto; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark); padding: 1.5rem 2rem; gap: 1.2rem;
  }
  .nav__hamburger { display: flex; }
  section { padding: 3.5rem 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
  .kontakt-sidebar { position: static; }
  .workshop-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .container, .container--narrow { padding: 0 1.2rem; }
  .btn { width: 100%; justify-content: center; }
}

/* --- FORMS --- */
.form { max-width: 600px; }
.form__group { margin-bottom: 1.2rem; }
.form__label {
  display: block; font-family: 'Quicksand', sans-serif; font-weight: 600;
  font-size: 0.85rem; color: var(--dark); margin-bottom: 0.4rem;
}
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'Nunito Sans', sans-serif; font-size: 0.95rem; color: var(--dark);
  transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none; border-color: var(--gold);
}
.form__textarea { min-height: 120px; resize: vertical; }
.form__select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9ab5' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form__hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__honeypot { position: absolute; left: -9999px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* --- WHATSAPP FLOATING BUTTON --- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 56px; height: 56px; min-width: 56px; min-height: 56px;
  max-width: 56px; max-height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; overflow: hidden;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
.wa-float svg { width: 28px; height: 28px; min-width: 28px; max-width: 28px; fill: var(--white); }

/* --- TEAM SECTION (Über uns + Startseiten-Teaser) --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.person {
  background: var(--card-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.person:hover {
  transform: translateY(-4px);
  border-color: rgba(254,187,11,0.35);
}
.person__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.person__body { padding: 1.4rem 1.4rem 1.6rem; }
.person__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.7rem;
}
.person__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}
.person__badge--human {
  background: rgba(254,187,11,0.12);
  color: var(--gold);
}
.person__badge--human::before { background: var(--gold); }
.person__badge--ai {
  background: rgba(80,138,144,0.18);
  color: #6cbac2;
}
.person__badge--ai::before {
  background: #6cbac2;
  box-shadow: 0 0 0 0 rgba(108,186,194,0.6);
  animation: kusi-pulse 2s infinite;
}
@keyframes kusi-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(108,186,194,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(108,186,194,0); }
  100% { box-shadow: 0 0 0 0 rgba(108,186,194,0); }
}
.person__name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.person__role {
  font-size: 0.78rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.person__role--ai { color: #6cbac2; }
.person__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* --- TEAM TEASER (kompakte Variante für Startseite) --- */
.team-teaser {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.team-teaser__avatars {
  display: flex;
}
.team-teaser__avatars img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--white);
  margin-left: -12px;
  background: var(--dark);
  box-shadow: 0 2px 8px rgba(11,27,46,0.12);
}
.team-teaser__avatars img:first-child { margin-left: 0; }
.team-teaser__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.95rem;
  color: var(--text);
}
.team-teaser__text strong { color: var(--dark); }

@media (max-width: 920px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .team-teaser { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   TESTIMONIAL SECTION
   Drop-in component für Startseite & Referenz-Sections
   ============================================ */

.testimonial-section { padding-top: 5rem; padding-bottom: 5rem; }

.testimonial {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto 3.5rem;
}

.testimonial__photo-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--card-dark);
}

.testimonial__photo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(254, 187, 11, 0.2);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.testimonial__photo-wrap::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 60%;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 4px 0;
  opacity: 0.6;
}

.testimonial__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial__body {
  position: relative;
  padding-top: 0.5rem;
}

.testimonial__quote-mark {
  width: 36px;
  height: 27px;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.testimonial__quote {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.testimonial__author {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.testimonial__name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.testimonial__role {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.testimonial__location {
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.75;
}

.testimonial__website {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.testimonial__website:hover { opacity: 0.7; }

/* Highlights row */
.testimonial__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.testimonial__highlight-num {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 0.1rem;
  letter-spacing: 0.05em;
}

.testimonial__highlight-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }
  .testimonial__photo-wrap {
    max-width: 220px;
    margin: 0 auto;
  }
  .testimonial__quote { font-size: 1.1rem; }
  .testimonial__highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 2rem;
  }
}
