/*
Theme Name: SEODEF ONE
Theme URI: https://seodef.net/
Author: SEODEF
Author URI: https://seodef.de/
Description: Minimalistisches Multi-Purpose One-Pager WordPress Theme für Projektflächen, Profile und Landingpages.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: seodef-one
License: Proprietary
License URI: https://seodef.net/
Tags: one-column, custom-logo, featured-images, full-width-template, translation-ready
*/



html {
	scroll-behavior: auto;
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

body.seodef-one-body {
	margin: 0;
	background: var(--so-bg, #ffffff);
	color: var(--so-text, #121212);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

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

a {
	color: inherit;
}

.site-main {
	display: block;
}

.site-header {
	position: relative;
	z-index: 1000;
	border-bottom: 1px solid var(--so-border, #e3e3e3);
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(10px);
}

.site-header-sticky {
	position: sticky;
	top: 0;
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
	min-height: 78px;
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-branding__link {
	display: inline-flex;
	flex-direction: column;
	gap: 0.15rem;
	text-decoration: none;
}

.site-logo {
	max-height: 52px;
	width: auto;
	display: block;
}

.site-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-tagline {
	font-size: 0.8rem;
	opacity: 0.72;
}

.main-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--so-border, #e3e3e3);
	border-radius: 999px;
	padding: 0.65rem 0.95rem;
	cursor: pointer;
	font: inherit;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu a {
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	opacity: 0.86;
	transition: opacity 220ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus {
	opacity: 1;
}

.header-cta {
	display: flex;
	justify-content: flex-end;
}

.site-footer {
	border-top: 1px solid var(--so-border, #e3e3e3);
	background: var(--so-surface, #f5f5f5);
}

.footer-inner {
	display: grid;
	gap: 1rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.footer-text p {
	margin: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a,
.back-to-top-link {
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
}

.footer-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
	font-size: 0.9rem;
	opacity: 0.8;
}

.site-main-page .section-inner,
.site-main-index .section-inner,
.site-main-404 .section-inner {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.content-page,
.post-card,
.error-404 {
	max-width: 860px;
}

.content-page__header,
.archive-header,
.error-404__header {
	margin-bottom: 1.5rem;
}

.content-page__title,
.archive-title,
.error-404__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.content-page__body,
.post-card__excerpt,
.error-404__content {
	font-size: 1.05rem;
	line-height: 1.7;
}

.content-page__body > *:first-child,
.post-card__excerpt > *:first-child,
.error-404__content > *:first-child {
	margin-top: 0;
}

.content-page__body > *:last-child,
.post-card__excerpt > *:last-child,
.error-404__content > *:last-child {
	margin-bottom: 0;
}

.post-list {
	display: grid;
	gap: 1rem;
}

.post-card {
	padding: 1.25rem 1.25rem;
	border: 1px solid var(--so-border, #e3e3e3);
	border-radius: var(--so-radius, 18px);
	background: var(--so-surface, #f5f5f5);
}

.post-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.3rem;
	line-height: 1.12;
}

.post-card__title a {
	text-decoration: none;
}

.post-card__title a:hover,
.post-card__title a:focus {
	text-decoration: underline;
}

.pagination-wrap {
	margin-top: 2rem;
}

.error-404__content {
	max-width: 60ch;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 960px) {
	.header-inner {
		grid-template-columns: 1fr auto;
	}

	.main-navigation {
		justify-content: flex-end;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.primary-menu {
		display: none;
		position: absolute;
		top: calc(100% + 1px);
		left: 0;
		right: 0;
		padding: 1rem;
		background: var(--so-bg, #ffffff);
		border-bottom: 1px solid var(--so-border, #e3e3e3);
		flex-direction: column;
		align-items: flex-start;
	}

	.primary-menu.is-open {
		display: flex;
	}

	.header-cta {
		display: none;
	}
}

@media (max-width: 640px) {
	.footer-meta {
		flex-direction: column;
		align-items: flex-start;
	}
}


/* SEODEF ONE 1.1 visual engine */
:root{--so-radius:0px;--so-shadow:0 24px 70px rgba(0,0,0,.08);--so-header-bg:rgba(255,255,255,.82)}
body.seodef-one-body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.container{width:min(calc(100% - 40px),1180px);margin-inline:auto}
.site-header{transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;background:var(--so-header-bg)}
.site-title{font-size:.9rem;letter-spacing:.16em}.site-tagline{font-size:.72rem;letter-spacing:.04em}
.primary-menu a{position:relative;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.primary-menu a:after{content:"";position:absolute;left:0;bottom:-7px;width:100%;height:1px;background:var(--so-accent);transform:scaleX(0);transform-origin:left;transition:transform .2s ease}.primary-menu a:hover:after{transform:scaleX(1)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.75rem 1.2rem;border:1px solid var(--so-accent);text-decoration:none;font-weight:700;letter-spacing:.03em;transition:transform .2s ease,background .2s ease,color .2s ease}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--so-accent);color:#fff}.button-secondary{background:transparent;color:inherit}
.preset-northline_dark,.preset-northline_dark .site-header{--so-header-bg:rgba(10,10,10,.68);color:var(--so-text)}
.preset-northline_dark .site-header{border-color:rgba(255,255,255,.1)}
.site-mode-crm .site-header{min-height:64px}.site-mode-crm .site-tagline{display:none}.site-mode-crm .header-inner{min-height:64px}
@media(max-width:800px){.header-inner{grid-template-columns:1fr auto}.header-cta{display:none}.menu-toggle{display:inline-flex}.main-navigation{justify-content:flex-end}.primary-menu{display:none;position:absolute;left:20px;right:20px;top:72px;padding:18px;background:var(--so-bg);border:1px solid var(--so-border);flex-direction:column;align-items:flex-start}.main-navigation.is-open .primary-menu{display:flex}}


/* =========================================================
   SEODEF ONE 1.2 – Elementor compatibility
   ========================================================= */

/* Elementor owns the page canvas; the theme does not add an extra content box. */
.seodef-one-builder-page {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

.seodef-one-builder-page > .elementor {
	width: 100%;
}

/* Keep SEODEF header/footer, but let Elementor use the full viewport width. */
.seodef-one-elementor-fullwidth .site-main,
.seodef-one-builder-fullwidth,
.seodef-one-builder-front {
	max-width: none;
}

/* Canvas deliberately removes all visual theme chrome. */
body.seodef-one-elementor-canvas {
	margin: 0;
	padding: 0;
	background: var(--so-bg, #111111);
}

.seodef-one-builder-canvas {
	min-height: 100vh;
}

/* Useful NORTHLINE utility classes that can be assigned in Elementor. */
.northline-screen {
	min-height: 100svh;
	display: flex;
	align-items: center;
}

.northline-screen--center {
	justify-content: center;
	text-align: center;
}

.northline-kicker {
	font-size: clamp(.72rem, 1vw, .88rem);
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .72;
}

.northline-display {
	font-size: clamp(3rem, 9vw, 8.5rem);
	line-height: .92;
	letter-spacing: -.055em;
	text-wrap: balance;
}

.northline-copy {
	max-width: 46rem;
	font-size: clamp(1rem, 1.8vw, 1.35rem);
	opacity: .82;
}

.northline-glass {
	background: rgba(15, 15, 15, .42);
	border: 1px solid rgba(255,255,255,.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.northline-status {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.northline-status::before {
	content: "";
	width: .55rem;
	height: .55rem;
	border-radius: 50%;
	background: var(--so-accent, #59ffa0);
	box-shadow: 0 0 0 .3rem color-mix(in srgb, var(--so-accent, #59ffa0) 14%, transparent);
}

@media (max-width: 767px) {
	.northline-display {
		font-size: clamp(2.8rem, 16vw, 5.2rem);
	}
}
