/* Stutz Improvement AG – Landingpage
   Layout und Farben 1:1 von der bisherigen Website übernommen (css/style.css, _tplinc/site.css). */

:root {
	--brand: #9a0033;
	--brand-line: #990033;
	--text: #666666;
	--link: #6d6d6d;
	--claim: #cccbcc;
	--rule: #666666;
	--footer: #cccccc;
	--font: Verdana, "Bitstream Vera Sans", "DejaVu Sans", "Liberation Sans", Geneva, sans-serif;
}

html { color-scheme: light; }

body {
	margin: 0;
	padding: 0;
	background: #fff url(../images/bg_header.gif) repeat-x;
	font-family: var(--font);
	font-size: 12px;
	color: var(--text);
}

a:link, a:visited, a:active, a:hover {
	color: var(--link);
	text-decoration: underline;
}

#container {
	width: 960px;
	margin: 0 auto;
}

/* ---- Header: Logo + roter Balken mit Claim ---- */

#header {
	position: relative;
	height: 287px;
}

#logo {
	position: absolute;
	top: 42px;
	right: 45px;
}

#logo img { display: block; border: 0; }

#writer {
	position: absolute;
	top: 137px;
	left: 0;
	width: 960px;
	height: 150px;
	margin: 0;
	font-weight: normal;
}

#t1, #t2 {
	position: absolute;
	color: var(--claim);
	font-family: Verdana, sans-serif;
	white-space: nowrap;
}

#t1 { top: 20px; left: 50px; font-size: 24px; }
#t2 { top: 50px; left: 256px; font-size: 25pt; line-height: 1.1; }

#whiteline {
	position: absolute;
	top: 276px;
	height: 11px;
	margin-left: 40px;
	border-left: 1px solid #fff;
}

/* ---- Inhalt: eine Spalte ab der linken Linie, Sprachwahl dezent rechts ---- */

#main {
	display: flex;
	align-items: flex-start;
	margin-top: 1px;
	min-height: 359px;
}

#content {
	margin-left: 40px;
	width: 520px;
	padding: 6px 9px 30px;
	border-left: 1px solid var(--rule);
	box-shadow: -6px 0 6px -6px #999;
	line-height: 20px;
}

#lang-nav { margin: 10px 45px 0 auto; }

#lang {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 10px;
}

#lang li + li::before {
	content: "|";
	margin: 0 6px;
	color: var(--footer);
}

#lang a:link, #lang a:visited {
	font-size: 10px;
	text-decoration: none;
	color: #999;
	letter-spacing: 0.05em;
}

#lang a:hover { color: var(--brand); text-decoration: underline; }
#lang a[aria-current="page"] { color: var(--brand); }

#content p { margin: 20px 0 0; }

/* Einleitung (Text der bisherigen Startseite) */
.intro h1 {
	margin: 21px 0 0;
	font-size: 24px;
	font-weight: normal;
	line-height: 1.2;
	color: var(--brand);
}

.intro p { margin-top: 10px; }

/* Kontakt + Portrait */
.contact {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-top: 30px;
}

.contact-text { flex: 1; min-width: 0; }

.contact h2 {
	margin: 0;
	font-size: 16px;
	font-weight: bold;
	color: var(--brand);
}

.portrait {
	flex: none;
	display: block;
	width: 215px;
	height: auto;
}

#content a { font-size: 12px; }

.tel { white-space: nowrap; }

/* ---- Footer (Kurz-Impressum) ---- */

#footer {
	padding: 0 50px 20px 0;
	text-align: right;
	font-size: 10px;
	color: var(--footer);
}

#footer p { margin: 10px 0 0; }

/* ---- Responsive (Breakpoints wie bisher) ---- */

@media only screen and (max-width: 960px) {
	#container, #writer { width: 100%; }
	#writer { padding: 20px 0; box-sizing: border-box; }
	#t1, #t2 { position: static; display: block; padding: 0 45px; white-space: normal; }
	#whiteline { display: none; }
	#main { flex-direction: column-reverse; align-items: stretch; }
	#lang-nav { margin: 10px 45px 0; align-self: flex-end; }
	#content { width: auto; margin: 0 36px; border: 0; box-shadow: none; }
	#footer { padding: 0 45px 20px; text-align: left; }
}

@media only screen and (max-width: 767px) {
	#t1 { font-size: 17px; }
	#t2 { font-size: 24px; }
}

@media only screen and (max-width: 540px) {
	body { background-image: none; }
	#header { height: auto; display: flex; flex-direction: column; }
	#logo { position: static; align-self: flex-end; padding: 15px 15px 10px; }
	#logo img { max-width: 100%; height: auto; }
	#writer { position: static; height: auto; min-height: 150px; background-color: #9e0d3d; }
	#t1, #t2 { padding: 0 15px; }
	#lang-nav { margin: 10px 15px 0; }
	#content { margin: 0 6px; }
	.contact { flex-direction: column; gap: 25px; }
	.portrait { width: 160px; }
	#footer { padding: 0 15px 20px; }
}
