/* =====================================================================
   tobiasnase.de /coaching-consulting/
   Baut auf start.css auf (Tokens, Kopf, Fuss, Handy-Menue, Karten, FAQ, Kontakt).
   Seitenakzent: Gelb/Amber wie die Leistungskarte, Violett bleibt fuer Knoepfe und Grund.
   Radien wie start.css: Knoepfe 8 px, Karten 14 px, grosse Flaechen 20 px.
   ===================================================================== */

.seite-cc {
  --gelb:       #CA8A04;
  --gelb-tief:  #854D0E;
  --gelb-text:  #A16207;
  --gelb-weich: #FCD34D;
  --gelb-tint:  #FEF7E0;
}

.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Aktuelle Seite in Mega-Menue, Handy-Menue und Fuss */
.mm-eintrag[aria-current="page"] { background: color-mix(in srgb, var(--farbe) 7%, #fff); border-color: color-mix(in srgb, var(--farbe) 24%, #fff); }
.fuss-bereich[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* Handschrift und Unterstreichung auf dieser Seite in Gelb */
.seite-cc .unterstrichen svg { color: var(--gelb); }
.seite-cc .unterstrichen path { stroke-width: 2.2; }

/* ---------- Hero: links Text, rechts echtes Foto mit Strom ---------- */
.cc-hero { padding: clamp(28px, 4.5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow-x: clip; }
.cc-hero::before {
  background-image: linear-gradient(to right, #d1d5db 1px, transparent 1px), linear-gradient(to bottom, #d1d5db 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 0% 0%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 80% at 0% 0%, #000 40%, transparent 85%);
}
.cc-hero-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); align-items: center; }
.brotkrumen { display: flex; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--ink-3); }
.brotkrumen a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cc-hero h1 { font-size: clamp(38px, 3.9vw, 54px); line-height: 1.08; margin-bottom: 22px; text-wrap: wrap; }
.cc-hero h1 .unterstrichen, .cc-hero h1 .nw { white-space: nowrap; }
.cc-hero .lead { max-width: 30em; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; }
.cc-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.js .cc-hero .zeigen { animation: rein .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); opacity: 1; transform: none; transition: none; }

.cc-hero-bild { position: relative; width: 100%; max-width: 440px; margin: 0 auto; padding-top: 30px; }
.cc-hero-bild::before { content: ""; position: absolute; inset: 10% -14% -6% -14%; z-index: -1; background: radial-gradient(ellipse 50% 50% at 60% 50%, color-mix(in srgb, var(--gelb-weich) 45%, transparent) 0, transparent 70%); pointer-events: none; }
.cc-foto { position: relative; }
.cc-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-big); background: var(--tint); }
.cc-foto .strom { inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); }
.notiz--cc { left: -6px; top: -14px; color: var(--gelb-tief); transform: rotate(-4deg); white-space: normal; max-width: 13em; }
.notiz--cc svg { left: calc(100% - 20px); top: 18px; transform: rotate(8deg); }
.cc-werkzeugkarte {
  position: absolute; left: -44px; bottom: 32px; z-index: 1;
  padding: 14px 16px 16px; border-radius: var(--r-card);
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line-mid);
  box-shadow: 0 30px 50px -30px rgba(23, 16, 43, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cc-werkzeugkarte p { font: 600 12.5px/1.2 Manrope, sans-serif; color: var(--ink-3); margin-bottom: 10px; }
.cc-werkzeugkarte ul { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 16px; }
.cc-werkzeugkarte li { display: flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--head); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.cc-logo { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; overflow: hidden; background: var(--farbe, #fff); }
.cc-logo img { width: 16px; height: 16px; object-fit: contain; filter: brightness(0) invert(1); }
.cc-logo--bild img { width: 100%; height: 100%; object-fit: cover; filter: none; }

/* ---------- Problem: Notizzettel wie vom College-Block ---------- */
.cc-problem { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.cc-problem-kopf .abschnitt-lead { margin-bottom: 0; }
.cc-randnotiz { position: relative; display: inline-block; margin-top: 26px; font: 600 clamp(22px, 2.2vw, 27px)/1 Caveat, cursive; color: var(--gelb-tief); transform: rotate(-5deg); }
.cc-randnotiz svg { position: absolute; left: 100%; top: 8px; width: 64px; height: 38px; margin-left: 8px; overflow: visible; }
.cc-zettel {
  position: relative; list-style: none; display: grid; gap: 0;
  padding: 34px clamp(20px, 3vw, 36px) 18px clamp(52px, 6vw, 76px);
  border-radius: var(--r-big); border: 1px solid var(--line-mid);
  background:
    linear-gradient(to right, transparent calc(clamp(40px, 5vw, 60px) - 1px), color-mix(in srgb, var(--gelb) 45%, transparent) calc(clamp(40px, 5vw, 60px) - 1px), color-mix(in srgb, var(--gelb) 45%, transparent) clamp(40px, 5vw, 60px), transparent clamp(40px, 5vw, 60px)),
    repeating-linear-gradient(to bottom, transparent 0 31px, #E6E8EF 31px 32px),
    var(--paper);
  background-position: 0 0, 0 18px, 0 0;
  box-shadow: 0 30px 60px -44px rgba(23, 16, 43, .4);
}
.cc-zettel::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 10px; background: radial-gradient(circle 4px at 50% 50%, var(--tint-weak) 3.5px, var(--line-mid) 4px, transparent 4.5px) 0 0 / 28px 10px repeat-x; pointer-events: none; }
.cc-zettel li { position: relative; display: flex; gap: 14px; padding: 16px 0; font-size: 16.5px; line-height: 1.55; }
.cc-zettel li + li { border-top: 1px dashed var(--line-mid); }
.cc-zettel b { display: block; font: 500 20px/1.25 var(--head); letter-spacing: -.015em; color: var(--ink); margin-bottom: 2px; }
.cc-kreuz { flex: none; width: 26px; height: 26px; margin-top: 2px; overflow: visible; color: var(--gelb-tief); }

/* Handgezeichnete Striche: zeichnen sich beim Einblenden selbst */
.cc-kreuz path, .cc-randnotiz path, .cc-kreis-notiz path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cc-kreuz path { stroke-width: 2.6; }
.ist-da .cc-kreuz path, .cc-randnotiz.ist-da path, .ist-da .cc-kreis-notiz path { animation: kritzeln .6s var(--ease) forwards; }
.ist-da li:nth-child(1) .cc-kreuz path { animation-delay: .4s; }
.ist-da li:nth-child(2) .cc-kreuz path { animation-delay: .6s; }
.ist-da li:nth-child(3) .cc-kreuz path { animation-delay: .8s; }
.ist-da li:nth-child(4) .cc-kreuz path { animation-delay: 1s; }
.ist-da li:nth-child(1) .cc-kreuz path + path { animation-delay: .6s; }
.ist-da li:nth-child(2) .cc-kreuz path + path { animation-delay: .8s; }
.ist-da li:nth-child(3) .cc-kreuz path + path { animation-delay: 1s; }
.ist-da li:nth-child(4) .cc-kreuz path + path { animation-delay: 1.2s; }
.cc-randnotiz.ist-da path { animation-duration: .9s; animation-delay: .5s; }
.cc-randnotiz.ist-da .spitze { animation-delay: 1.3s; animation-duration: .35s; }
.ist-da .cc-kreis-notiz path { animation-duration: 1.2s; animation-delay: .6s; }
.ist-da .cc-kreis-notiz .spitze { animation-delay: 1.7s; animation-duration: .35s; }

/* ---------- Verstaerken: der Kreislauf ---------- */
.cc-kreis { position: relative; }
.cc-kreis ol { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.cc-kreis li { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-card); border: 1px solid var(--line-mid); background: var(--paper); font: 500 19px/1.3 var(--head); letter-spacing: -.015em; color: var(--ink); }
.cc-kreis li:not(:last-child)::after { content: ""; position: absolute; left: 41px; top: 100%; width: 0; height: 18px; border-left: 2px dashed var(--line-mid); }
.cc-kreis-nr { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; font: 600 17px/1 var(--head); color: var(--gelb-tief); background: var(--gelb-tint); border: 1.5px dashed color-mix(in srgb, var(--gelb) 60%, #fff); }
.cc-kreis li:last-child .cc-kreis-nr { color: #fff; background: var(--gelb-tief); border-color: var(--gelb-tief); }
.cc-kreis-notiz { position: relative; margin-top: 16px; color: var(--gelb-tief); }
.cc-kreis-notiz svg { display: none; }
.cc-kreis-notiz span { display: inline-block; font: 600 clamp(24px, 2.4vw, 30px)/1 Caveat, cursive; transform: rotate(-3deg); }

/* ---------- Loesung: zwei Wege ---------- */
.cc-wege { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.cc-weg { --farbe: var(--accent); position: relative; display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--line-mid); border-radius: 22px; background: var(--paper); }
.cc-weg-kopf {
  display: flex; flex-direction: column; gap: 8px; flex: 1;
  padding: clamp(22px, 3vw, 34px); border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--farbe) 22%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--farbe) 8%, #fff) 0%, #fff 75%);
}
.cc-weg-fuer { font: 600 14px/1.3 Manrope, sans-serif; color: color-mix(in srgb, var(--farbe) 70%, var(--ink)); }
.cc-weg h3 { font-size: clamp(28px, 3vw, 36px); }
.cc-weg-kopf > p:not(.cc-weg-fuer) { font-size: 16px; line-height: 1.6; max-width: 32em; }
.cc-liste { display: grid; gap: 12px; margin-top: 18px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--farbe) 18%, #fff); }
.cc-liste li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.cc-liste .ic { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--farbe); }
.cc-weg .link { display: inline-flex; align-items: center; gap: 6px; padding: 16px 16px 12px; font: 600 14.5px/1 Manrope, sans-serif; color: color-mix(in srgb, var(--farbe) 72%, var(--ink)); align-self: flex-start; }
.cc-weg .link .ic { width: 15px; height: 15px; }
.cc-weg .link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ablauf: Schritte aus start.css, Nummern in Gelb ---------- */
.seite-cc .schritt-nr { color: var(--gelb-tief); background: var(--gelb-tint); border-color: color-mix(in srgb, var(--gelb) 60%, #fff); }
.seite-cc .schritt-notiz { color: var(--gelb-tief); }

/* ---------- Beweis: Guides, ClosingHub, Community, Instagram ---------- */
.cc-guides-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.cc-guides-kopf h3 { font-size: 22px; }
.cc-textlink { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1.3 Manrope, sans-serif; color: var(--accent-deep); }
.cc-textlink .ic { width: 16px; height: 16px; }
.cc-textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-guides { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cc-guide { position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px; border-radius: 18px; border: 1px solid var(--line-mid); background: var(--paper); transition: border-color .2s var(--ease); }
.cc-guide:hover { border-color: var(--accent-soft); }
.cc-guide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--tint); }
.cc-guide-text { display: grid; gap: 4px; padding: 14px 10px 12px; padding-right: 34px; }
.cc-guide-text b { font: 500 18px/1.25 var(--head); letter-spacing: -.015em; color: var(--ink); }
.cc-guide-text span { font-size: 14.5px; line-height: 1.5; }
.cc-guide > .ic-pfeil { position: absolute; right: 16px; bottom: 18px; width: 17px; height: 17px; color: var(--accent); }

.cc-belege { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.cc-ch { min-height: 0; justify-content: flex-start; background: var(--verlauf-dunkel); padding-bottom: 0; }
.cc-ch::after { display: none; }
.cc-ch .ch-logo { width: 42px; height: 42px; margin-bottom: 18px; padding: 8px; border-radius: 12px; background: #fff; }
.cc-ch .shot { margin: 28px calc(clamp(24px, 3vw, 34px) * -1) 0 12%; border-radius: 12px 0 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); border-right: 0; border-bottom: 0; box-shadow: var(--shadow-shot); }
.cc-ch .shot img { width: 100%; }
.cc-beleg { --farbe: var(--accent); display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-big); border: 1px solid var(--line-mid); background: radial-gradient(ellipse 90% 70% at 100% 0%, color-mix(in srgb, var(--farbe) 16%, transparent) 0, transparent 70%), var(--paper); }
.cc-beleg h3 { font-size: clamp(24px, 2.4vw, 28px); margin-bottom: 8px; }
.cc-beleg p { font-size: 15.5px; margin-bottom: 22px; }
.cc-beleg .btn { margin-top: auto; }
.cc-beleg-bild { width: 100%; height: 190px; object-fit: cover; object-position: center 30%; border-radius: 12px; margin-bottom: 22px; }
.cc-beleg--insta .faecher { width: 100%; height: 190px; margin: 0 0 22px; }
.cc-beleg--insta .faecher img { width: 104px; }

/* ---------- Angebot: Vergleichstabelle ---------- */
.cc-tabelle-rahmen { border-radius: var(--r-big); border: 1px solid var(--line-mid); background: var(--paper); overflow: hidden; }
.cc-tabelle { width: 100%; border-collapse: collapse; text-align: left; }
.cc-tabelle th, .cc-tabelle td { padding: 20px 24px; vertical-align: top; }
.cc-tabelle thead th { padding-top: 26px; padding-bottom: 18px; font: 500 26px/1.1 var(--head); letter-spacing: -.02em; color: var(--ink); }
.cc-th { display: inline-flex; align-items: center; gap: 12px; }
.cc-tabelle tbody th { width: 22%; font: 600 15px/1.4 Manrope, sans-serif; color: var(--ink); }
.cc-tabelle tbody td { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.cc-tabelle tbody tr { border-top: 1px solid var(--line); }
.cc-tabelle tr > :nth-child(2) { background: color-mix(in srgb, #CA8A04 5%, #fff); }
.cc-tabelle tr > :nth-child(3) { background: color-mix(in srgb, #6C2BF2 4%, #fff); }
.cc-tabelle tbody td a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cc-tabelle tfoot td { padding-top: 8px; padding-bottom: 26px; }

/* ---------- Ab Tablet ---------- */
@media (min-width: 760px) {
  .cc-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-belege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-ch { grid-column: 1 / -1; }
  .cc-kreis ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-kreis li:not(:last-child)::after { display: none; }
}

@media (min-width: 900px) {
  .cc-hero-raster { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
  .cc-hero-bild { margin: 0 0 0 auto; }
  .cc-wege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-problem { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .cc-problem-kopf { position: sticky; top: 100px; }
}

@media (min-width: 1100px) {
  .cc-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Vier Zellen: ClosingHub doppelt breit, daneben Community und Instagram */
  .cc-belege { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cc-ch { grid-column: span 2; }
  /* Kreislauf in einer Reihe, darunter der gezeichnete Rueckweg */
  .cc-kreis ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .cc-kreis li:not(:last-child)::after { display: block; left: 100%; top: 50%; width: 28px; height: 0; border-left: 0; border-top: 2px dashed var(--line-mid); }
  .cc-kreis-notiz { height: 70px; margin-top: 6px; }
  .cc-kreis-notiz svg { display: block; position: absolute; left: 12.5%; right: 12.5%; top: 0; width: 75%; height: 60px; overflow: visible; }
  .cc-kreis-notiz span { position: absolute; left: 50%; top: 34px; transform: translateX(-50%) rotate(-3deg); padding: 0 12px; background: var(--paper); white-space: nowrap; }
}

/* ---------- Handy ---------- */
@media (max-width: 899px) {
  .cc-hero-bild { max-width: 400px; }
  .cc-werkzeugkarte { left: -8px; bottom: 20px; }
}
@media (max-width: 759px) {
  .cc-knoepfe .btn { flex: 1 1 100%; }
  .cc-hero-bild { padding-top: 40px; max-width: 340px; }
  .notiz--cc { left: 0; top: 0; font-size: 21px; max-width: none; white-space: nowrap; }
  .notiz--cc svg { display: none; }
  .cc-werkzeugkarte { left: -12px; bottom: 16px; padding: 12px 12px 14px; }
  .cc-werkzeugkarte ul { gap: 7px 12px; }
  .cc-werkzeugkarte li { font-size: 13px; }
  .cc-logo { width: 24px; height: 24px; border-radius: 7px; }
  .cc-logo img { width: 14px; height: 14px; }
  .cc-randnotiz { margin-top: 18px; }
  .cc-randnotiz svg { display: none; }
  .cc-zettel { padding: 30px 16px 10px 48px; background-position: 0 0, 0 18px, 0 0; }
  .cc-zettel { background:
    linear-gradient(to right, transparent 35px, color-mix(in srgb, var(--gelb) 45%, transparent) 35px, color-mix(in srgb, var(--gelb) 45%, transparent) 36px, transparent 36px),
    repeating-linear-gradient(to bottom, transparent 0 31px, #E6E8EF 31px 32px),
    var(--paper); }
  .cc-zettel li { gap: 10px; font-size: 15.5px; }
  .cc-zettel b { font-size: 18px; }
  .cc-kreuz { position: absolute; left: -38px; top: 18px; width: 22px; height: 22px; }
  .cc-kreis li { font-size: 17px; padding: 14px 16px; }
  .cc-kreis-nr { width: 36px; height: 36px; font-size: 15px; }
  .cc-kreis li:not(:last-child)::after { left: 34px; }
  .cc-ch .shot { margin-left: 8%; }
  /* Guides kompakt: Bild links, Text rechts */
  .cc-guides { gap: 10px; }
  .cc-guide { flex-direction: row; align-items: center; gap: 4px; }
  .cc-guide img { flex: none; width: 92px; aspect-ratio: 1; }
  .cc-guide-text { padding: 6px 30px 6px 10px; }
  .cc-guide-text b { font-size: 16.5px; }
  .cc-guide-text span { font-size: 14px; }
  .cc-guide > .ic-pfeil { right: 12px; bottom: auto; top: 50%; margin-top: -8px; }

  /* Tabelle wird zu zwei Bloecken untereinander */
  .cc-tabelle, .cc-tabelle tbody, .cc-tabelle tr, .cc-tabelle th, .cc-tabelle td { display: block; }
  .cc-tabelle thead, .cc-tabelle tfoot td:empty, .cc-tabelle tfoot td:last-child { display: none; }
  .cc-tabelle tbody tr { padding: 18px 18px 6px; }
  .cc-tabelle tbody tr:first-child { border-top: 0; }
  .cc-tabelle tbody th { width: auto; padding: 0 0 10px; font: 500 20px/1.2 var(--head); letter-spacing: -.015em; }
  .cc-tabelle tbody td { padding: 12px 14px; margin-bottom: 12px; border-radius: 12px; font-size: 15.5px; }
  .cc-tabelle tbody td::before { content: attr(data-weg); display: block; margin-bottom: 4px; font: 600 13px/1.2 Manrope, sans-serif; }
  .cc-tabelle tbody td:nth-of-type(1)::before { color: var(--gelb-tief); }
  .cc-tabelle tbody td:nth-of-type(2)::before { color: var(--accent-deep); }
  .cc-tabelle tfoot tr { padding: 4px 18px 20px; }
  .cc-tabelle tfoot td { padding: 0; background: none; }
  .cc-tabelle tfoot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-kreuz path, .cc-randnotiz path, .cc-kreis-notiz path { stroke-dashoffset: 0; }
}
