/*
Theme Name: Vertriebswelt24
Theme URI: https://vertriebswelt24.de
Author: Web24 Consulting
Description: Theme für das Portal vertriebswelt24.de im Design Version 2 (Vorlage Theme Kundenwelt24): Plus Jakarta Sans und Lato lokal, Akzent Teal, Nachtblau, Amber, Pillenknöpfe. Ohne Builder, ohne Fotos (Kopfflächen als Verlauf). Gehört zum Plugin Web24 Vertriebswelt.
Version: 0.1.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: vertriebswelt24
*/

/* Lokale Schriften (aus kundenwelt24: Lato v25, Plus Jakarta Sans; OFL) */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/lato--v25-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/lato--v25-italic-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/lato--v25-normal-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/plus-jakarta-sans--normal-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/plus-jakarta-sans--normal-800.woff2') format('woff2'); }

/* Palette Design Version 2, Akzent Teal (Bauplan 5) */
:root {
	--vw-akzent: #0f766e;
	--vw-akzent-dunkel: #115e59;
	--vw-akzent-hell: #ecfdf5;
	--vw-nacht: #0b1526;
	--vw-nacht-2: #142238;
	--vw-nacht-rand: #22324d;
	--vw-amber: #f59e0b;
	--vw-gruen: #047857;
	--vw-flaeche-grau: #f5f7fb;
	--vw-linie: #e6eaf2;
	--vw-text-farbe: #475569;
	--vw-leise: #64748b;
	--vw-kopf: 'Plus Jakarta Sans', 'Montserrat', system-ui, sans-serif;
	--vw-schrift: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--vw-breite: 1180px;

	/* Tokens, die das Plugin (vertriebswelt.css) liest */
	--vw-rand: var(--vw-linie);
	--vw-text: var(--vw-nacht);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--vw-text-farbe); font-family: var(--vw-schrift); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--vw-kopf); color: var(--vw-nacht); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; letter-spacing: -.03em; }
h3 { font-weight: 700; }
a { color: var(--vw-akzent); }
a:hover { color: var(--vw-akzent-dunkel); }
img { max-width: 100%; height: auto; }
::selection { background: var(--vw-akzent-hell); color: var(--vw-nacht); }
:focus-visible { outline: 3px solid var(--vw-amber); outline-offset: 2px; }
.vw-huelle { width: 100%; max-width: var(--vw-breite); margin: 0 auto; padding: 0 24px; }
.vw-sprung { position: absolute; left: -9999px; }
.vw-sprung:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Obere Zeile am Rand: Profil und Abmelden */
.vw-oben { background: var(--vw-nacht); color: #fff; font-family: var(--vw-kopf); font-size: 14px; }
.vw-oben .vw-huelle { display: flex; justify-content: flex-end; align-items: center; gap: 18px; min-height: 40px; }
.vw-oben a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.vw-oben a:hover, .vw-oben a:focus { color: #fbbf24; }
.vw-oben img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1.5px solid #fff; }
.vw-oben-knopf { border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 100px; padding: 4px 14px; }
.vw-oben-knopf:hover, .vw-oben-knopf:focus { border-color: #fbbf24; }
.vw-oben a:focus-visible { outline: 2px solid #fbbf24; outline-offset: 3px; }

/* Kopfzeile */
.vw-kopf { background: #fff; border-bottom: 1px solid var(--vw-linie); position: sticky; top: 0; z-index: 20; }
.vw-kopf .vw-huelle { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.vw-logo { display: flex; align-items: center; gap: 10px; font-family: var(--vw-kopf); font-weight: 800; font-size: 20px; color: var(--vw-nacht); text-decoration: none; letter-spacing: -.02em; }
.vw-logo:hover { color: var(--vw-nacht); }
.vw-logo__wort span { color: var(--vw-akzent); }
.vw-logo svg { flex: none; }
.vw-nav { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.vw-nav a { color: var(--vw-nacht); text-decoration: none; font-family: var(--vw-kopf); font-weight: 700; font-size: 15px; }
.vw-nav a:hover { color: var(--vw-akzent); }

/* Knöpfe (Pillen); das Plugin definiert vw-knopf, das Theme verfeinert */
.vw-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--vw-akzent); color: #fff !important; border: 0; border-radius: 100px; padding: 16px 26px; font-family: var(--vw-kopf); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none !important; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(15, 118, 110, .65); transition: background .2s, transform .25s, box-shadow .25s; }
.vw-knopf:hover { background: var(--vw-akzent-dunkel); color: #fff !important; transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(17, 94, 89, .7); }
.vw-knopf--klein { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.vw-knopf--klein:hover { transform: none; box-shadow: none; }
.vw-knopf--rand, .vw-knopf--zweit { background: #fff; color: var(--vw-nacht) !important; border: 1.5px solid var(--vw-nacht); box-shadow: none; }
.vw-knopf--rand:hover, .vw-knopf--zweit:hover { background: var(--vw-flaeche-grau); color: var(--vw-nacht) !important; box-shadow: none; }
.vw-knopf--amber { background: var(--vw-amber); color: var(--vw-nacht) !important; box-shadow: none; }
.vw-knopf--amber:hover { background: #fbbf24; color: var(--vw-nacht) !important; }
.vw-knopf--warnung { background: #b42318; box-shadow: none; }
.vw-knopf--warnung:hover { background: #912018; }

/* Inhalt und Unterseiten */
.vw-inhalt { padding: 0 0 72px; }
.vw-seitenkopf { background: var(--vw-flaeche-grau); padding: 56px 0 40px; margin-bottom: 40px; }
.vw-seitenkopf h1 { margin: 0; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.035em; }
.vw-seite { max-width: 960px; }
.vw-seite > h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 1.6em 0 .5em; }
.vw-seite > h3 { font-size: 20px; margin: 1.4em 0 .4em; }

/* Seitenkopf mit Verlauf */
.vw-seitenkopf--verlauf { padding: 40px 0; }
.vw-seitenkopf-raster { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; }
.vw-seitenkopf-text { display: flex; flex-direction: column; gap: 12px; }
.vw-seitenkopf-text .vw-vorzeile { padding: 0; display: inline-flex; align-items: center; gap: 10px; }
.vw-seitenkopf-text p { margin: 0; font-size: 18px; max-width: 560px; }
.vw-kopfbild { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(11, 21, 38, .15); }
.vw-kopf-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vw-kopf-chips li { background: #fff; border: 1px solid var(--vw-linie); border-radius: 100px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--vw-nacht); }

/* Verläufe statt Fotos (vertriebswelt24_bild) */
.vw-verlauf { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 24px; aspect-ratio: 3 / 2; background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .22), transparent 42%), linear-gradient(135deg, #0f766e 0%, #115e59 48%, #0b1526 100%); box-shadow: 0 20px 40px -24px rgba(11, 21, 38, .45); }
.vw-verlauf svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vw-verlauf--held { aspect-ratio: 4 / 3; border-radius: 32px; }
.vw-verlauf--karte { aspect-ratio: 16 / 9; border-radius: 18px; box-shadow: none; }
.vw-verlauf--profil { background: radial-gradient(circle at 80% 18%, rgba(245, 158, 11, .35), transparent 38%), linear-gradient(140deg, #14b8a6 0%, #0f766e 50%, #115e59 100%); }
.vw-verlauf--firmen { background: radial-gradient(circle at 20% 80%, rgba(20, 184, 166, .45), transparent 45%), linear-gradient(135deg, #0b1526 0%, #142238 50%, #115e59 100%); }
.vw-verlauf--netz { background: radial-gradient(circle at 75% 30%, rgba(255, 255, 255, .2), transparent 40%), linear-gradient(120deg, #115e59 0%, #0f766e 55%, #2dd4bf 100%); }
.vw-verlauf--jobs { background: radial-gradient(circle at 25% 25%, rgba(245, 158, 11, .5), transparent 40%), linear-gradient(135deg, #0f766e 0%, #0b1526 100%); }
.vw-verlauf--community, .vw-verlauf--team { background: radial-gradient(circle at 70% 75%, rgba(245, 158, 11, .3), transparent 42%), linear-gradient(150deg, #0f766e 0%, #134e4a 55%, #0b1526 100%); }
.vw-verlauf--anmelden { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(135deg, #0b1526 0%, #0f766e 100%); }

/* Raster und Karten der Startseite */
.vw-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.vw-raster .vw-karte { border: 1px solid var(--vw-linie); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 8px; background: #fff; transition: transform .25s, box-shadow .25s; }
.vw-raster .vw-karte:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(11, 21, 38, .3); }
.vw-raster .vw-karte h3 { margin: 0; font-size: 19px; }
.vw-raster .vw-karte p { margin: 0 0 8px; }
.vw-karte-foto { margin: -12px -12px 10px; overflow: hidden; border-radius: 18px; }
.vw-job-karte { position: relative; color: inherit; text-decoration: none; }
.vw-job-karte:hover { color: inherit; }
.vw-job-karte h3 { padding-right: 56px; }
.vw-job-neu { position: absolute; top: 20px; right: 20px; background: var(--vw-amber); color: var(--vw-nacht); border-radius: 100px; padding: 2px 10px; font-size: 12px; font-weight: 800; font-family: var(--vw-kopf); text-transform: uppercase; letter-spacing: .04em; }
.vw-job-zeile { font-weight: 700; color: var(--vw-akzent-dunkel); font-size: 15px; }

/* Plugin-Bausteine im Stil von Version 2 */
.vw-hinweis { border-left: 0; border-radius: 16px; }
.vw-anmelden .vw-feld input[type=email] { border-radius: 14px; padding: 14px 16px; }

/* Startseite: Held */
.vw-held { padding: 56px 0 0; background: #fff; }
.vw-held-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-bottom: 80px; }
.vw-held-text { display: flex; flex-direction: column; gap: 24px; animation: vw-auf .8s ease-out both; }
.vw-marke { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 100px; background: var(--vw-akzent-hell); color: var(--vw-akzent-dunkel); font-size: 14px; font-weight: 700; }
.vw-marke b { background: var(--vw-akzent); color: #fff; border-radius: 100px; padding: 2px 10px; font-size: 12px; }
.vw-held h1 { margin: 0; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -.035em; }
.vw-unterstrich { position: relative; display: inline-block; color: var(--vw-akzent); white-space: nowrap; }
.vw-unterstrich svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 16px; }
.vw-unterstrich path { fill: none; stroke: var(--vw-amber); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: vw-strich 1s .5s ease-out forwards; }
.vw-held-text > p { font-size: 20px; line-height: 1.6; max-width: 560px; margin: 0; }
.vw-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.vw-haken { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 700; color: #334155; }
.vw-haken li { position: relative; padding-left: 26px; }
.vw-haken li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23047857' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Startseite: Anmeldekasten als schwebende Karte */
.vw-buehne { position: relative; padding: 24px 0 24px 24px; }
.vw-kasten { position: relative; background: var(--vw-nacht); color: #cbd5e1; border-radius: 32px; padding: 36px 34px; box-shadow: 0 24px 48px -20px rgba(11, 21, 38, .45); }
.vw-kasten h2 { color: #fff; font-size: 26px; margin: 0 0 6px; }
.vw-kasten p { color: #cbd5e1; }
.vw-kasten .vw-feld > span { color: #fff; }
.vw-kasten .vw-feld input[type=email] { background: #fff; color: var(--vw-nacht); border-color: transparent; }
.vw-kasten .vw-knopf { background: var(--vw-amber); color: var(--vw-nacht) !important; box-shadow: none; }
.vw-kasten .vw-knopf:hover { background: #fbbf24; }
.vw-kasten .vw-klein { color: #94a3b8; }
.vw-kasten .vw-klein a { color: #5eead4; }
.vw-kasten .vw-hinweis { background: var(--vw-nacht-2); color: #e2e8f0; }
.vw-schwebe { position: absolute; left: -8px; top: 18px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--vw-nacht); border-radius: 18px; padding: 12px 16px; box-shadow: 0 20px 40px -16px rgba(11, 21, 38, .4); font-size: 14px; line-height: 1.35; animation: vw-schweben 5s ease-in-out infinite; z-index: 1; }
.vw-schwebe span { display: flex; flex-direction: column; color: var(--vw-text-farbe); }
.vw-schwebe strong { color: var(--vw-nacht); font-size: 15px; }
.vw-puls { width: 10px; height: 10px; border-radius: 50%; background: var(--vw-gruen); flex: none; animation: vw-puls 2s infinite; }
.vw-buehne-foto .vw-verlauf { border-radius: 32px; }
.vw-buehne .vw-buehne-foto ~ .vw-kasten { margin: -72px 0 0 48px; }

/* Laufband */
.vw-laufband { background: var(--vw-nacht); padding: 18px 0; overflow: hidden; }
.vw-laufband-spur { display: flex; width: max-content; gap: 48px; font-family: var(--vw-kopf); font-weight: 700; font-size: 20px; color: #fff; white-space: nowrap; animation: vw-laufen 36s linear infinite; }
.vw-laufband-spur i { color: var(--vw-amber); font-style: normal; }

/* Abschnitte der Startseite (vw-abschnitt gehört dem Plugin) */
.vw-sektion { padding: 104px 0; }
.vw-sektion--grau { background: var(--vw-flaeche-grau); }
.vw-sektion h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; }
.vw-sektion-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 48px; }
.vw-sektion-kopf h2 { max-width: 680px; }
.vw-sektion-kopf p { max-width: 420px; margin: 0; }
.vw-vorzeile { display: inline-block; font-family: var(--vw-kopf); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--vw-akzent); padding-bottom: 12px; }
.vw-schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.vw-schritt { background: var(--vw-flaeche-grau); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; }
.vw-sektion--grau .vw-schritt { background: #fff; }
.vw-schritt:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(11, 21, 38, .35); }
.vw-schritt b { width: 56px; height: 56px; border-radius: 18px; background: var(--vw-akzent); color: #fff; font-family: var(--vw-kopf); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.vw-schritt h3 { margin: 0; font-size: 21px; }
.vw-schritt p { margin: 0; font-size: 16px; }
.vw-schritt--dunkel { background: var(--vw-nacht) !important; }
.vw-schritt--dunkel h3 { color: #fff; }
.vw-schritt--dunkel p { color: #cbd5e1; }
.vw-schritt--dunkel b { background: var(--vw-amber); color: var(--vw-nacht); }
.vw-sektion--grau .vw-karte { background: #fff; }

/* Abschlussband */
.vw-band { background: var(--vw-nacht); border-radius: 36px; padding: 64px 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.vw-band h2 { color: #fff; margin: 0 0 12px; font-size: clamp(30px, 4vw, 52px); line-height: 1.06; }
.vw-band h2 span { color: var(--vw-amber); }
.vw-band p { color: #cbd5e1; font-size: 19px; max-width: 600px; margin: 0; }

/* Fußzeile */
.vw-fuss { background: var(--vw-nacht); color: #94a3b8; padding: 40px 0; font-size: 15px; }
.vw-fuss .vw-huelle { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.vw-fuss a { color: #cbd5e1; text-decoration: none; }
.vw-fuss a:hover { color: #fff; }
.vw-fuss nav { display: flex; gap: 20px; flex-wrap: wrap; }
.vw-fuss .vw-logo { color: #fff; font-size: 18px; }
.vw-fuss__zeile { margin-top: 8px; }

@keyframes vw-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes vw-laufen { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vw-puls { 0% { box-shadow: 0 0 0 0 rgba(4, 120, 87, .5); } 70% { box-shadow: 0 0 0 10px rgba(4, 120, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0); } }
@keyframes vw-auf { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes vw-strich { to { stroke-dashoffset: 0; } }

@media (max-width: 980px) {
	.vw-held-raster { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
	.vw-sektion { padding: 72px 0; }
	.vw-buehne { padding: 16px 0; max-width: 560px; }
	.vw-band { padding: 48px 28px; }
	.vw-nav { gap: 16px; }
	.vw-seitenkopf-raster { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 720px) {
	.vw-huelle { padding: 0 16px; }
	.vw-kopf { position: static; }
	.vw-kopf .vw-huelle { padding-top: 10px; padding-bottom: 10px; }
	.vw-nav { width: 100%; margin: 0; gap: 10px 18px; font-size: 14px; }
	.vw-held { padding-top: 36px; }
	.vw-held-text > p { font-size: 18px; }
	.vw-kasten { padding: 28px 22px; border-radius: 24px; }
	.vw-buehne-foto .vw-verlauf { border-radius: 24px; }
	.vw-buehne .vw-buehne-foto ~ .vw-kasten { margin: -48px 12px 0; }
	.vw-seitenkopf-raster { grid-template-columns: 1fr; }
	.vw-seitenkopf-foto { display: none; }
}
@media (max-width: 480px) {
	.vw-knoepfe .vw-knopf { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.vw-held-text, .vw-schwebe, .vw-puls, .vw-laufband-spur { animation: none; }
	.vw-unterstrich path { animation: none; stroke-dashoffset: 0; }
	.vw-schritt, .vw-raster .vw-karte, .vw-knopf { transition: none; }
}
