/* =========================================================
   Glas Koller AG – base.css
   Reset, Design-Tokens, Typografie, Container
   ========================================================= */

/* Nunito Sans – wie im Original-Theme */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700;800&display=swap');

/* Design-Tokens
   -------------------------------------------------- */
:root {
	/* Farben */
	--c-bg:            #1a1a1a;
	--c-bg-elev:       #22212b;
	--c-bg-hero:       #0a1a2e;
	--c-text:          #e0e0e8;
	--c-text-muted:    #b0b0be;
	--c-text-strong:   #ffffff;
	--c-border:        rgba(255, 255, 255, 0.08);
	--c-border-strong: rgba(255, 255, 255, 0.18);
	--c-accent:        #ffffff;
	--c-link:          #ffffff;

	/* Radien */
	--r-card: 14px;
	--r-btn:  6px;
	--r-pill: 999px;

	/* Spacing */
	--s-1:  4px;
	--s-2:  8px;
	--s-3:  12px;
	--s-4:  16px;
	--s-5:  24px;
	--s-6:  32px;
	--s-7:  48px;
	--s-8:  64px;

	/* Layout */
	--w-max: 1400px;

	/* Typografie */
	--f-sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--fs-xs:  11px;
	--fs-sm:  13px;
	--fs-md:  15px;
	--fs-lg:  17px;
	--fs-xl:  20px;
	--fs-2xl: 24px;
	--fs-3xl: 28px;
	--fs-4xl: 38px;
	--fs-5xl: 48px;

	/* Motion */
	--dur:  0.2s;
	--ease: ease;
}

/* Reset (schlank)
   -------------------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
}
html, body, div, span, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, address, cite, code, em, strong,
sub, sup, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, figcaption, footer, header,
nav, section, main {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
article, aside, footer, header, nav, section, main {
	display: block;
}
img, svg, video {
	max-width: 100%;
	height: auto;
	display: block;
}
button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}
input, textarea, select {
	font: inherit;
	color: inherit;
}
ul, ol {
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
::selection {
	background: rgba(255, 255, 255, 0.2);
}
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}
::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
}

/* Basis-Typografie
   -------------------------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body {
	font-family: var(--f-sans);
	font-size: var(--fs-md);
	line-height: 1.55;
	min-height: 100vh;
}
/* Der dunkle Content-Bereich (Home + Subpages) sitzt in .rest bzw. .page. */
.rest { background: var(--c-bg); color: var(--c-text); }
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.15;
	color: var(--c-text-strong);
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
	margin: 0 0 var(--s-4);
}
p:last-child {
	margin-bottom: 0;
}
a:hover,
a:focus-visible {
	opacity: 0.85;
}
:focus-visible {
	outline: 2px solid #6aa6ff;
	outline-offset: 2px;
	border-radius: 2px;
}

/* (Kein globales .container – das Original-Theme benutzt .container mit
   speziellen Rollen wie .container.top / .container.second. Wrapper heissen
   bei uns .wrap.) */
.wrap {
	width: 100%;
	max-width: var(--w-max);
	margin-inline: auto;
	padding-inline: 3%;
	box-sizing: border-box;
}

/* Utility
   -------------------------------------------------- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
