/*
Theme Name: Carino Music
Author: Carino Music
Description: Individuelles Theme für Carino Music, Wedding & Event DJ. Legt beim Aktivieren die Seiten Home, Über mich, Leistungen, Kontakt und Impressum an und bringt ein eigenes Kontaktformular mit.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: carino-music
*/

:root {
	--cm-bg: #FAF6F1;
	--cm-sand: #F5E6D3;
	--cm-sand-2: #EAD8C2;
	--cm-line: #E3D3BF;
	--cm-line-2: #D9C3A8;
	--cm-ink: #2D2016;
	--cm-text: #4A3A2D;
	--cm-muted: #6B5744;
	--cm-muted-2: #5A4838;
	--cm-taupe: #8C7966;
	--cm-accent: #E6CFB4;
	--cm-serif: 'Gloock', 'Didot', 'Bodoni MT', Georgia, serif;
	--cm-sans: 'Jost', 'Century Gothic', 'Avenir Next', 'Segoe UI', sans-serif;
	--cm-pad: clamp(20px, 5vw, 64px);
}

/* Grundlagen */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.cm-site {
	margin: 0;
	background: var(--cm-bg);
	color: var(--cm-ink);
	font-family: var(--cm-sans);
	font-size: 18px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

.cm-site *, .cm-site *::before, .cm-site *::after { box-sizing: border-box; }
.cm-site a { color: var(--cm-ink); }
.cm-site a:hover { color: var(--cm-muted); }
.cm-site a:focus-visible, .cm-site button:focus-visible, .cm-site input:focus-visible,
.cm-site select:focus-visible, .cm-site textarea:focus-visible { outline: 2px solid var(--cm-taupe); outline-offset: 3px; }
.cm-site img { max-width: 100%; height: auto; }
.cm-page > p:empty { display: none; }

.cm-skip { position: absolute; left: -9999px; top: 0; background: var(--cm-ink); color: var(--cm-bg) !important; padding: 12px 20px; z-index: 100; }
.cm-skip:focus { left: 12px; top: 12px; }

.cm-wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--cm-pad); }

/* Schrift */
.cm-eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cm-muted); font-weight: 500; }
.cm-h1, .cm-h2, .cm-h3 { margin: 0; font-family: var(--cm-serif); font-weight: 400; text-wrap: balance; }
.cm-h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: 1.04; letter-spacing: -0.01em; }
.cm-h1--page { font-size: clamp(42px, 5.6vw, 80px); }
.cm-h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.1; }
.cm-h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; }
.cm-lead { margin: 0; max-width: 620px; font-size: 20px; color: var(--cm-text); text-wrap: pretty; }
.cm-text { margin: 0; max-width: 560px; color: var(--cm-text); text-wrap: pretty; }
.cm-stack { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cm-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }

/* Buttons und Links */
.cm-site a.cm-btn, .cm-site button.cm-btn {
	display: inline-flex; align-items: center; justify-content: center;
	appearance: none; border: 0; cursor: pointer; text-decoration: none;
	background: var(--cm-ink); color: var(--cm-bg);
	font-family: inherit; font-size: 18px; font-weight: 500; line-height: 1.3;
	padding: 16px 34px; min-height: 56px; border-radius: 999px;
}
.cm-site a.cm-btn:hover, .cm-site button.cm-btn:hover { background: #47362A; color: var(--cm-bg); }
.cm-site a.cm-btn--small { font-size: 16px; padding: 10px 24px; min-height: 44px; }
.cm-site button.cm-btn--ghost { background: transparent; color: var(--cm-ink); border: 1px solid var(--cm-ink); }
.cm-link { display: inline-block; padding: 10px 0; font-weight: 500; text-underline-offset: 5px; }
.cm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* Kopfbereich */
.cm-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 24px; }
.cm-site a.cm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.cm-brand-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--cm-accent); display: block; }
.cm-brand-name { font-family: var(--cm-serif); font-size: 26px; line-height: 1; }
.cm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; }
.cm-site a.cm-nav-link { text-decoration: none; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.cm-site a.cm-nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }

/* Abschnitte */
.cm-section { padding-block: 112px; }
.cm-section--line { border-top: 1px solid var(--cm-line); }
.cm-section--sand { background: var(--cm-sand); }
.cm-section--sand .cm-eyebrow { color: var(--cm-muted-2); }
.cm-section-inner { display: flex; flex-direction: column; gap: 56px; }
.cm-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 48px 72px; align-items: center; }

/* Einstieg Startseite */
.cm-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px 64px; align-items: center; padding-block: 56px 104px; }
.cm-hero-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.cm-hero-visual { position: relative; width: min(520px, 100%); aspect-ratio: 1 / 1; justify-self: center; }
.cm-hero-visual::before { content: ""; position: absolute; inset: 0; transform: translate(7%, -6%); border-radius: 50%; background: var(--cm-sand); }
.cm-hero-visual .cm-photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; padding: 18%; }
.cm-hero-badge { position: absolute; left: -6%; bottom: -8%; width: 42%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--cm-sand) url(assets/logo.png) center / cover no-repeat; box-shadow: 0 0 0 10px var(--cm-bg); }

/* Einstieg Unterseiten */
.cm-intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-block: 56px 96px; }
.cm-intro--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px 72px; align-items: center; padding-block: 56px 112px; }
.cm-portrait { position: relative; width: min(440px, 100%); aspect-ratio: 4 / 5; justify-self: center; }
.cm-portrait::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1 / 1; right: -12%; top: -6%; border-radius: 50%; background: var(--cm-sand); }
.cm-portrait .cm-photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 999px 999px 6px 6px; }
.cm-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.cm-site a.cm-jump-link { text-decoration: none; border: 1px solid var(--cm-ink); border-radius: 999px; padding: 10px 22px; min-height: 44px; font-size: 16px; display: inline-flex; align-items: center; }

/* Fotos und Platzhalter */
.cm-photo { background: var(--cm-sand-2); border: 1px dashed var(--cm-taupe); display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px; color: var(--cm-muted-2); font-size: 16px; line-height: 1.5; }
.cm-site img.cm-photo { display: block; padding: 0; border: 0; object-fit: cover; }
.cm-photo--wide { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; }
.cm-site img.cm-photo--wide { height: auto; }

/* Einsatzgebiet-Zeile */
.cm-band { border-top: 1px solid var(--cm-line); border-bottom: 1px solid var(--cm-line); }
.cm-band-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px 40px; padding-block: 30px; font-family: var(--cm-serif); font-size: 22px; line-height: 1.3; }

/* Leistungskarten */
.cm-cards { display: flex; flex-direction: column; gap: 24px; }
.cm-cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px; }
.cm-card { border: 1px solid var(--cm-line-2); border-radius: 6px; padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.cm-card .cm-h3 { font-size: 32px; }
.cm-card--feature { background: var(--cm-sand); border: 0; padding: clamp(28px, 4.5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 32px 64px; align-items: start; }
.cm-card--feature .cm-h3 { font-size: clamp(32px, 3.4vw, 48px); }
.cm-card--feature .cm-eyebrow { color: var(--cm-muted-2); }

/* Listen */
.cm-list { margin: 0; padding: 0; list-style: none; align-self: stretch; }
.cm-list li { padding: 16px 0; border-bottom: 1px solid var(--cm-line-2); }
.cm-list li:last-child { border-bottom: 0; }

/* Schritte und Werte */
.cm-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 40px 32px; }
.cm-step { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--cm-ink); padding-top: 20px; }
.cm-step-num { font-family: var(--cm-serif); font-size: 44px; line-height: 1; color: var(--cm-taupe); }
.cm-step-title { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.cm-step p { margin: 0; color: var(--cm-text); font-size: 17px; text-wrap: pretty; }

/* Stimmen */
.cm-quote { max-width: 920px; margin: 0 auto; padding: 104px var(--cm-pad); display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.cm-quote blockquote { margin: 0; font-family: var(--cm-serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.3; text-wrap: balance; }
.cm-quote figcaption { color: var(--cm-muted); font-size: 17px; }

/* Kontakt */
.cm-kontakt { background: var(--cm-ink); color: var(--cm-bg); scroll-margin-top: 0; }
.cm-kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 56px 72px; align-items: start; padding-block: 120px; }
.cm-kontakt-info { display: flex; flex-direction: column; gap: 24px; }
.cm-kontakt .cm-kontakt-info .cm-eyebrow { color: var(--cm-accent); }
.cm-kontakt .cm-h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; }
.cm-kontakt-info > p { margin: 0; max-width: 440px; color: #EADFD2; }
.cm-daten { margin: 16px 0 0; display: flex; flex-direction: column; gap: 18px; }
.cm-daten dt { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cm-accent); }
.cm-daten dd { margin: 2px 0 0; font-size: 20px; line-height: 1.45; }
.cm-site .cm-daten a { color: var(--cm-bg); text-underline-offset: 5px; }
.cm-site .cm-daten a:hover { color: var(--cm-accent); }

.cm-form-card { background: var(--cm-bg); color: var(--cm-ink); border-radius: 6px; padding: clamp(24px, 3.4vw, 48px); }
.cm-form { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.cm-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 22px 20px; }
.cm-field { display: flex; flex-direction: column; gap: 8px; }
.cm-field label { font-size: 15px; font-weight: 500; }
.cm-field input, .cm-field select, .cm-field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; margin: 0;
	font-family: inherit; font-size: 17px; line-height: 1.5; color: var(--cm-ink);
	background: #FFFFFF; border: 1px solid var(--cm-taupe); border-radius: 6px;
}
.cm-field textarea { resize: vertical; }
.cm-hint { font-size: 15px; color: var(--cm-muted); }
.cm-check { display: flex; align-items: flex-start; gap: 12px; }
.cm-check input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--cm-ink); }
.cm-check label { font-size: 15px; line-height: 1.5; color: var(--cm-text); }
.cm-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cm-meldung { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 24px 0; }
.cm-meldung-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--cm-sand); display: flex; align-items: center; justify-content: center; }
.cm-meldung .cm-h3 { font-size: 36px; }
.cm-meldung p { margin: 0; color: var(--cm-text); }
.cm-fehler { margin: 0; padding: 14px 18px; border: 1px solid #8A2A1C; border-radius: 6px; color: #7A2318; background: #FBEDEA; font-size: 16px; }

/* Fußbereich */
.cm-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: 56px; }
.cm-footer-brand { display: flex; align-items: center; gap: 20px; }
.cm-footer-brand img { width: 112px; height: 112px; border-radius: 50%; }
.cm-footer-brand p { margin: 0; font-size: 16px; color: var(--cm-muted); line-height: 1.5; }
.cm-footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; }
.cm-footer-nav a { padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }

/* Textseiten: Impressum, Datenschutz und alle normalen WordPress-Seiten */
.cm-prose { padding-block: 56px 104px; }
.cm-prose-inner { max-width: 720px; }
.cm-prose-inner > * { margin-top: 0; margin-bottom: 0; }
.cm-prose-inner > * + * { margin-top: 20px; }
.cm-prose-inner > h1 { margin-bottom: 16px; }
.cm-prose-inner h2 { margin-top: 40px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.cm-prose-inner h3 { margin-top: 32px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.cm-prose-inner h2 + *, .cm-prose-inner h3 + * { margin-top: 10px; }
.cm-prose-inner p, .cm-prose-inner li { color: var(--cm-text); }

/* Stimmen: durchlaufende Zitate */
.cm-reviews-track { display: grid; width: 100%; }
.cm-review { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: 20px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.cm-review.is-active { opacity: 1; visibility: visible; }
.cm-review blockquote { margin: 0; font-family: var(--cm-serif); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; text-wrap: balance; }
.cm-review figcaption { color: var(--cm-muted); font-size: 17px; }
.cm-review-dots { display: flex; gap: 4px; }
.cm-review-dots button { appearance: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cm-review-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--cm-ink); }
.cm-review-dots button[aria-current="true"]::before { background: var(--cm-ink); }
@media (prefers-reduced-motion: reduce) { .cm-review { transition: none; } }
