/*
Theme Name: vedanova
Theme URI: https://vedanova.de
Author: vedanova
Description: Block-Theme für die vedanova-Website (OCM Suite), zweisprachig DE/EN. Die Seiteninhalte liegen in den Seiten und sind im Block-Editor bearbeitbar. Entwurfsstand, noch nicht in einer WordPress-Instanz getestet.
Version: 0.2.2
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vedanova
*/

:root {
  --vn-ink: #1C263E;
  --vn-text: #3A4460;
  --vn-muted: #5D6779;
  --vn-green: #377869;
  --vn-green-dark: #255548;
  --vn-cream: #FAF8F3;
  --vn-line: #E4DFD2;
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; background: var(--vn-cream); color: var(--vn-ink); -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }

/* Seitenrand: 1120 px Inhalt, mindestens 24 px Rand */
.vn-pad { padding-inline: max(24px, calc((100% - 1120px) / 2)); }

a { color: var(--vn-green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #4BA2E3; outline-offset: 2px;
}

/* Navigation */
.vn-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.vn-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--vn-ink); }
.vn-mark { display: grid; grid-template-columns: repeat(2, 22px); gap: 3px; }
.vn-mark i { display: block; height: 22px; border-radius: 5px; }
.vn-mark i:nth-child(1) { background: #845EED; }
.vn-mark i:nth-child(2) { background: #377869; }
.vn-mark i:nth-child(3) { background: #E8A13B; }
.vn-mark i:nth-child(4) { background: #4BA2E3; }
.vn-logotext { display: flex; flex-direction: column; line-height: 1.1; }
.vn-logotext b { font-size: 22px; font-weight: 700; }
.vn-logotext small { font-size: 13px; font-weight: 500; color: var(--vn-muted); }
.vn-links { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; }
.vn-links a { color: var(--vn-ink); text-decoration: none; }
.vn-langswitch { display: inline-flex; align-items: center; gap: 14px; }
.vn-flag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--vn-muted) !important; white-space: nowrap; }
.vn-flag .vn-flagimg { display: block; width: 22px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(28, 38, 62, .18); opacity: .65; }
.vn-flag.is-active { color: var(--vn-ink) !important; }
.vn-flag.is-active .vn-flagimg { opacity: 1; }
.vn-flag:hover .vn-flagimg { opacity: 1; }

/* Mitlaufende Menüleiste (ab 701 px Breite) */
html { scroll-padding-top: 96px; }
@media (min-width: 701px) {
  header.wp-block-template-part { position: sticky; top: 0; z-index: 100; background: rgba(250, 248, 243, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--vn-line); }
  body.admin-bar header.wp-block-template-part { top: 32px; }
}
@media (max-width: 782px) and (min-width: 701px) {
  body.admin-bar header.wp-block-template-part { top: 46px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 16px; }
}

/* Buttons und Links */
.vn-btn { display: inline-block; background: var(--vn-green); color: #fff !important; text-decoration: none; font-weight: 600; border-radius: 10px; padding: 13px 22px; font-size: 15px; line-height: 1.2; border: 0; cursor: pointer; }
.vn-btn:hover { background: var(--vn-green-dark); }
.vn-btn-sm { white-space: nowrap; }
.vn-btn-lg { padding: 17px 28px; border-radius: 12px; font-size: 17px; }
.vn-link { color: var(--vn-ink); font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Typografie */
.vn-eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vn-green); }
.vn-eyebrow-light { color: #8FD3BF; }
.vn-hero .vn-eyebrow { text-transform: none; letter-spacing: .02em; font-size: 15px; }
h1, h2, h3 { margin: 0; color: inherit; }
.vn-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; }
.vn-section h2, .vn-founders h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.vn-lead { margin: 0; font-size: 20px; line-height: 1.6; color: var(--vn-text); max-width: 520px; }
.vn-muted { margin: 0; font-size: 15px; color: var(--vn-muted); }

/* Hero */
.vn-hero { display: flex; align-items: center; gap: 72px; padding-top: 72px; padding-bottom: 104px; }
.vn-hero-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.vn-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }

/* Beispielansicht */
.vn-matrix-card { margin: 0; width: 640px; max-width: 100%; flex-shrink: 0; background: #fff; border: 1px solid var(--vn-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.vn-matrix-head { display: flex; justify-content: space-between; align-items: center; }
.vn-matrix-head strong { font-size: 16px; font-weight: 700; }
.vn-matrix-head span { font-size: 13px; color: var(--vn-muted); }
.vn-mchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vn-mchip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #E6F0ED; color: #245448; }
.vn-mchip-gap { background: #EFECE3; color: #4A5468; }
.vn-mchip-drift { background: #FBEBD0; color: #7A4A00; }
.vn-mcap { font-size: 13px; color: var(--vn-muted); line-height: 1.4; margin: 0; }
.vn-matrix-scroll { overflow-x: auto; }
.vn-matrix { position: relative; min-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.vn-today { position: absolute; top: 30px; bottom: 0; left: calc(108px + (100% - 108px) / 2); width: 0; border-left: 2px dashed #E8A13B; pointer-events: none; z-index: 0; }
.vn-mrow { position: relative; z-index: 1; display: flex; gap: 8px; align-items: stretch; }
.vn-mlabel { width: 100px; flex-shrink: 0; font-size: 12px; font-weight: 600; display: flex; align-items: center; line-height: 1.25; }
.vn-mgrid { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.vn-mphases { font-size: 12px; font-weight: 600; color: var(--vn-muted); }
.vn-mphases span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 2px 6px; border-bottom: 2px solid var(--vn-line); }
.vn-mphases span.is-now { color: var(--vn-ink); border-bottom-color: #E8A13B; }
.vn-mphases em { font-style: normal; font-size: 10px; font-weight: 700; background: #FBEBD0; color: #7A4A00; padding: 1px 6px; border-radius: 999px; }
.vn-bar { position: relative; z-index: 1; min-width: 0; overflow-wrap: anywhere; border-radius: 8px; padding: 8px 9px; font-size: 12px; font-weight: 600; line-height: 1.25; }
.vn-arc { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.vn-arc-top { display: flex; justify-content: space-between; gap: 6px; }
.vn-arc-top b { font-weight: 700; }
.vn-arc-top i { font-style: normal; font-weight: 700; flex-shrink: 0; }
.vn-arc-sub { font-size: 11px; font-weight: 500; opacity: .9; }
.vn-arc-track { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); margin-top: 2px; overflow: hidden; }
.vn-arc-track span { display: block; height: 100%; background: #fff; border-radius: 2px; }
.b-blue .vn-arc-track, .b-amber .vn-arc-track { background: rgba(28,38,62,.22); }
.b-blue .vn-arc-track span, .b-amber .vn-arc-track span { background: var(--vn-ink); }
.b-green { background: #377869; color: #fff; }
.b-violet { background: #6D45D6; color: #fff; }
.b-blue { background: #4BA2E3; color: var(--vn-ink); }
.b-amber { background: #E8A13B; color: var(--vn-ink); }
.vn-arc.is-zero { background: #fff; border: 1.5px solid #E8A13B; color: var(--vn-ink); padding: 6.5px 7.5px; }
.vn-arc.is-zero .vn-arc-track { background: rgba(28,38,62,.15); }
.vn-rh { display: flex; flex-direction: column; gap: 3px; border: 1.5px dashed; background: #fff; color: var(--vn-ink); padding: 6.5px 7.5px; }
.vn-rh b { font-weight: 700; }
.vn-rh-sub { font-size: 11px; font-weight: 500; color: var(--vn-muted); }
.vn-beads { display: flex; gap: 6px; margin-top: 2px; }
.vn-bead { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.r-green { border-color: #377869; } .r-green .vn-bead { background: #377869; }
.r-violet { border-color: #6D45D6; } .r-violet .vn-bead { background: #6D45D6; }
.b-gap { border: 1.5px dashed #8A93A6; color: var(--vn-muted); text-align: center; padding: 8px 6px; display: flex; align-items: center; justify-content: center; }
.b-quiet { background: #EFECE3; color: #4A5468; text-align: center; display: flex; align-items: center; justify-content: center; }
.vn-drift { display: flex; align-items: center; justify-content: center; }
.vn-drift i { width: 10px; height: 10px; border-radius: 50%; background: #E8A13B; }
.vn-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--vn-muted); padding-top: 4px; border-top: 1px solid var(--vn-line); margin-top: 2px; }
.vn-leg { display: inline-flex; align-items: center; gap: 6px; padding-top: 10px; }
.vn-leg i { display: inline-block; width: 22px; height: 10px; border-radius: 3px; }
.vn-leg-arc { background: #377869; }
.vn-leg-rh { border: 1.5px dashed #377869; background: #fff; }
.vn-leg-gap { border: 1.5px dashed #8A93A6; }
.vn-leg-quiet { background: #EFECE3; border: 1px solid #D5D0C2; }
.vn-leg-drift { width: 10px !important; height: 10px !important; border-radius: 50% !important; background: #E8A13B; }

/* Abschnitte */
.vn-section { padding-top: 104px; padding-bottom: 104px; }
.vn-white { background: #fff; }
.vn-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.vn-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.vn-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.vn-card { border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.vn-card-soft { background: var(--vn-cream); }
.vn-card-line { background: #fff; border: 1px solid var(--vn-line); gap: 14px; }
.vn-card h3 { font-size: 24px; line-height: 1.2; font-weight: 700; }
.vn-card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--vn-text); }
.vn-card p.vn-principle { font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--vn-ink); }
.vn-chip { display: block; width: 44px; height: 44px; border-radius: 12px; }
.c-green { background: #377869; } .c-violet { background: #845EED; } .c-amber { background: #E8A13B; }
.vn-num { font-size: 15px; font-weight: 700; }
.n-violet { color: #6D45D6; } .n-green { color: #377869; } .n-amber { color: #B36F0A; } .n-blue { color: #1F79B8; }

/* Gründungskreis */
.vn-founders { background: var(--vn-ink); color: #fff; padding-top: 104px; padding-bottom: 104px; display: flex; gap: 80px; align-items: flex-start; }
.vn-founders-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.vn-founders-text p { margin: 0; font-size: 18px; line-height: 1.65; color: #D6DBE7; }
.vn-founders-text p.vn-eyebrow { font-size: 14px; line-height: 1.2; }
.vn-founders-text p.vn-fine { font-size: 15px; line-height: 1.6; color: #B5BDD0; }
.vn-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.vn-price { border: 1px solid #3B4766; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.vn-price strong { font-size: 28px; font-weight: 800; }
.vn-price span { font-size: 15px; line-height: 1.4; color: #D6DBE7; }
.vn-price-hl { border-color: #8FD3BF; }
.vn-price-hl strong { color: #8FD3BF; }

/* Formular-Karte (Contact Form 7) */
.vn-formcard { width: 480px; max-width: 100%; flex-shrink: 0; background: #fff; color: var(--vn-ink); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.vn-formcard h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.vn-formcard p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--vn-text); }
.vn-formcard .wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.vn-formcard .wpcf7-form p { display: flex; flex-direction: column; gap: 6px; }
.vn-formcard label { font-size: 14px; font-weight: 600; color: var(--vn-ink); }
.vn-formcard input[type="text"], .vn-formcard input[type="email"], .vn-formcard input[type="tel"], .vn-formcard input[type="url"], .vn-formcard input[type="number"], .vn-formcard select, .vn-formcard textarea { width: 100%; border: 1px solid #B9BFCC; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--vn-ink); background: #fff; }
.vn-formcard input[type="text"], .vn-formcard input[type="email"], .vn-formcard input[type="tel"], .vn-formcard input[type="url"], .vn-formcard input[type="number"], .vn-formcard select { height: 48px; padding-block: 0; }
.vn-formcard select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231C263E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.vn-formcard .wpcf7-form-control-wrap { display: block; width: 100%; }
.vn-formcard textarea { resize: vertical; min-height: 90px; }
.vn-formcard .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--vn-text); }
.vn-formcard .wpcf7-acceptance input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; }
.vn-formcard input[type="submit"] { height: 52px; border: 0; border-radius: 12px; background: var(--vn-green); color: #fff; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.vn-formcard input[type="submit"]:hover { background: var(--vn-green-dark); }
.vn-formcard .wpcf7-not-valid-tip, .vn-formcard .wpcf7-response-output { font-size: 14px; }

/* FAQ und Über uns */
.vn-split { display: flex; gap: 80px; align-items: flex-start; padding-top: 96px; padding-bottom: 96px; }
.vn-split-head { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.vn-split-head h2 { font-size: 36px !important; line-height: 1.15 !important; }
.vn-split-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vn-split-body h3 { font-size: 24px; line-height: 1.3; font-weight: 700; }
.vn-split-body p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--vn-text); }

/* Zitat */
.wp-block-quote { margin: 8px 0 0; padding: 4px 0 4px 28px; border: 0; border-left: 4px solid #377869; }
.vn-split-body .wp-block-quote p, .wp-block-quote p { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 600; color: var(--vn-ink); }
.wp-block-quote cite { display: block; margin-top: 14px; font-size: 15px; font-style: normal; font-weight: 500; color: var(--vn-muted); }
@media (max-width: 700px) { .vn-split-body .wp-block-quote p, .wp-block-quote p { font-size: 19px; } }

/* Footer */
.vn-footer { background: var(--vn-ink); color: #D6DBE7; padding-block: 56px; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.vn-foot-brand { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; }
.vn-foot-name { font-size: 20px; font-weight: 700; color: #fff; }
.vn-foot-links { display: flex; gap: 32px; font-size: 15px; flex-wrap: wrap; }
.vn-foot-links a { color: #D6DBE7; }

/* Textseiten (Impressum, Datenschutz) */
.vn-legal { padding-top: 48px; padding-bottom: 96px; }
.vn-legal .wp-block-post-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 32px; }
.vn-legal .wp-block-post-content { font-size: 17px; line-height: 1.7; color: var(--vn-text); }
.vn-legal .wp-block-post-content > * + * { margin-top: 1em; }
.vn-legal h2, .vn-legal h3 { color: var(--vn-ink); margin-top: 1.6em; }


/* Inhalte als Blöcke (v0.2.0) */
.vn-page .wp-block-post-content { max-width: none; }
.vn-page .wp-block-post-content > * { max-width: none; margin-block: 0; }
.vn-brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.vn-claim { font-size: 14px; font-weight: 500; color: var(--vn-muted); padding-left: 20px; border-left: 1px solid var(--vn-line); white-space: nowrap; }
.wp-block-buttons.vn-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 8px 0 0; }
.vn-cta-row .wp-block-button { margin: 0; }
.vn-btn-lg .wp-block-button__link { display: inline-block; background: var(--vn-green); color: #fff; text-decoration: none; font-weight: 600; border-radius: 12px; padding: 17px 28px; font-size: 17px; line-height: 1.2; border: 0; }
.vn-btn-lg .wp-block-button__link:hover { background: var(--vn-green-dark); color: #fff; }
.vn-btn-link .wp-block-button__link { background: transparent; color: var(--vn-ink); font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: 0; border: 0; border-radius: 0; }
.vn-hero-text > .wp-block-heading { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; }
.vn-card[class*="cc-"]::before { content: ""; display: block; width: 44px; height: 44px; border-radius: 12px; }
.cc-green::before { background: #377869; } .cc-violet::before { background: #845EED; } .cc-amber::before { background: #E8A13B; }
.vn-grid2 { counter-reset: pc; }
.vn-pc::before { counter-increment: pc; content: counter(pc); font-size: 15px; font-weight: 700; }
.pc-violet::before { color: #6D45D6; } .pc-green::before { color: #377869; } .pc-amber::before { color: #B36F0A; } .pc-blue::before { color: #1F79B8; }
.vn-card.vn-pc h3 { font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--vn-ink); }
.vn-founders-text h2 { margin: 0; }
@media (max-width: 1100px) { .vn-claim { display: none; } }
@media (max-width: 700px) { .vn-card.vn-pc h3 { font-size: 19px; } }

/* Tablet */
@media (max-width: 1100px) {
  .vn-hero { flex-direction: column; align-items: stretch; gap: 48px; padding-bottom: 72px; }
  .vn-matrix-card { width: 100%; }
  .vn-grid3 { grid-template-columns: 1fr; }
  .vn-founders { flex-direction: column; gap: 48px; }
  .vn-formcard { width: 100%; }
  .vn-split { flex-direction: column; gap: 24px; }
  .vn-split-head { width: auto; }
}

/* Schmale Bildschirme */
@media (max-width: 900px) {
  .vn-hide-sm { display: none; }
  .vn-links { gap: 20px; }
}
@media (max-width: 700px) {
  .vn-nav { flex-wrap: wrap; }
  .vn-grid2 { grid-template-columns: 1fr; }
  .vn-prices { grid-template-columns: 1fr; }
  .vn-section, .vn-founders { padding-top: 72px; padding-bottom: 72px; }
  .vn-card, .vn-formcard { padding: 28px; }
  .vn-card p.vn-principle { font-size: 19px; }
  .vn-lead { font-size: 18px; }
}
