/*
Theme Name: Alexander Rudolph
Description: Schlankes Elementor-First-Theme für Alexander Rudolph – Marine Interior Photography. Liefert nur das Nötigste (Header, Footer, Typografie) und überlässt den Rest bewusst Elementor sowie dem Plugin "Alexander Rudolph Manager".
Author: JTS Marketing
Version: 1.0.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: alexander-rudolph
*/

/* ---------------------------------------------------------------- */
/* Reset & Grundtypografie                                           */
/* ---------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #ffffff;
	color: #262626;
	font-family: "Jost", system-ui, sans-serif;
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Josefin Sans", system-ui, sans-serif;
	font-weight: 300;
	letter-spacing: .02em;
	line-height: 1.25;
	margin: 0 0 .6em;
}

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

/* Elementor should own layout width on any page it builds — never fight it
   with a theme content wrapper max-width. */
.elementor-section-wrap,
.elementor {
	max-width: none;
}

/* ---------------------------------------------------------------- */
/* Site header (only rendered on non-Elementor-Canvas templates,     */
/* e.g. Impressum/Datenschutz — the homepage hero has its own nav)   */
/* ---------------------------------------------------------------- */

.art-site-header {
	border-bottom: 1px solid #e8e8e8;
	background: #fff;
}
.art-site-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 26px clamp(18px, 4vw, 48px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	position: relative;
}
.art-site-logo {
	font-family: "Josefin Sans", system-ui, sans-serif;
	font-weight: 300;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: clamp(18px, 2.4vw, 24px);
	text-decoration: none;
	color: #262626;
}
.art-primary-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: clamp(16px, 2.4vw, 32px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.art-primary-nav a {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #262626;
	position: relative;
	padding: 4px 0;
}
.art-primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1px;
	background: #1d2c3c;
	transition: right .3s ease;
}
.art-primary-nav a:hover {
	color: #1d2c3c;
}
.art-primary-nav a:hover::after {
	right: 0;
}

.art-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	border: 1px solid #e8e8e8;
	border-radius: 3px;
	cursor: pointer;
}
.art-nav-toggle span {
	display: block;
	width: 16px;
	height: 1px;
	margin: 0 auto;
	background: #262626;
	transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 680px) {
	.art-nav-toggle {
		display: flex;
	}
	.art-primary-nav ul {
		position: absolute;
		top: 100%;
		right: 18px;
		left: 18px;
		flex-direction: column;
		align-items: center;
		gap: 16px;
		margin-top: 1px;
		padding: 20px 18px;
		background: #fff;
		border: 1px solid #e8e8e8;
		border-top: none;
		display: none;
		z-index: 20;
	}
	.art-primary-nav.art-open ul {
		display: flex;
	}
	.art-nav-toggle.art-active span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}
	.art-nav-toggle.art-active span:nth-child(2) {
		opacity: 0;
	}
	.art-nav-toggle.art-active span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

/* ---------------------------------------------------------------- */
/* Generic page content (Impressum, Datenschutz, fallback templates) */
/* ---------------------------------------------------------------- */

.art-container {
	max-width: 820px;
	margin: 0 auto;
	padding: clamp(40px, 8vw, 96px) clamp(18px, 4vw, 48px);
}
.art-page-title {
	font-size: clamp(28px, 5vw, 44px);
	margin-bottom: 1em;
}
.art-page-content h2 {
	font-size: 20px;
	margin-top: 1.8em;
}
.art-page-content p,
.art-page-content ul,
.art-page-content ol {
	font-size: 15px;
	color: #4a4a4a;
}
.art-page-content a {
	text-decoration: underline;
}

@media (max-width: 480px) {
	.art-page-content p,
	.art-page-content ul,
	.art-page-content ol {
		font-size: 14px;
	}
}
