/* ============================================
   NeroKat Design & AI – Global Custom CSS
   ============================================ */

/* --- Header --- */
.nerokat-header {
	z-index: 100;
	transition: box-shadow 0.3s ease;
}

.nerokat-header.is-scrolled {
	box-shadow: 0 1px 3px rgba(75, 55, 55, 0.08);
}

.nerokat-logo img {
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

/* --- Hero --- */
.nerokat-hero {
	position: relative;
}

.nerokat-hero .wp-block-cover__background {
	background: linear-gradient(
		180deg,
		rgba(75, 55, 55, 0.55) 0%,
		rgba(75, 55, 55, 0.70) 100%
	) !important;
}

/* --- Service Cards --- */
.nerokat-service-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 1px 4px rgba(75, 55, 55, 0.06);
}

.nerokat-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(75, 55, 55, 0.10);
}

/* --- About Portrait --- */
.nerokat-portrait img {
	object-fit: cover;
	border-radius: 100%;
}

/* --- Project Mockups --- */
.nerokat-project-mockup img {
	border-radius: 4px;
	transition: transform 0.3s ease;
}

.nerokat-project-mockup:hover img {
	transform: scale(1.02);
}

/* --- CTA --- */
.nerokat-cta a {
	text-decoration: none;
	transition: color 0.2s ease;
}

.nerokat-cta a:hover {
	color: #4B3737;
}

/* --- Language Switcher --- */
.nerokat-lang-switcher a {
	text-decoration: none;
	color: #4B3737;
	transition: color 0.2s ease;
}

.nerokat-lang-switcher a:hover {
	color: #AE5858;
}

/* --- Scroll Animations --- */
.nerokat-fade-in {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.nerokat-fade-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 782px) {
	.nerokat-about .wp-block-columns {
		flex-direction: column-reverse;
	}

	.nerokat-portrait {
		margin: 0 auto var(--wp--preset--spacing--30) auto;
	}

	.nerokat-projects .wp-block-columns:nth-child(2) {
		flex-direction: column-reverse;
	}
}

/* Services Dark Pattern */
.nerokat-services-dark {
    background-color: #AE5858;
    padding: 64px 32px;
}
.nerokat-services-dark .nerokat-service-item {
    color: #ffffff;
}
.nerokat-services-dark .nerokat-service-number {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Darker Grotesque', sans-serif;
    margin-bottom: 16px;
}
.nerokat-services-dark .nerokat-service-title {
    color: #ffffff;
}
.nerokat-services-dark .nerokat-service-text {
    color: rgba(255,255,255,0.85);
}
/* Vertikale Trennlinien (Desktop) – 782px = Umbruchpunkt der WP-Spalten-Blöcke */
@media (min-width: 782px) {
    .nerokat-services-dark .nerokat-service-divider {
        border-left: 1px solid rgba(255,255,255,0.3);
        padding-left: 32px;
    }
}
/* Horizontale Trennlinien (Mobile) */
@media (max-width: 781px) {
    .nerokat-services-dark .nerokat-service-item + .nerokat-service-item {
        border-top: 1px solid rgba(255,255,255,0.3);
        padding-top: 32px;
        margin-top: 32px;
    }
}

/* ============================================
   Header mit Sprach-Dropdown & Burger-Menü
   ============================================ */
/* Sticky auf dem Template-Part-Wrapper, damit der Header beim Scrollen mitläuft */
.nerokat-header-wrap,
header.wp-block-template-part:has(> .nerokat-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .nerokat-header-wrap,
.admin-bar header.wp-block-template-part:has(> .nerokat-header) {
	top: var(--wp-admin--admin-bar--height, 32px);
}
.nerokat-header {
	background: #FFFFFF;
	position: relative;
}
.nerokat-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.nerokat-header__logo { display: inline-flex; line-height: 0; }
.nerokat-header__logo img { max-height: 48px; width: auto; height: auto; }
.nerokat-header__actions { display: flex; align-items: center; gap: 20px; }

/* Sprach-Dropdown */
.nerokat-lang { position: relative; }
.nerokat-lang__toggle {
	display: inline-flex; align-items: center; gap: 6px;
	background: none; border: 0; padding: 6px 4px; cursor: pointer;
	font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #4B3737;
}
.nerokat-lang__flag { font-size: 20px; line-height: 1; }
.nerokat-chevron { font-size: 11px; display: inline-block; transition: transform 0.2s ease; }
.nerokat-lang.is-open .nerokat-lang__toggle .nerokat-chevron,
.has-submenu.is-open .nerokat-chevron { transform: rotate(180deg); }
.nerokat-lang__menu {
	position: absolute; right: 0; top: calc(100% + 6px);
	min-width: 160px; margin: 0; padding: 4px 0; list-style: none;
	background: #FFFFFF; border: 1px solid #EEEEEE; border-radius: 4px;
	box-shadow: 0 4px 12px rgba(75, 55, 55, 0.08); z-index: 110;
}
.nerokat-lang__menu[hidden] { display: none; }
.nerokat-lang__menu a {
	display: flex; align-items: center; gap: 8px; padding: 8px 14px;
	font-family: 'Inter', sans-serif; font-size: 14px; color: #4B3737; text-decoration: none;
}
.nerokat-lang__menu a:hover,
.nerokat-lang__menu a:focus-visible { background: #EEEEEE; color: #AE5858; }

/* Burger */
.nerokat-burger {
	width: 32px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer;
	display: flex; flex-direction: column; justify-content: space-between;
}
.nerokat-burger span { display: block; height: 2px; width: 100%; background: #4B3737; border-radius: 2px; }

/* Overlay-Menü (Slide-in von rechts) */
.nerokat-menu-backdrop {
	position: fixed; inset: 0; background: rgba(75, 55, 55, 0.25); z-index: 998;
}
.nerokat-menu-backdrop[hidden] { display: none; }
.nerokat-menu {
	position: fixed; top: 0; right: 0; bottom: 0;
	width: min(420px, 100%); background: #FFFFFF; z-index: 999;
	padding: 80px 32px 32px; overflow-y: auto;
	transform: translateX(100%); visibility: hidden;
	transition: transform 0.3s ease, visibility 0.3s;
	box-shadow: -4px 0 24px rgba(75, 55, 55, 0.08);
}
.nerokat-menu.is-open { transform: translateX(0); visibility: visible; }
.nerokat-menu__close {
	position: absolute; top: 20px; right: 24px;
	background: none; border: 0; cursor: pointer;
	font-size: 36px; line-height: 1; color: #4B3737;
}
.nerokat-menu__close:hover { color: #AE5858; }
.nerokat-menu__list { list-style: none; margin: 0; padding: 0; }
.nerokat-menu__list > li { border-bottom: 1px solid #EEEEEE; }
.nerokat-menu__list > li:first-child { border-top: 1px solid #EEEEEE; }
.nerokat-menu__list > li > a,
.nerokat-submenu-toggle {
	display: flex; align-items: center; justify-content: space-between; width: 100%;
	padding: 16px 0; background: none; border: 0; cursor: pointer; text-align: left;
	font-family: 'Inter', sans-serif; font-weight: 500; font-size: 20px;
	color: #4B3737; text-decoration: none; transition: color 0.2s ease;
}
.nerokat-menu__list > li > a:hover,
.nerokat-submenu-toggle:hover,
.nerokat-menu__list > li > a:focus-visible,
.nerokat-submenu-toggle:focus-visible { color: #AE5858; }
.nerokat-submenu { list-style: none; margin: 0; padding: 0 0 12px 20px; }
.nerokat-submenu[hidden] { display: none; }
.nerokat-submenu a {
	display: block; padding: 6px 0;
	font-family: 'Darker Grotesque', sans-serif; font-size: 16px; font-weight: 500;
	color: #AE5858; text-decoration: none;
}
.nerokat-submenu a:hover { color: #4B3737; }

/* Body-Scroll-Lock */
html.nerokat-scroll-lock,
body.nerokat-scroll-lock { overflow: hidden; }

/* ============================================
   NEROKAT ZEITSTRAHL – Beruflicher Werdegang
   Fuer die Ueber-mich-Seite
   ============================================ */
.nerokat-timeline { position: relative; }
.nerokat-timeline__item {
  display: grid;
  grid-template-columns: 80px 32px 1fr;
  gap: 0 24px;
  margin-bottom: 48px;
}
.nerokat-timeline__aside { text-align: right; padding-top: 2px; }
.nerokat-timeline__year {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #AE5858;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1.4;
}
.nerokat-timeline__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nerokat-timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #AE5858;
  flex-shrink: 0;
  margin-top: 4px;
}
.nerokat-timeline__dot--active {
  background-color: #AE5858;
  box-shadow: 0 0 0 4px rgba(174, 88, 88, 0.15);
}
.nerokat-timeline__line {
  flex: 1;
  width: 1px;
  background-color: #EEEEEE;
  margin-top: 6px;
  min-height: 40px;
}
.nerokat-timeline__item:last-child .nerokat-timeline__line { display: none; }
.nerokat-timeline__content { padding-bottom: 24px; }
.nerokat-timeline__content--highlight {
  background-color: #F9F6F4;
  border-left: 3px solid #AE5858;
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
  margin-top: -4px;
}
.nerokat-timeline__category {
  display: inline-block;
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #AE5858;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.nerokat-timeline__title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #4B3737;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.nerokat-timeline__company {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #AE5858;
  margin: 0 0 10px 0;
}
.nerokat-timeline__text {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 16px;
  color: #4B3737;
  line-height: 1.65;
  margin: 0 0 14px 0;
  opacity: 0.85;
}
.nerokat-timeline__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nerokat-timeline__tag {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4B3737;
  background-color: #EEEEEE;
  padding: 3px 10px;
  border-radius: 2px;
}
.nerokat-timeline__item--highlight .nerokat-timeline__tag {
  background-color: rgba(174, 88, 88, 0.12);
  color: #AE5858;
}
@media (max-width: 600px) {
  .nerokat-timeline__item {
    grid-template-columns: 54px 24px 1fr;
    gap: 0 12px;
    margin-bottom: 36px;
  }
  .nerokat-timeline__year { font-size: 11px; }
  .nerokat-timeline__title { font-size: 17px; }
  .nerokat-timeline__content--highlight { padding: 14px 16px; }
}

/* ============================================
   USP-Werte (nerokat/usp-values)
   ============================================ */
.nerokat-usp__heading {
	font-family: 'Inter', sans-serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 16px;
}
.nerokat-usp__intro {
	font-size: 20px;
	line-height: 1.5;
	margin: 0 0 48px;
	max-width: 720px;
}
.nerokat-usp__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 56px;
}
.nerokat-usp__item {
	padding-top: 24px;
	border-top: 1px solid #EEEEEE;
}
.nerokat-usp__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: #F9F6F4;
	color: #AE5858;
}
.nerokat-usp__title {
	font-family: 'Inter', sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: #4B3737;
	margin: 0 0 6px;
}
.nerokat-usp__text {
	font-family: 'Darker Grotesque', sans-serif;
	font-size: 19px;
	line-height: 1.45;
	color: #4B3737;
	margin: 0;
}

/* ============================================
   Preispakete (nerokat/pricing)
   ============================================ */
.nerokat-pricing__heading {
	font-family: 'Inter', sans-serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 600;
	margin: 0 0 8px;
}
.nerokat-pricing__subheading {
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 500;
	margin: 0 0 48px;
}
.nerokat-pricing__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

/* Standard-Karte */
.nerokat-pricing__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px;
	background: #FFFFFF;
	border: 1px solid #EEEEEE;
	border-radius: 12px;
	color: #4B3737;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nerokat-pricing__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(75, 55, 55, 0.10);
}
.nerokat-pricing__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.nerokat-pricing__name {
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	color: inherit;
}
.nerokat-pricing__num { opacity: 0.6; font-weight: 500; }

.nerokat-pricing__badge {
	flex-shrink: 0;
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.nerokat-pricing__badge--brand  { background: #EEEEEE; color: #4B3737; }
.nerokat-pricing__badge--core   { background: #AE5858; color: #FFFFFF; }
.nerokat-pricing__badge--growth { background: #F3E4E4; color: #8E4444; }

.nerokat-pricing__price {
	font-family: 'Inter', sans-serif;
	font-size: clamp(30px, 3.5vw, 38px);
	font-weight: 700;
	line-height: 1.1;
	margin: 4px 0 4px;
	color: inherit;
}
.nerokat-pricing__period { font-size: 0.55em; font-weight: 500; opacity: 0.75; }
.nerokat-pricing__meta {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	opacity: 0.65;
	margin: 0 0 20px;
}
.nerokat-pricing__desc {
	font-family: 'Darker Grotesque', sans-serif;
	font-size: 19px;
	line-height: 1.45;
	margin: 0 0 20px;
}
.nerokat-pricing__label {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 10px;
}
.nerokat-pricing__list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}
.nerokat-pricing__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	font-family: 'Darker Grotesque', sans-serif;
	font-size: 18px;
	line-height: 1.35;
}
.nerokat-pricing__list svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #AE5858;
}
.nerokat-pricing__note {
	margin: auto 0 0;
	padding-top: 16px;
	border-top: 1px solid #EEEEEE;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	line-height: 1.5;
	opacity: 0.75;
}
.nerokat-pricing__cta {
	display: inline-block;
	align-self: flex-start;
	margin-top: 20px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #AE5858;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}
.nerokat-pricing__cta:hover { color: #4B3737; transform: translateX(3px); }
.nerokat-pricing__cta--solid {
	padding: 12px 24px;
	border-radius: 6px;
	background: #AE5858;
	color: #FFFFFF;
	margin-top: 0;
}
.nerokat-pricing__cta--solid:hover { background: #4B3737; color: #FFFFFF; }

/* AI-Workflow-Karte – USP-Highlight */
.nerokat-pricing__card--ai {
	background-color: #1A1A2E;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(145deg, #1A1A2E 0%, #23203A 55%, #2E1F2B 100%);
	background-size: 28px 28px, 28px 28px, 100% 100%;
	border: 1px solid rgba(174, 88, 88, 0.55);
	color: #FFFFFF;
	box-shadow:
		0 0 0 1px rgba(174, 88, 88, 0.15),
		0 18px 48px rgba(26, 26, 46, 0.35),
		0 0 40px rgba(174, 88, 88, 0.18);
}
.nerokat-pricing__card--ai:hover {
	box-shadow:
		0 0 0 1px rgba(174, 88, 88, 0.35),
		0 22px 56px rgba(26, 26, 46, 0.45),
		0 0 60px rgba(174, 88, 88, 0.30);
}
.nerokat-pricing__card--ai > *:not(.nerokat-pricing__glow) { position: relative; z-index: 1; }
.nerokat-pricing__glow {
	position: absolute;
	top: -120px;
	right: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(214, 112, 112, 0.45) 0%, rgba(174, 88, 88, 0.12) 45%, transparent 70%);
	filter: blur(10px);
	pointer-events: none;
	z-index: 0;
	animation: nerokat-ai-pulse 6s ease-in-out infinite;
}
@keyframes nerokat-ai-pulse {
	0%, 100% { opacity: 0.75; transform: scale(1); }
	50%      { opacity: 1;    transform: scale(1.08); }
}
.nerokat-pricing__card--ai .nerokat-pricing__num { color: #E08A8A; opacity: 1; }
.nerokat-pricing__badge--ai {
	background: linear-gradient(90deg, #AE5858, #D67A7A);
	color: #FFFFFF;
	box-shadow: 0 0 14px rgba(214, 122, 122, 0.65);
}
.nerokat-pricing__card--ai .nerokat-pricing__price {
	color: #FFFFFF;
	text-shadow: 0 0 24px rgba(214, 122, 122, 0.35);
}
.nerokat-pricing__card--ai .nerokat-pricing__desc,
.nerokat-pricing__card--ai .nerokat-pricing__list li { color: rgba(255, 255, 255, 0.88); }
.nerokat-pricing__card--ai .nerokat-pricing__list svg {
	color: #E08A8A;
	filter: drop-shadow(0 0 4px rgba(224, 138, 138, 0.7));
}
.nerokat-pricing__card--ai .nerokat-pricing__note { border-top-color: rgba(255, 255, 255, 0.12); }
.nerokat-pricing__card--ai .nerokat-pricing__cta { color: #E08A8A; }
.nerokat-pricing__card--ai .nerokat-pricing__cta:hover { color: #FFFFFF; }

/* Custom Projects – breite, schlichte Abschlusskarte */
.nerokat-pricing__card--custom {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: #EEEEEE;
	border-color: #EEEEEE;
}
.nerokat-pricing__custom-text { max-width: 760px; }
.nerokat-pricing__card--custom .nerokat-pricing__name { margin-bottom: 6px; }
.nerokat-pricing__claim {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 12px;
}
.nerokat-pricing__card--custom .nerokat-pricing__desc { margin-bottom: 8px; }
.nerokat-pricing__card--custom .nerokat-pricing__note { border-top: 0; padding-top: 0; }

@media (prefers-reduced-motion: reduce) {
	.nerokat-pricing__glow { animation: none; }
	.nerokat-pricing__card,
	.nerokat-pricing__card:hover { transition: none; transform: none; }
}

/* Responsive */
@media (max-width: 782px) {
	.nerokat-usp__grid { grid-template-columns: 1fr; gap: 28px; }
	.nerokat-usp__intro { margin-bottom: 32px; }
	.nerokat-pricing__grid { grid-template-columns: 1fr; gap: 20px; }
	.nerokat-pricing__card { padding: 24px; }
	.nerokat-pricing__head { flex-wrap: wrap; }
	.nerokat-pricing__card--custom { flex-direction: column; align-items: flex-start; }
}
