/*
Theme Name:   Plump & Cosmann
Theme URI:    https://plump-cosmann.de
Description:  Eigenes, schlankes Theme für den SHK-Betrieb Plump & Cosmann in Nordenham. Ohne Page Builder, ohne externe Schriften.
Author:       Plump & Cosmann
Version:      1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:      Proprietary
Text Domain:  plump-cosmann
*/

/* =========================================================
   1. Schrift (liegt lokal im Theme – es wird nichts nachgeladen)
   ========================================================= */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/fonts/inter-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;
}

/* =========================================================
   2. Grundwerte – hier zentral ändern
   ========================================================= */
:root {
	--green:       #00844a;   /* Hausfarbe */
	--green-dark:  #006b3c;
	--green-soft:  #e8f3ed;
	--green-light: #6fd6a0;   /* Grün auf dunklem Grund */

	/* Sanitärstreifen (wie auf Schild und Briefbogen) */
	--stripe-yellow: #f5b800;
	--stripe-red:    #b3261e;
	--stripe-blue:   #1d56a5;

	--ink:    #101a15;
	--ink-2:  #36413b;
	--muted:  #5e6a63;
	--line:   #e3e7e3;
	--bg:     #ffffff;
	--bg-soft:#f4f6f3;
	--bg-dark:#0e1612;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius:    14px;
	--radius-lg: 20px;

	--shadow:       0 1px 3px rgba(16, 26, 21, .05), 0 12px 32px rgba(16, 26, 21, .08);
	--shadow-hover: 0 4px 10px rgba(16, 26, 21, .06), 0 22px 48px rgba(16, 26, 21, .14);

	--space-section: clamp(72px, 9vw, 140px);
	--header-h: 130px;
	--ease: .25s ease;
}

/* =========================================================
   3. Grundlagen
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-2);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--ease); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1.2em; }
strong { color: var(--ink); font-weight: 600; }
ul { padding-left: 1.2em; }

.wrap { width: 90%; max-width: 1200px; margin-inline: auto; }
.wrap--narrow { max-width: 860px; }
.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;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
	margin: 0 0 18px;
	font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--green);
}
.eyebrow--light { color: var(--green-light); }

/* =========================================================
   4. Buttons
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .85em 1.6em;
	font: 600 16px/1.3 var(--font);
	text-decoration: none;
	color: #fff; background: var(--green);
	border: 2px solid var(--green); border-radius: 12px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 132, 74, .24);
	transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 132, 74, .32); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--lg { padding: 1em 1.9em; font-size: 17px; }
.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); box-shadow: none; }
.btn--light { background: #fff; border-color: #fff; color: var(--green-dark); box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.btn--light:hover { background: var(--green-soft); border-color: var(--green-soft); color: var(--green-dark); }
.btn--outline { background: transparent; border-color: var(--green); color: var(--green); box-shadow: none; }
.btn--outline:hover { background: var(--green); color: #fff; }

/* =========================================================
   5. Kontaktleiste & Kopfbereich
   ========================================================= */
.topbar { background: var(--bg-soft); color: var(--ink-2); font-size: 14px; border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; padding-block: 9px; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--green); }
.topbar .icon { width: 16px; height: 16px; color: var(--green); }
.topbar__addr { margin-left: auto; }

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: #fff;
	border-bottom: 1px solid var(--line);
	transition: box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(16, 26, 21, .09); }
.site-header__in { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.site-header .wrap { width: 96%; max-width: 1500px; }
.brand img { width: clamp(200px, calc(96vw - 920px), 480px); max-width: 62vw; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a {
	display: block; padding: 10px 11px; white-space: nowrap;
	font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
	border-radius: 10px; position: relative;
}
.nav__item > a::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
	background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform var(--ease);
}
.nav__item > a:hover, .nav__item.is-current > a { color: var(--green); }
.nav__item > a:hover::after, .nav__item.is-current > a::after { transform: scaleX(1); }
.sub-toggle { display: none; }
.has-sub > a { padding-right: 6px; }
.has-sub::after { content: none; }

.sub {
	position: absolute; top: 100%; left: 0; z-index: 70;
	min-width: 220px; margin: 0; padding: 10px; list-style: none;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-hover);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.sub a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav__cta { padding: .7em 1.4em; font-size: 15px; }

.nav-toggle { display: none; background: none; border: 0; padding: 12px; margin-right: -12px; margin-left: auto; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--ease), background var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   6. Startseite: Kopfbereich mit Video
   ========================================================= */
.hero {
	position: relative; isolation: isolate;
	display: flex; align-items: center;
	min-height: clamp(560px, 88vh, 860px);
	padding: clamp(80px, 12vw, 160px) 0 clamp(190px, 18vw, 260px);
	background: var(--bg-dark);
	color: #fff; overflow: hidden;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 16, 13, .62) 0%, rgba(10, 16, 13, .34) 50%, rgba(10, 16, 13, .06) 100%),
		linear-gradient(0deg, rgba(10, 16, 13, .35) 0%, rgba(10, 16, 13, 0) 40%);
}
.hero__in { max-width: 1200px; }
.hero h1 {
	max-width: 12ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2.9rem, 7.4vw, 6.4rem);
	font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero__place {
	margin: 22px 0 0;
	color: var(--green-light);
	font-size: clamp(1.4rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Sanitärstreifen: schräg, Gelb – Rot – Blau, vor dem Logo und hinter dem Kontakt-Knopf.
   Oben und unten laufen sie weich aus (kein harter Schnitt). */
.stripes {
	flex: none; position: relative; align-self: center;
	width: 78px; height: 96px;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%);
	pointer-events: none;
}
.stripes i {
	position: absolute; top: 0; bottom: 0; left: 50%; width: 36px; margin-left: -18px;
	background: linear-gradient(90deg, var(--stripe-yellow) 0 33.33%, var(--stripe-red) 33.33% 66.66%, var(--stripe-blue) 66.66% 100%);
	transform: skewX(-24deg);
}

/* =========================================================
   7. Leistungs-Karten (überlappen den Kopfbereich)
   ========================================================= */
.services { position: relative; z-index: 2; margin-top: clamp(-150px, -11vw, -100px); padding-bottom: var(--space-section); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.service-card {
	display: flex; flex-direction: column; align-items: flex-start;
	padding: clamp(32px, 3.4vw, 52px);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(0, 132, 74, .35); }
.service-card__icon, .icon-card__icon {
	display: grid; place-items: center; flex: none;
	width: 88px; height: 88px; margin-bottom: 26px;
	background: var(--green-soft); border-radius: 50%;
}
.service-card__icon img, .icon-card__icon img { width: 50px; height: 50px; object-fit: contain; filter: hue-rotate(108deg) saturate(1.5) brightness(.72); }
.service-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: .6em; }
.service-card p { font-size: 17px; }
.more {
	display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
	font-weight: 700; color: var(--green); text-decoration: none;
}
.more .icon { width: 1.1em; height: 1.1em; transition: transform var(--ease); }
.more:hover .icon { transform: translateX(5px); }

/* =========================================================
   8. Abschnitte
   ========================================================= */
.section { padding-block: var(--space-section); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: .35em; }
.section-head p { font-size: 19px; color: var(--muted); margin: 0; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; max-width: none; margin-bottom: 0; }
.section-head__text { max-width: 640px; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink); font-weight: 600; line-height: 1.45; margin: 0; }

.section--split-intro { padding-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__text h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .6em; }
.split__text > :last-child { margin-bottom: 0; }
.split__media { margin: 0; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }

.block { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.block h3 { margin-bottom: .5em; }
.block p:last-child { margin-bottom: 0; }

.lead { text-align: left; }
.lead h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead p { font-size: 19px; }
.lead p:last-child { margin-bottom: 0; }

/* Icon-Karten auf den Unterseiten */
.section--cards {
	--ov: clamp(60px, 7vw, 90px);
	position: relative; z-index: 2;
	margin-top: calc(var(--ov) * -1);
	padding-top: 0; padding-bottom: var(--space-section);
	background: linear-gradient(to bottom, transparent var(--ov), var(--bg-soft) var(--ov));
}
.icon-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.icon-card {
	padding: clamp(28px, 3vw, 44px);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
	transition: transform var(--ease), box-shadow var(--ease);
}
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.icon-card h3 { margin-bottom: .5em; }
.icon-card p { margin: 0; }

/* Bild-Kacheln */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.tile-grid--4 { grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.tile {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow); text-decoration: none; color: var(--ink-2);
	transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(0, 132, 74, .35); color: var(--ink-2); }
.tile__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile__label { display: flex; flex-direction: column; padding: 22px 26px 26px; font-size: 16px; line-height: 1.4; position: relative; }
.tile__label strong { font-size: 1.2rem; letter-spacing: -0.01em; }
.tile__label span { color: var(--muted); }
.tile__label::after {
	content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
	background: var(--green); opacity: .9;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform var(--ease);
}
.tile:hover .tile__label::after { transform: translateX(5px); }

/* Partner-Logos */
.brands { padding: clamp(40px, 5vw, 64px) 0; border-block: 1px solid var(--line); }
.brands__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.brands img { height: 38px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter var(--ease), opacity var(--ease); }
.brands img:hover { filter: none; opacity: 1; }

/* Jobs-Teaser (dunkel) */
.jobs-teaser { background: var(--bg-dark); color: #cfd9d3; padding-block: var(--space-section); }
.jobs-teaser h2 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 4rem); letter-spacing: -0.03em; }
.jobs-teaser strong { color: #fff; }
.jobs-teaser .btn { margin-top: 12px; }
.split__media--round img { border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }

/* Bewertungen */
.reviews__sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 36px; color: var(--muted); }
.reviews__sum strong { letter-spacing: .06em; }
.stars {
	--r: 100%;
	display: inline-block; font-size: 20px; line-height: 1; letter-spacing: 2px;
	background: linear-gradient(90deg, #f5b301 var(--r), #d3d8d4 var(--r));
	-webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.stars::before { content: "★★★★★"; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.review {
	margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.review__top { display: flex; align-items: center; gap: 14px; }
.review__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 800; }
.review figcaption { font-weight: 700; color: var(--ink); line-height: 1.2; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* =========================================================
   9. Unterseiten
   ========================================================= */
.page-hero {
	position: relative; isolation: isolate;
	padding: clamp(72px, 10vw, 130px) 0 clamp(130px, 13vw, 190px);
	color: #fff;
	background:
		linear-gradient(90deg, rgba(10, 16, 13, .8) 0%, rgba(10, 16, 13, .58) 55%, rgba(10, 16, 13, .3) 100%),
		var(--hero-img, none) right center / cover no-repeat,
		var(--bg-dark);
}
.page-hero--plain { padding-bottom: clamp(56px, 7vw, 96px); background: var(--bg-dark); }
.page-hero h1 {
	max-width: 16ch; margin: 0; color: #fff;
	font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
}
.page-hero .h1-top { display: block; }
.page-hero .h1-sub { display: block; margin-top: .45em; color: var(--green-light); font-size: .38em; font-weight: 700; letter-spacing: -0.005em; line-height: 1.25; }
.page-hero__sub { margin: 22px 0 0; max-width: 40ch; color: var(--green-light); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.3; }

.prose { font-size: 18px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.2em; letter-spacing: 0; }
.prose--story .lead-p { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.6; color: var(--ink); }
.story-figure { margin: clamp(40px, 6vw, 80px) 0 0; }
.story-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.job-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.job {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	padding: clamp(28px, 3vw, 44px);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
	transition: transform var(--ease), box-shadow var(--ease);
}
.job:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.job h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.job p { margin-bottom: 22px; color: var(--muted); }
.job .btn { margin-top: auto; }

/* =========================================================
   10. Kontakt, Karte, Fußzeile
   ========================================================= */
.contact { background: var(--bg-dark); color: #cfd9d3; padding-block: var(--space-section); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 4rem); margin-bottom: .6em; }
.contact__logo { display: inline-block; padding: 14px 20px; margin-bottom: 26px; background: #fff; border-radius: var(--radius); }
.contact__logo img { width: 200px; }
.contact address { font-style: normal; margin-bottom: 22px; font-size: 18px; line-height: 1.7; }
.contact address strong { color: #fff; }
.contact a { color: var(--green-light); }
.contact a:hover { color: #fff; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list .icon { width: 20px; height: 20px; color: var(--green-light); flex: none; }

.contact__form { padding: clamp(24px, 3vw, 40px); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); }
.field { margin: 0 0 16px; }
.field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact input[type="text"], .contact input[type="email"], .contact textarea {
	width: 100%; padding: 15px 18px;
	font: 400 16px/1.4 var(--font); color: var(--ink);
	background: #fff; border: 2px solid transparent; border-radius: var(--radius-sm, 12px);
	transition: border-color var(--ease), box-shadow var(--ease);
}
.contact textarea { resize: vertical; min-height: 150px; }
.contact input::placeholder, .contact textarea::placeholder { color: #7b857f; }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--green-light); box-shadow: 0 0 0 4px rgba(111, 214, 160, .25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.notice--ok { background: rgba(111, 214, 160, .18); color: #c9f5de; }
.notice--error { background: rgba(255, 120, 100, .16); color: #ffd3cb; }

.map iframe { display: block; width: 100%; height: clamp(320px, 38vw, 480px); border: 0; filter: grayscale(.2); }
.site-footer { background: #0a100d; color: #9fb0a7; padding-block: 28px; font-size: 15px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #cfd9d3; text-decoration: none; }
.site-footer a:hover { color: var(--green-light); text-decoration: underline; }

/* Schnellkontakt (rechts am Rand, mobil als Leiste unten) */
.float-contact { position: fixed; right: 18px; top: 50%; z-index: 80; transform: translateY(-50%); display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.float-contact a {
	position: relative; display: grid; place-items: center; width: 50px; height: 50px;
	background: #fff; color: var(--green); border-radius: 50%; box-shadow: 0 8px 22px rgba(16, 26, 21, .22);
	transition: transform var(--ease), background var(--ease), color var(--ease);
}
.float-contact a:hover { background: var(--green); color: #fff; transform: scale(1.08); }
.float-contact .icon { width: 22px; height: 22px; }
.float-contact span {
	position: absolute; right: 60px; padding: 6px 12px; border-radius: 8px; white-space: nowrap;
	background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
	opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity var(--ease), transform var(--ease);
}
.float-contact a:hover span, .float-contact a:focus-visible span { opacity: 1; transform: none; }

/* =========================================================
   11. Einblend-Animation (nur mit JavaScript)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   12. Tablet & Smartphone
   ========================================================= */
@media (min-width: 1025px) and (max-width: 1320px) {
	.nav { gap: 16px; }
	.nav__item > a { padding: 10px 9px; }
	.nav__item > a::after { left: 9px; right: 9px; }
	.nav__cta { padding: .7em 1.1em; }
	.brand img { width: clamp(168px, calc(96vw - 920px), 480px); }
}

@media (max-width: 1100px) {
	.tile-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
	:root { --header-h: 92px; }
	.nav-toggle { display: block; }
	.nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		padding: 8px 5% 24px;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(16, 26, 21, .12);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__item > a { flex: 1; padding: 16px 4px; font-size: 17px; }
	.nav__item > a::after { display: none; }
	.sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; }
	.sub-toggle .icon { width: 20px; height: 20px; transition: transform var(--ease); }
	.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
	.sub {
		position: static; display: none; width: 100%; min-width: 0;
		padding: 0 0 10px 12px; border: 0; border-radius: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none;
	}
	.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
	.has-sub.is-open > .sub { display: block; }
	.nav__cta { margin-top: 18px; }

	.service-grid { grid-template-columns: 1fr; }
	.split, .contact__grid { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
	.hero h1 { max-width: none; }
}



@media (max-width: 767px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.topbar .topbar__mail, .topbar .topbar__addr { display: none; }
	.topbar__in { justify-content: center; }
	.brand img { width: 240px; max-width: 56vw; }
	.stripes { width: 46px; height: 64px; }
	.stripes i { width: 22px; margin-left: -11px; }
	.stripes--r { display: none; }
	.tile-grid--4 { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.hero { min-height: 0; padding-top: 72px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.services { margin-top: -90px; }
	.brands__in { justify-content: center; }

	.float-contact {
		top: auto; right: 0; bottom: 0; left: 0; transform: none;
		grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 26, 21, .1);
	}
	.float-contact a {
		width: auto; height: 60px; border-radius: 0; box-shadow: none;
		grid-auto-flow: row; gap: 2px; padding-top: 6px; align-content: center;
	}
	.float-contact a:hover { transform: none; }
	.float-contact .icon { width: 20px; height: 20px; }
	.float-contact span { position: static; padding: 0; background: none; color: inherit; font-size: 11px; opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.topbar, .site-header, .float-contact, .map, .hero__video { display: none !important; }
}
