/*
Theme Name: Heimberg Holding
Description: Schlankes Design für die Website der Heimberg Holding.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: heimberg
*/

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
	--petrol: #0F3A40;
	--ink: #14231F;
	--stone: #F2F3EF;
	--text: #33433F;
	--muted: #41514E;
	--on-dark: #D7E2E0;
	--accent: #E2B04A;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: "Schibsted Grotesk", Arial, sans-serif; font-size: 18px; line-height: 1.6; hyphens: auto; }
a { color: inherit; }
a:hover { opacity: .8; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-weight: 600; hyphens: manual; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.015em; }
h3 { font-size: 23px; line-height: 1.25; }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.lead { margin-top: 20px; color: var(--text); }
.dark { background: var(--petrol); color: #fff; }
.dark .lead { color: var(--on-dark); }
.white { background: #fff; }

.site-header { background: var(--petrol); color: #fff; }
.site-header .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.brand img { display: block; width: 44px; height: 44px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav a.nav-login { padding: 9px 16px; border: 1px solid #fff; }

.hero { overflow: hidden; }
.hero .wrap { padding-top: 96px; padding-bottom: 64px; }
.eyebrow { margin-bottom: 20px; font-size: 16px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.hero h1 { max-width: 980px; font-size: clamp(26px, 7.7vw, 76px); line-height: 1.06; letter-spacing: -.02em; }
.hero-text { margin-top: 32px; max-width: 680px; font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--on-dark); }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 16px; }
.button { display: inline-block; padding: 14px 24px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-outline { border-color: #fff; color: #fff; }
.button-dark { width: 100%; background: var(--petrol); color: #fff; text-align: center; }
.ridge { display: block; width: 100%; height: 96px; }

.facts { padding-top: 24px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.fact { border-top: 2px solid var(--ink); padding-top: 16px; }
.fact strong { display: block; font-size: 34px; line-height: 1.15; font-weight: 600; }
.fact span { display: block; margin-top: 6px; font-size: 16px; color: var(--muted); }

.photo-band { display: block; width: 100%; height: clamp(220px, 34vw, 500px); object-fit: cover; object-position: center 62%; }

.situations { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 40px 48px; }
.situations p { margin-top: 10px; color: var(--text); }

.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split-side { flex: 1 1 340px; min-width: 0; }
.split-main { flex: 2 1 520px; min-width: 0; }
.criteria { margin: 0; border-bottom: 1px solid var(--ink); }
.criteria div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--ink); }
.criteria dt { flex: 1 1 200px; font-weight: 600; }
.criteria dd { flex: 2 1 280px; margin: 0; }

.about-title { max-width: 820px; }
.about-text { max-width: 760px; }
.people { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.person { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.person img { display: block; flex: 0 0 auto; width: 160px; height: 200px; object-fit: cover; }
.person div { flex: 1 1 180px; min-width: 0; }
.people p { margin-top: 4px; color: var(--on-dark); }
.people a { display: inline-block; padding: 10px 0; }

.contact { align-items: flex-end; }
.contact a { display: inline-block; padding: 4px 0; }
.contact address { margin-top: 12px; font-style: normal; color: var(--text); }

.site-footer { background: var(--ink); color: #fff; font-size: 16px; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { padding: 6px 0; }

.page-content { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; min-height: 55vh; }
.page-content h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 28px; overflow-wrap: anywhere; }
.page-content h2 { font-size: 28px; line-height: 1.2; margin: 36px 0 12px; }
.page-content h3 { margin: 28px 0 8px; }
.page-content p, .page-content ul, .page-content ol { margin: 0 0 16px; }

.login-form { max-width: 440px; }
.login-form p { margin: 0 0 24px; color: var(--text); }
.login-form label { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; }
.login-form input[type="password"] { width: 100%; height: 48px; margin-bottom: 20px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.login-form .login-help { margin: 20px 0 0; font-size: 16px; }

@media (max-width: 640px) {
	.hero .wrap { padding-top: 56px; padding-bottom: 40px; }
	.section { padding-top: 64px; padding-bottom: 64px; }
	.ridge { height: 56px; }
}
