/*
Theme Name: Linda Nikolova Website
Theme URI: https://linda-nikolova.eu
Author: Linda Nikolova
Description: Block-Theme für linda-nikolova.eu – Beratung und Unterstützung für gemeinnützige Organisationen und Gründer:innen. Farben, Schriften und Formen nach dem Brand Manual „Sales, Strategies & other Stories“. Schriften lokal eingebunden (keine Verbindung zu Google).
Version: 2.5.2
Requires at least: 6.5
Tested up to: 6.8
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: ln-website
*/

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; }
:where(section, .wp-block-group)[id] { scroll-margin-top: 1.5rem; }

/* Kleine Überzeile in Josefin Sans (Klasse: ln-eyebrow) */
.ln-eyebrow {
	font-family: var(--wp--preset--font-family--josefin);
	font-size: 0.875rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	line-height: 1.5;
}
/* Slogan-Zeile (Klasse: ln-tagline) */
.ln-tagline {
	font-family: var(--wp--preset--font-family--josefin);
	font-weight: 300;
	font-size: 0.8125rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

/* Umrandeter Button (Stil "Kontur") */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--navy);
	border: 2px solid currentColor;
	padding: calc(0.8rem - 2px) calc(1.6rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
}

/* ---------- Kopfbereich ---------- */
.ln-header .ln-brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.ln-header .ln-brand img { width: 52px; height: 52px; display: block; }
.ln-header .ln-brand-name { font-family: var(--wp--preset--font-family--poppins); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--wp--preset--color--navy); display: block; }
.ln-header .ln-brand-sub { font-family: var(--wp--preset--font-family--josefin); font-weight: 300; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--wp--preset--color--slate); display: block; }
.ln-header .wp-block-navigation .ln-nav-cta > a {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	border-radius: 999px;
	padding: 0.6rem 1.4rem;
}
.ln-header .wp-block-navigation .ln-nav-cta > a:hover { background: var(--wp--preset--color--red); color: var(--wp--preset--color--white); }

/* ---------- Hero mit Memphis-Formen ---------- */
.ln-hero-art { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.ln-hero-art::before,
.ln-hero-art::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.ln-hero-art::before { left: 0; top: 0; width: 46%; height: 42%; background: var(--wp--preset--color--red); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
.ln-hero-art::after { right: 0; bottom: 0; width: 44%; height: 40%; background: var(--wp--preset--color--yellow); border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%; }
.ln-hero-art .ln-dots { position: absolute; right: 2%; top: 4%; width: 96px; height: 96px; border-radius: 50%; background-image: radial-gradient(var(--wp--preset--color--blue) 2px, transparent 2.5px); background-size: 12px 12px; z-index: 0; }
.ln-hero-art .wp-block-image { position: relative; z-index: 1; margin: 0; }
.ln-hero-art .wp-block-image img { width: 330px; height: 330px; max-width: 80vw; max-height: 80vw; object-fit: cover; border-radius: 50%; border: 6px solid var(--wp--preset--color--paper); box-sizing: border-box; }

/* ---------- Karten ---------- */
.ln-card { border-radius: 24px; }
.ln-card ul { padding-left: 1.2rem; margin: 0; }
.ln-card li + li { margin-top: 0.35rem; }
.ln-stat { border-radius: 20px; }
.ln-stat .ln-stat-num { font-family: var(--wp--preset--font-family--poppins); font-weight: 600; font-size: 2.1rem; line-height: 1.1; margin: 0; }
.ln-step { border-radius: 20px; }
.ln-step .ln-step-num { font-family: var(--wp--preset--font-family--poppins); font-weight: 600; color: var(--wp--preset--color--blue); }
.ln-photo img { border-radius: 20px; }
.ln-photo figcaption { font-size: 0.8125rem; text-align: right; margin-top: 0.4rem; }

/* Gründer:innen-Box mit Kreis */
.ln-founders { position: relative; overflow: hidden; border-radius: 28px; }
.ln-founders::before { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; background: var(--wp--preset--color--sky); border-radius: 50%; pointer-events: none; }
.ln-founders > * { position: relative; }

/* Kontur-Box */
.ln-outline-box { border: 2px solid var(--wp--preset--color--navy); border-radius: 24px; }

/* ---------- Fußbereich ---------- */
.ln-footer a { color: var(--wp--preset--color--white); }
.ln-footer a:hover { color: var(--wp--preset--color--butter); }

/* ---------- Handy ---------- */
@media (max-width: 781px) {
	.ln-hero-art { min-height: 340px; }
	.ln-founders { padding: 2rem 1.5rem !important; }
}

/* Keine Lücken zwischen Kopf, Inhalt, Fuß und den farbigen Abschnitten */
.wp-site-blocks > * + * { margin-block-start: 0; }
.ln-front > * + * { margin-block-start: 0; }

/* Karten in Spalten gleich hoch */
.wp-block-column > .ln-card,
.wp-block-column > .ln-stat { height: 100%; box-sizing: border-box; }

/* Hinweis "Seite im Aufbau" im Kopfbereich */
.ln-header .ln-construction {
	margin: 0;
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 600;
	font-size: 1.4rem;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--navy);
}
@media (max-width: 781px) { .ln-header .ln-construction { font-size: 1.05rem; order: 3; width: 100%; } }

/* Über mich: Bild abwechselnd links und rechts */
@media (min-width: 782px) {
	.wp-block-columns.ln-reverse { flex-direction: row-reverse; }
}
.ln-photo img { width: 100%; height: auto; }

/* Blog-Karten */
.ln-blog-card { border-radius: 24px; }
.ln-blog-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.ln-readmore a { color: var(--wp--preset--color--red); font-weight: 700; text-decoration: none; }
.ln-readmore a:hover { text-decoration: underline; }

/* Lesbarkeit: Josefin Sans nie kleiner als 15 px, Light erst ab 20 px */
.ln-eyebrow { font-size: 0.95rem; font-weight: 400; }
.ln-tagline { font-size: 0.95rem; font-weight: 400; letter-spacing: 0.24em; }
.ln-header .ln-brand-sub { font-size: 0.95rem; font-weight: 400; letter-spacing: 0.18em; }

/* Einheitliche Bildformate */
.ln-station-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.ln-blog-img img { aspect-ratio: 16 / 9; object-fit: cover; }
