/* =========================================================
   Theme Bußmann — Unternehmensgruppe IB
   Schrift: Outfit (lokal). Farben: Text #1b2a33, Grau #e2e7ec, Orange #FF5C00.
   ========================================================= */

@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/outfit-latin.woff2') format('woff2');
	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;
}
@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
	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;
}

:root {
	--text: #1b2a33;
	--text-leicht: #5c6b75;
	--grau: #e2e7ec;
	--hell: #f5f6f8;
	--linie: #d9dfe4;
	--orange: #ff5c00;
	--orange-dunkel: #e55300;
	--weiss: #ffffff;
	--schrift: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--container: 1400px;
	--rand: 32px;
	--radius: 4px;
	--schatten: 0 2px 14px rgba(27, 42, 51, 0.08);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--schrift);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--weiss);
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--rand); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ist-versteckt { display: none !important; }
.sprung { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: var(--radius); text-decoration: none; }
.sprung:focus { left: 8px; }
.icon { width: 1em; height: 1em; }

/* ---------- Kopf ---------- */
.kopf { position: relative; z-index: 20; background: var(--weiss); color: var(--text); }
.kopf-transparent .kopf { position: absolute; top: 0; left: 0; right: 0; background: transparent; color: var(--weiss); }
.kopf-innen { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 20px; }

.gruppe-link { text-decoration: none; color: inherit; display: inline-block; }
.gruppe-name { display: block; font-size: 22px; font-weight: 400; letter-spacing: 0.01em; line-height: 1.2; margin-bottom: 12px; }
.logos { display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.ib-marke { width: 46px; height: 46px; flex: none; }
.logo-wortmarke { font-size: 15px; font-weight: 300; line-height: 1.2; white-space: nowrap; }
.logos-trenner { width: 1px; height: 56px; background: currentColor; opacity: 0.85; margin-inline: 10px; }

.nav { margin-top: 8px; }
.nav-liste { display: flex; align-items: center; gap: 40px; list-style: none; font-size: 16px; font-weight: 400; }
.nav-liste a { display: inline-block; text-decoration: none; color: inherit; padding-bottom: 10px; position: relative; line-height: 1.3; }
.nav-liste a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.nav-liste a:hover::after, .nav-liste .current-menu-item a::after, .nav-liste .current_page_item a::after { transform: scaleX(1); }
.nav-liste .current-menu-item a, .nav-liste .current_page_item a { color: var(--orange); }
.nav-home { display: flex; align-items: center; }
.nav-home a { padding-bottom: 8px; }
.nav-home .icon { width: 22px; height: 22px; }
.nav-home::after { content: ''; width: 1px; height: 24px; background: currentColor; opacity: 0.6; margin-left: 40px; margin-bottom: 6px; }
.home .nav-startseite { display: none; }

.nav-schalter { display: none; align-items: center; gap: 8px; background: transparent; border: 0; color: inherit; cursor: pointer; padding: 8px; margin: -8px; margin-top: 0; }
.nav-schalter .icon { width: 30px; height: 30px; }
.nav-schalter .icon-x { display: none; }
.kopf.ist-offen .nav-schalter .icon-x { display: block; }
.kopf.ist-offen .nav-schalter .icon-menu { display: none; }
.nav-schalter-text { font-size: 15px; font-weight: 400; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--text); color: var(--weiss); isolation: isolate; }
.hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27, 42, 51, 0.6) 0%, rgba(27, 42, 51, 0.25) 45%, rgba(27, 42, 51, 0) 75%); }
.hero-inhalt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }

.hero-start { height: clamp(520px, 36vw, 760px); }
.hero-start::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 32%), linear-gradient(90deg, rgba(27, 42, 51, 0.55) 0%, rgba(27, 42, 51, 0.2) 45%, rgba(27, 42, 51, 0) 75%); }
.hero-start .hero-inhalt { padding-bottom: clamp(40px, 5vw, 72px); }
.hero-start .hero-titel { font-size: clamp(34px, 3.7vw, 58px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.hero-claim { color: var(--orange); font-size: clamp(17px, 1.45vw, 22px); font-weight: 500; margin: 0 0 6px; }
.hero-start .hero-text { font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }

.hero-band { height: clamp(220px, 18vw, 330px); }
.hero-band .hero-inhalt { justify-content: center; padding-inline: calc(var(--rand) + clamp(0px, 4.5vw, 76px)); }
.hero-band .hero-titel { font-size: clamp(30px, 2.9vw, 46px); font-weight: 700; margin-bottom: 12px; }
.hero-band .hero-text { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; max-width: 540px; margin: 0 0 6px; }
.hero-band .hero-text strong { font-weight: 500; }
.hero-kontakt { height: clamp(260px, 25vw, 460px); }
.hero-kontakt::before { background: none; }

/* ---------- Abschnitte ---------- */
.abschnitt-titel { text-align: center; font-size: clamp(22px, 2.05vw, 30px); font-weight: 600; line-height: 1.25; }
.abschnitt-titel::after { content: ''; display: block; width: 60px; height: 2px; background: var(--orange); margin: 16px auto 0; }
.abschnitt-titel.ist-orange { color: var(--orange); }
.abschnitt-intro { text-align: center; max-width: 660px; margin: 22px auto 0; font-size: 16px; }

/* ---------- Spruch ---------- */
.spruch { padding: clamp(56px, 6vw, 88px) 0 clamp(40px, 4.5vw, 64px); }
.spruch-text { max-width: 1040px; margin: 0 auto; }
.spruch-text p { font-size: clamp(26px, 3.1vw, 46px); font-weight: 300; line-height: 1.32; letter-spacing: 0.005em; margin: 0; }
.spruch-text em { font-style: italic; }
.spruch-autor { font-size: clamp(16px, 1.2vw, 19px); font-weight: 400; margin-top: 28px; }

/* ---------- Leistungen ---------- */
.leistungen-start { background: var(--hell); padding: clamp(48px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.leistungen-spalten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; margin-top: 48px; text-align: center; }
.leistung-icon { display: block; width: 76px; height: 76px; margin: 0 auto 20px; color: var(--orange); --icon-hintergrund: var(--hell); }
.leistung-icon svg { width: 100%; height: 100%; }
.leistung-titel { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.leistung-text { font-size: 15px; line-height: 1.6; max-width: 310px; margin: 0 auto; }

.leistungen-seite { padding: clamp(44px, 4.5vw, 64px) 0 clamp(56px, 6vw, 88px); }
.karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin-top: 44px; }
.karte { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; display: flex; flex-direction: column; }
.karte-bild img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.karte-inhalt { padding: 24px 22px 28px; }
.karte-titel { display: flex; align-items: center; gap: 12px; color: var(--orange); font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.karte-icon { display: block; width: 42px; height: 42px; flex: none; --icon-hintergrund: var(--weiss); }
.karte-icon svg { width: 100%; height: 100%; }
.karte-text { font-size: 15px; line-height: 1.65; margin: 0; }

/* ---------- Auftraggeber ---------- */
.auftraggeber { padding: clamp(44px, 4.5vw, 64px) 0 clamp(56px, 6vw, 88px); }
.logo-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; max-width: 1200px; margin: 40px auto 0; }
.logo-karte { background: var(--weiss); border: 1px solid #edf0f3; box-shadow: 0 2px 12px rgba(27, 42, 51, 0.06); border-radius: var(--radius); aspect-ratio: 3 / 1; display: flex; align-items: center; justify-content: center; padding: 18px 24px; }
.logo-karte img { width: auto; height: auto; max-width: 78%; max-height: 72%; object-fit: contain; }

/* ---------- Referenzen ---------- */
.referenzen { padding: clamp(44px, 4.5vw, 64px) 0 clamp(56px, 6vw, 88px); }
.kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 40px 0 56px; }
.kachel-link { display: block; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 8 / 5; color: var(--weiss); text-decoration: none; background: var(--text); outline-offset: 3px; }
.kachel-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.kachel-link:hover img { transform: scale(1.04); }
.kachel-plus { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; display: grid; place-items: center; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)); transition: transform 0.25s ease; }
.kachel-plus .icon { width: 38px; height: 38px; stroke-width: 1.6; }
.kachel-plus::before { content: ''; position: absolute; left: -4px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: var(--orange); }
.kachel.ist-aktiv .kachel-plus { transform: rotate(45deg); }
.kachel.ist-aktiv .kachel-link { box-shadow: 0 0 0 3px var(--orange); }
.kachel-leiste { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(232, 118, 40, 0.94); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; font-size: 17px; font-weight: 500; line-height: 1.25; }
.kachel-leiste .icon { width: 22px; height: 22px; flex: none; stroke-width: 2.2; }

.projekte-kopf { max-width: 1120px; margin: 0 auto 4px; }
.projekte-filter { display: flex; align-items: baseline; gap: 16px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-leicht); font-weight: 500; margin: 0; }
.projekte-alle { color: var(--orange); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }
.projekte { list-style: none; max-width: 1120px; margin: 0 auto; }
.projekt { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--linie); }
.projekt:last-child { border-bottom: 0; }
.projekt-bild img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 2px; }
.projekt-label { display: inline-block; color: var(--orange); background: rgba(255, 92, 0, 0.1); text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; font-weight: 500; padding: 2px 6px; line-height: 1.4; }
.projekt-titel { font-size: 20px; font-weight: 600; margin: 8px 0 4px; }
.projekt-meta { font-size: 14px; color: var(--text-leicht); margin: 0 0 8px; }
.projekt-text { font-size: 15px; line-height: 1.6; margin: 0; }
.projekte-leer { max-width: 1120px; margin: 24px auto 0; color: var(--text-leicht); }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--hell); padding: clamp(48px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.kontakt-innen { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; max-width: 1120px; margin-inline: auto; }
.formular-titel { color: var(--orange); font-size: 24px; font-weight: 500; margin-bottom: 24px; }
.formular-feld { margin: 0 0 12px; }
.formular input[type='text'], .formular input[type='email'], .formular textarea {
	width: 100%; font: inherit; font-size: 15px; font-weight: 300; color: var(--text);
	background: var(--weiss); border: 1.5px solid var(--orange); border-radius: var(--radius);
	padding: 10px 12px; outline: none; transition: box-shadow 0.15s ease;
}
.formular input::placeholder, .formular textarea::placeholder { color: #6b7a84; opacity: 1; }
.formular input:focus, .formular textarea:focus { box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.2); }
.formular textarea { min-height: 104px; resize: vertical; }
.formular-aktion { margin: 20px 0 0; }
.knopf { display: inline-flex; align-items: center; gap: 28px; background: var(--orange); color: var(--weiss); border: 0; border-radius: var(--radius); padding: 12px 28px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.15s ease; }
.knopf .icon { width: 20px; height: 20px; stroke-width: 2; }
.knopf:hover { background: var(--orange-dunkel); }
.formular-hinweis { font-size: 14px; margin: 18px 0 0; }
.formular-hinweis a { color: inherit; }
.formular-meldung { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 20px; font-size: 15px; font-weight: 400; }
.formular-meldung.ist-erfolg { background: #e6f4ea; color: #1e6b3a; }
.formular-meldung.ist-fehler { background: #fdecea; color: #a42a1a; }
.formular-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.kontaktdaten { padding-top: 6px; }
.kontaktdaten-titel { font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.kontaktdaten-adresse, .fuss-adresse { font-style: normal; line-height: 1.6; margin: 0 0 20px; }
.kontaktdaten-liste { list-style: none; }
.kontaktdaten-liste li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.kontaktdaten-liste .icon { width: 20px; height: 20px; color: var(--orange); flex: none; }
.kontaktdaten-liste a { text-decoration: none; }
.kontaktdaten-liste a:hover { text-decoration: underline; }

/* ---------- Seiten (Impressum, Datenschutz) ---------- */
.seite-kopf { background: var(--hell); padding: clamp(36px, 4vw, 56px) 0; }
.seite-titel { font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.seite-inhalt { max-width: 820px; padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); }
.prosa { font-size: 16px; line-height: 1.7; }
.prosa h1 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.prosa h2 { font-size: 24px; font-weight: 600; margin: 40px 0 12px; }
.prosa h3 { font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.prosa h2:first-child, .prosa h3:first-child { margin-top: 0; }
.prosa p { margin: 0 0 14px; }
.prosa a { color: var(--orange); word-break: break-word; }
.prosa ul, .prosa ol { padding-left: 22px; margin: 0 0 14px; }
.prosa li { margin-bottom: 4px; }
.prosa strong { font-weight: 600; }
.seite-404 { text-align: center; padding-top: 80px; }
.seite-404 .knopf { margin-top: 12px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--text); color: var(--weiss); padding-top: 48px; font-size: 15px; font-weight: 300; }
.fuss-innen { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; align-items: start; padding-bottom: 40px; }
.fuss-logos .gruppe-name { font-size: 18px; margin-bottom: 10px; }
.fuss-logos .ib-marke { width: 38px; height: 38px; }
.fuss-logos .logo-wortmarke { font-size: 13px; }
.fuss-logos .logos-trenner { height: 46px; }
.fuss-adresse { margin: 0; }
.fuss-adresse strong { font-weight: 500; }
.fuss-kontakt { display: flex; flex-direction: column; gap: 8px; }
.fuss-kontakt a, .fuss-nav a { color: inherit; text-decoration: none; }
.fuss-kontakt a { display: inline-flex; align-items: center; gap: 8px; }
.fuss-kontakt .icon { width: 18px; height: 18px; color: var(--orange); }
.fuss-kontakt a:hover, .fuss-nav a:hover { color: var(--orange); }
.fuss-nav { display: flex; gap: 24px; }
.fuss-zeile { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 18px; padding-bottom: 18px; font-size: 13px; opacity: 0.75; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav-liste { gap: 26px; }
	.nav-home::after { margin-left: 26px; }
}

@media (max-width: 1024px) {
	.kopf-innen { align-items: center; padding-top: 18px; padding-bottom: 16px; }
	.nav-schalter { display: inline-flex; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--weiss); color: var(--text); padding: 8px var(--rand) 20px; box-shadow: 0 12px 24px rgba(27, 42, 51, 0.12); }
	.kopf.ist-offen .nav { display: block; }
	.kopf.ist-offen { background: var(--weiss); color: var(--text); }
	.nav-liste { flex-direction: column; align-items: stretch; gap: 0; font-size: 17px; }
	.nav-liste li { border-bottom: 1px solid var(--linie); }
	.nav-liste li:last-child { border-bottom: 0; }
	.nav-liste a { display: block; padding: 14px 0; }
	.nav-liste a::after { display: none; }
	.nav-home { display: none; }
	.home .nav-startseite { display: block; }

	.leistungen-spalten, .karten, .kacheln { grid-template-columns: repeat(2, 1fr); }
	.logo-raster { grid-template-columns: repeat(3, 1fr); }
	.kontakt-innen { grid-template-columns: 1fr; }
	.projekt { grid-template-columns: 300px 1fr; gap: 28px; }
	.fuss-innen { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
	:root { --rand: 20px; }
	body { font-size: 16px; }
	.gruppe-name { font-size: 17px; margin-bottom: 8px; }
	.ib-marke { width: 36px; height: 36px; }
	.logo { gap: 8px; }
	.logo-wortmarke { font-size: 12px; }
	.logos { gap: 8px; }
	.logos-trenner { height: 42px; margin-inline: 6px; }
	.nav-schalter-text { display: none; }

	.hero-start { height: clamp(460px, 78vh, 640px); }
	.hero-start::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 35%, rgba(27, 42, 51, 0.15) 60%, rgba(27, 42, 51, 0.7) 100%); }
	.hero-bild { object-position: 58% 50%; }
	.hero-band { height: auto; min-height: 240px; }
	.hero-band::before { background: linear-gradient(180deg, rgba(27, 42, 51, 0.25) 0%, rgba(27, 42, 51, 0.7) 100%); }
	.hero-band .hero-inhalt { padding-block: 40px; padding-inline: var(--rand); }
	.hero-kontakt { min-height: 200px; }

	.spruch-text p br { display: none; }
	.leistungen-spalten, .karten, .kacheln { grid-template-columns: 1fr; }
	.leistungen-spalten { gap: 40px; }
	.karte-bild img { aspect-ratio: 2 / 1; }
	.logo-raster { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.kacheln { gap: 14px; margin-bottom: 40px; }
	.kachel-link { aspect-ratio: 16 / 9; }
	.projekt { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
	.projekt-bild img { aspect-ratio: 16 / 9; }
	.fuss-innen { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 380px) {
	.ib-marke { width: 32px; height: 32px; }
	.logo-wortmarke { font-size: 11px; }
	.gruppe-name { font-size: 16px; }
}

@media print {
	.kopf, .fuss, .nav-schalter, .formular { display: none; }
	.hero { height: auto; }
}
