/* KlarDialog – Institut für konstruktive Kommunikation */
/* free-tree-450.css */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E31B23;
  --red-hover: #c01019;
  --dark: #373234;
  --accent: #f32a7c;
  --white: #ffffff;
  --gray-light: #f1efed;
  --gray-border: #e1ddd8;
  --gray-text: #666;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.header__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo svg { width: 44px; height: 44px; flex-shrink: 0; }

.logo-text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav__list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav__list a {
  color: rgba(255,255,255,0.85);
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 3px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.nav__list a:hover,
.nav__list a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.nav__cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 3px;
  transition: background .15s !important;
}

.nav__cta:hover { background: var(--red-hover) !important; }

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform .2s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../visuals/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .32;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  max-width: 720px;
}

.hero__label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  border: none;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover { background: var(--red-hover); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn--dark {
  background: var(--dark);
  color: var(--white);
}

.btn--dark:hover { background: #2a2728; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== SECTION DEFAULTS ===== */
.section { padding: 70px 20px; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--dark); }
.section--red { background: var(--red); }

.section__head { text-align: center; margin-bottom: 50px; }

.section__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section__label--white { color: rgba(255,255,255,0.7); }

h2.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

h2.section__title--white { color: var(--white); }

.section__desc {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section__desc--white { color: rgba(255,255,255,0.75); }

/* ===== PROBLEM BAND ===== */
.problem-band {
  background: var(--red);
  padding: 28px 20px;
}

.problem-band__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.problem-band__icon {
  font-size: 2rem;
  color: var(--white);
  flex-shrink: 0;
}

.problem-band p {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

.problem-band strong { font-weight: 700; }

/* ===== WHY SECTION – 3 cols ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 32px 26px;
  border-radius: 4px;
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon i { color: var(--white); font-size: 1.3rem; }

.card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.card p { font-size: .95rem; color: var(--gray-text); line-height: 1.65; }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--dark);
}

.stat-item:nth-child(odd) { background: #2a2728; }

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: .88rem;
  margin-top: 8px;
  line-height: 1.4;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  counter-reset: steps;
}

.step {
  text-align: center;
  padding: 10px;
  counter-increment: steps;
}

.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--red));
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p { font-size: .92rem; color: var(--gray-text); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.price-card {
  border: 2px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s;
}

.price-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); }

.price-card--featured {
  border-color: var(--red);
  position: relative;
}

.price-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.price-card__head {
  background: var(--gray-light);
  padding: 28px 28px 22px;
}

.price-card--featured .price-card__head { background: var(--dark); }

.price-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.price-card--featured .price-card__name { color: var(--white); }

.price-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.price-card__price sup { font-size: 1.1rem; vertical-align: super; }
.price-card__period { font-size: .82rem; color: var(--gray-text); margin-top: 4px; }
.price-card--featured .price-card__period { color: rgba(255,255,255,0.6); }

.price-card__body { padding: 24px 28px; }

.price-card__features { margin-bottom: 24px; }

.price-card__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: .93rem;
  color: var(--gray-text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-card__features li:last-child { border-bottom: none; }

.price-card__features li i {
  color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== IMAGE-TEXT SPLIT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.split__content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.split--gray .split__content { background: var(--gray-light); }

.split__content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
}

.split__content p {
  font-size: .97rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.split__content p:last-of-type { margin-bottom: 24px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--gray-light);
  padding: 30px 28px;
  border-radius: 4px;
  border-left: 4px solid var(--red);
}

.testimonial__text {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__text::before { content: '"'; }
.testimonial__text::after { content: '"'; }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 700;
  font-size: .9rem;
}

.testimonial__role { font-size: .82rem; color: var(--gray-text); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-item:first-child { border-top: 1px solid var(--gray-border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-question i {
  color: var(--red);
  font-size: .85rem;
  flex-shrink: 0;
  transition: transform .25s;
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: .95rem;
  color: var(--gray-text);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail i {
  color: var(--red);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-detail span {
  color: rgba(255,255,255,0.85);
  font-size: .95rem;
  line-height: 1.6;
}

.contact-detail a { color: rgba(255,255,255,0.85); }
.contact-detail a:hover { color: var(--white); }

.form-wrap { background: var(--white); padding: 36px 34px; border-radius: 6px; }

.form-row { margin-bottom: 18px; }
.form-row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-border);
  border-radius: 3px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,27,35,0.12);
}

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23666'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-note {
  font-size: .8rem;
  color: var(--gray-text);
  margin-top: 12px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer-primary {
  background: var(--dark);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-text { font-size: 1.1rem; }

.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: .88rem;
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: .95rem;
  transition: background .15s, color .15s;
}
.social-links a:hover { background: var(--red); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: .88rem;
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-contact i { color: var(--red); font-size: .9rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact span { color: rgba(255,255,255,0.55); font-size: .87rem; line-height: 1.5; }
.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p { color: rgba(255,255,255,0.4); font-size: .82rem; }

.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a {
  color: rgba(255,255,255,0.4);
  font-size: .82rem;
  transition: color .15s;
}
.footer-bottom nav a:hover { color: var(--white); }

/* ===== COOKIES GDPR ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e1c1d;
  border-top: 3px solid var(--red);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

#cookie-banner p {
  color: rgba(255,255,255,0.85);
  font-size: .88rem;
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}

#cookie-banner a { color: var(--accent); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn--cookie-accept {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}

.btn--cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 18px;
  font-size: .88rem;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s;
}

.btn--cookie-decline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,0.45);
}

.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: .65rem; }

/* ===== ABOUT PAGE SPECIFICS ===== */
.about-team-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
}

.team-member__name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-member__role { font-size: .85rem; color: var(--gray-text); }

/* ===== CONTACT PAGE ===== */
.map-placeholder {
  width: 100%;
  height: 380px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--gray-text);
}

.map-placeholder i { font-size: 2.5rem; color: var(--red); }

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--dark);
}

.legal-content p, .legal-content li {
  font-size: .95rem;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content ul li { margin-bottom: 6px; }

/* ===== SUCCESS PAGE ===== */
.success-box {
  text-align: center;
  padding: 80px 20px;
  max-width: 540px;
  margin: 0 auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--white);
}

.success-box h1 { margin-bottom: 14px; }
.success-box p { color: var(--gray-text); margin-bottom: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split__image { min-height: 280px; }
  .split--reverse { direction: ltr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .section { padding: 50px 16px; }

  .hero__inner { padding: 60px 16px; }

  .nav__list { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--dark); padding: 20px; gap: 4px; z-index: 999; }
  .nav__list.open { display: flex; }
  .nav__list a { padding: 12px 16px; width: 100%; }

  .nav__burger { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row--half { grid-template-columns: 1fr; }
  .split__content { padding: 36px 20px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
}
