/*
Theme Name: Koeller IT Consulting
Theme URI: https://koeller-it-consulting.de
Author: Alexander Koeller
Author URI: https://koeller-it-consulting.de
Description: Individuelles WordPress-Theme fuer die Koeller IT Consulting GmbH - IT-Coaching, Consulting und Trainings rund um Microsoft Database Platform und Azure Cloud.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koeller-it-consulting
*/

/* =========================================================
   1. Grundlagen / Variablen
   ========================================================= */
:root {
	--color-navy-900: #071527;
	--color-navy-800: #0b1f3a;
	--color-navy-700: #12284d;
	--color-blue-600: #1565c0;
	--color-blue-500: #1e88e5;
	--color-accent: #00b4d8;
	--color-accent-dark: #0090ad;
	--color-bg: #f5f8fb;
	--color-surface: #ffffff;
	--color-border: #e2e8f0;
	--color-text: #1f2937;
	--color-text-muted: #5b6b7c;
	--color-text-inverse: #eef3f9;
	--color-text-inverse-muted: #a9bdd4;
	--font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	--container-width: 1180px;
	--radius-md: 10px;
	--radius-lg: 18px;
	--shadow-md: 0 10px 30px rgba(11, 31, 58, 0.08);
	--shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.16);
	--transition: 0.2s ease-in-out;
}

/* =========================================================
   2. Reset
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-blue-600);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover,
a:focus {
	color: var(--color-accent-dark);
}

ul,
ol {
	padding-left: 1.2em;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.25;
	font-weight: 700;
	color: var(--color-navy-800);
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1.2em;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--color-navy-900);
	color: #fff;
	padding: 0.8em 1.2em;
	z-index: 10000;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	left: 0;
}

/* =========================================================
   3. Layout-Hilfen
   ========================================================= */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.section {
	padding: 80px 0;
}

.section--tight {
	padding: 56px 0;
}

.section--surface {
	background: var(--color-surface);
}

.section--navy {
	background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
	color: var(--color-text-inverse);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy p {
	color: var(--color-text-inverse);
}

.section-heading {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-heading .eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent-dark);
	background: rgba(0, 180, 216, 0.12);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.section--navy .section-heading .eyebrow {
	color: #7fd8ea;
	background: rgba(0, 180, 216, 0.16);
}

.section-heading h2 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	margin-bottom: 12px;
}

.section-heading p {
	color: var(--color-text-muted);
	margin-bottom: 0;
}

.section--navy .section-heading p {
	color: var(--color-text-inverse-muted);
}

.grid {
	display: grid;
	gap: 28px;
}

.grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

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

/* =========================================================
   4. Buttons
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.98rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover,
.btn:focus {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--color-accent);
	color: var(--color-navy-900);
	box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--color-accent-dark);
	color: #fff;
}

.btn-outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: inherit;
}

.btn-outline:hover,
.btn-outline:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

.btn-dark-outline {
	background: transparent;
	border-color: var(--color-navy-800);
	color: var(--color-navy-800);
}

.btn-dark-outline:hover,
.btn-dark-outline:focus {
	background: var(--color-navy-800);
	color: #fff;
}

/* =========================================================
   5. Header / Navigation
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(7, 21, 39, 0.96);
	backdrop-filter: saturate(150%) blur(6px);
	color: var(--color-text-inverse);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 0;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.site-branding img {
	max-height: 44px;
	width: auto;
}

.site-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.2;
	white-space: nowrap;
}

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

.site-description {
	display: block;
	font-size: 0.75rem;
	color: var(--color-text-inverse-muted);
	font-weight: 400;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	color: #fff;
	padding: 8px 10px;
	cursor: pointer;
}

.primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
	align-items: center;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	display: block;
	padding: 10px 16px;
	color: var(--color-text-inverse);
	font-weight: 600;
	font-size: 0.96rem;
	border-radius: 999px;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a {
	background: rgba(0, 180, 216, 0.18);
	color: #7fd8ea;
}

.primary-navigation .btn-primary {
	margin-left: 8px;
}

@media (max-width: 880px) {
	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
	}

	.primary-navigation {
		display: none;
		width: 100%;
		order: 3;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.site-header__inner {
		flex-wrap: wrap;
	}

	.primary-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding-bottom: 14px;
	}

	.primary-navigation .btn-primary {
		margin-left: 0;
		margin-top: 8px;
		justify-content: center;
	}
}

/* =========================================================
   6. Hero
   ========================================================= */
.hero {
	position: relative;
	color: #fff;
	overflow: hidden;
	background-color: var(--color-navy-900);
	background-size: cover;
	background-position: center;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(7, 21, 39, 0.94) 0%, rgba(7, 21, 39, 0.82) 45%, rgba(7, 21, 39, 0.55) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding: 110px 0 96px;
	max-width: 680px;
}

.hero--page {
	padding: 0;
}

.hero--page .hero__inner {
	padding: 74px 0 64px;
	max-width: 760px;
}

.hero .eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7fd8ea;
	background: rgba(0, 180, 216, 0.16);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.hero h1 {
	color: #fff;
	font-size: clamp(2.1rem, 4.4vw, 3.2rem);
	margin-bottom: 18px;
}

.hero p.lead {
	font-size: 1.15rem;
	color: var(--color-text-inverse-muted);
	margin-bottom: 32px;
}

.hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* =========================================================
   7. Karten / Komponenten
   ========================================================= */
.card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--color-border);
	transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__body {
	padding: 26px 26px 30px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.card__body h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.card__body p {
	color: var(--color-text-muted);
	margin-bottom: 18px;
}

.card__body .btn {
	margin-top: auto;
	align-self: flex-start;
	padding: 10px 20px;
	font-size: 0.9rem;
}

.icon-badge {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(0, 180, 216, 0.12);
	color: var(--color-accent-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 16px;
}

/* USP / Fakten-Reihe */
.stat-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.stat-row div {
	text-align: center;
}

.stat-row strong {
	display: block;
	font-size: 2rem;
	color: var(--color-accent);
}

.stat-row span {
	color: var(--color-text-inverse-muted);
	font-size: 0.92rem;
}

@media (max-width: 700px) {
	.stat-row {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* =========================================================
   7b. Feature-Reihen (z. B. Leistungen-Seite)
   ========================================================= */
.feature-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: center;
	margin-bottom: 88px;
	scroll-margin-top: 100px;
}

.feature-row:last-child {
	margin-bottom: 0;
}

.feature-row.is-reverse .feature-row__media {
	order: 2;
}

.feature-row__media img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.feature-row__content .eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-accent-dark);
	margin-bottom: 10px;
}

.feature-row__content ul {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
}

.feature-row__content ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	color: var(--color-text-muted);
}

.feature-row__content ul li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-accent-dark);
	font-weight: 700;
}

@media (max-width: 820px) {
	.feature-row {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 56px;
	}

	.feature-row.is-reverse .feature-row__media {
		order: 0;
	}
}

/* =========================================================
   8. CTA-Band
   ========================================================= */
.cta-band {
	position: relative;
	color: #fff;
	background-color: var(--color-navy-900);
	background-size: cover;
	background-position: center;
	border-radius: var(--radius-lg);
	overflow: hidden;
	padding: 56px;
	text-align: center;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(7, 21, 39, 0.92), rgba(21, 101, 192, 0.72));
}

.cta-band > * {
	position: relative;
	z-index: 2;
}

.cta-band h2 {
	color: #fff;
	margin-bottom: 12px;
}

.cta-band p {
	color: var(--color-text-inverse-muted);
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 700px) {
	.cta-band {
		padding: 36px 22px;
	}
}

/* =========================================================
   9. Ueber mich
   ========================================================= */
.about-layout {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 56px;
	align-items: start;
}

.about-photo {
	position: sticky;
	top: 110px;
	text-align: center;
}

.about-photo img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	margin: 0 auto 16px;
}

.about-photo__caption {
	font-size: 0.85rem;
	color: var(--color-text-muted);
}

.about-content h2 {
	margin-top: 2em;
}

.about-content h2:first-child {
	margin-top: 0;
}

.skill-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.skill-list li {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 10px;
	padding: 12px 16px;
	font-weight: 600;
	font-size: 0.95rem;
}

@media (max-width: 820px) {
	.about-layout {
		grid-template-columns: 1fr;
	}

	.about-photo {
		position: static;
		max-width: 220px;
		margin: 0 auto 24px;
	}

	.skill-list {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   10. Kontakt
   ========================================================= */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: start;
}

.contact-info {
	background: var(--color-navy-900);
	color: var(--color-text-inverse);
	border-radius: var(--radius-lg);
	padding: 36px;
}

.contact-info h2 {
	color: #fff;
}

.contact-info a {
	color: #7fd8ea;
}

.contact-info-item {
	margin-bottom: 22px;
}

.contact-info-item .label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-text-inverse-muted);
	margin-bottom: 4px;
}

.contact-form {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 36px;
	box-shadow: var(--shadow-md);
}

.form-row {
	margin-bottom: 20px;
}

.form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	color: var(--color-text);
}

.form-row input:focus,
.form-row textarea:focus {
	outline: 2px solid var(--color-accent);
	outline-offset: 1px;
}

.form-row.form-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

.form-row.form-consent input {
	width: auto;
	margin-top: 4px;
}

.hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.form-notice {
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 24px;
	font-weight: 600;
}

.form-notice--success {
	background: #e3f8ee;
	color: #146c43;
	border: 1px solid #b7e4c7;
}

.form-notice--error {
	background: #fdecec;
	color: #9c1c1c;
	border: 1px solid #f3b8b8;
}

@media (max-width: 880px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   11. Rechtstexte (Impressum / Datenschutz)
   ========================================================= */
.legal-content h2 {
	margin-top: 1.8em;
}

.legal-notice {
	background: #fff8e6;
	border: 1px solid #f2d98a;
	border-radius: 10px;
	padding: 18px 22px;
	margin-bottom: 36px;
	font-size: 0.95rem;
}

.legal-notice strong {
	color: #7a5b00;
}

/* =========================================================
   12. Footer
   ========================================================= */
.site-footer {
	background: var(--color-navy-900);
	color: var(--color-text-inverse-muted);
	padding: 64px 0 28px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h3 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 16px;
}

.footer-grid p {
	color: var(--color-text-inverse-muted);
}

.footer-menu ul,
.footer-contact ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li,
.footer-contact li {
	margin-bottom: 10px;
}

.footer-menu a,
.footer-contact a {
	color: var(--color-text-inverse-muted);
}

.footer-menu a:hover,
.footer-contact a:hover {
	color: #7fd8ea;
}

.site-footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	font-size: 0.85rem;
}

.site-footer-bottom a {
	color: var(--color-text-inverse-muted);
}

.site-footer-bottom a:hover {
	color: #7fd8ea;
}

@media (max-width: 820px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   13. Utilities
   ========================================================= */
.text-center {
	text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.alignwide {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
