/* bitter-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Bitter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/bitter-cyrillic-ext-wght-normal.sLcV1o1_.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* bitter-cyrillic-wght-normal */
@font-face {
  font-family: 'Bitter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/bitter-cyrillic-wght-normal.7PAZDwbd.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* bitter-vietnamese-wght-normal */
@font-face {
  font-family: 'Bitter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/bitter-vietnamese-wght-normal.Bb7JIhFz.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* bitter-latin-ext-wght-normal */
@font-face {
  font-family: 'Bitter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/bitter-latin-ext-wght-normal.BaDBgC7F.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* bitter-latin-wght-normal */
@font-face {
  font-family: 'Bitter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/bitter-latin-wght-normal.C8X_T8j_.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* source-sans-3-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/_astro/source-sans-3-cyrillic-ext-wght-normal.DzyfIafT.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* source-sans-3-cyrillic-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/_astro/source-sans-3-cyrillic-wght-normal.BMDVbyM7.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* source-sans-3-greek-ext-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/_astro/source-sans-3-greek-ext-wght-normal.BWSLJLk6.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* source-sans-3-greek-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/_astro/source-sans-3-greek-wght-normal.C9H9m1vD.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* source-sans-3-vietnamese-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/_astro/source-sans-3-vietnamese-wght-normal.C1uRvKPU.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* source-sans-3-latin-ext-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/_astro/source-sans-3-latin-ext-wght-normal.C8iNium2.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-sans-3-latin-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/_astro/source-sans-3-latin-wght-normal.BqRLTx4X.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* ==========================================================================
   mann-kennenlernen-solothurn.ch – Design 2026
   Warm und erdig: Papier, Espresso, Kupfer. Männlich, ruhig, klar.
   ========================================================================== */

/* === TOKENS === */
:root {
	color-scheme: light dark;

	--font-heading: 'Bitter Variable', Rockwell, Georgia, serif;
	--font-body: 'Source Sans 3 Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Farben hell */
	--bg: #f6f0e7;            /* warmes Papier */
	--surface: #fffcf7;       /* Karten und Kästen */
	--surface-alt: #ede3d5;   /* Sand, für Abschnitte */
	--text: #2b211b;          /* Espresso */
	--text-muted: #6b5c50;
	--accent: #a24f27;        /* Kupfer */
	--accent-hover: #83401f;
	--on-accent: #ffffff;
	--accent-soft: #f1e0d3;   /* Kupfer, stark aufgehellt: Chat-Blasen, Hinweise */
	--border: #e0d4c4;

	/* Dunkle Bänder (Kopf- und Fussbereich) */
	--band: #2b211b;
	--band-text: #f3eadf;
	--band-muted: #bfae9d;
	--band-accent: #e0996b;
	--band-border: #43362d;

	--radius: 10px;
	--radius-lg: 18px;
	--shadow: 0 1px 2px rgba(43, 33, 27, 0.06), 0 10px 30px rgba(43, 33, 27, 0.08);

	--measure: 40rem;        /* Lesespalte, ca. 66 Zeichen */
	--wide: 70rem;
	--gutter: 1.25rem;
	--header-h: 4rem;
}

/* Nachtmodus: warmes Dunkel, wenn das Gerät dunkel eingestellt ist */
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1d1713;
		--surface: #271f1a;
		--surface-alt: #221b16;
		--text: #efe5d8;
		--text-muted: #b9a998;
		--accent: #e0996b;
		--accent-hover: #f0b58c;
		--on-accent: #1d1713;
		--accent-soft: #3a2a20;
		--border: #3a2f27;
		--band: #140f0c;
		--band-border: #2e241e;
		--shadow: none;
	}
}

/* === GRUNDLAGEN === */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background-color: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Footer bleibt auch auf kurzen Seiten unten */
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	body { font-size: 1.125rem; }
}

.site-main { flex: 1 0 auto; }

/* Platz für den Cookie-Banner, nur solange er sichtbar ist */
body:has(#consent-banner:not([hidden])) { padding-bottom: 6rem; }
@media (max-width: 599px) {
	body:has(#consent-banner:not([hidden])) { padding-bottom: 9rem; }
}

img { display: block; max-width: 100%; height: auto; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--text);
	text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); line-height: 1.12; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.2vw, 1.85rem); }
h3 { font-size: 1.25rem; }

p { text-wrap: pretty; }

a {
	color: var(--accent);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--accent-hover); }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection { background: var(--accent-soft); }

/* === LAYOUT === */
.container {
	width: 100%;
	max-width: var(--wide);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--sand { background: var(--surface-alt); }

.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--text-muted); margin-top: 0.5rem; }

.kicker {
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.75rem;
}

/* === SKIP LINK === */
.skip-link {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	transform: translateY(-200%);
	background: var(--accent);
	color: var(--on-accent);
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius);
	z-index: 400;
	text-decoration: none;
}
.skip-link:focus { transform: none; }

/* === KOPFBEREICH === */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--band);
	color: var(--band-text);
	border-bottom: 1px solid var(--band-border);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
}

.brand {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	color: var(--band-text);
	text-decoration: none;
}
.brand:hover { color: var(--band-text); }

.brand__name {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.brand__tagline {
	font-size: 0.78rem;
	color: var(--band-muted);
	letter-spacing: 0.02em;
}

.site-nav {
	display: flex;
	gap: 1.5rem;
}

.site-nav a {
	color: var(--band-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.98rem;
	padding: 0.6rem 0;
	border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--band-accent); }
.site-nav a[aria-current="page"] {
	color: var(--band-accent);
	border-bottom-color: var(--band-accent);
}

@media (max-width: 559px) {
	.brand__tagline { display: none; }
	.site-nav { gap: 1rem; }
	.site-nav a { font-size: 0.95rem; }
}

@media (max-width: 359px) {
	.site-nav { gap: 0.7rem; }
	.brand__name { font-size: 1.25rem; }
}

/* === FUSSBEREICH === */
.site-footer {
	background: var(--band);
	color: var(--band-muted);
	padding-block: 3rem 2rem;
	font-size: 0.95rem;
}

.footer-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) {
	.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .brand__name { color: var(--band-text); }
.footer-brand p { margin-top: 0.75rem; max-width: 28rem; }

.footer-title {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--band-text);
	margin-bottom: 0.5rem;
}

.footer-links { list-style: none; }
.footer-links a,
.footer-links .link-button {
	display: inline-block;
	padding: 0.35rem 0;
	color: var(--band-muted);
	text-decoration: none;
	background: none;
	border: 0;
	cursor: pointer;
}
.footer-links a:hover,
.footer-links .link-button:hover { color: var(--band-accent); text-decoration: underline; }

.footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--band-border);
	font-size: 0.85rem;
}

/* === BUTTONS === */
.btn,
.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.9rem;
	padding: 0.7rem 1.35rem;
	border: 2px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover,
.cta:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--on-accent);
}

.btn--ghost {
	background: transparent;
	color: var(--accent);
}
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-hover); }

.cta[disabled] { opacity: 0.5; cursor: default; }

.link-arrow {
	font-weight: 700;
	text-decoration: none;
}
.link-arrow::after { content: ' →'; }
.link-arrow:hover { text-decoration: underline; }

/* === LESETEXT (Artikel und Inhaltsseiten) === */
.prose {
	max-width: var(--measure);
	margin-inline: auto;
	line-height: 1.7;
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *,
.prose h3 + * { margin-top: 0.6em; }

.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--accent); }

.prose strong { font-weight: 700; }

/* Beispiel-Nachrichten und Zitate als Chat-Blase */
.prose blockquote {
	max-width: 30rem;
	padding: 0.8rem 1.1rem;
	background: var(--accent-soft);
	border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
	font-size: 1.02em;
}
.prose blockquote + blockquote { margin-top: 0.6em; }

.prose table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.95em;
}
.prose th,
.prose td {
	text-align: left;
	vertical-align: top;
	padding: 0.55rem 1rem 0.55rem 0;
	border-bottom: 1px solid var(--border);
}
.prose th { color: var(--text-muted); font-weight: 700; }

.prose code {
	font-size: 0.9em;
	background: var(--surface-alt);
	padding: 0.1em 0.35em;
	border-radius: 4px;
}

/* Kopf einer Inhaltsseite */
.page-head {
	max-width: var(--measure);
	margin-inline: auto;
	padding-top: clamp(2rem, 1.5rem + 3vw, 3.5rem);
	margin-bottom: 1.5rem;
}

.page-body { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }

/* Einfache Inhaltsseiten (Kontakt, Rechtliches, 404) */
.page { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.prose .kicker + h1 { margin-top: 0; }
.prose h1 + * { margin-top: 1em; }

/* === KARTEN === */
.card-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

/* === HINWEISKASTEN (Kontakt) === */
.contact-actions { margin-top: 1.5rem; }

.telegram-hint {
	margin-top: 1.25rem;
	padding: 1.25rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius);
}
.telegram-hint p + p { margin-top: 0.6rem; }
.telegram-hint .privacy-note { font-size: 0.9rem; color: var(--text-muted); }

/* === COOKIE-BANNER === */
.consent-banner {
	position: fixed;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 350;
	max-width: 46rem;
	margin-inline: auto;
	padding: 1rem 1.25rem;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: 0 12px 40px rgba(20, 15, 12, 0.25);
}

.consent-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.consent-text { font-size: 0.95rem; line-height: 1.45; }

.consent-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.consent-btn {
	min-height: 2.6rem;
	padding: 0.5rem 1.1rem;
	font-size: 0.95rem;
}

.consent-btn.btn-secondary {
	background: transparent;
	color: var(--text);
	border-color: var(--border);
}
.consent-btn.btn-secondary:hover { background: var(--surface-alt); color: var(--text); border-color: var(--border); }

@media (min-width: 600px) {
	.consent-inner { flex-direction: row; align-items: center; justify-content: space-between; }
	.consent-text { flex: 1; }
}

/* === HILFSKLASSEN === */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.muted { color: var(--text-muted); }
