:root {
    /* Layout  */
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --transition-fast: 180ms ease-out;

    /* Base (white) */
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --card: #ffffff;

    /* Accent */
    --accent: #0057ff;
    --accent-strong: #35e63c;
    --accent-soft: rgba(255, 122, 26, 0.14);
    --accent-gradient: linear-gradient(135deg, #7fb630, rgb(178, 209, 68));

	--section-bg: 
	linear-gradient(
		90deg,
		rgb(245,245,245,0) 0%,
		rgba(178, 209, 68, 0.15) 20%,
		rgba(178, 209, 68, 0.15) 80%,
		rgb(245,245,245,0) 100%
		);
		

    /* Text */
    --text: #0b0b0c;
    --text-muted: #5b6472;

    /* Borders / Shadow */
    --border: rgba(15, 23, 42, 0.14);
    --shadow: 6px 6px 10px rgba(0, 0, 0, 0.10);
    --shadow-card: 5px 5px 6px rgba(0, 0, 0, 0.08);
}

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { 
		height: 100%; 
		background: 
		linear-gradient(
		90deg,
		rgb(127, 182, 48, 0.15) 0%,
		rgba(178, 209, 68, 0.1) 20%,
		rgba(255, 255, 255, 0.8) 50%,
		rgba(178, 209, 68, 0.1) 80%,
		rgb(127, 182, 48, 0.15) 100%
		);
	}
    body {
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		
		font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
		background: 
			transparent;
		background-repeat: no-repeat;
		color: var(--text);
		-webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
	
	main{
		flex: 1;
	}
	
	section[id]{
		scroll-margin-top: 50px;
	}

.container { 
	width: 100%; 
	max-width: 1200px; 
	margin: 0 auto; 
	padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--accent-strong);
}
.brand-text { 
	display: grid; 
	line-height: 1.1; 
}
.brand-text strong { 
	font-size: 0.95rem; 
}
.brand-text span { 
	font-size: 0.78rem; 
	color: var(--text-muted); 
}

.nav {
    display: flex;
    align-items: center;
	transform: translateY(4px);
    gap: 20px;
    font-size: 0.98rem;
    color: var(--text);
    flex-wrap: wrap;
    justify-content: center;
}
.nav-link { 
	position: relative; 
	padding-bottom: 4px; 
}
.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--accent-gradient);
	transition: width var(--transition-fast);
}
.nav-link:hover::after { 
	width: 100%; 
}
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	border: none;
	background-image: var(--accent-gradient);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 6px 4px 16px rgba(203, 238, 77, 0.80);
	transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
	white-space: nowrap;
}
.btn-primary:hover { 
	transform: translateY(-1px); 
	filter: brightness(1.03); 
	box-shadow: 6px 4px 22px rgba(203, 238, 77, 0.60); 
}

.btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text);
	font-size: 0.9rem;
	cursor: pointer;
	transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
	white-space: nowrap;
}
.btn-ghost:hover { 
	transform: translateY(-1px); 
	background: var(--bg-soft); 
	border-color: rgba(15, 23, 42, 0.22); 
}


main { 
	padding-bottom: 70px; 
}
.section { 
	padding: 38px 0; 
}
.section-color { 
	padding: 38px 0; 
	background: var(--section-bg)
}
.section-tight { 
	padding: 0 0;
}

/* Hero */
.hero { 
	padding-top: 34px; 
	padding-bottom: 24px; 
}
.hero-grid { 
	display: grid; 
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); 
	gap: 10px; 
	align-items: center; 
	
}
.hero-title {
	font-size: clamp(2.1rem, 3vw, 2.75rem);
	line-height: 1.06;
	letter-spacing: -0.04em;
	margin-bottom: 12px;
}
.hero-subtitle { 
	color: var(--text-muted); 
	font-size: 1.02rem; 
	line-height: 1.55; 
	margin-bottom: 18px;
}
.hero-actions { 
	display: flex;
	flex-wrap: wrap; 
	gap: 12px; 
	margin-bottom: 16px; 
}
.hero-meta { 
	display: flex; 
	flex-wrap: wrap; 
	gap: 14px; 
	color: var(--text-muted);
	font-size: 0.86rem; 
}
.hero-meta strong { 
	color: var(--text); 
}


/* Cards */
.card {
	border-radius: var(--radius-xl);
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.card-inner { 
	padding: 18px; 
}
.card-title { 
	font-size: 1.1rem; 
	letter-spacing: -0.02em; 
	margin-bottom: 6px; 
}
.card-text { 
	color: var(--text-muted); 
	line-height: 1.55; 
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--bg-soft);
	border: 1px solid var(--border);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--text-muted);
	margin-bottom: 14px;
}
.pill span.dot {
	width: 10px; 
	height: 10px; 
	border-radius: 999px; 
	background: var(--accent-gradient); 
}
.pill-downloads {
	display: inline-flex;
	align-items: center;
	padding: 6px 8px;
	border-radius: var(--radius-pill);
	background: var(--bg-soft);
	border: 1px solid var(--border);
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-bottom: 14px;
}

.video{
	  position: relative;
	  width: 100%;
	  aspect-ratio: 9 / 16;
	  border-radius: 26px;
	  overflow: hidden;
	  border: 1px solid var(--border);
	  box-shadow: var(--shadow-card);
}
.video iframe{
	  position: absolute;
	  inset: 0;
	  width: 100%;
	  height: 100%;
}


.img-ph {
	border-radius: 26px;
	border: 1px solid var(--border);
	background:
		radial-gradient(circle at 20% 15%, rgba(255, 122, 26, 0.18), transparent 55%),
		linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.02));
	height: 310px;
	position: relative;
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
.img-ph::after {
      content: "Platzhalter-Bild";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: rgba(2, 6, 23, 0.45);
      font-size: 0.85rem;
      letter-spacing: 0.02em;
}
.img-products {
	border-radius: 13px;
	width: 240px;
	position: relative;
	overflow: hidden;
	margin-bottom: -8px;
}
.img-book {
	border-radius: 13px;
	border: 1px solid var(--border);
	height: 400px;
	position: relative;
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
.img-hero {
	border-radius: 26px;
	border: 1px solid var(--border);
	height: 350px;
	position: relative;
	justify-self: end;
	box-shadow: var(--shadow);
	overflow: hidden;
}


/* Grids */
.grid-2 { 
	display: grid; 
	grid-template-columns: repeat(2, minmax(0, 1fr)); 
	gap: 16px; 
}
.grid-3 { 
	display: grid; 
	grid-template-columns: repeat(3, minmax(0, 1fr)); 
	gap: 16px; 
}
.grid-4 { 
	display: grid; 
	grid-template-columns: repeat(4, minmax(0, 1fr)); 
	gap: 16px; 
}
.grid-6 { 
	display: grid; 
	grid-template-columns: repeat(3, minmax(0, 1fr)); 
	gap: 14px; 
}


.mini-kicker { 
	font-size: 0.78rem; 
	color: var(--text-muted); 
	text-transform: uppercase;
	letter-spacing: 0.16em; 
	margin-bottom: 6px; 
}
.h2 { 
	font-size: 1.55rem; 
	letter-spacing: -0.04em; 
	margin-bottom: 10px; 
}
.h3 { 
	font-size: 1.2rem; 
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}
.lead { 
	color: var(--text-muted); 
	line-height: 1.6; 
	max-width: 72ch; 
}
.highlight {
	background-image: var(--accent-gradient);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}


.cta-row { 
	display: flex; 
	flex-wrap: wrap; 
	gap: 12px; 
	align-items: center; 
	margin-top: 14px; 
}


/* List */
.list { 
	list-style: none; 
	display: grid; 
	gap: 10px; 
	margin-top: 14px;
	color: var(--text); 
}
.list li { 
	display: flex; 
	gap: 10px; 
	align-items: baseline; 
}
.list li .tick { 
	color: #16a34a; 
	font-weight: 800;
	font-size: 20px;
}
.list li .cross { 
	color: #df000f; 
	font-weight: 800; 
	font-size: 20px;
}
.tick { 
	color: #16a34a; 
	font-weight: 800;
	font-size: 20px;
}

.whatsapp {
	margin-right: 6px;
}

.maps{
	display: flex;
	justify-self: center;
	align-self: center;
	border-radius: 22px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	overflow: hidden;
}


/* Quote / testimonial */
.quote {
	padding: 18px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: var(--bg-soft);
	color: var(--text);
	line-height: 1.65;
}
.quote small { 
	display: block; 
	margin-top: 10px; 
	color: var(--text-muted); 
}


/* Logo Carousel */
.logos-viewport{
	border-radius: var(--radius-xl);
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.logos-viewport::before,
.logos-viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 110px;           /* Fade-Stärke */
  z-index: 1001;
  pointer-events:none;
}

.logos-viewport::before{
  left:0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.logos-viewport::after{
  right:0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.logos-track{
  display:flex;
  gap: 50px;
  align-items:center;
  will-change: transform;
  transition: transform 450ms cubic-bezier(.2,.8,.2,1);
}

.logo-slide{
  --s: 250px;          /* Default-Größe, wenn kein Wert gesetzt ist */
  flex: 0 0 var(--s);
  height: var(--s);

  display:flex;
  align-items:center;
  justify-content:center;

  opacity: .35;
  transform: scale(.94);
  transition: opacity 260ms ease, transform 260ms ease;

  background: transparent;
}

.logo-slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.logo-slide img{
  width: var(--s);
  height: var(--s);
  object-fit: contain;
  display:block;
  user-select:none;
  -webkit-user-drag: none;
}





/* Reviews Carousel */
.reviews-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.reviews-controls{
  display:flex;
  gap:10px;
}

/* Viewport: kein Scrollbar, zeigt links/rechts Peek + Fade */
.reviews-viewport{
	border-radius: var(--radius-xl);
	background: var(--card);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  padding: 16px 0 8px;
}

/* weiches Ausfaden links/rechts */
.reviews-viewport::before,
.reviews-viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 90px;
  z-index: 2;
  pointer-events:none;
}

.reviews-viewport::before{
  left:0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.reviews-viewport::after{
  right:0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

/* Track wird per JS verschoben */
.reviews-track{
  display:flex;
  gap:14px;
  will-change: transform;
  transition: transform 450ms cubic-bezier(.2,.8,.2,1);
}

/* Side-cards “faden” + leicht kleiner */
.reviews-slide{
  flex: 0 0 min(560px, 86vw);
  opacity: .35;
  transform: scale(.96);
  transition: opacity 280ms ease, transform 280ms ease;
  position: relative;
  z-index: 1;
}

/* Aktive Karte mittig */
.reviews-slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 3;
}

.reviews-stars{
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 10px;
  color: #fabb05;
}

.review-text{
  color: var(--text);
  line-height: 1.65;
}

.review-footer{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.review-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Dots */
.reviews-dots{
  display:flex;
  gap:8px;
  margin-top: 8px;
}

.reviews-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
}

.reviews-dot.is-active{
  background: var(--accent-gradient);
  border-color: transparent;
}




/* Footer */
footer {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding: 22px 0 28px;
	color: var(--text-muted);
	font-size: 0.86rem;
}
.footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
}
.footer-links { 
	display: flex; 
	gap: 18px; 
	flex-wrap: wrap; 
}
.footer-links a:hover { 
	color: var(--text); 
}


/* Footer: show "Zum Anfang" as an arrow button (desktop + mobile) */
.footer-to-top{ 
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.75);
}
.footer-to-top::before{ content: "↑"; font-size: 18px; line-height: 1; }
/* keep the label accessible for screen readers */
.footer-to-top-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;
}
.footer-links{ align-items: center; }




/* Header (Mobile Menu Additions) */
.header-actions{
	display:flex;
	gap:10px;
	align-items:center;
}
.header-action-contact{ }
.header-action-whatsapp{ }
.whatsapp-label{ display:inline; }

.nav-toggle{
	display:none;
	align-items:center;
	justify-content:center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	box-shadow: var(--shadow-card);
	transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.nav-toggle:hover{ transform: translateY(-1px); background: var(--bg-soft); }
.nav-toggle:active{ transform: translateY(0); }
.nav-toggle-icon{
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--text);
	position: relative;
	display:block;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after{
	content:"";
	position:absolute;
	left:0;
	width:100%;
	height:100%;
	border-radius: 999px;
	background: var(--text);
}
.nav-toggle-icon::before{ top:-6px; }
.nav-toggle-icon::after{ top: 6px; }

.nav-backdrop{
	display:none;
}

.nav-only-mobile{ display:none; }

/* Mobile navigation behaviour (only affects small screens) */
@media (max-width: 820px){
	.nav-toggle{ display:inline-flex; }
	.brand{ min-width: 0; }
	.brand img{ width: 170px; height: auto; }
	.header-action-contact{ display:none; }
	.whatsapp-label{ display:none; } /* icon-only button in header on mobile */

	/* Swap WhatsApp and Burger positions on mobile */
	.header-actions{ order: 2; }
	.nav-toggle{ order: 3; }

	.nav{
		position: fixed;
		top: 70px; /* below sticky header */
		left: 12px;
		right: 12px;
		z-index: 1003; /* above backdrop + header */
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 6px;
		padding: 14px;
		border-radius: 22px;
		background: rgba(255,255,255,0.98);
		border: 1px solid var(--border);
		box-shadow: var(--shadow);
		transform: translateY(-10px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 180ms ease-out, transform 180ms ease-out;
	}
	.nav-link{ padding: 10px 6px; }
	.nav-only-mobile{ display:block; }

	.nav-mobile-footer{
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid var(--border);
	}
	.nav-mobile-footer .nav-link{
		font-size: 0.95em;
		opacity: 0.9;
	}

	.nav-backdrop{
		display:none;
		position: fixed;
		inset: 0;
		z-index: 1000;
		background: rgba(0,0,0,0.28);
	}
	/* When the mobile menu is open, lift the sticky header above the backdrop.
	   This avoids backdrop-filter creating a stacking context that would otherwise
	   place the menu behind the backdrop on some mobile browsers. */
	body.nav-open .site-header{ z-index: 1002; }
	body.nav-open{ overflow:hidden; }
	body.nav-open .nav{ opacity: 1; transform: translateY(0); pointer-events:auto; }
	body.nav-open .nav-backdrop{ display:block; }


	/* Footer: move "Zum Anfang" to the right and show as arrow on mobile */
	.footer-to-top{ 
		margin-left: auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		border-radius: 999px;
		border: 1px solid var(--border);
		background: rgba(255,255,255,0.75);
	}
	/* .footer-to-top-text is visually hidden globally (sr-only). */
	.footer-to-top::before{ content: "↑"; font-size: 18px; line-height: 1; }

	/* Footer: keep arrow aligned with the left content on mobile */
	.footer-inner{ flex-wrap: nowrap; }
	.footer-inner > div:first-child{ min-width: 0; }
	.footer-links{ align-items: center; }

	/* Remove legal links from footer on mobile (they live in the burger menu) */
	.footer-links a[href$="datenschutz.html"],
	.footer-links a[href$="downloads.html"],
	.footer-links a[href$="impressum.html"],
	.footer-links a[href$="leitbild.html"]{
		display: none;
	}

	/* Burger menu: legal links in CAPS */
	.nav-mobile-footer .nav-link{
		text-transform: uppercase;
		letter-spacing: 0.06em;
		font-size: 0.9em;
		opacity: 0.92;
	}
}



/* Responsive */
@media (max-width: 980px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3 { grid-template-columns: minmax(0, 1fr) !important; }
	.grid-2 { grid-template-columns: minmax(0, 1fr) !important; }
	.grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.img-hero{ width: 100%; height: auto; justify-self: stretch; }
	.img-book{ width: 100%; height: auto; }
}
@media (max-width: 520px) {
	.grid-6 { grid-template-columns: minmax(0, 1fr); }
	.grid-4 { grid-template-columns: minmax(0, 1fr); }
}
