/*
Theme Name: PR Branding Theme
Description: Custom Theme für PR Branding (Design / Branding / Web).
Author: PR Branding
Version: 1.1.0
Text Domain: agentur
*/

/* =================================================================
   Design-Tokens – abgeleitet aus dem Logo (Blau→Violett-Verlauf).
   Bewusst helles Single-Theme; Dark-Mode ist eine spätere Option.
   ================================================================= */
:root {
	/* Markenfarben */
	--brand-blue: #2b4cff;
	--brand-purple: #8b3ad6;
	--brand-gradient: linear-gradient(100deg, var(--brand-blue), var(--brand-purple));
	--accent: #5233e0;
	--accent-strong: #3f22c4;

	/* Neutrals – leicht kühl/blaustichig, nicht neutralgrau */
	--ink: #191735;
	--ink-soft: #55547a;
	--ink-faint: #8a89a6;
	--bg: #ffffff;
	--surface: #ffffff;
	--muted: #f5f6fc;
	--muted-deep: #eef0fa;
	--line: #e4e5f2;

	/* Typografie */
	--font-sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--fs-hero: clamp(2.2rem, 5vw, 3.4rem);
	--fs-h2: clamp(1.6rem, 3vw, 2.1rem);
	--fs-h3: 1.15rem;
	--fs-lead: clamp(1.05rem, 2vw, 1.2rem);
	--fs-small: 0.875rem;

	/* Layout & Effekte */
	--container: 1040px;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(25, 23, 53, 0.06);
	--shadow-md: 0 12px 32px -12px rgba(25, 23, 53, 0.22);
	--shadow-brand: 0 14px 30px -12px rgba(82, 51, 224, 0.5);
	--ring: 0 0 0 3px rgba(82, 51, 224, 0.35);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

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

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

:focus-visible {
	outline: none;
	box-shadow: var(--ring);
	border-radius: 4px;
}

/* -----------------------------------------------------------------
   Layout-Helfer
   ----------------------------------------------------------------- */
.wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--ink);
	color: #fff;
	padding: 10px 18px;
	border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
	left: 0;
}

/* -----------------------------------------------------------------
   Typografie
   ----------------------------------------------------------------- */
h1,
h2,
h3 {
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
	margin: 0;
}

.eyebrow {
	display: inline-block;
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}

.gradient-text {
	background: var(--brand-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* -----------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--brand-gradient);
	color: #fff;
	padding: 13px 28px;
	border: 0;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow-brand);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.button:hover {
	transform: translateY(-2px);
	filter: saturate(1.08);
	box-shadow: 0 18px 34px -12px rgba(82, 51, 224, 0.6);
}

.button--ghost {
	background: transparent;
	color: var(--accent);
	border: 1px solid var(--line);
	box-shadow: none;
}
.button--ghost:hover {
	background: var(--muted);
	border-color: var(--accent);
	filter: none;
}

.button--nav {
	padding: 9px 18px;
	font-size: var(--fs-small);
}

/* Für dunkle Flächen (z. B. CTA-Karte) */
.button--light {
	background: #fff;
	color: var(--ink);
	box-shadow: none;
}
.button--light:hover {
	background: #fff;
	filter: none;
	box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5);
}

/* -----------------------------------------------------------------
   Header & Navigation
   ----------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}

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

.site-branding {
	display: inline-flex;
	line-height: 0;
}
.site-branding__logo {
	height: 44px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	position: relative;
	padding: 4px 0;
	transition: color 0.15s ease;
}
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background: var(--brand-gradient);
	transition: width 0.2s ease;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
	color: var(--accent);
}
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after {
	width: 100%;
}

/* Mobile-Toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
}
.nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
	.nav-toggle {
		display: flex;
	}
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 16px 24px 24px;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.18s ease, transform 0.18s ease;
	}
	.site-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}
	.site-nav__list a {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid var(--line);
	}
	.site-nav__list a::after {
		display: none;
	}
	.button--nav {
		align-self: flex-start;
		margin-top: 8px;
	}
}

/* -----------------------------------------------------------------
   Sektionen
   ----------------------------------------------------------------- */
.site-main {
	display: block;
}

.section {
	padding: 88px 0;
}
.section--muted {
	background: var(--muted);
	border-block: 1px solid var(--line);
}

.section__head {
	max-width: 640px;
	margin-bottom: 48px;
}
.section__head h2 {
	font-size: var(--fs-h2);
}
.section__head p {
	color: var(--ink-soft);
	font-size: var(--fs-lead);
	margin: 12px 0 0;
}

/* -----------------------------------------------------------------
   Hero
   ----------------------------------------------------------------- */
.hero {
	position: relative;
	padding: 88px 0 80px;
	background:
		radial-gradient(1100px 480px at 15% -10%, rgba(43, 76, 255, 0.1), transparent 60%),
		radial-gradient(900px 460px at 100% 0%, rgba(139, 58, 214, 0.12), transparent 55%),
		var(--bg);
	overflow: hidden;
}
.hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: 56px;
}
.hero h1 {
	font-size: var(--fs-hero);
	font-weight: 800;
}
.hero .lead {
	max-width: 34em;
	margin: 20px 0 32px;
	color: var(--ink-soft);
	font-size: var(--fs-lead);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Bildfläche – hier kommt später das Teamfoto rein */
.hero__media {
	margin: 0;
	position: relative;
}
.hero__media::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border-radius: var(--radius-lg);
	background: var(--brand-gradient);
	opacity: 0.14;
	z-index: 0;
}
.hero__media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
	.hero__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero__media {
		order: -1;
	}
	.hero__media::before {
		inset: 12px -12px -12px 12px;
	}
}

/* -----------------------------------------------------------------
   Karten-Grid (Leistungen, Referenzen, Blog)
   ----------------------------------------------------------------- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
}
.card h3 {
	font-size: var(--fs-h3);
	margin-bottom: 10px;
}
.card p {
	margin: 0;
	color: var(--ink-soft);
}
.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--muted-deep);
	color: var(--accent);
	font-weight: 700;
}

/* Platzhalter-Kachel (z. B. Referenzen im Aufbau) */
.card--placeholder {
	border-style: dashed;
	background: var(--muted);
	box-shadow: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: var(--ink-faint);
}
.card--placeholder:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--line);
}

/* Blog-Karten */
.card--post .card__thumb {
	display: block;
	margin: -28px -28px 18px;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	overflow: hidden;
	line-height: 0;
}
.card--post .card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.card__meta {
	display: block;
	margin-bottom: 8px;
	font-size: var(--fs-small);
	color: var(--ink-faint);
	font-variant-numeric: tabular-nums;
}
.card--post h3 a {
	color: inherit;
	text-decoration: none;
}
.card--post h3 a:hover {
	color: var(--accent);
}

/* Textlink mit Pfeil */
.section__foot {
	margin: 32px 0 0;
}
.link-arrow {
	font-weight: 600;
	text-decoration: none;
}
.link-arrow::after {
	content: " →";
	transition: transform 0.15s ease;
	display: inline-block;
}
.link-arrow:hover::after {
	transform: translateX(3px);
}

/* -----------------------------------------------------------------
   "Wie wir arbeiten" – nimmt den KI-Einwand vorweg
   ----------------------------------------------------------------- */
.approach__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: start;
}
.approach__intro h2 {
	font-size: var(--fs-h2);
}
.approach__intro .lead {
	margin: 16px 0 0;
	color: var(--ink-soft);
	font-size: var(--fs-lead);
}

.approach__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.approach__item {
	padding: 24px 0;
	border-top: 1px solid var(--line);
}
.approach__item:first-child {
	padding-top: 0;
	border-top: 0;
}
.approach__item:last-child {
	padding-bottom: 0;
}
.approach__item h3 {
	font-size: var(--fs-h3);
	margin-bottom: 8px;
}
.approach__item p {
	margin: 0;
	color: var(--ink-soft);
}

@media (max-width: 900px) {
	.approach__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

/* -----------------------------------------------------------------
   Page-Hero (Unterseiten)
   ----------------------------------------------------------------- */
.page-hero {
	padding: 72px 0 56px;
	background:
		radial-gradient(900px 400px at 10% -20%, rgba(43, 76, 255, 0.09), transparent 60%),
		radial-gradient(700px 360px at 95% 0%, rgba(139, 58, 214, 0.1), transparent 55%),
		var(--bg);
}
.page-hero h1 {
	font-size: var(--fs-hero);
	font-weight: 800;
	max-width: 16em;
}
.page-hero .lead {
	max-width: 40em;
	margin: 20px 0 0;
	color: var(--ink-soft);
	font-size: var(--fs-lead);
}

/* -----------------------------------------------------------------
   Referenzen / Cases
   ----------------------------------------------------------------- */
.case {
	padding: 72px 0;
	border-top: 1px solid var(--line);
}
.case:nth-child(even) {
	background: var(--muted);
}
.case__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 56px;
}
.case--reverse .case__media {
	order: 2;
}

.case__media {
	margin: 0;
}

/* Browser-Rahmen als Bühne für den späteren Screenshot */
.case__shot {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}
.case__browser {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	background: var(--muted-deep);
	border-bottom: 1px solid var(--line);
}
.case__browser span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--line);
}
.case__canvas {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(600px 300px at 30% 0%, rgba(43, 76, 255, 0.08), transparent 60%),
		radial-gradient(500px 260px at 100% 100%, rgba(139, 58, 214, 0.1), transparent 55%),
		var(--muted);
}
.case__canvas-label {
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-faint);
	border: 1px dashed var(--ink-faint);
	border-radius: 999px;
	padding: 8px 16px;
}
.case--upcoming .case__shot {
	box-shadow: none;
	border-style: dashed;
}

.case__kunde {
	display: inline-block;
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 10px;
}
.case__body h2 {
	font-size: var(--fs-h2);
}
.case__leistung {
	margin: 10px 0 16px;
	font-weight: 600;
	color: var(--ink-soft);
}
.case__body p {
	color: var(--ink-soft);
	margin: 0 0 16px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}
.tag {
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--accent);
	background: var(--muted-deep);
	border-radius: 999px;
	padding: 6px 14px;
}

@media (max-width: 900px) {
	.case__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.case--reverse .case__media {
		order: 0;
	}
}

/* -----------------------------------------------------------------
   Pricing
   ----------------------------------------------------------------- */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	align-items: start;
}

.price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	box-shadow: var(--shadow-sm);
}
.price-card--featured {
	border-color: transparent;
	box-shadow: var(--shadow-md);
	background:
		linear-gradient(var(--surface), var(--surface)) padding-box,
		var(--brand-gradient) border-box;
	border: 2px solid transparent;
}
.price-card__badge {
	position: absolute;
	top: -13px;
	left: 28px;
	background: var(--brand-gradient);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 5px 14px;
	border-radius: 999px;
	box-shadow: var(--shadow-brand);
}

.price-card__name {
	font-size: 1.35rem;
}
.price-card__claim {
	margin: 6px 0 0;
	color: var(--ink-faint);
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.price-card__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin: 22px 0 0;
}
.price-card__amount {
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.price-card__currency {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--ink-soft);
}
.price-card__note {
	margin: 4px 0 0;
	font-size: var(--fs-small);
	color: var(--ink-faint);
}
.price-card__text {
	margin: 18px 0 0;
	color: var(--ink-soft);
}

.price-card__features {
	list-style: none;
	margin: 22px 0 28px;
	padding: 22px 0 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.price-card__features li {
	position: relative;
	padding-left: 26px;
	color: var(--ink-soft);
}
.price-card__features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--accent);
}

.price-card__cta {
	margin-top: auto;
	width: 100%;
}

.pricing-foot {
	margin: 40px 0 0;
	text-align: center;
	color: var(--ink-soft);
}

/* -----------------------------------------------------------------
   FAQ
   ----------------------------------------------------------------- */
.faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 780px;
}
.faq__item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 22px;
}
.faq__item[open] {
	border-color: transparent;
	box-shadow: var(--shadow-md);
}
.faq__frage {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.faq__frage::-webkit-details-marker {
	display: none;
}
.faq__frage::after {
	content: "+";
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--accent);
	line-height: 1;
	transition: transform 0.18s ease;
}
.faq__item[open] .faq__frage::after {
	transform: rotate(45deg);
}
.faq__antwort {
	margin: 14px 0 0;
	color: var(--ink-soft);
}

/* -----------------------------------------------------------------
   Kontakt
   ----------------------------------------------------------------- */
.contact-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 48px;
	box-shadow: var(--shadow-md);
}
.contact-card h2 {
	font-size: var(--fs-h2);
}
.contact-card p {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.72);
}
.contact-card a {
	color: #fff;
}
.contact-card .button {
	white-space: nowrap;
}

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */
.site-footer {
	background: var(--muted);
	border-top: 1px solid var(--line);
	color: var(--ink-soft);
}
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	padding-top: 56px;
	padding-bottom: 32px;
}
.site-footer__logo {
	height: 40px;
	width: auto;
}
.site-footer__tagline {
	margin: 12px 0 0;
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.03em;
}
.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.site-footer__nav a {
	color: var(--ink-soft);
	text-decoration: none;
	font-weight: 500;
}
.site-footer__nav a:hover {
	color: var(--accent);
}
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 20px;
	padding-bottom: 32px;
	border-top: 1px solid var(--line);
	font-size: var(--fs-small);
}
.site-footer__legal p {
	margin: 0;
}
.site-footer__legal-links {
	display: flex;
	gap: 18px;
}
.site-footer__legal-links a {
	color: var(--ink-soft);
	text-decoration: none;
}
.site-footer__legal-links a:hover {
	color: var(--accent);
}
