/* ==========================================================================
   Château Louis – Folgeseiten 2026
   Know-how · Work · Case · Agency · People · Contact · Impressum/Datenschutz
   Alle Klassen mit Präfix "clp-" → keine Kollision mit dem bestehenden Theme ("cl-").
   Referenz-Layout: 1440 px Breite (Design-Canvas "FINAL"), skaliert über clamp().
   ========================================================================== */

:root {
	/* Farben – greifen auf die Theme-Variablen zurück, falls vorhanden */
	--clp-red: var(--cl-red, #ff0000);
	--clp-dark: #8c090f;
	--clp-rose: #f2b5b0;
	--clp-crown: #c20e1a;
	--clp-grey: #676666;
	--clp-grey-band: #707070;
	--clp-light: #e8e9e9;
	--clp-offwhite: #fafaf7;

	/* Schriften – Namen wie im Adobe-Fonts-Kit (im Web-Projekt unter "CSS" prüfen) */
	--clp-font: var(--cl-font, "stolzl", Arial, sans-serif);
	/* Hyperspace Race XWide Bold – am 30.09. direkt in der Font-Datei des Kits (ozi2cld) geprüft:
	   Adobe liefert EINE variable Schrift "hyperspace-race-variable" (Gewicht 200–900, Breite 50–200,
	   Kursiv 0–12). Die benannte Variante "XWide Bold" = Gewicht 700 + Breite 200. Eine eigene
	   XWide-Familie gibt es nicht. Die Werte kommen aus style.css (--cl-font-hl usw.). */
	--clp-font-hl: var(--cl-font-hl, "hyperspace-race-variable", "stolzl", Arial, sans-serif);
	--clp-hl-weight: var(--cl-hl-weight, 700);
	--clp-hl-width: var(--cl-hl-width, "wdth" 200);

	/* Einzüge wie auf der Work-Seite: 208 px links / 144 px rechts bei 1440 px */
	/* 01.10.: gleiche Kante wie Startseite und Footer (= linke Ecke des Logos), vorher 208/144px @1440 */
	--clp-indent-l: var(--cl-edge, clamp(26px, 8.07vw, 155px));
	--clp-indent-r: var(--cl-edge-r, clamp(20px, 7.29vw, 140px));
}

/* ---------- Grundgerüst ---------- */
.clp-page {
	font-family: var(--clp-font);
	color: var(--clp-grey);
	-webkit-font-smoothing: antialiased;
}
.clp-page *,
.clp-page *::before,
.clp-page *::after { box-sizing: border-box; }
.clp-page p { margin: 0; }
.clp-indent {
	padding-left: var(--clp-indent-l);
	padding-right: var(--clp-indent-r);
}

/* ---------- Typografie ---------- */
.clp-h1,
.clp-subline,
.clp-h2,
.clp-h3,
.clp-accordion__title,
.clp-prose h2,
.clp-prose h3 {
	font-family: var(--clp-font-hl);
	font-weight: var(--clp-hl-weight);
	font-variation-settings: var(--clp-hl-width);
	text-transform: none; /* 0.36 (07.10.): gemischte Schreibweise statt Versalien (Claudia) */
}
.clp-h1 {
	margin: 0;
	/* 30.09.: Minimum von 34 auf 26 px gesenkt – in der XWide ist z. B. "LUDWIGSBURG" bei 34 px
	   breiter als ein Handy-Bildschirm (gemessen mit der echten Kit-Schrift). */
	font-size: clamp(26px, 4.3vw, 62px);
	hyphens: auto;
	line-height: 1.1;
	letter-spacing: 0.01em;
	color: var(--clp-red);
	overflow-wrap: anywhere;
}
.clp-subline {
	font-size: clamp(13px, 1.18vw, 17px);
	line-height: 1.3;
	letter-spacing: 0.04em;
	color: var(--clp-red);
}
.clp-h2 {
	margin: 0;
	font-size: clamp(18px, 1.8vw, 26px);
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--clp-offwhite);
}
.clp-h2--grey { color: var(--clp-grey); }
.clp-h3 {
	margin: 4px 0 0;
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.5;
	letter-spacing: 0.03em;
	color: #fff;
}
.clp-lead {
	max-width: 1060px;
	font-size: clamp(19px, 1.875vw, 27px);
	line-height: 1.48;
	font-weight: 300;
	color: var(--clp-grey);
}
.clp-lead + .clp-lead { margin-top: 1.48em; }
.clp-label {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--clp-red);
}

/* ---------- Seitenkopf ---------- */
.clp-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	padding-top: clamp(140px, 15.3vw, 220px);
	padding-bottom: clamp(48px, 5vw, 72px);
	color: var(--clp-red);
}
.clp-arrow-down { color: var(--clp-red); }
.clp-back {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	color: var(--clp-grey);
	text-decoration: none;
}
.clp-back .clp-arrow { transform: scaleX(-1); }
.clp-back:hover { color: var(--clp-red); }

/* ---------- Intro-Text ---------- */
.clp-intro { padding-bottom: clamp(48px, 5vw, 72px); }
.clp-intro--grey {
	background: var(--clp-grey-band);
	/* Text bewusst etwas tiefer "aufgehängt" (oben mehr Luft als unten) */
	padding-top: clamp(72px, 8.3vw, 120px);
	padding-bottom: var(--cl-band-bottom, 56px); /* 01.10.: einheitlich */
}
.clp-intro--grey p {
	max-width: 1060px;
	font-size: clamp(19px, 1.875vw, 27px);
	line-height: 1.48;
	font-weight: 300;
	color: var(--clp-offwhite);
}

/* ---------- Krönchen-Link ----------
   01.10. (2. Runde): eigene .clp-crownlink-Variante entfernt – die Unterseiten nutzen jetzt
   den Krönchen-Link der Startseite (.cl-link-arrow in style.css), siehe clp_crown_link(). */

/* ---------- Farbbalken (Text + Krönchen-Link) ---------- */
.clp-band {
	display: flex;
	justify-content: space-between;
	align-items: center; /* 01.10. (2. Runde): Text und Krönchen-Link zueinander wie im Contact-Band der Startseite (Referenz) */
	gap: 40px;
	box-sizing: border-box;
	min-height: clamp(120px, 10.83vw, 208px);
	/* 01.10. (2. Runde): gleiche Abstände wie die Bänder der Startseite */
	padding-top: var(--cl-band-top, 120px);
	padding-bottom: calc(var(--cl-band-bottom, 56px) - var(--cl-icon-air, 0px));
}
.clp-band__text {
	margin: 0;
	font-size: var(--cl-band-text, clamp(26px, 2.708vw, 52px)); /* 01.10.: gleiche Größe wie Startseite (Referenz) */
	line-height: 1.33;
	font-weight: 300;
}
.clp-band--red  { background: var(--clp-red);  color: #fff; }
.clp-band--dark { background: var(--clp-dark); color: #fff; }
/* 01.10. (2. Runde): wie das People-Band der Startseite hellgrau statt rosé, Text grau, Link dunkelrot */
.clp-band--rose { background: var(--clp-light); color: var(--clp-grey); }
/* (30.09.-Regel "Hover → Rosé" auf roten Bändern ersetzt durch die einheitliche Regel oben) */

/* ---------- Know-how: Akkordeon ---------- */
.clp-accordion {
	padding-top: clamp(64px, 7.8vw, 112px);
	padding-bottom: clamp(72px, 8.3vw, 120px);
}
.clp-accordion__item { border-top: 1px solid var(--clp-light); }
.clp-accordion__item:last-child { border-bottom: 1px solid var(--clp-light); }
.clp-accordion__head {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.5vw, 36px);
	padding: 26px 0;
	cursor: pointer;
	list-style: none;
}
.clp-accordion__head::-webkit-details-marker { display: none; }
.clp-accordion__title {
	flex-grow: 1;
	min-width: 0;
	hyphens: auto; /* 30.09.: lange Wörter wie "Krisenkommunikation" trennen statt überlaufen (Handy) */
	overflow-wrap: break-word;
	font-size: clamp(15px, 1.4vw, 20px);
	line-height: 1.5;
	letter-spacing: 0.03em;
	color: var(--clp-grey);
	transition: color .2s;
}
.clp-accordion__item[open] .clp-accordion__title,
.clp-accordion__head:hover .clp-accordion__title { color: var(--clp-red); }
.clp-accordion__icon {
	position: relative;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}
.clp-accordion__icon::before,
.clp-accordion__icon::after {
	content: "";
	position: absolute;
	background: var(--clp-red);
}
.clp-accordion__icon::before { left: 0; top: 13px; width: 28px; height: 2px; }
.clp-accordion__icon::after  { left: 13px; top: 0; width: 2px; height: 28px; transition: transform .2s; }
.clp-accordion__item[open] .clp-accordion__icon::after { transform: scaleY(0); }
.clp-accordion__text {
	max-width: 820px;
	margin: 0 0 36px clamp(0px, 6.7vw, 96px) !important;
	font-size: clamp(17px, 1.53vw, 22px);
	line-height: 1.55;
	font-weight: 300;
}

/* Nummern-Badge (gekipptes Quadrat) */
.clp-badge {
	position: relative;
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.clp-badge__frame {
	position: absolute;
	inset: 0;
	border: 1px solid var(--clp-red);
	transform: rotate(20deg);
}
.clp-badge__num {
	position: relative;
	font-size: 20px;
	font-weight: 400;
	color: var(--clp-red);
}

/* ---------- Work: Filter + Kacheln ---------- */
.clp-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 36px;
	padding-bottom: 24px;
}
.clp-filter button {
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--clp-font);
	font-size: 17px;
	font-weight: 400;
	color: var(--clp-grey);
	cursor: pointer;
}
.clp-filter button:hover,
.clp-filter button.is-active {
	color: var(--clp-red);
	text-decoration: underline;
	text-underline-offset: 6px;
}
.clp-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	justify-items: center;
	column-gap: clamp(40px, 13.9vw, 200px);
	row-gap: clamp(120px, 15.3vw, 220px);
	padding: clamp(96px, 10.4vw, 150px) clamp(24px, 11.1vw, 160px) clamp(120px, 13.9vw, 200px);
}
.clp-tile {
	position: relative;
	display: block;
	width: min(100%, 460px);
	aspect-ratio: 1;
	color: var(--clp-grey);
	text-decoration: none;
}
.clp-tile[hidden] { display: none; }
.clp-tile__title {
	position: absolute;
	left: 11.3%;
	top: 8.7%;
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.4;
	font-family: var(--clp-font); /* Projektnamen bewusst in Stölzl (Claudia, 01.10.) */
	font-weight: 400;
	font-variation-settings: normal;
	white-space: nowrap;
}
.clp-tile__photo {
	position: absolute;
	left: 8%;
	top: 17.8%;
	width: 81.5%;
	height: 69.6%;
	background: var(--clp-light);
	overflow: hidden;
}
.clp-tile__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.clp-tile__frame {
	position: absolute;
	inset: -2%;
	border: 1px solid var(--clp-red);
	transform: rotate(20deg);
	pointer-events: none;
}
a.clp-tile:hover .clp-tile__title { color: var(--clp-red); }
a.clp-tile:hover .clp-tile__photo img { transform: scale(1.03); }

/* ---------- Case ---------- */
.clp-page--case .clp-head { gap: 20px; padding-top: clamp(130px, 13.9vw, 200px); }
.clp-page--case .clp-h1 { margin-top: 12px; }
.clp-case-hero {
	min-height: 240px;
	aspect-ratio: 2 / 1;
	background: var(--clp-light);
	overflow: hidden;
}
.clp-case-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clp-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 48px;
	margin: 0;
	padding-top: 64px;
	padding-bottom: 24px;
}
.clp-facts dt {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--clp-red);
}
.clp-facts dd {
	margin: 8px 0 0;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 300;
}
.clp-quote {
	display: flex;
	flex-direction: column;
	gap: 32px;
	background: var(--clp-dark);
	color: var(--clp-rose);
	padding-top: clamp(72px, 7.8vw, 112px);
	padding-bottom: var(--cl-band-bottom, 56px); /* 01.10.: vereinheitlicht (vorher 96px) */
}
.clp-quote blockquote { margin: 0; }
.clp-quote blockquote p {
	max-width: 1000px;
	font-size: clamp(22px, 2.2vw, 32px);
	line-height: 1.44;
	font-weight: 300;
	color: #fff;
}
.clp-quote__person { font-size: 17px; }

/* ---------- Fließtext-Bereich aus dem Editor (Case + Rechtliches) ----------
   Jede H2 steht links, alle folgenden Absätze/Listen rechts daneben. */
.clp-prose {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	column-gap: 64px;
	padding-top: 24px;
	padding-bottom: clamp(96px, 10vw, 144px);
}
.clp-page .clp-prose > * { grid-column: 2; margin: 0 0 14px; max-width: 920px; }
.clp-page .clp-prose > h2 {
	grid-column: 1;
	margin: 0;
	padding-top: 36px;
	border-top: 1px solid var(--clp-light);
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: 0.03em;
	color: var(--clp-red);
}
/* erstes Element nach einer H2 bekommt ebenfalls Linie + Abstand, damit beide Spalten bündig sind */
.clp-prose > h2 + * {
	padding-top: 36px;
	border-top: 1px solid var(--clp-light);
	margin-top: 0;
}
.clp-prose p,
.clp-prose li {
	font-size: 18px;
	line-height: 1.6;
	font-weight: 300;
	color: var(--clp-grey);
}
.clp-prose ul { padding-left: 22px; }
.clp-prose h3 {
	margin: 12px 0 4px;
	font-size: 18px;
	color: var(--clp-grey);
}
.clp-prose a { color: var(--clp-red); }
/* Bilder, Galerien, Videos im Case laufen über beide Spalten */
.clp-prose > figure,
.clp-prose > .wp-block-image,
.clp-prose > .wp-block-gallery,
.clp-prose > .wp-block-embed,
.clp-prose > .wp-block-video,
.clp-prose > .wp-block-columns {
	grid-column: 1 / -1;
	max-width: none;
	margin: 48px 0;
}
.clp-prose img { max-width: 100%; height: auto; display: block; }
.clp-prose--case p { font-size: clamp(18px, 1.67vw, 24px); line-height: 1.58; }
.clp-prose--case > h2 { padding-top: 48px; font-size: clamp(14px, 1.18vw, 17px); }
.clp-prose--case > h2 + * { padding-top: 48px; }

/* ---------- Agency ---------- */
.clp-agency-name {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	column-gap: 96px;
	align-items: center;
	padding-bottom: clamp(64px, 7.2vw, 104px);
}
.clp-crownsquare {
	position: relative;
	width: 220px;
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--clp-crown);
}
.clp-crownsquare__frame {
	position: absolute;
	inset: 0;
	border: 4.8px solid currentColor;
	transform: rotate(20deg);
}
.clp-crownsquare .clp-crown { position: relative; }
.clp-principles {
	display: flex;
	flex-direction: column;
	gap: clamp(32px, 3.75vw, 54px); /* 01.10.: Headline-Abstand eine halbe Zeile kleiner (vorher 72px) */
	background: var(--clp-dark);
	padding-top: clamp(72px, 7.8vw, 112px);
	padding-bottom: calc(var(--cl-band-bottom, 56px) + 24px); /* 01.10.: vereinheitlicht (vorher 120px) */
}
.clp-principles__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px 96px;
}
.clp-principles__item { display: flex; flex-direction: column; gap: 14px; }
.clp-principles__num { font-size: 20px; font-weight: 400; color: #ff8a8a; }
.clp-principles__item p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; font-weight: 300; color: var(--clp-light); }

/* ---------- People ---------- */
.clp-team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 96px 72px;
	padding-top: 96px;
	padding-bottom: 120px;
}
.clp-team__item { margin: 0; display: flex; flex-direction: column; gap: 28px; }
.clp-team__photo {
	width: 90%;
	max-width: 270px;
	aspect-ratio: 1;
	margin: 12% 0 6% 5%;
	background: var(--clp-light);
	overflow: hidden;
}
.clp-team__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clp-tilt-right .clp-team__photo { transform: rotate(20deg); }
.clp-tilt-left .clp-team__photo { transform: rotate(-20deg); }
.clp-team figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.clp-team__name { font-size: 22px; font-weight: 400; }
.clp-team__role { font-size: 17px; font-weight: 300; }

/* ---------- Contact ---------- */
.clp-reasons {
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 2.8vw, 40px); /* 01.10.: Headline-Abstand eine halbe Zeile kleiner (vorher 56px) */
	background: var(--clp-dark);
	padding-top: clamp(72px, 7.2vw, 104px);
	padding-bottom: var(--cl-band-bottom, 56px); /* 01.10.: vereinheitlicht (vorher 112px) */
}
.clp-reasons__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 80px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.clp-reasons__list li {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	padding: 26px 0;
	border-top: 1px solid rgba(250, 250, 247, .25);
	color: var(--clp-offwhite);
	font-size: clamp(18px, 1.53vw, 22px);
	line-height: 1.45;
	font-weight: 300;
}
.clp-reasons__list li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(250, 250, 247, .25); }
.clp-reasons__list .clp-crown { flex-shrink: 0; margin-top: 7px; }
.clp-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	column-gap: 112px;
	align-items: start;
	padding-top: clamp(80px, 8.3vw, 120px);
	padding-bottom: clamp(96px, 9.4vw, 136px);
}
.clp-contact__form { display: flex; flex-direction: column; gap: 32px; } /* 01.10.: Headline-Abstand kleiner (vorher 44px) */
.clp-contact__aside {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-top: 92px;
}
.clp-contact__aside > div { display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 1.55; font-weight: 300; }
.clp-contact__aside a { color: var(--clp-grey); text-decoration: none; font-size: 20px; }
.clp-contact__aside a:hover { color: var(--clp-red); }
.clp-note { padding: 16px; border: 1px dashed var(--clp-red); font-size: 15px; }

/* Contact Form 7 im Stil des Layouts */
.clp-contact .wpcf7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.clp-contact .wpcf7-form > p { margin: 0; }
/* 01.10.: Contact Form 7 packt alle Felder in EINEN Absatz – dadurch lagen sie zusammen in einer
   halben Spalte (Linien + Textfeld zu schmal). display:contents macht die Felder wieder zu
   eigenen Rasterzellen; die automatischen Zeilenumbrüche werden ausgeblendet. */
.clp-contact .wpcf7-form > p,
.clp-contact .wpcf7-form .clp-cf-full > p { display: contents; }
.clp-contact .wpcf7-form br { display: none; }
.clp-contact .wpcf7-form-control-wrap { display: block; width: 100%; }
.clp-contact .wpcf7-acceptance label { flex-direction: row; align-items: flex-start; gap: 14px; font-weight: 300; }
.clp-contact .wpcf7-acceptance input { flex-shrink: 0; margin: 2px 0 0; }
.clp-contact .wpcf7-list-item { margin: 0; }
.clp-contact .wpcf7-form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 400; }
.clp-contact .clp-cf-full { grid-column: 1 / -1; }
.clp-contact input[type="text"],
.clp-contact input[type="email"],
.clp-contact input[type="tel"] {
	width: 100%;
	height: 52px;
	padding: 0;
	border: 0;
	border-bottom: 1.5px solid var(--clp-grey-band);
	background: transparent;
	font-family: var(--clp-font);
	font-size: 20px;
	color: var(--clp-grey);
}
.clp-contact textarea {
	width: 100%;
	height: 180px;
	padding: 16px;
	border: 1.5px solid var(--clp-grey-band);
	background: transparent;
	font-family: var(--clp-font);
	font-size: 20px;
	color: var(--clp-grey);
	resize: vertical;
}
.clp-contact input:focus,
.clp-contact textarea:focus { outline: 2px solid var(--clp-red); outline-offset: 2px; }
.clp-contact .wpcf7-acceptance { font-size: 16px; font-weight: 300; }
.clp-contact .wpcf7-acceptance input { accent-color: var(--clp-dark); width: 22px; height: 22px; }
.clp-contact .wpcf7-submit {
	height: 64px;
	padding: 0 32px;
	border: 0;
	background: var(--clp-dark);
	color: #fff;
	font-family: var(--clp-font);
	font-size: 20px;
	font-weight: 400;
	cursor: pointer;
}
.clp-contact .wpcf7-submit:hover { background: var(--clp-red); }

/* ---------- Tablet / Mobil ---------- */
@media (max-width: 1100px) {
	.clp-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.clp-contact { grid-template-columns: 1fr; row-gap: 48px; }
	.clp-contact__aside { padding-top: 0; flex-direction: row; flex-wrap: wrap; gap: 32px 64px; }
}
@media (max-width: 900px) {
	.clp-band { flex-direction: column; align-items: flex-start; gap: 28px; }
	.clp-tiles { grid-template-columns: 1fr; }
	.clp-agency-name { grid-template-columns: 1fr; row-gap: 56px; }
	.clp-crownsquare { width: 160px; height: 160px; margin-left: 30px; }
	.clp-crownsquare .clp-crown { width: 90px; height: auto; }
	.clp-principles__grid,
	.clp-reasons__list { grid-template-columns: 1fr; }
	.clp-reasons__list li:nth-last-child(2) { border-bottom: 0; }
	.clp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.clp-prose { grid-template-columns: 1fr; }
	.clp-prose > h2 { grid-column: 1; }
	.clp-prose > * { grid-column: 1; }
	.clp-prose > h2 + * { padding-top: 12px; border-top: 0; }
	.clp-contact .wpcf7-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.clp-team { grid-template-columns: 1fr; justify-items: start; }
	.clp-badge { width: 44px; height: 44px; }
	.clp-badge__num { font-size: 16px; }
	.clp-accordion__text { margin-left: 0 !important; }
	.clp-accordion__title { font-size: 14px; }
	.clp-accordion__head { gap: 14px; }
}

/* ==========================================================================
   0.21 (05.10.): Work-Kacheln – 3 nebeneinander, Bild exakt quadratisch
   und mit allen vier Ecken am roten, um 20° gedrehten Rahmen.
   Geometrie: Rahmen = Kachel + 2 % je Seite (Seite 1,04), um 20° gedreht.
   Größtes achsgerades Quadrat darin: 1,04 / (cos20° + sin20°) = 0,8114
   → Bild 81,14 % breit/hoch, mittig (Rand 9,43 %). Der Rahmen ragt je Seite
   16,7 % der Kachel über – Abstände und Ränder sind darauf abgestimmt,
   sodass der äußerste Rahmen links genau an der Textkante (155 px) sitzt.
   ========================================================================== */
.clp-tiles {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-items: stretch;
	column-gap: 9.375vw;
	row-gap: 11vw;
	padding: clamp(110px, 10.4vw, 200px) calc(var(--clp-indent-r) + 3.3vw) clamp(130px, 13.9vw, 260px) calc(var(--clp-indent-l) + 3.3vw);
}
.clp-tile { width: 100%; max-width: none; }
.clp-tile__photo {
	left: 9.43%;
	top: 9.43%;
	width: 81.14%;
	height: 81.14%;
	aspect-ratio: 1;
}
.clp-tile__photo img { object-fit: cover; object-position: center; }
/* Projektname sitzt im Dreieck zwischen Rahmenspitze und Bildoberkante */
.clp-tile__title {
	left: calc(13% + 0.35em); /* + ein Leerzeichen Luft zum Rahmen (Claudia, 05.10.) */
	top: auto;
	bottom: calc(100% - 9.43% + 0.4em);
	max-width: calc(64% - 0.35em);
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: clamp(14px, 1.05vw, 20px);
	line-height: 1.2;
}
@media (max-width: 1100px) {
	.clp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14vw; row-gap: 16vw; padding-left: calc(var(--clp-indent-l) + 5vw); padding-right: calc(var(--clp-indent-r) + 5vw); }
	.clp-tile__title { font-size: clamp(14px, 1.7vw, 18px); }
}
@media (max-width: 900px) {
	.clp-tiles { grid-template-columns: 1fr; row-gap: 26vw; padding-left: 16vw; padding-right: 16vw; }
	.clp-tile__title { font-size: clamp(14px, 3.4vw, 18px); }
}

/* ==========================================================================
   Agency – Fotowand (NEU 0.30, 07.10.)
   Zwei gegenläufige Reihen, randlos. Inhalte: Fotos/GIFs/Videos, die auf der
   Seite „Agency“ im Editor eingefügt sind (inc/agency-media.php).
   Linien = Abstand zwischen den Kacheln (--mw-gap), Weiß = Seitenhintergrund.
   ========================================================================== */
.clp-mw {
	--mw-h: clamp(150px, 19vw, 380px); /* Reihenhöhe: 380 px @1920 */
	display: flex;
	flex-direction: column;
	gap: var(--mw-gap, 6px);
	overflow: hidden;
	background: var(--cl-bg, #fff);
	padding-bottom: var(--cl-band-top, clamp(56px, 8.33vw, 160px));
}
.clp-mw__row { overflow: hidden; }
.clp-mw__track,
.clp-mw__copy {
	display: flex;
	gap: var(--mw-gap, 6px);
	width: max-content;
}
.clp-mw__track {
	animation: clp-mw-run var(--mw-dur, 60s) linear infinite;
	will-change: transform;
}
.clp-mw__row--rev .clp-mw__track { animation-direction: reverse; }
.clp-mw.is-hover .clp-mw__track, /* 0.31: statt :hover – hält erst bei bewegter Maus, nicht beim Darüberscrollen */
.clp-mw.is-offscreen .clp-mw__track { animation-play-state: paused; }
@keyframes clp-mw-run {
	from { transform: translateX(0); }
	to   { transform: translateX(calc(-50% - var(--mw-gap, 6px) / 2)); }
}
.clp-mw__item {
	flex: 0 0 auto;
	height: var(--mw-h);
	width: calc(var(--mw-h) * var(--r, 1));
	overflow: hidden;
	background: var(--clp-light, #e8e9e9);
}
.clp-mw__item img,
.clp-mw__item video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (max-width: 700px) {
	.clp-mw { --mw-h: 150px; }
}
/* „Bewegung reduzieren“: Reihen stehen, lassen sich seitlich wischen */
@media (prefers-reduced-motion: reduce) {
	.clp-mw__track { animation: none; }
	.clp-mw__row { overflow-x: auto; }
	.clp-mw__copy { display: none; }
}

/* ==========================================================================
   0.32 (07.10.) – Roter Seitenkopf (XD „Website_neu_Lay07_Header_Vorschlaege“)
   Know-how · Agency · People · Contact · Work. Fläche 1920 × 1077 (16:9),
   Seitenwort als SVG mit der Geometrie aus der XD (inc/folgeseiten.php, clp_xhead).
   Logo + Burger schalten auf Rot automatisch auf Weiß (assets/menu.js).
   ========================================================================== */
.clp-xhead {
	position: relative;
	background: var(--clp-red);
	aspect-ratio: 1920 / 1077;
	min-height: 340px; /* Handy: nicht zu flach – Wort bleibt unten links verankert und läuft rechts aus */
	width: 100%;
	overflow: hidden;
}
.clp-xhead__word {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: calc(100% - var(--xh-pad, 0px));
	display: block;
	overflow: hidden;
}
.clp-xhead__word text {
	fill: #fff;
	font-family: var(--clp-font-hl);
	font-kerning: normal;
}
/* sichtbarer Titel ist das SVG; die H1 bleibt für Google/Screenreader im Code */
.clp-xhead__title {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
/* 0.34: Subline + Pfeil IN der roten Fläche unter dem großen Wort, weiß, linke Textkante.
   Höhe kommt je Seite aus inc/folgeseiten.php (--sub = Anteil der Wort-Fläche). */
.clp-xhead-sub {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	top: calc((100% - var(--xh-pad, 0px)) * var(--sub, .7));
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(10px, 1.04vw, 20px);
}
/* Handy: unten 60 px zusätzliche rote Fläche, damit Subline + Pfeil nicht anstoßen */
@media (max-width: 720px) {
	.clp-xhead { --xh-pad: 60px; min-height: 400px; }
}
.clp-xhead-sub .clp-subline,
.clp-xhead-sub .clp-arrow-down { color: #fff; }


/* 0.35 (07.10.): Text direkt unter der roten Fläche auf WEISS bekommt oben denselben Abstand
   wie der Text im grauen Band auf Know-how (vorher 0 – Text klebte an der roten Fläche). */
.clp-xhead + .clp-intro:not(.clp-intro--grey),
.clp-xhead + .clp-agency-name {
	padding-top: clamp(72px, 8.3vw, 120px);
}

/* 0.38 (08.10.): People – echte Fotos als fertige Kompositionen (gekipptes Quadrat im Bild),
   daher ohne eigenen Hintergrund, ohne Drehung, ohne Beschnitt. Platzhalter bleiben graue
   Quadrate, jetzt alle in dieselbe Richtung gekippt (+20°, wie die Quadrate in den Fotos). */
.clp-team__item--foto .clp-team__photo {
	width: 100%;
	max-width: 340px;
	margin: 0;
	background: none;
	overflow: visible;
	transform: none;
}
.clp-team__item--foto .clp-team__photo img { object-fit: contain; }
/* Platzhalter (noch kein Foto): gleiche Box wie ein Foto, darin ein graues Quadrat in Größe und
   Kippung der Farbquadrate aus den Fotos – damit Namen in einer Reihe auf gleicher Höhe stehen. */
.clp-team__item:not(.clp-team__item--foto) .clp-team__photo {
	position: relative;
	width: 100%;
	max-width: 340px;
	margin: 0;
	background: none;
	overflow: visible;
	transform: none;
}
.clp-team__item:not(.clp-team__item--foto) .clp-team__photo::before {
	content: "";
	position: absolute;
	inset: 20%;
	background: var(--clp-light);
	transform: rotate(20deg);
}

/* ---------- 0.38 (08.10.): Suchergebnisse ---------- */
.clp-search { padding-bottom: clamp(64px, 7.3vw, 140px); }
.clp-search .cl-search { color: var(--clp-grey); margin-bottom: clamp(32px, 3.6vw, 56px); }
.clp-search .cl-search:focus-within { color: var(--clp-red); border-bottom-color: var(--clp-red); }
.clp-search .cl-search__input::-webkit-search-cancel-button { filter: none; }
.clp-search__count { font-size: clamp(16px, 1.15vw, 20px); font-weight: 300; margin-bottom: 24px !important; }
.clp-search__list { list-style: none; margin: 0; padding: 0; max-width: 1060px; border-top: 1px solid var(--clp-light); }
.clp-search__item { border-bottom: 1px solid var(--clp-light); }
.clp-search__link {
	display: flex; flex-direction: column; gap: 6px;
	padding: clamp(18px, 1.8vw, 28px) 0;
	color: var(--clp-grey); text-decoration: none;
}
.clp-search__title {
	font-family: var(--clp-font-hl);
	font-weight: var(--clp-hl-weight);
	font-variation-settings: var(--clp-hl-width);
	font-size: clamp(18px, 1.6vw, 26px);
	line-height: 1.3;
	color: var(--clp-grey);
	transition: color .2s;
}
.clp-search__link:hover .clp-search__title,
.clp-search__link:focus-visible .clp-search__title { color: var(--clp-red); }
.clp-search__snippet { font-size: clamp(15px, 1.05vw, 18px); line-height: 1.55; font-weight: 300; }
.clp-search__snippet mark { background: none; color: var(--clp-red); font-weight: 400; }
/* Sprungziele aus der Suche (#anker) nicht unter dem festen Logo verstecken */
.clp-accordion__item, .clp-principles__item, .clp-team__item { scroll-margin-top: clamp(100px, 10vw, 200px); }

/* 0.44 (13.10.): Fließtext der Folgeseiten im selben Verhältnis kleiner wie HOME
   (Regler --cl-text-scale in style.css; Bänder laufen automatisch über --cl-band-text mit). */
.clp-lead,
.clp-intro--grey p { font-size: calc(clamp(19px, 1.875vw, 27px) * var(--cl-text-scale, 1)); }
/* 0.44: hellgraue Streifen („Wer hinter Château Louis steht“, „Mehr über unsere Haltung“) kleiner
   als die roten Contact-Streifen – wie der graue Team-Streifen auf HOME (33 px @1920). */
.clp-band--rose .clp-band__text { font-size: var(--cl-band-text-soft, var(--cl-band-text)); }


/* 0.46 (14.10.): Work-Seite – Arbeitsbeispiele als Animation im roten Seitenkopf (assets/work-reel.js).
   Canvas liegt unter Wort und Subline; nach dem Intro fallen Wort + Subline nach unten weg. */
.clp-xhead__reel {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.clp-xhead--work .clp-xhead__word,
.clp-xhead--work .clp-xhead-sub {
	transition: transform .45s cubic-bezier(.55, 0, 1, .45), opacity .45s ease-in, visibility 0s linear .45s;
}
.clp-xhead--work.is-reel-word-out .clp-xhead__word { transform: translateY(45%); opacity: 0; visibility: hidden; }
.clp-xhead--work.is-reel-word-out .clp-xhead-sub { transform: translateY(160px); opacity: 0; visibility: hidden; }
.clp-xhead__reel-pause {
	position: absolute;
	z-index: 2;
	right: clamp(12px, 1.6vw, 30px);
	bottom: clamp(12px, 1.6vw, 30px);
	width: 40px;
	height: 40px;
	padding: 10px;
	border: 0;
	border-radius: 50%;
	background: rgba(26, 0, 0, .35);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
}
.clp-xhead.is-reel .clp-xhead__reel-pause { opacity: 1; pointer-events: auto; }
.clp-xhead__reel-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.clp-xhead__reel-pause svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.clp-xhead__reel-pause .i-play,
.clp-xhead__reel-pause[aria-pressed="true"] .i-pause { display: none; }
.clp-xhead__reel-pause[aria-pressed="true"] .i-play { display: inline; }
/* Galerie, aus der die Animation ihre Bilder holt, auf der Seite nie zeigen */
.wp-block-gallery.is-style-cl-workreel { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	.clp-xhead__reel, .clp-xhead__reel-pause { display: none; }
}

/* 0.51D (19.10.): Know-how – Leistungs-Animation als schmaler, randabfallender Streifen zwischen Einleitung
   und Akkordeon (0.51A war ein volles 16:9-Band – zu wuchtig). 4:1 = 480 px hoch bei 1920 Breite.
   Schmaler/breiter: nur aspect-ratio ändern (z. B. 5 / 1 = 384 px, 3 / 1 = 640 px). Handy: mind. 150 px. */
.clp-knowhow-anim {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 1;
	min-height: 150px;
	background: #FF0000;
	overflow: hidden;
}
.clp-knowhow-anim iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.clp-knowhow-anim__pause {
	position: absolute; z-index: 2;
	right: clamp(10px, 1.2vw, 24px); bottom: clamp(10px, 1.2vw, 24px);
	width: 34px; height: 34px; padding: 9px; border: 0; border-radius: 50%;
	background: rgba(26, 0, 0, .35); color: #fff; cursor: pointer;
}
.clp-knowhow-anim__pause[hidden] { display: none; }
.clp-knowhow-anim__pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.clp-knowhow-anim__pause svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.clp-knowhow-anim__pause .i-play,
.clp-knowhow-anim__pause[aria-pressed="true"] .i-pause { display: none; }
.clp-knowhow-anim__pause[aria-pressed="true"] .i-play { display: inline; }

/* 0.51E (19.10.): Work-Animation läuft einmal (Fassung „Tapete + Zusammenschieben“, assets/work-reel.js).
   Am Ende kommen „Work“ und Subline von unten zurück und bleiben stehen; Pause-Knopf verschwindet. */
.clp-xhead--work.is-reel-word-back .clp-xhead__word,
.clp-xhead--work.is-reel-word-back .clp-xhead-sub {
	transition: transform .55s cubic-bezier(.2, .7, .3, 1), opacity .55s ease-out, visibility 0s;
}
.clp-xhead.is-reel-done .clp-xhead__reel-pause { opacity: 0; pointer-events: none; }

/* ==========================================================================
   0.54 (02.11.2026) – Work-Seite: Band mit Arbeiten statt Kopf-Animation,
   Kacheln ohne roten Rahmen (größer, enger), Leistungen als Schlagworte.
   ========================================================================== */
.clp-workband {
	position: relative;
	overflow: hidden;
	height: clamp(150px, 14vw, 280px); /* Bandhöhe */
	margin: clamp(60px, 5vw, 110px) 0 clamp(60px, 5.5vw, 110px);
}
.clp-workband__track {
	--g: 10px;
	display: flex;
	gap: var(--g);
	height: 100%;
	width: max-content;
	animation: clp-workband var(--clp-band-dur, 180s) linear infinite; /* Tempo: Sekunden je Bild in page-work.php (3,2) */
}
.clp-workband__track img { display: block; flex: none; height: 100%; width: auto; }
.clp-workband:hover .clp-workband__track,
.clp-workband.is-paused .clp-workband__track { animation-play-state: paused; }
@keyframes clp-workband { to { transform: translateX(calc(-50% - var(--g) / 2)); } }
.clp-workband__pause {
	position: absolute;
	right: var(--clp-indent-r);
	bottom: 12px;
	width: 36px;
	height: 36px;
	padding: 9px;
	border: 0;
	border-radius: 50%;
	background: rgba(26, 0, 0, .45);
	color: #fff;
	cursor: pointer;
}
.clp-workband__pause:focus-visible { outline: 2px solid var(--clp-red); outline-offset: 2px; }
.clp-workband__pause svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.clp-workband__pause .i-play,
.clp-workband__pause[aria-pressed="true"] .i-pause { display: none; }
.clp-workband__pause[aria-pressed="true"] .i-play { display: inline; }
@media (prefers-reduced-motion: reduce) {
	.clp-workband__track { animation: none; }
	.clp-workband { overflow-x: auto; }
	.clp-workband__pause { display: none; }
}

/* Kacheln: Rahmen weg, Foto über die ganze Spalte, Titel darüber, Schlagworte darunter */
.clp-tile__frame { display: none; }
.clp-tiles {
	gap: 4.4vw 2.6vw;
	padding: clamp(48px, 4.2vw, 90px) var(--clp-indent-r) clamp(110px, 10vw, 200px) var(--clp-indent-l);
}
.clp-tile { aspect-ratio: auto; }
.clp-tile__title {
	position: static;
	display: block;
	max-width: 100%;
	margin: 0 0 .55em;
	font-size: clamp(15px, 1.1vw, 21px);
}
.clp-tile__photo {
	position: relative;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}
.clp-tile__tags {
	display: block;
	margin-top: .8em;
	font-size: clamp(13px, .85vw, 16px);
	line-height: 1.45;
	color: var(--clp-grey);
}
@media (max-width: 1100px) {
	.clp-tiles { column-gap: 4vw; row-gap: 7vw; padding-left: var(--clp-indent-l); padding-right: var(--clp-indent-r); }
	.clp-tile__title { font-size: clamp(14px, 1.7vw, 18px); }
}
@media (max-width: 900px) {
	.clp-tiles { row-gap: 12vw; padding-left: var(--clp-indent-l); padding-right: var(--clp-indent-r); }
	.clp-tile__title { font-size: clamp(14px, 3.4vw, 18px); }
	.clp-tile__tags { font-size: clamp(13px, 3vw, 15px); }
	.clp-workband__track { --g: 6px; }
}

/* 0.55A (03.11.2026): People – Fotos/Platzhalter größer (Claudia: wirkte winzig). Box bis 520 px statt 340 px,
   graues Quadrat im Platzhalter 74 % statt 60 % der Box. */
.clp-team__item--foto .clp-team__photo,
.clp-team__item:not(.clp-team__item--foto) .clp-team__photo { max-width: 520px; }
.clp-team__item:not(.clp-team__item--foto) .clp-team__photo::before { inset: 13%; }
