/*
Theme Name: office collab
Theme URI: https://office-collab.ch
Author: office collab GmbH
Description: Block-Theme für office-collab.ch – Microsoft 365, Schulung, Automatisierung.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: office-collab
*/

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; }
:where(section[id]) { scroll-margin-top: 90px; }

/* ---------- Kopfbereich ---------- */
.oc-header {
	position: sticky; top: 0; z-index: 50;
	background: #fff; border-bottom: 1px solid var(--wp--preset--color--border);
}
.admin-bar .oc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .oc-header { top: 46px; } }
.oc-header-inner { padding-top: 14px !important; padding-bottom: 14px !important; }
.oc-brand { gap: 10px; }
.oc-brand .oc-logo { margin: 0; }
.oc-brand .oc-logo img { width: 44px; height: 44px; display: block; }
.oc-brand .oc-wordmark { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.oc-brand .oc-wordmark a { text-decoration: none; color: var(--wp--preset--color--navy); }
.oc-nav { font-size: 15px; font-weight: 500; gap: 22px; }
.oc-nav a { text-decoration: none; }
.oc-nav .oc-nav-cta > a { background: var(--wp--preset--color--navy); color: #fff !important; padding: 10px 18px; border-radius: 8px; }

/* ---------- Abschnitte ---------- */
.oc-section { padding: 96px 24px !important; margin: 0 !important; }
.oc-bg-light { background: var(--wp--preset--color--light); }
.oc-bg-navy { background: var(--wp--preset--color--navy); color: #fff; }
.oc-bg-navy h2, .oc-bg-navy strong { color: #fff; }
.oc-bg-navy .oc-muted { color: #C9D2DF; }

.oc-eyebrow {
	margin: 0 0 12px !important; font-size: 14px; font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--blue-text);
}
.oc-bg-navy .oc-eyebrow { color: var(--wp--preset--color--yellow); }
.oc-lead { font-size: 19px; color: var(--wp--preset--color--muted); max-width: 640px; }
.oc-bg-navy .oc-lead { color: #C9D2DF; }
.oc-muted { color: var(--wp--preset--color--muted); }

/* ---------- Hero ---------- */
.oc-hero { padding-top: 88px !important; }
.oc-hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 24px; }
.oc-flow { background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 18px; padding: 28px !important; box-shadow: 0 18px 40px rgba(15,27,45,0.08); }
.oc-flow-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #5A6578; margin: 0 0 16px !important; }
.oc-flow ol { list-style: none; counter-reset: oc; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.oc-flow li { counter-increment: oc; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--wp--preset--color--light); font-size: 15px; line-height: 1.4; }
.oc-flow li::before { content: counter(oc); flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--wp--preset--color--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.oc-flow li:last-child { background: var(--wp--preset--color--blue-soft); }
.oc-flow li:last-child::before { content: "✓"; background: var(--wp--preset--color--blue); }

/* ---------- Karten ---------- */
.oc-cards { gap: 20px !important; }
.oc-card { border: 1px solid var(--wp--preset--color--border); border-radius: 16px; padding: 28px !important; background: #fff; }
.oc-card h3 { font-size: 20px; margin: 0 0 10px; }
.oc-card p { font-size: 16px; color: var(--wp--preset--color--muted); margin: 0; }
.oc-card.oc-dot::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px; background: var(--wp--preset--color--blue); }
.oc-dot-yellow::before { background: var(--wp--preset--color--yellow) !important; }
.oc-dot-green::before { background: #5A9A0A !important; }
.oc-dot-violet::before { background: var(--wp--preset--color--violet) !important; }
.oc-card .oc-org { font-size: 14px; color: #5A6578; margin: 0 0 6px; }

/* ---------- Workshop-Schritte ---------- */
.oc-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.oc-steps li { counter-increment: st; display: flex; gap: 16px; padding: 18px 20px; border: 1px solid #2A3A52; border-radius: 14px; color: #C9D2DF; font-size: 15px; }
.oc-steps li::before { content: "0" counter(st); font-family: var(--wp--preset--font-family--heading); font-weight: 800; color: var(--wp--preset--color--yellow); }
.oc-steps li strong { display: block; font-size: 17px; }

/* ---------- Über mich ---------- */
.oc-portrait-placeholder { aspect-ratio: 4 / 5; max-width: 400px; border-radius: 20px; background: #EDF1F5; border: 2px dashed #B8C2D0; display: flex; align-items: center; justify-content: center; color: #5A6578; }
.oc-portrait img { border-radius: 20px; }
.oc-tags { gap: 10px; }
.oc-tags p { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--wp--preset--color--light); font-size: 14px; font-weight: 500; }

/* ---------- Kontakt ---------- */
.oc-contact-box { background: var(--wp--preset--color--blue-soft); border-radius: 24px; padding: 56px 48px !important; }
@media (max-width: 600px) { .oc-contact-box { padding: 36px 24px !important; } }
.oc-contact-buttons .wp-block-button { width: 100%; }
.oc-contact-buttons .wp-block-button__link { width: 100%; text-align: left; }

/* ---------- Buttons ---------- */
.oc-btn-light .wp-block-button__link { background: #fff !important; color: var(--wp--preset--color--navy) !important; }
.oc-btn-dark .wp-block-button__link { background: var(--wp--preset--color--navy) !important; }

/* ---------- Fusszeile ---------- */
.oc-footer { background: var(--wp--preset--color--navy); color: #C9D2DF; font-size: 15px; margin-top: 0 !important; }
.oc-footer a { color: #C9D2DF; }
.oc-footer a:hover { color: #fff; }
.oc-footer .oc-footer-brand { gap: 12px; }
.oc-footer .oc-logo-badge { margin: 0; background: #fff; border-radius: 10px; padding: 6px; }
.oc-footer .oc-logo-badge img { width: 36px; height: 36px; display: block; }
.oc-footer strong { color: #fff; font-family: var(--wp--preset--font-family--heading); }
.oc-footer-bottom { border-top: 1px solid #2A3A52; font-size: 13px; color: #9AA6B8; }
.oc-footer-bottom p { margin: 0; }
