/* ==========================================================================
   ImpulsReich – Systemische Beratung Pia-Maria Rieke
   Handgeschriebenes Stylesheet (kein Framework, keine Plugins)
   ========================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Hind Guntur"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/HindGuntur-300.ttf") format("truetype"); }
@font-face { font-family: "Hind Guntur"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/HindGuntur-400.ttf") format("truetype"); }
@font-face { font-family: "Hind Guntur"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/HindGuntur-500.ttf") format("truetype"); }
@font-face { font-family: "Hind Guntur"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/HindGuntur-600.ttf") format("truetype"); }
@font-face { font-family: "Hind Guntur"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/HindGuntur-700.ttf") format("truetype"); }
@font-face { font-family: "Handlee"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Handlee-Regular.ttf") format("truetype"); }
@font-face { font-family: "Crete Round"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/CreteRound-Regular.ttf") format("truetype"); }

/* ---------- Variablen ---------- */
:root {
  --ink: #0a1a2b;
  --text: #242424;
  --muted: #929292;
  --mint: #d7f1d7;
  --mint-light: #f2f7f2;
  --petrol: #22566d;
  --petrol-dark: #14566c;
  --sage: #cce8ae;
  --link: #58b7d7;
  --line: #e5e5e5;
  --sidebar-w: 272px;
  --ease: 0.3s ease-in-out;
  --grid: 1200px; /* Breite des Inhaltsrasters, wird je Viewport gestuft */
}
@media (max-width: 1560px) { :root { --grid: 1100px; } }
@media (max-width: 1439px) { :root { --grid: 950px; } }
@media (max-width: 1260px) { :root { --grid: 768px; } }
@media (max-width: 1060px) { :root { --grid: 600px; } }
@media (max-width: 999px)  { :root { --grid: 768px; } }
@media (max-width: 768px)  { :root { --grid: 600px; } }
@media (max-width: 600px)  { :root { --grid: 420px; } }
@media (max-width: 480px)  { :root { --grid: 300px; } }
@media (max-width: 350px)  { :root { --grid: 95%; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

body {
  font-family: "Hind Guntur", sans-serif;
  font-size: 17px;
  line-height: 23px;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h2 {
  font-family: "Handlee", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  color: var(--ink);
}
h5 { font-size: 15px; line-height: 23px; font-weight: 400; color: var(--muted); }
strong { font-weight: bolder; }
em { font-style: italic; }
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }
.icon--phone { width: 0.7857em; }

/* ---------- Seitenleiste (Desktop) ---------- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  padding: 64px 0;
  background: var(--mint);
  z-index: 101;
  text-align: center;
}
.sidebar__logo { display: block; width: 200px; height: 209px; margin: 0 auto; }
.sidebar__logo img { width: 200px; height: 200px; margin: 0 auto; }
.sidebar__nav { margin-top: 50px; }
.sidebar__nav a,
.mobile-nav a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--ease);
}
.sidebar__nav a:hover { color: var(--sage); }
.sidebar__cta {
  position: absolute;
  left: 64px; width: 153px; bottom: 40px;
  margin-top: 22px;
  text-align: center;
}
.sidebar__cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 49px; height: 49px;
  border-radius: 80px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.sidebar__cta-icon:hover { background: var(--mint); color: #fff; }
.sidebar__cta h4 {
  margin-top: 10px;
  font-size: 16px; font-weight: 500; line-height: 33px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink);
}

/* ---------- Mobile Kopfzeile ---------- */
.mobile-header { display: none; background: #fff; position: relative; z-index: 110; }
.mobile-header__bar { position: relative; height: 100px; padding: 0 15px; }
.mobile-header__toggle {
  position: absolute; left: 15px; top: 0; height: 100px; width: 19px;
  display: flex; align-items: center; justify-content: flex-start;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: #5d5d5d; font-size: 14px; transition: color var(--ease);
}
.mobile-header__toggle .icon { width: 12px; height: 14px; vertical-align: 0; }
.mobile-header__toggle[aria-expanded="true"] { color: var(--sage); }
.mobile-header__logo { display: block; width: 100px; height: 100px; margin: 0 auto; }
.mobile-header__logo img { width: 100px; height: 100px; }
.mobile-nav { display: none; padding: 0 15px; background: #fff; }
.mobile-nav.is-open { display: block; }
.mobile-nav li { border-bottom: 1px solid #eaeaea; }
.mobile-nav a { line-height: 32px; padding: 9px 0; }
.mobile-nav a.is-anchor { color: var(--sage); }

/* ---------- Inhaltsbereich ---------- */
.content {
  margin-left: var(--sidebar-w);
  background: #fff;
  position: relative;
  z-index: 100;
}
.section { width: var(--grid); margin: 0 auto; }
.container { /* "e-con": zentrierte 1140px-Box mit 10px Innenabstand */
  padding: 10px;
}
.container__inner { width: 100%; max-width: 1140px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: 20px; }
.spacer { height: 80px; }
.anchor { display: block; height: 0; }
.divider { padding: 15px 0; }
.stack > .divider { margin-top: 0; }
.divider--pull, .stack > .divider.divider--pull { margin-top: -20px; }
.divider::before { content: ""; display: block; height: 1px; background: var(--line); }

.text--pad { padding-top: 10px; }
.text p { font-size: 17px; line-height: 30px; }

/* ---------- Hero ---------- */
.hero { display: flex; width: 100%; }
.hero__text { width: 36%; display: flex; align-items: flex-end; }
.hero__text-inner { width: 100%; padding: 0 10%; /* Prozent bezieht sich auf die Spaltenbreite */ }
.hero__name { margin-bottom: 30px; }
.hero__intro { padding: 10px 0 20px; }
.hero__intro div { height: 23px; }
.hero__contact { margin-bottom: 40px; }
.hero__contact p { font-size: 17px; line-height: 30px; }
.hero__photo { width: 64%; text-align: center; }
.hero__photo img { display: block; margin: 10% auto; max-width: 90%; }

/* ---------- Philosophie / Leistungen / etc. ---------- */
.section--philosophie { padding-bottom: 100px; }
.section--image img { margin: 0 auto; width: 100%; max-width: 1060px; }
.quote { font-size: 17px; }
.quote span { font-family: "Calibri", sans-serif; font-size: 11pt; line-height: 107%; }
.group-title {
  font-size: 19px; line-height: 19px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink);
}
.group-title--first { margin-top: 10px; }

/* ---------- Preistabellen ---------- */
.pricing { padding: 10px; display: flow-root; }
.price-table { float: left; width: 31.667%; margin-right: 2.5%; }
.price-table:last-child { margin-right: 0; }
.price-table__title {
  padding: 20px 27px;
  background: var(--petrol);
  text-align: center;
  font-size: 13px; line-height: 20px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #fff;
}
.price-table__price {
  padding: 41px 27px 33px;
  background: var(--mint-light);
  text-align: center;
}
.price-table__amount { display: block; height: 55px; }
.price-table__currency {
  position: relative; top: 16px;
  font-size: 24px; color: #243540;
}
.price-table__value {
  padding: 0 3px;
  font-size: 48px; line-height: 32px; font-weight: 100; letter-spacing: 1px;
  color: #243540;
}
.price-table__mark {
  display: block; position: relative; top: 16px;
  font-size: 14px; font-style: italic; line-height: 23px;
}
.price-table__desc { background: var(--mint-light); text-align: center; }
.price-table__desc p { font-size: 17px; line-height: 30px; }
.disclaimer { padding: 10px 30px 0; font-weight: 100; }

/* ---------- Erfahrungsberichte (Slider) ---------- */
.testimonials__slides { display: grid; }
.testimonial {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  z-index: 1;
}
.testimonial.is-active { opacity: 1; visibility: visible; z-index: 2; }
.testimonial__text {
  font-family: "Crete Round", sans-serif;
  font-size: 26px; line-height: 33.4286px; font-style: italic; font-weight: 400;
  color: #54595f;
}
.testimonial__author {
  margin-top: 41px;
  font-size: 18px; line-height: 30px; font-weight: 700; letter-spacing: 2px;
  color: #a6a6a6;
}
.testimonial__job {
  display: block;
  font-size: 15px; line-height: 30px; font-weight: 700; letter-spacing: 2px;
  color: #a0a0a0;
}
.testimonials__dots {
  margin-top: 41px; padding-left: 15px;
  text-align: center; font-size: 0; line-height: 23px; height: 23px;
}
.testimonials__dots li { display: inline-block; width: 15px; height: 23px; }
.testimonials__dots button {
  display: inline-block; vertical-align: top; margin: 7.5px 7px 0 0;
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 51px;
  background: #393939; opacity: 0.2; cursor: pointer; transition: opacity var(--ease);
}
.testimonials__dots button.is-active { opacity: 1; }

/* ---------- FAQ / Akkordeon ---------- */
.accordion { margin: 0 40px; }
.accordion__item + .accordion__item { margin-top: 28px; }
.accordion__title {
  position: relative; display: flex; align-items: flex-start; width: 100%; height: 58px;
  padding: 0 0 0 78px; text-align: left;
  background: none; border: 0; cursor: pointer;
  font-size: 15px; line-height: normal; font-weight: 400; color: #393939;
}
.accordion__title .label { display: flex; align-items: center; flex: 1; min-height: 58px; }
.accordion__mark {
  position: absolute; left: 0; top: 0; width: 58px; height: 58px;
  border-radius: 45px; background: #243540;
}
.accordion__mark::before, .accordion__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--sage); transform: translate(-50%, -50%);
}
.accordion__mark::before { width: 11px; height: 1px; }
.accordion__mark::after { width: 1px; height: 11px; transition: opacity 0.2s; }
.accordion__item.is-open .accordion__mark::before { background: #f0f2f0; width: 12px; }
.accordion__item.is-open .accordion__mark::after,
.accordion__title:hover .accordion__mark::after { opacity: 0; }
.accordion__content { overflow: hidden; height: 0; padding-left: 82px; transition: height 0.3s ease; }
.accordion__content-inner { padding-bottom: 0; }
.accordion__content-inner p { font-size: 17px; line-height: 30px; margin-bottom: 0; }
.accordion__content-inner ul { list-style: disc inside; margin: 0; }
.accordion__content-inner li { line-height: 23px; }

/* ---------- Kontakt ---------- */
.section--contact { display: flex; padding: 60px 0 110px; }
.contact__info { width: 31.333%; }
.contact__form { width: 68.332%; padding-left: 50px; }
.contact__photo { margin-top: 40px; }
.contact__photo img { width: 150px; height: 150px; margin: 0 auto; }
.contact__info h5 { padding: 0; }
.contact__info-text > * + * { margin-top: 20px; }
.contact__info-text p { font-size: 17px; line-height: 30px; }
.contact__info-text .gap { height: 23px; }

.form p { margin: 0; font-size: 17px; line-height: 30px; }
.form label { display: inline; }
.form input[type="text"],
.form input[type="email"],
.form textarea {
  display: inline-block; width: 100%; margin: 0 0 15px;
  padding: 21px 17px 17px;
  font-size: 15px; line-height: 18px; color: var(--petrol-dark);
  background: var(--mint-light);
  border: 2px solid transparent; border-radius: 0; outline: 0;
  transition: border-color var(--ease), background-color var(--ease);
}
.form input:focus, .form textarea:focus { border-color: var(--sage); }
.form textarea { height: 137px; resize: vertical; }
.form input[type="checkbox"] { width: 13px; height: 13px; margin: 3px 3px 3px 4px; accent-color: var(--petrol-dark); }
.form .field-check { display: block; }
.form .list-item { display: inline-block; margin-left: 17px; }
.form .list-item label > span { padding-left: 5px; }
.form__submit {
  display: inline-block; margin-top: 10px; height: 60px; padding: 0 57px;
  font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: #fff; background: var(--petrol-dark); border: 2px solid var(--petrol-dark); cursor: pointer;
  transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}
.form__submit:hover { background: var(--mint); border-color: var(--mint); }
.form__status:empty { display: none; }
.form__status { margin-top: 12px; font-size: 15px; line-height: 23px; color: var(--petrol-dark); }

/* ---------- Fußbereich ---------- */
.footer-nav { display: flex; justify-content: center; }
.footer-nav ul { display: block; }
.footer-nav li { display: inline; margin-right: 20px; }
.footer-nav a { font-weight: 500; color: var(--petrol); transition: color var(--ease); }
.footer-nav a:hover { color: var(--sage); }
.copyright { text-align: center; padding: 20px 0; }
.copyright p { font-weight: 100; letter-spacing: -0.6px; line-height: 30px; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page { width: var(--grid); margin: 0 auto; padding-top: 44px; }
.page .container__inner { max-width: 1080px; }
.page .text a { color: var(--link); }
.page .text a:hover { color: var(--sage); }
.page .footer-nav { margin-top: 40px; }
.page--datenschutz .footer-nav { margin-top: 30px; margin-bottom: -14px; }
.page .text { display: flow-root; }
.page .text p { margin-bottom: 15px; }
.page .text .link-card { margin: 0 0 15px; line-height: 25px; }

/* ---------- Nach-oben-Button ---------- */
.to-top {
  position: fixed; right: 25px; bottom: 65px; z-index: 10000;
  width: 55px; height: 55px;
  display: flex; align-items: center; justify-content: center;
  background: var(--petrol); color: #fff; font-size: 22px;
  opacity: 0; visibility: hidden; transition: opacity var(--ease), visibility var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  padding: 10px; background: var(--petrol); opacity: 0.97;
}
.cookie[hidden] { display: none; }
.cookie p { text-align: center; font-size: 17px; line-height: 30px; color: #fff; }
.cookie button {
  margin: 0 30px; padding: 1px 6px;
  font-family: Arial, sans-serif; font-size: 13.3333px;
  color: var(--petrol); background: var(--mint);
  line-height: normal; border: 2px outset #767676; cursor: pointer;
}
.cookie a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__text { width: 50%; }
  .hero__text-inner { padding: 0 45px 0 60px; }
  .hero__photo { width: 50%; }
  .section--philosophie { padding-top: 36px; }
  .section--contact { flex-direction: column; }
  .contact__info, .contact__form { width: 100%; }
  .contact__form { padding: 53px 0 0; }
}

@media (max-width: 999px) {
  .sidebar { display: none; }
  .mobile-header { display: block; }
  .content { margin-left: 0; }
  .content__inner--home { padding-top: 44px; }
}

@media (max-width: 767px) {
  .hero { flex-direction: column; }
  .hero__text { width: 100%; }
  .hero__text-inner { padding: 0 30px; }
  .hero__photo { width: 100%; }
  .section--philosophie { padding-top: 89px; }
  .spacer { height: 40px; }
  .pricing { padding: 20px; }
  .accordion { margin: 0 40px; }
}

@media (max-width: 600px) {
  h2 { font-size: 35px; line-height: 45px; }
  .cookie { grid-template-columns: 1fr; justify-items: center; }
  .cookie button { margin: 12px 0; }
}

@media (max-width: 480px) {
  .accordion__title { padding-left: 58px; height: 44px; }
  .accordion__title .label { min-height: 44px; }
  .accordion__mark { width: 44px; height: 44px; }
  .accordion__content { padding-left: 0; }
  .accordion__content-inner { padding-top: 20px; }
}

/* Preistabellen: Anpassungen je Breite */
@media (max-width: 1260px) {
  .price-table__title { padding: 18px 15px 17px; }
}
@media (min-width: 1001px) and (max-width: 1260px) {
  .price-table__desc { padding: 20px 12px 10px; }
}
@media (min-width: 600px) and (max-width: 768px) {
  .price-table__value { font-size: 60px; }
}
@media (max-width: 600px) {
  .price-table { float: none; width: 100%; margin: 0 0 15px; }
  .price-table:last-child { margin-bottom: 15px; }
}
