/*
Theme Name: hanapharm minimal
Description: Minimale Startseite: zentriertes Logo, darunter Kontakt und Impressum.
Version: 1.0
Author: hanapharm GmbH
Text Domain: hanapharm-minimal
*/

/* Open Sans lokal eingebunden (keine Verbindung zu Google) */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("assets/fonts/open-sans-latin-300-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/open-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/open-sans-latin-600-normal.woff2") format("woff2");
}

:root {
	--bg: #ffffff;
	--text: #1a1a1a;
	--muted: #555555;
	--logo-max-width: 320px; /* Logo-Breite hier anpassen */
}

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

html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1.6;
}

/* Startseite: alles mittig */
.hp-center {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 16px;
}

.hp-logo img,
.hp-logo svg {
	display: block;
	width: 100%;
	max-width: var(--logo-max-width);
	height: auto;
	margin: 0 auto;
}

.hp-links {
	margin-top: 120px; /* Abstand Logo -> Links */
	display: flex;
	gap: 32px;
	justify-content: center;
	flex-wrap: wrap;
}

.hp-links a {
	color: var(--muted);
	text-decoration: none;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-weight: 300; /* Light */
	font-size: 16px;
	letter-spacing: 0.04em;
}

.hp-links a:hover,
.hp-links a:focus-visible {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Unterseiten (z. B. Impressum) */
.hp-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 48px 16px 64px;
}

.hp-page .hp-logo img,
.hp-page .hp-logo svg { max-width: 160px; margin: 0 0 40px; }

.hp-page h1 { font-size: 28px; font-weight: 600; margin: 0 0 24px; }
.hp-page a { color: var(--text); }

.hp-page .hp-links { margin-top: 80px; justify-content: flex-start; }
