/* intet.de – statische Seite. Farben und Logo aus der Illustrator-Datei (#231F20, #F79420).
   Orange nie als Textfarbe auf Weiß (2,3 : 1): nur Flächen, Linien und Text auf Dunkel. Schriften liegen lokal. */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
}

:root {
	--ink: #231f20;
	--orange: #f79420;
	--text: #3a3637;
	--muted: #5a5657;
	--line: #e7e4e0;
	--field: #6b6768;
	--soft: #f6f5f3;
	--on-dark: #e7e4e0;
	--heading: "Space Grotesk", Inter, system-ui, sans-serif;
	--body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wide: 1200px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	font-family: var(--body);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3 {
	font-family: var(--heading);
	line-height: 1.15;
	margin: 0;
}

h2 {
	font-size: clamp(2rem, 4vw, 2.5rem);
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1.4375rem;
	line-height: 1.25;
}

p {
	margin: 0;
}

a {
	color: var(--ink);
	text-decoration-color: var(--orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

a:hover {
	color: #000;
	text-decoration-thickness: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

.dunkel a:focus-visible {
	outline-color: var(--orange);
}

.wrap {
	max-width: var(--wide);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section {
	padding: 6rem 0;
}

.section--soft {
	background: var(--soft);
}

.lead {
	color: var(--text);
	max-width: 36em;
}

/* Sprunglink: erst bei Tastaturfokus sichtbar */
.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 10;
	background: var(--ink);
	color: #fff;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	text-decoration: none;
}

.skip:focus {
	top: 1rem;
}

/* Knöpfe */
.button {
	display: inline-block;
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border-radius: 6px;
	padding: 1rem 1.75rem;
	cursor: pointer;
	background: var(--orange);
	color: var(--ink);
	border: 0;
}

.button:hover {
	color: var(--ink);
	background: #e8851a;
}

.button--outline {
	background: transparent;
	border: 2px solid var(--ink);
	padding: calc(1rem - 2px) calc(1.75rem - 2px);
}

.button--outline:hover {
	background: var(--ink);
	color: #fff;
}

.button--small {
	padding: 0.625rem 1.125rem;
}

/* Kopf */
.site-header {
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.site-header .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-top: 1.125rem;
	padding-bottom: 1.125rem;
}

.logo {
	display: block;
	line-height: 0;
}

.logo img {
	height: 52px;
	width: auto;
}

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.75rem;
	font-size: 1rem;
	font-weight: 500;
}

.main-nav a:not(.button) {
	text-decoration: none;
	display: inline-block;
	padding: 0.5rem 0;
}

.main-nav a:not(.button):hover {
	text-decoration: underline;
	text-decoration-color: var(--orange);
}

/* Einstieg */
.hero .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3rem;
	padding-top: 6rem;
	padding-bottom: 6.5rem;
}

.hero-text {
	flex: 999 1 560px;
	min-width: 0;
}

.kicker {
	font-family: var(--heading);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--muted);
	margin-bottom: 1.25rem;
}

.hero h1 {
	font-size: clamp(2.5rem, 5.4vw, 4.25rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	max-width: 14ch;
}

.hero .lead {
	margin-top: 1.75rem;
	font-size: 1.3125rem;
	line-height: 1.55;
}

.actions {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* Pixel-Motiv aus dem Logo */
.pixels {
	flex: 1 1 260px;
	max-width: 340px;
	margin-left: auto;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.pixels span {
	aspect-ratio: 1;
}

.pixels .o {
	background: var(--orange);
}

.pixels .d {
	background: var(--ink);
}

.pixels .s45 { transform: scale(0.45); }
.pixels .s5 { transform: scale(0.5); }
.pixels .s55 { transform: scale(0.55); }
.pixels .s6 { transform: scale(0.6); }
.pixels .s7 { transform: scale(0.7); }
.pixels .s75 { transform: scale(0.75); }
.pixels .s85 { transform: scale(0.85); }
.pixels .s9 { transform: scale(0.9); }

@media (max-width: 640px) {
	.hero .wrap {
		padding-top: 3.5rem;
		padding-bottom: 4rem;
	}

	.pixels {
		max-width: 220px;
		gap: 9px;
		margin-left: 0;
	}
}

/* Leistungen */
.section-head {
	margin-bottom: 3rem;
}

.section-head .lead {
	margin-top: 1rem;
}

.cards {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.card {
	flex: 1 1 250px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 2rem 1.75rem;
}

.card::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background: var(--orange);
	margin-bottom: 1.5rem;
}

.card h3 {
	margin-bottom: 0.75rem;
}

.card p,
.steps p {
	font-size: 1.0625rem;
	color: var(--text);
}

/* Ablauf */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.steps li {
	flex: 1 1 230px;
	border-top: 4px solid var(--ink);
	padding-top: 1.25rem;
}

.steps li:last-child {
	border-top-color: var(--orange);
}

.step-number {
	display: block;
	font-family: var(--heading);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.steps h3 {
	margin: 0.375rem 0 0.625rem;
}

/* Grundsätze (dunkel) */
.dunkel {
	background: var(--ink);
	color: #fff;
}

.principles .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem 4rem;
}

.principles-head {
	flex: 1 1 320px;
}

.dots {
	margin-top: 1.75rem;
	display: flex;
	gap: 10px;
}

.dots span {
	width: 14px;
	height: 14px;
	background: var(--orange);
}

.dots span:nth-child(2) {
	opacity: 0.7;
}

.dots span:nth-child(3) {
	opacity: 0.4;
}

.principles ul {
	flex: 2 1 520px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem 2.5rem;
}

.principles h3 {
	font-size: 1.3125rem;
	color: var(--orange);
	margin-bottom: 0.375rem;
}

.principles p {
	font-size: 1.0625rem;
	color: var(--on-dark);
}

/* Über intet */
.about h2 {
	margin-bottom: 1.25rem;
}

.about p {
	max-width: 34em;
}

.about p + p {
	margin-top: 1rem;
	color: var(--text);
}

.about .first {
	font-size: 1.25rem;
}

/* Häufige Fragen */
.faq .wrap {
	max-width: 860px;
}

.faq h2 {
	margin-bottom: 2rem;
}

.faq details {
	border-top: 1px solid #cfcac5;
	padding: 1.25rem 0;
}

.faq details:last-of-type {
	border-bottom: 1px solid #cfcac5;
}

.faq summary {
	font-family: var(--heading);
	font-size: 1.3125rem;
	font-weight: 700;
	cursor: pointer;
}

.faq details p {
	margin-top: 0.75rem;
	color: var(--text);
}

/* Kontakt */
.contact .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem 5rem;
}

.contact-intro {
	flex: 1 1 340px;
}

.contact-intro h2 {
	margin-bottom: 1.25rem;
}

.contact-intro .lead {
	max-width: 26em;
	margin-bottom: 1.5rem;
}

.contact-mail {
	font-weight: 600;
	font-size: 1.25rem;
}

.form {
	flex: 2 1 460px;
	max-width: 640px;
	display: flex;
	flex-direction: column;
	gap: 1.375rem;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.field label {
	font-weight: 600;
}

.field input,
.field textarea {
	font: inherit;
	color: var(--ink);
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--field);
	border-radius: 6px;
	background: #fff;
	width: 100%;
}

.field textarea {
	resize: vertical;
	min-height: 10rem;
}

.hint {
	font-size: 0.9375rem;
	color: var(--muted);
}

/* Honigtopf: außerhalb des sichtbaren Bereichs (nicht display:none, das erkennen manche Bots) */
.trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Fuß */
.site-footer {
	padding: 3.5rem 0 2.5rem;
	font-size: 1rem;
	color: var(--on-dark);
}

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2rem;
}

.footer-name {
	font-family: var(--heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: #fff;
	margin-bottom: 0.25rem;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
}

.site-footer a {
	color: #fff;
}

/* Unterseiten (Impressum, Datenschutz, Danke, 404) */
.page {
	padding: 4.5rem 0 6rem;
}

.page .wrap {
	max-width: 860px;
}

.page h1 {
	font-size: clamp(2.25rem, 5vw, 3rem);
	margin-bottom: 2rem;
	letter-spacing: -0.01em;
}

.page h2 {
	font-size: 1.5rem;
	margin: 2.5rem 0 0.75rem;
}

.page h3 {
	font-size: 1.1875rem;
	margin: 1.75rem 0 0.5rem;
}

.page p,
.page ul {
	margin: 0 0 1rem;
	color: var(--text);
}

.page ul {
	padding-left: 1.25rem;
}

.page address {
	font-style: normal;
	margin-bottom: 1rem;
}

.draft-note {
	background: #fff1dc;
	border: 1px solid #e9c38a;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 2rem;
	color: var(--ink);
}
