/*
 Theme Name:   dmp school 27
 Description:  child theme for dmp school
 Author:       Mr. Patrick
 Template:     twentytwentyfive
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://gnu.org
 Text Domain:  dmp-school
*/

/*
 * Nur, was Gutenberg nicht selbst kann (Konzept: „Wo eigenes CSS und
 * JavaScript nötig bleibt“). Farben, Schriften, Abstände, Rundungen und
 * Raster stehen in theme.json und in den Block-Einstellungen.
 */

/* ---------- Grundlagen ---------- */
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 20;
}
/* Menüpunkte mit „In neuem Tab öffnen“ (z. B. Shop) als externe Links kennzeichnen.
   Icon (Mediathek, ID 617) als Maske, damit es die Textfarbe des Menüs übernimmt. */
.wp-block-navigation a[target="_blank"]::after {
	content: "" / "externer Link, öffnet in neuem Tab";
	display: inline-block; width: .75em; height: .75em; margin-left: .35em; vertical-align: -.05em;
	background-color: currentColor;
	-webkit-mask: url("/wp-content/uploads/2026/10/icon-extern.svg") center / contain no-repeat;
	mask: url("/wp-content/uploads/2026/10/icon-extern.svg") center / contain no-repeat;
        opacity: .5;
}

/* ---------- Buttons ---------- */
.wp-element-button { transition: transform .2s, background-color .2s, color .2s; }
.wp-element-button:hover { transform: translateY(-2px); }
.is-style-kontur > .wp-element-button:hover {
	background-color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}
:is(.is-style-section-dunkel, .is-style-section-rot) .is-style-kontur > .wp-element-button:hover {
	background-color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

/* ---------- Gaffa-Tape ---------- */
/* Block-Stil „Gaffa-Tape“ (Slug outline) für Überschrift und Absatz, Textformat „Gaffa-Tape“ (.gaffa)
   und Nachname auf Coach-Seiten: Text auf schräg geklebtem Klebeband mit ausgefransten Enden.
   Oben genug Innenabstand, damit Umlaut-Punkte nicht abgeschnitten werden. Auf Rot schwarzes Band. */
:is(h1, h2).is-style-outline, p.is-style-outline, .gaffa, .is-style-name-zweizeilig .nachname {
	--tape: var(--wp--preset--color--accent-1);
	width: fit-content; color: #fff; -webkit-text-fill-color: currentColor;
	background: var(--tape) repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 6px);
	padding: .22em .28em .1em; transform: rotate(-2deg);
	clip-path: polygon(0 5%, 2% 0, 30% 3%, 60% 0, 98% 4%, 100% 0, 99% 28%, 100% 52%, 98.6% 78%, 100% 100%, 70% 97%, 35% 100%, 3% 96%, 0 100%, 1.2% 72%, 0 46%, 1.4% 22%);
}
.gaffa { display: inline-block; line-height: 1.05; }
/* Zweizeiliger Seitentitel in EINER Überschrift: „DJ-Unterricht <span class="gaffa">in Nürnberg</span>“ –
   der Gaffa-Teil steht in eigener Zeile (SEO: ganzer Titel in der H1) */
:is(h1, h2) > .gaffa { display: block; width: fit-content; margin: .06em 0 0 -.08em; line-height: inherit; }
.has-text-align-center > .gaffa { margin-inline: auto; }
h1:has(> .gaffa) { animation: hoch .8s both cubic-bezier(.2, .8, .2, 1); }
/* Zusatzklasse „titel-passend“ (Erweitert → Zusätzliche CSS-Klasse): Schrift wird kleiner, wenn ein
   langes Wort (bis ca. 13 Zeichen, z. B. „DJ-Unterricht“) sonst nicht in die Spalte passt.
   Längere Wörter besser mit weichem Trennstrich (Umschalt+Strg+-) trennen. */
:has(> .titel-passend) { container-type: inline-size; }
.wp-block-heading.titel-passend.has-xx-large-font-size { font-size: min(var(--wp--preset--font-size--xx-large), 17cqi) !important; }
:is(h1, h2).is-style-outline, p.is-style-outline { margin-left: -.08em !important; margin-right: auto !important; }
:is(h1, h2, p).is-style-outline.has-text-align-center { margin-inline: auto !important; }
:is(.is-style-section-rot, .has-accent-1-background-color) :is(.is-style-outline, .gaffa) { --tape: var(--wp--preset--color--accent-3); }
.wp-block-group:has(> .is-style-outline) > .wp-block-heading { animation: hoch .8s both cubic-bezier(.2, .8, .2, 1); }
.wp-block-group:has(> .is-style-outline) > .wp-block-heading + .wp-block-heading { animation-delay: .12s; }
@keyframes hoch { from { transform: translateY(46px); opacity: 0; } }
/* Schrittnummern im Ablauf bleiben Outline in Rot */
h3.is-style-outline { -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px var(--wp--preset--color--accent-1); min-width: 46px; }

/* ---------- Block-Stil „Prägeband“ (Absatz, z. B. Dachzeile über einer Überschrift) ---------- */
/* Schwarzes Beschriftungsband, auf dunklen Flächen weiß, auf Rot schwarz. Eigene Hintergrundfarbe im Editor geht vor. */
p.is-style-praegeband, p.is-style-praegeband.has-background {
	width: fit-content; padding: 7px 11px 6px; border-radius: 1px; transform: rotate(-1.5deg);
	font-size: .74rem; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 0 rgba(0, 0, 0, .4);
}
p.is-style-praegeband:not(.has-background) { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
:is(.is-style-section-dunkel, .wp-block-cover) p.is-style-praegeband:not(.has-background) { background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.is-style-section-rot p.is-style-praegeband:not(.has-background) { background: var(--wp--preset--color--accent-3); color: var(--wp--preset--color--base); }

/* Seite nie breiter als das Fenster (gedrehtes Laufband, Bild-Anschnitte).
   clip statt hidden: kein eigener Scroll-Container, der Sticky-Header bleibt intakt. */
.wp-site-blocks { overflow-x: clip; }

/* ---------- Block-Stil „Icon-Kreis“ (Bild) ---------- */
.is-style-icon-kreis { margin: 0; flex: none; }
.is-style-icon-kreis img { display: block; aspect-ratio: 1; object-fit: cover; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); } /* Rundung: theme.json */

/* ---------- Block-Stil „Schräge Kante“ ---------- */
.is-style-schraege-kante img,
:is(.is-style-schraege-kante, .is-style-schraege-kante-plakat) .wp-block-cover__video-background { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
/* Kante links; steht das Bild in der ersten Spalte, liegt die Kante rechts */
.wp-block-image.is-style-schraege-kante { overflow: hidden; }
.wp-block-image.is-style-schraege-kante img { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.wp-block-column:first-child > .wp-block-image.is-style-schraege-kante img { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
/* Beim Cover nur Hintergrund und Video schneiden, nicht den Inhalt (Klang-Icons sitzen auf der Kante) */
.wp-block-cover:is(.is-style-schraege-kante, .is-style-schraege-kante-plakat) { overflow: visible; }
.wp-block-cover:is(.is-style-schraege-kante, .is-style-schraege-kante-plakat) > :is(.wp-block-cover__background, .wp-block-cover__video-background, .wp-block-cover__image-background) { clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%); }

/* ---------- Block-Stil „Plakat“ (Bild, Cover): Schwarz-Rot mit Druckraster wie ein Konzertplakat ---------- */
/* Beim Cover wird die Überlagerung (Abdunklung) zum roten Raster; Inhalte darüber bleiben unverändert. */
.wp-block-image.is-style-plakat { position: relative; overflow: hidden; }
.wp-block-image.is-style-plakat img,
/*.wp-block-cover:is(.is-style-plakat, .is-style-schraege-kante-plakat) > :is(.wp-block-cover__image-background, .wp-block-cover__video-background) { filter: grayscale(1) contrast(1.25) brightness(1.05); }*/
.wp-block-image.is-style-plakat::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.wp-block-image.is-style-plakat::after,
.wp-block-cover:is(.is-style-plakat, .is-style-schraege-kante-plakat) > .wp-block-cover__background {
background: radial-gradient(rgba(0, 0, 0, .4) 30%, transparent 33%) 0 0 / 3px 3px, #888 !important;
  mix-blend-mode: multiply;
  /*opacity: 0.8 !important;*/
}

/* ---------- Bild-Text-Sektion (Spalten: Bild | Text) ---------- */
/* Bild füllt die ganze Spaltenhöhe */
.bild-text .wp-block-column > .wp-block-image:only-child { height: 100%; margin: 0; }
.bild-text .wp-block-column > .wp-block-image:only-child img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.bild-text:hover .wp-block-column > .wp-block-image:only-child img { transform: scale(1.04); }
/* Icon auf der Bildkante */
.bild-text-spalte { position: relative; }
.bild-text-icon { position: absolute; top: 50%; z-index: 2; }
.bild-text-spalte:first-child .bild-text-icon { right: -64px; transform: translateY(-50%) rotate(-8deg); }
.bild-text-spalte:last-child .bild-text-icon { left: -64px; transform: translateY(-50%) rotate(8deg); }
.bild-text:hover .bild-text-icon img { transform: rotate(-14deg) scale(1.06); }
@media (max-width: 781px) {
	.bild-text .wp-block-column:has(> .wp-block-image:only-child) { order: -1; } /* Bild oben */
	.bild-text-icon { top: 0; left: 24px !important; right: auto !important; transform: translateY(-50%) rotate(8deg) !important; }
}

/* ---------- Block-Stil „Foto-Stapel“ (Gruppe mit zwei Bildern) ---------- */
.is-style-foto-stapel { position: relative; padding-bottom: 34%; }
.is-style-foto-stapel > .wp-block-image { margin: 0; }
.is-style-foto-stapel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.is-style-foto-stapel > .wp-block-image:first-child { position: relative; z-index: 1; width: 74%; }
.is-style-foto-stapel > .wp-block-image:first-child img { transform-origin: 0 0; }
.is-style-foto-stapel > .wp-block-image:last-child { position: absolute; right: 0; bottom: 0; z-index: 1; width: 64%; }
.is-style-foto-stapel > .wp-block-image:last-child img { transform-origin: 100% 100%; }
.is-style-foto-stapel img:hover { transform: scale(1.1); position: relative; z-index: 2; }

/* ---------- Block-Stil „Karte“ (Gruppe) ---------- */
.is-style-karte { position: relative; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; } /* Schatten: theme.json */
.is-style-karte:hover { transform: translateY(-6px); box-shadow: var(--wp--preset--shadow--karte), 0 0 0 2px var(--wp--preset--color--accent-1); }
/* Link in der Überschrift macht die ganze Karte klickbar */
.is-style-karte :is(h2, h3, h4) a { text-decoration: none; color: inherit; }
.is-style-karte :is(h2, h3, h4) a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.is-style-karte.has-base-background-color:hover :is(h2, h3, h4) { color: var(--wp--preset--color--accent-1); }
.is-style-karte.has-accent-1-background-color:hover { box-shadow: var(--wp--preset--shadow--karte), 0 0 0 2px var(--wp--preset--color--base); }

/* ---------- Hero: Video bis an den rechten Rand, Klang-Icons ---------- */
@media (min-width: 782px) {
	/* Text um den Betrag hochsetzen, um den der Slider in den Hero geschoben ist.
	   Muss zum Außenabstand oben der Slider-Sektion passen (aktuell −14rem). */
	.hero > .wp-block-column:first-child { padding-bottom: 14rem; }
	/* bis an den Fensterrand: Abstand Inhaltsbreite → Rand, mindestens der Seitenrand */
	.hero .wp-block-cover { margin-right: calc(-1 * max(var(--wp--preset--spacing--40), (100vw - var(--wp--style--global--content-size)) / 2)); }
}
@media (max-width: 781px) {
	/* Handy: Video randlos über die ganze Breite, ohne schräge Kante */
	.hero .wp-block-cover { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: 0; }
	.hero .wp-block-cover:is(.is-style-schraege-kante, .is-style-schraege-kante-plakat) > :is(.wp-block-cover__background, .wp-block-cover__video-background, .wp-block-cover__image-background) { clip-path: none; }
	.hero-video .is-style-klang-icon:nth-child(n) { left: var(--wp--preset--spacing--30); }
}
/* 100vw zählt die Scrollleiste mit; den Rest am Sektionsrand abschneiden */
.wp-block-group:has(> .hero) { overflow-x: clip; }
.hero-video .wp-block-cover__inner-container { position: absolute; inset: 0; }
/* z-index 3: über der hochgeschobenen Angebots-Sektion (z-index 2), deren Überschrift sonst das untere Icon überdeckt */
.hero-video .is-style-klang-icon { position: absolute; z-index: 3; }
.is-style-klang-icon { z-index: 2; margin: 0; animation: plopp .6s both cubic-bezier(.3, 1.6, .5, 1), schweben 5.2s ease-in-out 1.5s infinite; }
.is-style-klang-icon img { display: block; aspect-ratio: 1; object-fit: cover; transition: scale .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s; } /* Rand: theme.json */
.is-style-klang-icon a { display: block; border-radius: 50%; position: relative; cursor: url("/wp-content/uploads/2026/11/cursor-lautsprecher.svg") 16 16, pointer; } /* Lautsprecher-Cursor: Mediathek-ID 911 */
.is-style-klang-icon a::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--wp--preset--color--accent-1); opacity: 0; pointer-events: none; }
.is-style-klang-icon:hover img { scale: 1.08; box-shadow: 0 0 0 6px rgba(242, 0, 0, .25); }
.is-style-klang-icon.klingt img { animation: puls .45s cubic-bezier(.3, 1.6, .5, 1); }
.is-style-klang-icon.klingt a::after { animation: ring .7s ease-out; }
.hero-video .is-style-klang-icon:nth-child(1) { left: 6%; top: 10%; }
.hero-video .is-style-klang-icon:nth-child(2) { left: 1%; top: 40%; animation-duration: .6s, 6.4s; }
.hero-video .is-style-klang-icon:nth-child(3) { left: -2%; top: 66%; animation-duration: .6s, 5.8s; }
@keyframes plopp { from { scale: 0; rotate: -60deg; } } /* scale/rotate statt transform: Positionierung per transform (z. B. .bild-text-icon) bleibt erhalten */
@keyframes schweben { 0%, 100% { translate: 0 0; rotate: 0deg; } 33% { translate: 6px -10px; rotate: 5deg; } 66% { translate: -5px -4px; rotate: -4deg; } }
@keyframes puls { 40% { scale: 1.22; } }
@keyframes ring { from { opacity: .9; scale: 1; } to { opacity: 0; scale: 1.9; } }
.video-pause {
	position: absolute; right: 16px; top: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0;
	background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; font: 700 14px/1 var(--wp--preset--font-family--dm-sans);
}
.video-pause:hover { background: var(--wp--preset--color--accent-1); }

/* ---------- Block-Stil „Slider“ (Gruppe mit Karten oder Query Loop) ---------- */
.angebote { position: relative; z-index: 2; --karte: 262px; background: linear-gradient(to bottom, transparent calc(100% - var(--karte) / 2 - var(--wp--preset--spacing--50)), var(--wp--preset--color--base) 0); }
@media (min-width: 782px) {
	.angebote-kopf { max-width: 45% !important; margin-left: max(0px, (100% - var(--wp--style--global--content-size)) / 2) !important; }
}
/* Laufband: bei der Gruppe die Gruppe selbst, beim Query Loop die Beitragsliste */
.wp-block-group.is-style-slider,
.is-style-slider .wp-block-post-template {
	--rand: max(var(--wp--preset--spacing--40), (100vw - var(--wp--style--global--content-size)) / 2);
	display: flex; flex-wrap: nowrap; gap: 18px; margin-block: 0; padding: 24px var(--rand); list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: none;
}
.wp-block-group.is-style-slider::-webkit-scrollbar,
.is-style-slider .wp-block-post-template::-webkit-scrollbar { display: none; }
.wp-block-group.is-style-slider > *,
.is-style-slider .wp-block-post { flex: 0 0 238px; scroll-snap-align: start; margin: 0 !important; }
.is-style-slider .is-style-karte { height: var(--karte); overflow: hidden; }
.slider-nav { display: flex; gap: 10px; justify-content: flex-end; max-width: var(--wp--style--global--content-size); margin: 0 auto; padding: 0 var(--wp--preset--spacing--40); }
.slider-nav button {
	width: 56px; height: 56px; border-radius: 50%; border: 2px solid currentColor; background: transparent; color: inherit;
	cursor: pointer; font-size: 1.4rem; transition: background .2s, opacity .2s;
}
.slider-nav button:hover:not(:disabled) { background: var(--wp--preset--color--accent-1); border-color: var(--wp--preset--color--accent-1); color: #fff; }
.slider-nav button:disabled { opacity: .4; cursor: default; }
/* Im Hero liegen die Pfeile auf dem dunklen Video */
.angebote .slider-nav { color: var(--wp--preset--color--base); }
.angebote .slider-nav button { background: rgba(0, 0, 0, .4); backdrop-filter: blur(4px); }
/* Balken = Bildlaufleiste (main.js): sichtbar 3px, Klick- und Greiffläche 17px; beim Überfahren dicker */
.slider-balken {
	max-width: calc(var(--wp--style--global--content-size) - 2 * var(--wp--preset--spacing--40)); margin: -7px auto; /* Klickfläche verschiebt das Layout nicht */
	box-sizing: content-box; height: 3px; padding: 7px 0; background: color-mix(in srgb, currentColor 14%, transparent) content-box;
	overflow: hidden; cursor: pointer; touch-action: pan-y; user-select: none; transition: height .15s, padding .15s;
}
.slider-balken:hover, .slider-balken.zieht { height: 5px; padding: 6px 0; }
.slider-balken span { display: block; height: 100%; width: 20%; border-radius: 3px; background: var(--wp--preset--color--accent-1); transition: transform .15s linear; cursor: grab; }
.slider-balken.zieht span { transition: none; cursor: grabbing; }
@media (max-width: 781px) {
	.angebote { --karte: 228px; }
	.wp-block-group.is-style-slider > *,
	.is-style-slider .wp-block-post { flex-basis: 190px; }
	.slider-nav { display: none; }
}

/* ---------- Lange Wörter (z. B. „Datenschutzerklärung“) auf schmalen Bildschirmen trennen ---------- */
@media (max-width: 1024px) {
	:is(h1, h2, h3, h4, summary) { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}

/* ---------- News als Aushänge (Startseite + Archiv, Query Loop mit Klasse „news“) ----------
   Der Beitragsinhalt ist der Aushang. Rundung/Schatten pflegt die Gruppe „news-blatt“ im Loop;
   overflow schneidet Hintergründe und Bilder des Beitrags an der Rundung ab – im Beitrag selbst keine Rundung setzen. */
.news .wp-block-post-template { align-items: start; }
.news-aushang { position: relative; transform: rotate(-.8deg); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.news .wp-block-post:nth-child(even) .news-aushang { transform: rotate(.9deg); }
.news .wp-block-post .news-aushang:hover { transform: rotate(0) translateY(-4px); }
@media (max-width: 781px) {
	.news .wp-block-post:nth-child(n) .news-aushang { transform: none; } /* Handy: Aushänge gerade (:nth-child(n) schlägt die Regel für gerade Karten) */
}
.news-blatt { overflow: hidden; }
/* Beitragsbild (optional) oben in der Karte, leichter Zoom beim Überfahren */
.news-bild { overflow: hidden; }
.news-bild img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.news-aushang:hover .news-bild img { transform: scale(1.04); }
.news-blatt > .wp-block-post-content > :first-child { margin-top: 0; }
/* Datum als Prägeband an der oberen Ecke */
.datum-band {
	position: absolute; top: -12px; left: -10px; z-index: 2; margin: 0; padding: 7px 11px 6px; border-radius: 1px; transform: rotate(-1.5deg);
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
	font-size: .72rem; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 0 rgba(0, 0, 0, .4);
}
/* Oben gehaltener Beitrag: volle Breite, rotes Datum */
.news .wp-block-post.sticky { grid-column: 1 / -1; }
.news .wp-block-post.sticky .datum-band { background: var(--wp--preset--color--accent-1); color: #fff; }

/* ---------- Block-Stil „Preisrechner“ (Gruppe; Logik in main.js) ---------- */
/* Ohne JavaScript nur die Preistabelle zeigen (nur im Frontend, nicht im Editor) */
.wp-site-blocks .is-style-preisrechner:not(.ist-aktiv) > .wp-block-columns { display: none; }
.rechner-optionen { display: grid; gap: 22px; align-content: start; }
.rechner-optionen fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rechner-optionen legend { font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.rechner-seg { display: flex; gap: 4px; background: var(--wp--preset--color--accent-4); border-radius: var(--wp--preset--border-radius--gross); padding: 5px; }
.rechner-seg label { flex: 1 1 0; min-width: 0; text-align: center; }
.rechner-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rechner-seg span { display: block; padding: 12px 8px; border-radius: var(--wp--preset--border-radius--klein); font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.rechner-seg input:checked + span { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.rechner-seg input:focus-visible + span { outline: 3px solid var(--wp--preset--color--accent-1); outline-offset: 2px; }
.rechner-empfehlung.ist-aus { visibility: hidden; }
.rechner-ersparnis { min-height: 3.1em; }
.rechner-ersparnis b { background: var(--wp--preset--color--accent-1); color: #fff; padding: 1px 8px; border-radius: var(--wp--preset--border-radius--ecke); }
/* Preistabelle: Preise anklickbar */
.is-style-preisrechner .wp-block-table { overflow-x: auto; border: 1px solid var(--wp--preset--color--accent-6); border-radius: var(--wp--preset--border-radius--gross); }
.is-style-preisrechner table { border-collapse: collapse; width: 100%; min-width: 520px; }
.is-style-preisrechner :is(th, td) { border: 0; border-bottom: 1px solid var(--wp--preset--color--accent-6); padding: 14px 18px; text-align: left; }
.is-style-preisrechner thead th { background: var(--wp--preset--color--accent-4); font-size: .88rem; }
.is-style-preisrechner tbody tr:last-child td { border-bottom: 0; }
.is-style-preisrechner :is(th, td):nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.rechner-zelle { font: inherit; color: inherit; background: transparent; border: 0; border-radius: var(--wp--preset--border-radius--klein); cursor: pointer; padding: 6px 10px; margin: -6px -10px; width: calc(100% + 20px); text-align: right; transition: background .2s; }
.rechner-zelle:hover { background: var(--wp--preset--color--accent-4); }
.rechner-zelle.ist-an { background: var(--wp--preset--color--accent-1); color: #fff; font-weight: 700; }
.rechner-zelle.ist-empfehlung::after { content: "Empfehlung"; display: block; font-size: .7rem; font-weight: 700; color: var(--wp--preset--color--accent-1); }
.rechner-zelle.ist-empfehlung.ist-an::after { color: #fff; }
@media (max-width: 600px) {
	.rechner-seg span { font-size: .85rem; padding: 11px 4px; }
	.is-style-preisrechner table { min-width: 0; }
	.is-style-preisrechner :is(th, td) { padding: 12px 8px; }
}

/* ---------- Block-Stil „Preisliste“ (Tabelle in Karten) ---------- */
.is-style-preisliste table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.is-style-preisliste :is(th, td) { border: 0; border-bottom: 1px solid var(--wp--preset--color--accent-6); padding: 9px 0; text-align: left; }
.is-style-preisliste tr:first-child > * { border-top: 1px solid var(--wp--preset--color--accent-6); }
.is-style-preisliste :is(th, td):not(:first-child) { text-align: right; font-weight: 700; }
.is-style-preisliste thead th { font-size: .82rem; color: var(--wp--preset--color--accent-5); }

/* Icon in der Kartenecke (z. B. Probestunde, Instrument-Karten): an der Rundung abschneiden */
.is-style-karte:has(> :is(.ecken-icon, .karten-icon)) { overflow: hidden; }
.ecken-icon { position: absolute; top: -26px; right: -26px; margin: 0; transform: rotate(12deg); }
.ecken-icon img { box-shadow: 0 0 0 10px rgba(255, 255, 255, .18); }
/* Karte rechtsbündig (Icon oben rechts): Textgruppe trotzdem über die volle Breite, auch bei kurzem Text */
.is-style-karte.is-vertical > .wp-block-group { align-self: stretch; }
/* Karten in Rastern: Buttons ans untere Ende */
.is-style-karte > .wp-block-buttons:last-child { margin-top: auto; }

/* ---------- Block-Stil „Pillen“ (Beitrags-Terms) ---------- */
.is-style-pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.is-style-pillen .wp-block-post-terms__separator { display: none; }
.is-style-pillen a {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--wp--preset--border-radius--pille);
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font-weight: 500; font-size: .95rem; text-decoration: none;
}
.is-style-pillen a:hover { color: var(--wp--preset--color--accent-1); }
.is-style-pillen a img { width: 28px; height: 28px; border-radius: 50%; margin-left: -8px; }
/* Liste „Häkchen“ (Block-Stil Checkmark aus Twenty Twenty-Five): weißes Häkchen im roten Kreis */
ul.is-style-checkmark-list { list-style: none; padding-left: 0; display: grid; gap: 14px; }
ul.is-style-checkmark-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding-inline-start: 0; }
ul.is-style-checkmark-list li::before {
	content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
	background: var(--wp--preset--color--accent-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Liste als Pillen */
.wp-block-list.is-style-pillen { list-style: none; padding: 0; }
.wp-block-list.is-style-pillen li { padding: 6px 14px; border-radius: var(--wp--preset--border-radius--pille); background: color-mix(in srgb, currentColor 12%, transparent); font-weight: 500; font-size: .95rem; }
.taxonomy-sprache.is-style-pillen a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--accent-1); }

/* ---------- Coach-Seite ---------- */
/* Steckbrief: Zeilen ohne Begriffe (z. B. keine Genres) ausblenden */
.steckbrief-zeile:not(:has(.wp-block-post-terms)) { display: none; }
.steckbrief-zeile + .steckbrief-zeile { border-top: 1px solid var(--wp--preset--color--accent-6); }
.steckbrief-zeile > p:first-child { width: 120px; flex: none; padding-top: 7px; }
/* Foto: Instrument-Icon oben rechts auf der Kante, Lieblingssong-Sticker unten rechts */
.mit-instrument-icon { position: relative; overflow: visible; }
.mit-instrument-icon .instrument-icon {
	position: absolute; right: -26px; top: 44px; width: 112px; height: 112px; border-radius: 50%;
	border: 6px solid var(--wp--preset--color--base); transform: rotate(-10deg); object-fit: cover;
}
.lieblingssong {
	position: absolute; right: -20px; bottom: 32px; max-width: 75%; display: flex; flex-direction: column; gap: 2px;
	background: var(--wp--preset--color--accent-1); color: #fff; border-radius: var(--wp--preset--border-radius--gross) var(--wp--preset--border-radius--gross) var(--wp--preset--border-radius--ecke) var(--wp--preset--border-radius--gross); padding: 12px 18px;
	font: 400 1.25rem / 1.1 var(--wp--preset--font-family--anton); text-transform: uppercase;
	box-shadow: var(--wp--preset--shadow--weich); transform: rotate(-3deg); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.lieblingssong:hover { transform: rotate(0) scale(1.04); }
.lieblingssong-label { font: 700 .75rem var(--wp--preset--font-family--dm-sans); letter-spacing: .06em; opacity: .85; }
@media (max-width: 781px) {
	.mit-instrument-icon .instrument-icon { right: 14px; top: -22px; width: 86px; height: 86px; }
	.lieblingssong { right: 12px; bottom: -18px; font-size: 1.05rem; }
	.steckbrief-zeile > p:first-child { width: auto; }
}
/* Titel-Stil „Vor- und Nachname“ (Spans setzt functions.php): Nachname auf Gaffa-Tape in eigener Zeile (siehe oben) */
.is-style-name-zweizeilig { line-height: 1; }
.is-style-name-zweizeilig .vorname, .is-style-name-zweizeilig .nachname { display: block; }
.is-style-name-zweizeilig .nachname { margin-top: .08em; }
/* Zitat: großes Anführungszeichen */
.coach-zitat-zeichen { -webkit-text-fill-color: transparent; -webkit-text-stroke: 2px currentColor; line-height: .8; }

/* ---------- PHP-Block „Video“ ---------- */
.dmp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--wp--preset--border-radius--gross); overflow: hidden; background: var(--wp--preset--color--accent-3); color: #fff; }
.dmp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dmp-video-start {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	border: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2)); color: #fff; font: inherit; cursor: pointer; padding: 20px;
}
.dmp-video-play { width: 92px; height: 92px; border-radius: 50%; background: var(--wp--preset--color--accent-1); position: relative; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.dmp-video-play::after { content: ""; position: absolute; left: 37px; top: 28px; border-left: 26px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.dmp-video-start:hover .dmp-video-play { transform: scale(1.1); }
.dmp-video-titel { font: 400 2rem / 1 var(--wp--preset--font-family--anton); text-transform: uppercase; }
.dmp-video-hinweis { font-size: .8rem; color: #ddd; }

/* ---------- Block-Stil „Laufband“ (Gruppe; main.js verdoppelt den Inhalt) ---------- */
/* leicht gedreht wie im Mockup; scaleX schließt die Ecken bis an den Fensterrand */
.is-style-laufband { overflow: hidden; position: relative; z-index: 1; transform: rotate(-1.5deg) scaleX(1.03); }
.is-style-laufband > .laufband-spur { display: flex; flex-wrap: nowrap; gap: 0 48px; width: max-content; animation: laufband 40s linear infinite; }
.is-style-laufband p { margin: 0; white-space: nowrap; }
.is-style-laufband p:nth-child(even) { -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.is-style-laufband:hover > .laufband-spur { animation-play-state: paused; }
@keyframes laufband { to { transform: translateX(-50%); } }
/* Im Editor: Begriffe nebeneinander mit Umbruch, nicht gedreht und nicht abgeschnitten, damit sie sich gut pflegen lassen */
.is-style-laufband.block-editor-block-list__block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; overflow: visible; transform: none; padding-inline: var(--wp--preset--spacing--40); }

/* Bild mit Instrument-Icon auf der Kante (z. B. Hero der Unterrichtsseiten) */
.bild-mit-icon { position: relative; }
.bild-mit-icon > .wp-block-image:first-child { margin: 0; }
.bild-mit-icon-icon { position: absolute; right: -26px; bottom: -26px; z-index: 2; transform: rotate(-10deg); }
.bild-mit-icon-icon img { border: 6px solid var(--wp--preset--color--base); }
.is-style-section-dunkel .bild-mit-icon-icon img { border-color: var(--wp--preset--color--accent-3); }
@media (max-width: 781px) { .bild-mit-icon-icon { right: 10px; } }

/* ---------- PHP-Block „Team-Filter“ ---------- */
.team-filter { display: grid; gap: var(--wp--preset--spacing--30); }
.team-filter-zeile { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; }
.team-filter-label { font-weight: 700; font-size: .9rem; padding-top: 9px; }
.team-filter-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.team-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: var(--wp--preset--border-radius--pille);
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); text-decoration: none; font-weight: 500; font-size: .92rem;
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wp--preset--color--contrast) 20%, transparent); transition: background .2s, color .2s, box-shadow .2s;
}
.team-chip:has(img) { padding-left: 6px; }
.team-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.team-chip:hover { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--contrast); }
.team-chip.is-aktiv { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); box-shadow: none; }
@media (max-width: 600px) {
	.team-filter-zeile { grid-template-columns: 1fr; gap: 6px; }
	.team-filter-label { padding-top: 0; }
}

/* ---------- PHP-Block „Team nach Instrument“ ---------- */
.team-nach-instrument { display: grid; gap: var(--wp--preset--spacing--70); }
.team-gruppe { scroll-margin-top: 90px; }
.team-gruppe-titel { display: flex; align-items: center; gap: 16px; margin: 0 0 var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--large); }
.team-gruppe-titel img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.team-gruppe-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--wp--preset--spacing--40); }
.team-leer { text-align: center; padding: var(--wp--preset--spacing--60) 0; }
.team-leer h2 { margin: 0 0 12px; }
/* Team-Filter blendet Gruppen und Karten per `hidden` aus – auch gegen display:flex/grid der Karten */
.team-nach-instrument [hidden] { display: none !important; }

/* Coach-Karte (dmp_coach_karte). Foto quadratisch → Fotohöhe = 100cqw; daran hängen Name und Icons.
   Der Link „Zum Profil“ deckt per ::after die ganze Karte ab. */
.coach-karte {
	position: relative; container-type: inline-size; display: flex; flex-direction: column; overflow: hidden;
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast);
	border-radius: var(--wp--preset--border-radius--gross); box-shadow: var(--wp--preset--shadow--karte);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.coach-karte:hover { transform: scale(1.02); box-shadow: var(--wp--preset--shadow--karte), 0 0 0 2px var(--wp--preset--color--accent-1); }
.coach-karte-bild { position: relative; display: block; aspect-ratio: 1; background: var(--wp--preset--color--accent-3); overflow: hidden; }
.coach-karte-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.coach-karte-initialen { position: absolute; inset: 0; display: grid; place-items: center; color: var(--wp--preset--color--base); font: 400 4.4rem / 1 var(--wp--preset--font-family--anton); }
.coach-karte-folgt { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--wp--preset--color--accent-6); font-size: .85rem; }
.coach-karte-text { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 40px var(--wp--preset--spacing--30) var(--wp--preset--spacing--30); }
/* Icons halb in der Textbox */
.coach-karte-icons { position: absolute; top: calc(100cqw - 30px); right: var(--wp--preset--spacing--30); z-index: 1; display: flex; }
.coach-karte-icons img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 4px solid var(--wp--preset--color--base); }
.coach-karte-icons img + img { margin-left: -16px; } /* leicht überlappend, der weiße Rand trennt */
/* Name weiß unten links im Foto */
.coach-karte-name {
	position: absolute; left: var(--wp--preset--spacing--30); right: var(--wp--preset--spacing--30); top: calc(100cqw - 46px); transform: translateY(-100%);
	margin: 0; color: var(--wp--preset--color--base); font-size: 1.9rem; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.coach-karte-mehr { text-decoration: none; color: inherit; }
.coach-karte-mehr::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.coach-karte-mehr:focus-visible { outline: none; }
.coach-karte:has(.coach-karte-mehr:focus-visible) { outline: 3px solid var(--wp--preset--color--accent-1); outline-offset: 3px; }
.coach-karte-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.coach-karte-tags li { padding: 4px 12px; border-radius: var(--wp--preset--border-radius--pille); background: color-mix(in srgb, var(--wp--preset--color--accent-1) 12%, var(--wp--preset--color--base)); color: var(--wp--preset--color--accent-1); font-size: .85rem; font-weight: 600; }
.coach-karte-sprachen { margin: 0; color: var(--wp--preset--color--accent-5); font-size: .9rem; }
.coach-karte-mehr { margin-top: auto; align-self: flex-start; padding: 10px 20px; border-radius: var(--wp--preset--border-radius--klein); box-shadow: inset 0 0 0 2px currentColor; font-weight: 700; font-size: .92rem; transition: background .2s, color .2s; }
.coach-karte:hover .coach-karte-mehr { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); box-shadow: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- PHP-Block „Weitere Coaches“ ---------- */
.weitere-coaches-kopf { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.weitere-coaches-kopf h2 { margin: 0; }
.weitere-coaches-kopf a { font-weight: 700; }
.weitere-coaches-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 16px; }
/* Farbfotos und Hover wie die Coach-Karten der Team-Seite (leicht größer + roter Rahmen) */
.weitere-coaches-liste a { text-decoration: none; background: var(--wp--preset--color--accent-4); border-radius: var(--wp--preset--border-radius--gross); overflow: hidden; box-shadow: var(--wp--preset--shadow--karte); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.weitere-coaches-liste a:hover { transform: scale(1.02); box-shadow: var(--wp--preset--shadow--karte), 0 0 0 2px var(--wp--preset--color--accent-1); }
.weitere-coaches-bild { position: relative; display: block; aspect-ratio: 1; background: var(--wp--preset--color--accent-3); }
.weitere-coaches-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.weitere-coaches-name { display: block; padding: 12px 16px 14px; font: 400 1.35rem / 1.1 var(--wp--preset--font-family--anton); text-transform: uppercase; }

/* ---------- Kleinteile ---------- */
.pille { width: fit-content; border-radius: var(--wp--preset--border-radius--pille); }
.avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; padding: 0; box-sizing: border-box; }

/* ---------- Standorte: Karte mit Pins, Hover-Kopplung ---------- */
.karte svg { width: 100%; height: auto; display: block; }
.karte .map text { font: 800 17px var(--wp--preset--font-family--dm-sans); fill: #fff; }
.karte .nbg { font: 400 46px var(--wp--preset--font-family--anton); letter-spacing: .06em; text-transform: uppercase; opacity: .92; }
.karte .pin { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(1.3); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.standorte:has(.c1:hover) #pin1, .standorte:has(.c2:hover) #pin2, .standorte:has(.c3:hover) #pin3 { transform: scale(1.8); }
/* padding: 0 hebt den WordPress-Standardabstand für Absätze mit Hintergrund auf */
.pin-nr { width: 44px; height: 44px; flex: none; border-radius: 50% 50% 50% var(--wp--preset--border-radius--ecke); display: grid; place-items: center; padding: 0; box-sizing: border-box; transition: transform .3s; }
.center:hover .pin-nr { transform: rotate(-12deg) scale(1.08); }
@media (min-width: 782px) {
	.karte { margin-left: calc(-1 * max(var(--wp--preset--spacing--40), (100vw - var(--wp--style--global--content-size)) / 2)); }
}
/* Mobil: in die Karte hineinzoomen – Mittelpunkt zwischen den drei Pins, alle Pins bleiben sichtbar */
@media (max-width: 781px) {
	.karte { overflow: hidden; }
	.karte svg { transform: scale(1.35); transform-origin: 25% 69%; }
}

/* ---------- FAQ: Linien und Plus-Symbol ---------- */
.faq { border-top: 1px solid currentColor; }
.faq .wp-block-details { border-bottom: 1px solid currentColor; }
.faq summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 22px 4px; font: 400 1.45rem / 1.15 var(--wp--preset--font-family--anton); text-transform: uppercase; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--wp--preset--color--accent-1); color: #fff;
	display: grid; place-items: center; font: 700 1.3rem var(--wp--preset--font-family--dm-sans); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--wp--preset--color--accent-1); }
.faq details > p { padding: 0 56px 22px 4px; }

/* ---------- Stellenanzeigen (Block dmp/jobs): FAQ-Akkordeon mit Infozeile und Bild ---------- */
.faq.jobs-liste { border-top: 0; display: grid; gap: var(--wp--preset--spacing--20); }
.jobs-liste .wp-block-details { background: #fff; color: var(--wp--preset--color--contrast); border: 0; border-radius: var(--wp--preset--border-radius--gross); padding: 0 var(--wp--preset--spacing--40); }
.jobs-liste summary { padding-left: 0; padding-right: 0; }
.jobs-kopf { display: grid; gap: 8px; }
.jobs-titel { font-size: clamp(1.45rem, 3vw, 2rem); }
.jobs-infos { display: flex; flex-wrap: wrap; gap: 6px; font: 700 .8rem / 1.2 var(--wp--preset--font-family--dm-sans); text-transform: none; color: var(--wp--preset--color--contrast); }
.jobs-infos span { padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, currentColor 8%, transparent); }
.jobs-inhalt { display: grid; gap: var(--wp--preset--spacing--40); padding: 0 0 var(--wp--preset--spacing--40); }
.jobs-text { display: grid; gap: 14px; align-content: start; }
.jobs-text > * { margin: 0; }
.jobs-text h3, .jobs-text h4 { font-size: 1.35rem; margin-top: 10px; }
.jobs-bild { display: block; width: 100%; height: auto; border-radius: var(--wp--preset--border-radius--gross); }
@media (min-width: 782px) {
	.jobs-inhalt.mit-bild { grid-template-columns: 58fr 42fr; align-items: start; }
}

/* ---------- Contact Form 7 im Theme-Design ---------- */
.formular .wpcf7-form { display: grid; gap: 22px; }
.formular .wpcf7-form p { margin: 0; }
.formular label { display: block; font-weight: 700; font-size: .9rem; }
.formular label > .wpcf7-form-control-wrap { margin-top: 6px; }
.formular .wpcf7-form-control-wrap { display: block; }
.formular input:not([type="checkbox"]):not([type="submit"]), .formular textarea, .formular select {
	font: inherit; font-weight: 400; font-size: 1rem; color: inherit; width: 100%; box-sizing: border-box;
	background: var(--wp--preset--color--accent-4); border: 2px solid transparent; border-radius: var(--wp--preset--border-radius--klein); padding: 13px 15px;
}
.formular input:focus, .formular textarea:focus, .formular select:focus { outline: none; border-color: var(--wp--preset--color--accent-1); }
.formular .req { color: var(--wp--preset--color--accent-1); }
.cf7-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 560px) { .cf7-zwei { grid-template-columns: 1fr; } }
/* CF7 fasst die Felder in einen Absatz mit <br> zusammen – auflösen, damit die Labels Rasterzellen werden */
.cf7-zwei > p { display: contents; }
.cf7-zwei br { display: none; }
.cf7-chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.cf7-chips legend, .cf7-chips summary { font-weight: 700; font-size: .9rem; margin-bottom: 10px; cursor: pointer; }
.cf7-chips .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.cf7-chips .wpcf7-list-item { margin: 0; }
.cf7-chips .wpcf7-list-item label { display: block; }
.cf7-chips .wpcf7-list-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf7-chips .wpcf7-list-item-label {
	display: inline-block; padding: 8px 15px; border-radius: var(--wp--preset--border-radius--pille); font-weight: 400; font-size: .92rem; cursor: pointer; user-select: none;
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 30%, transparent); transition: background .2s, color .2s;
}
.cf7-chips .wpcf7-list-item-label:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
.cf7-chips input:checked + .wpcf7-list-item-label { background: var(--wp--preset--color--accent-1); color: #fff; box-shadow: none; }
.cf7-chips input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--wp--preset--color--accent-1); outline-offset: 2px; }
.cf7-ok { font-size: .86rem; color: var(--wp--preset--color--accent-5); }
.cf7-ok label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: inherit; }
.cf7-ok input { width: 20px; height: 20px; accent-color: var(--wp--preset--color--accent-1); flex: none; }
.cf7-send { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
/* CF7 packt Häkchen und Absende-Zeile in ein <p>: Flex dort ansetzen, Einrückung des Häkchens weg */
.cf7-ok p, .cf7-send > p { margin: 0; }
.cf7-ok .wpcf7-list-item { margin: 0; }
.cf7-send > p { flex: 1; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.cf7-send .cf7-hint { margin-right: auto; }
.cf7-send .wpcf7-spinner { margin: 0; }
.cf7-hint { font-size: .86rem; color: var(--wp--preset--color--accent-5); }
.formular .wpcf7-submit {
	border: 0; cursor: pointer; border-radius: var(--wp--preset--border-radius--klein); padding: 16px 34px; font: 700 1.05rem var(--wp--preset--font-family--dm-sans);
	background: var(--wp--preset--color--accent-1); color: #fff; transition: transform .2s, background-color .2s;
}
.formular .wpcf7-submit:hover { background: var(--wp--preset--color--accent-2); transform: translateY(-2px); }
.formular .wpcf7-not-valid-tip { color: var(--wp--preset--color--accent-1); font-size: .85rem; font-weight: 700; }
.formular .wpcf7-response-output { margin: 0 !important; border-radius: var(--wp--preset--border-radius--klein); padding: 14px 18px !important; }

/* ---------- Freundliche Bausteine (z. B. Musikalische Früherziehung) ---------- */
/* Welle: Kante in Weiß (oder --welle) oben und/oder unten an einer farbigen Gruppe.
   Innenabstand der Gruppe oben/unten mindestens Stufe 60 wählen. */
.is-style-welle-oben, .is-style-welle-unten, .is-style-welle-beide { position: relative; }
.is-style-welle-oben::before, .is-style-welle-beide::before, .is-style-welle-unten::after, .is-style-welle-beide::after {
	content: ""; position: absolute; left: 0; right: 0; height: clamp(32px, 5vw, 70px); pointer-events: none;
	background: var(--welle, var(--wp--preset--color--base));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40c120-30 240-30 360 0s240 30 360 0 240-30 360 0 240 30 360 0v30H0z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40c120-30 240-30 360 0s240 30 360 0 240-30 360 0 240 30 360 0v30H0z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.is-style-welle-oben::before, .is-style-welle-beide::before { top: -1px; transform: scaleY(-1); }
.is-style-welle-unten::after, .is-style-welle-beide::after { bottom: -1px; }
/* Kacheln schräg: Kinder abwechselnd leicht gedreht, beim Hovern gerade */
.is-style-schief > * { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.is-style-schief > :nth-child(odd) { transform: rotate(-1deg); }
.is-style-schief > :nth-child(even) { transform: rotate(1deg); }
.is-style-schief > :hover { transform: translateY(-6px); }
/* Etikett: Handschrift auf farbiger Pille, leicht schräg (Farbe im Editor) */
p.is-style-etikett { width: fit-content; font: 600 1.5rem / 1.1 var(--wp--preset--font-family--caveat); border-radius: var(--wp--preset--border-radius--pille); transform: rotate(-3deg); }
p.is-style-etikett.has-background { padding: 4px 16px; }
/* Sticker: runder Aufkleber, sitzt auf dem Bild (Elterngruppe .bild-mit-icon). Kursiv = kleine Handschrift-Zeile */
p.is-style-sticker {
	position: absolute; left: -10px; top: 8%; z-index: 3; width: 128px; aspect-ratio: 1; margin: 0; padding: 0; border-radius: 50%;
	display: grid; place-content: center; text-align: center; font: 400 2.3rem / 1 var(--wp--preset--font-family--anton);
	transform: rotate(-10deg); box-shadow: var(--wp--preset--shadow--weich);
}
p.is-style-sticker em { font: 600 1.35rem / 1 var(--wp--preset--font-family--caveat); }
/* Schwebende Noten (Bilder mit Zusatzklasse note note-1 … note-3) */
.bild-mit-icon .note { position: absolute; z-index: 3; margin: 0; pointer-events: none; animation: wippen 4s ease-in-out infinite; }
.note-1 { right: -6px; top: 4%; } .note-2 { left: 6%; bottom: 6%; animation-delay: -1.5s; } .note-3 { right: 30%; top: -6px; animation-delay: -2.6s; }
@keyframes wippen { 50% { transform: translateY(-10px) rotate(8deg); } }
/* Liste „Pillen mit Häkchen“ */
.wp-block-list.is-style-pillen-haekchen { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.is-style-pillen-haekchen li { display: flex; align-items: center; gap: 10px; padding: 10px 20px 10px 12px; border-radius: var(--wp--preset--border-radius--pille); background: var(--wp--preset--color--base); font-weight: 500; }
.is-style-pillen-haekchen li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--wp--preset--color--accent-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
/* Nummer im Kreis (Absatz mit Hintergrundfarbe) */
p.nummer-kreis { width: 76px; height: 76px; flex: none; margin: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; font: 400 2.2rem / 1 var(--wp--preset--font-family--anton); }
p.nummer-kreis.ist-klein { width: 38px; height: 38px; font: 700 1rem / 1 var(--wp--preset--font-family--dm-sans); }
/* FAQ in runden Kästen */
.faq.faq-rund { border-top: 0; display: grid; gap: 12px; }
.faq.faq-rund > * { width: 100%; }
.faq-rund .wp-block-details { border: 2px solid color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent); border-radius: var(--wp--preset--border-radius--gross); padding: 0 24px; }
.faq-rund details[open] { border-color: var(--wp--preset--color--accent-1); }
.faq-rund summary { padding: 16px 0; font: 700 1.12rem / 1.3 var(--wp--preset--font-family--dm-sans); text-transform: none; }
.faq-rund summary::after { width: 32px; height: 32px; background: var(--wp--preset--color--rosa); color: var(--wp--preset--color--accent-1); }
.faq-rund details > p { padding: 0 0 18px; }
/* Formular: gelb hinterlegte Checkbox (z. B. Schnuppertermin) */
.cf7-gelb { background: var(--wp--preset--color--sonne); border-radius: var(--wp--preset--border-radius--klein); padding: 12px 16px; font-weight: 700; }
.cf7-gelb .wpcf7-list-item { margin: 0; }
.cf7-gelb label { display: flex; gap: 10px; align-items: center; }
.cf7-gelb input { width: 22px; height: 22px; flex: none; accent-color: var(--wp--preset--color--accent-1); }
@media (max-width: 781px) {
	p.is-style-sticker { width: 100px; font-size: 1.9rem; left: 0; }
}

/* ---------- Block-Stil „Tabs“ (Gruppe; Leiste baut main.js) ---------- */
/* Ohne JavaScript stehen alle Untergruppen untereinander. */
.is-style-tabs.ist-aktiv > .wp-block-group[hidden] { display: none; }
.tabs-kopf {
	position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 70px); z-index: 5;
	margin-bottom: var(--wp--preset--spacing--50); padding-top: 10px; background: var(--wp--preset--color--base); border-bottom: 2px solid var(--wp--preset--color--contrast);
}
.tabs-leiste { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs-umschalter { display: none; }
.tabs-leiste::-webkit-scrollbar { display: none; }
.tabs-tab {
	flex: none; min-height: 46px; padding: 12px 16px 10px; border: 0; border-radius: var(--wp--preset--border-radius--klein) var(--wp--preset--border-radius--klein) 0 0;
	background: transparent; color: var(--wp--preset--color--accent-5); font: 400 1.15rem / 1 var(--wp--preset--font-family--anton); text-transform: uppercase; cursor: pointer;
}
.tabs-tab:hover { color: var(--wp--preset--color--contrast); }
.tabs-tab[aria-selected="true"] { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.tabs-tab.ist-coach { color: var(--wp--preset--color--accent-1); }
.tabs-tab.ist-coach[aria-selected="true"] { background: var(--wp--preset--color--accent-1); color: #fff; }
.tabs-trenner { flex: none; width: 2px; margin: 10px 8px; background: var(--wp--preset--color--accent-6); }

/* Handy: statt der schmalen Laufleiste ein Auswahl-Knopf mit dem aktuellen Tab; er klappt alle Tabs als Kacheln auf */
@media (max-width: 781px) {
	.tabs-kopf { top: calc(var(--wp-admin--admin-bar--height, 0px) + 86px); padding: 8px 0; border-bottom: 0; }
	.tabs-umschalter {
		display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px;
		border: 0; border-radius: var(--wp--preset--border-radius--klein); background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
		font: 400 1.25rem / 1.1 var(--wp--preset--font-family--anton); text-transform: uppercase; text-align: left; cursor: pointer;
	}
	.tabs-umschalter.ist-coach { background: var(--wp--preset--color--accent-1); color: #fff; }
	.tabs-umschalter-text { display: grid; gap: 5px; min-width: 0; }
	.tabs-umschalter-label { font: 700 .7rem / 1 var(--wp--preset--font-family--dm-sans); letter-spacing: .08em; opacity: .7; }
	.tabs-umschalter-hinweis { flex: none; display: flex; align-items: center; gap: 8px; font: 700 .75rem / 1 var(--wp--preset--font-family--dm-sans); letter-spacing: .04em; opacity: .85; }
	.tabs-umschalter-hinweis::after {
		content: ""; width: 9px; height: 9px; margin-top: -4px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s;
	}
	.tabs-kopf.ist-offen .tabs-umschalter-hinweis::after { margin-top: 4px; transform: rotate(-135deg); }
	.tabs-leiste { display: none; }
	.tabs-kopf.ist-offen .tabs-leiste {
		display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: calc(100vh - 220px); overflow-y: auto; margin-top: 8px; padding: 8px;
		border-radius: var(--wp--preset--border-radius--klein); background: var(--wp--preset--color--accent-4); box-shadow: 0 12px 24px rgb(0 0 0 / .18);
	}
	.tabs-kopf.ist-offen .tabs-tab {
		min-height: 48px; padding: 12px 10px 10px; border-radius: var(--wp--preset--border-radius--klein); background: var(--wp--preset--color--base);
		color: var(--wp--preset--color--contrast); font-size: 1.05rem; text-align: left;
	}
	.tabs-kopf.ist-offen .tabs-tab.ist-coach { color: var(--wp--preset--color--accent-1); }
	.tabs-kopf.ist-offen .tabs-tab[aria-selected="true"] { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
	.tabs-kopf.ist-offen .tabs-tab.ist-coach[aria-selected="true"] { background: var(--wp--preset--color--accent-1); color: #fff; }
	.tabs-kopf.ist-offen .tabs-trenner {
		grid-column: 1 / -1; width: auto; height: auto; margin: 6px 2px 0; background: none;
		font: 700 .72rem / 1 var(--wp--preset--font-family--dm-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--accent-1);
	}
	.tabs-kopf.ist-offen .tabs-trenner::before { content: "Nur Coaches"; }
}

/* Hamburger-Menü bis 1100 px statt nur bis 600 px (WordPress-Standard):
   das volle Menü passt erst ab ca. 1060 px, darunter brachen Menüpunkte und der Probeunterricht-Knopf um. */
@media (min-width: 600px) and (max-width: 1100px) {
	header.wp-block-template-part .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	header.wp-block-template-part .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	header.wp-block-template-part .wp-block-button__link { white-space: nowrap; }
}

/* Kopfbereich auf dem Handy: Probeunterricht-Knopf einzeilig, Abstände enger */
@media (max-width: 600px) {
	header.wp-block-template-part .wp-block-group.is-nowrap { gap: 14px; }
	header.wp-block-template-part .wp-block-button__link { padding: 12px 16px; white-space: nowrap; }
}
@media (max-width: 359px) {
	header.wp-block-template-part .wp-block-button__link { padding: 10px 12px; font-size: .8rem; }
}

/* Downloads (Datei-Block) in Tabs: Zeile mit großer Tipp-Fläche */
.is-style-tabs .wp-block-file {
	display: flex; align-items: center; gap: 14px; min-height: 60px; margin: 0 0 8px; padding: 10px 14px;
	background: var(--wp--preset--color--base); border-radius: var(--wp--preset--border-radius--klein); font-weight: 700;
}
.is-style-tabs .wp-block-file > a:first-child { flex: 1; text-decoration: none; }
.is-style-tabs .wp-block-file .wp-block-file__button { margin: 0; padding: 8px 14px; border-radius: var(--wp--preset--border-radius--klein); background: var(--wp--preset--color--accent-1); color: #fff; font-size: .85rem; }
/* Handy: Dateiname oben, Knopf darunter über die volle Breite */
@media (max-width: 781px) {
	.is-style-tabs .wp-block-file { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
	.is-style-tabs .wp-block-file > a:first-child { overflow-wrap: normal; word-break: normal; }
	.is-style-tabs .wp-block-file .wp-block-file__button { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; }
}

/* ---------- Online Area: Login / Status (Block „Zugang“) ---------- */
.dmp-zugang-form { display: grid; gap: 10px; max-width: 460px; }
.dmp-zugang-form label { font-size: .9rem; font-weight: 700; }
.dmp-zugang-feld { display: flex; gap: 10px; }
.dmp-zugang-feld input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: 13px 15px; border-radius: var(--wp--preset--border-radius--klein); border: 2px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; color: inherit; }
.dmp-zugang-feld input:focus { outline: none; border-color: var(--wp--preset--color--accent-1); }
.dmp-zugang-fehler { min-height: 1.4em; margin: 0; color: var(--wp--preset--color--accent-1); font-weight: 700; font-size: .9rem; }
.is-style-section-dunkel .dmp-zugang-fehler { color: #ff8a8a; }
.dmp-zugang { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.dmp-zugang-status { margin: 0; }
@media (max-width: 520px) { .dmp-zugang-feld { flex-direction: column; } }

/* ---------- Online Area: Werkzeuge ---------- */
/* Gestaltung je Tool in assets/tools/<tool>/<tool>.css (nur auf Seiten mit dem Tool geladen) */

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Galerie-Raster: Bilder, die DIREKT im Raster liegen, füllen ihre Zelle.
   Nur direkte Kinder – sonst würden auch Icons in Karten-Rastern aufgeblasen.
   Icon-Kreise ausgenommen: Die behalten ihre Breite und bleiben rund (z. B. Kurse & Preise, Coaching & Recording). */
.is-layout-grid > figure.wp-block-image:not(.is-style-icon-kreis) img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
