/* ==========================================================================
   Seite: Contact – nur auf dieser Seite geladen (Freiheitsstufe 2)
   Redesign 11/2026 im Stil von Startseite, About Us und Team („Clean Dark“).
   Präfix .ct- · Grundlage: Startseiten-Bausteine aus homepage.css (Hero, Bento-Karten).
   ?v= hochzählen, wenn sich homepage.css ändert (Cache).
   ========================================================================== */

@import url("homepage.css?v=3");

html { scroll-behavior: smooth; }

.seite-contact [id] { scroll-margin-top: 96px; }

/* ==========================================================================
   1 · HERO – Titel + Sprung-Pillen (wie Team)
   ========================================================================== */

.ct-hero {
	min-height: 0;
	padding-block: clamp(120px, 12vw, 180px) clamp(72px, 8vw, 120px);
}

.ct-hero .wbd-hero__titel { font-size: clamp(56px, 10vw, 160px); }
.ct-hero .wbd-hero__titel span { color: var(--farbe-text-gedaempft); }

.ct-hero__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	max-width: 880px;
	margin: 40px auto 0;
}

.ct-hero__nav .wbd-pille {
	min-height: 44px;
	box-sizing: border-box;
	text-decoration: none;
	transition: border-color var(--uebergang), color var(--uebergang);
}

.ct-hero__nav .wbd-pille:hover {
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--farbe-text);
}

.ct-hero__nav .ct-hero__pille--akzent {
	border-color: rgba(var(--farbe-akzent-rgb), 0.5);
	color: var(--farbe-text);
}

/* ==========================================================================
   2 · NACHRICHT – Formular links, direkte E-Mail rechts
   ========================================================================== */

.ct-nachricht {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.ct-form {
	display: grid;
	gap: 16px;
	margin-top: clamp(32px, 4vw, 48px);
}

.ct-form__zeile {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ct-form__feld {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ct-form__feld label {
	font-size: 14px;
	font-weight: 500;
	color: var(--farbe-text-gedaempft);
}

.ct-form__feld input,
.ct-form__feld select,
.ct-form__feld textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 16px 20px;
	border: 1px solid var(--farbe-linie);
	border-radius: 18px;
	background: var(--farbe-mitte);
	color: var(--farbe-text);
	font-family: inherit;
	font-size: 16px;
	transition: border-color var(--uebergang), background var(--uebergang);
}

.ct-form__feld textarea { min-height: 160px; resize: vertical; }

.ct-form__feld input::placeholder,
.ct-form__feld textarea::placeholder { color: var(--farbe-text-blass); }

.ct-form__feld input:hover,
.ct-form__feld select:hover,
.ct-form__feld textarea:hover { border-color: rgba(255, 255, 255, 0.18); }

.ct-form__feld input:focus,
.ct-form__feld select:focus,
.ct-form__feld textarea:focus {
	outline: none;
	border-color: rgba(var(--farbe-akzent-rgb), 0.6);
	background: var(--farbe-petrol);
}

.ct-form__feld select {
	appearance: none;
	padding-right: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23FF4A1C' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
}

.ct-form__feld select option { background: var(--farbe-navy); color: var(--farbe-text); }

.ct-form .button { margin-top: 8px; }

.ct-form__hinweis {
	max-width: 560px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--farbe-text-blass);
}

/* Direkte E-Mail: ruhige Karte, große Adresse */
.ct-direkt {
	position: sticky;
	top: 120px;
	padding: clamp(28px, 3vw, 40px);
	border: 1px solid var(--farbe-linie);
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0%, rgba(var(--farbe-akzent-rgb), 0.12), transparent 60%),
		var(--farbe-mitte);
}

.ct-direkt__titel {
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.ct-direkt p {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--farbe-text-gedaempft);
}

.ct-direkt__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	font-size: clamp(18px, 1.7vw, 22px);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--farbe-akzent);
	word-break: break-all;
}

.ct-direkt__link:hover { color: var(--farbe-akzent-hover); }

/* ==========================================================================
   3 · BÜRO – Karte groß, rechts Adresse + Teamtreffen (orange Karte)
   ========================================================================== */

.ct-buero {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 16px;
}

.ct-karte {
	min-height: clamp(360px, 36vw, 520px);
	border-radius: 28px;
}

.ct-karte iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.2) contrast(1.05);
}

.ct-karte__link {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	background: rgba(var(--farbe-navy-rgb), 0.88);
	color: var(--farbe-text);
	text-decoration: none;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.ct-karte__link:hover { color: var(--farbe-text); border-color: rgba(255, 255, 255, 0.3); }

.ct-buero__spalte {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 16px;
}

.ct-karte-text,
.ct-treffen {
	gap: 16px;
	padding: clamp(24px, 2.6vw, 36px);
}

.ct-adresse {
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.ct-adresse span {
	display: block;
	margin-top: 8px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--farbe-text-gedaempft);
}

.ct-treffen { justify-content: space-between; }

.ct-treffen__zeit {
	font-size: clamp(32px, 3.2vw, 44px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.045em;
}

.ct-treffen__text {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.ct-treffen__text strong { color: var(--farbe-text); }

.ct-treffen__text a {
	color: var(--farbe-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ct-treffen__text a:hover { color: var(--farbe-text); text-decoration-thickness: 2px; }

/* ==========================================================================
   Responsiv
   ========================================================================== */

@media (max-width: 1023px) {
	.ct-nachricht,
	.ct-buero { grid-template-columns: minmax(0, 1fr); }
	.ct-direkt { position: static; }
}

@media (max-width: 719px) {
	.ct-form__zeile { grid-template-columns: minmax(0, 1fr); }
	.ct-hero__nav { gap: 8px; }
	.ct-karte { min-height: 300px; }
}

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