/*
Theme Name: Stephan Bahr
Template: twentytwentyfive
Description: Persönliche Webseite von Stephan Bahr – Child-Theme von Twenty Twenty-Five.
Version: 1.0.0
Text Domain: stephanbahr
*/

html { scroll-behavior: smooth; }
:target, [id] { scroll-margin-top: 1.5rem; }

/* Kicker über Überschriften */
.sb-eyebrow {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-3);
	margin-bottom: 0.75rem !important;
}

/* Portrait im Hero */
.sb-portrait-img { width: min(100%, 320px); margin-inline: auto !important; }
.sb-portrait-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 16px 16px 0 var(--wp--preset--color--accent-2);
}

/* Karten */
.sb-card {
	background: var(--wp--preset--color--accent-5);
	border: 1px solid var(--wp--preset--color--accent-6);
	border-radius: 14px;
	height: 100%;
	transition: transform .15s ease, box-shadow .15s ease;
}
.sb-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(21,33,43,.08); }
.sb-card h3 { margin-top: 0; }
.sb-card .sb-more a { font-weight: 600; text-decoration: none; }
.sb-card .sb-more a:hover { text-decoration: underline; }

/* Werdegang als Zeitleiste */
.sb-timeline { border-left: 2px solid var(--wp--preset--color--accent-6); padding-left: 1.75rem !important; }
.sb-step { position: relative; }
.sb-step::before {
	content: "";
	position: absolute;
	left: calc(-1.75rem - 7px);
	top: 0.35rem;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--accent-1);
}
.sb-step .sb-when {
	font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--wp--preset--color--accent-1); margin: 0;
}
.sb-step h3 { margin: 0.2rem 0 0.35rem; }
.sb-step p:last-child { margin-top: 0; color: var(--wp--preset--color--accent-4); }

/* Link-Liste Kontakt */
.sb-links { list-style: none; padding: 0; margin: 0; }
.sb-links li { border-top: 1px solid var(--wp--preset--color--accent-6); }
.sb-links li:last-child { border-bottom: 1px solid var(--wp--preset--color--accent-6); }
.sb-links a {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
	padding: 1.1rem 0.25rem; text-decoration: none; color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--literata); font-size: 1.4rem; font-weight: 600;
}
.sb-links a span { font-family: var(--wp--preset--font-family--manrope); font-size: 0.95rem; font-weight: 500; color: var(--wp--preset--color--accent-4); }
.sb-links a:hover { color: var(--wp--preset--color--accent-1); }
.sb-links a:hover span { color: var(--wp--preset--color--accent-1); }

.sb-muted { color: var(--wp--preset--color--accent-4); }

@media (max-width: 781px) {
	.sb-portrait-img { width: 200px; }
	.sb-links a { flex-direction: column; gap: 0.15rem; }
}
