:root {
	--bg: #0b1020;
	--text: #17202d;
	--muted: #798087;
	--line: #e7ecf3;
	--brand: #1c3a6d;
	--brand-2: #3d6cb3;
	--surface: #f6f8fc;
	--shadow: 0 20px 60px rgba(8, 23, 51, .10);
	--radius: 24px;
	color-scheme: light;
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	font-family: Inter, system-ui, sans-serif;
	color: var(--text);
	background: #fff;
	line-height: 1.6;
	overflow-x: hidden;
}

body,
.container,
.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.contact-grid,
.admin-layout,
.nav,
.nav-menu,
.card,
.panel,
.stat,
.contact-card,
.calc-box,
.login-box,
.admin-card,
.section-head {
	min-width: 0
}

a {
	color: inherit
}

.container {
	width: min(1140px, calc(100% - 2rem));
	margin: 0 auto
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, .7);
	border-bottom: 1px solid rgba(231, 236, 243, .9);
	box-shadow: 0 10px 40px rgb(28 58 109 / 10%);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 78px;
	gap: 1rem
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none
}

.logo img {
	height: 50px;
	width: auto;
	display: block
}

.nav-menu {
	display: flex;
	gap: 1.25rem;
	align-items: center
}

.nav-menu a {
	text-decoration: none;
	font-weight: 600;
	color: var(--text);
	position: relative;
	  display:flex;
  align-items:center;
  gap:.6rem;
}

.nav-menu svg{
  width: 18px;
  height:18px;
  stroke-width:2;
  color:var(--brand);
  flex-shrink:0;
}

.nav-menu a:not(.btn):not(.kp-menu)::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 2px;
	background: var(--brand-2);
	transition: width .2s ease
}

.nav-menu a:not(.btn):not(.kp-menu):hover::after {
	width: 100%
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	font-size: 1.6rem;
	color: var(--brand)
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: .25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px rgba(8, 23, 51, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem; 
  padding: .9rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  will-change: transform;
  /* border: 1px solid var(--brand); */
  margin-left: -5px !important;
      border: 1px solid rgba(61, 108, 179, .25);
}

.lang-switch-select {
	padding: 0 0.1rem 0 0.1rem;
	border-radius: 999px;
	background: #fff;
	color: var(--brand);
	font: inherit;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
  border: none;
}

.nav-lang-switch {
	margin-left: .25rem;
	flex-shrink: 0;
}
.nav-lang-meta {
	display: none;
	align-items: center;
	gap: .6rem;
	font-weight: 600;
	color: var(--text);
}

.nav-lang-meta svg {
	width: 18px;
	height: 18px;
	stroke-width: 2;
	color: var(--brand);
	flex-shrink: 0;
}

.nav-lang-label {
	display: inline-block;
}


.btnFont {
	font-size: 16px;
}

.btn,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	border: 1px solid var(--brand);
	background: var(--brand);
	color: #fff;
	padding: .95rem 1.25rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--shadow);
	max-width: 100%;
	text-align: center;
	white-space: normal;
	transition: all 0.25s ease;
}

.btn:hover,
.button:hover {
transform: translateY(-4px);
}

.btn.secondary,
.button.secondary {
	background: #fff;
	color: var(--text);
	border-color: var(--line);
	box-shadow: none
}

.btn.ghost,
.button.ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line);
	box-shadow: none
}

.btn.small {
	padding: .7rem 1rem
}

.hero {
	background:
		radial-gradient(circle at 0% 0%, rgba(61, 108, 179, .20) 0%, rgba(61, 108, 179, .15) 28%, rgba(255, 255, 255, 0) 52%),
		linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	padding: 88px 0 56px
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4 {
	display: grid;
	gap: 1.3rem
}

/* .hero-grid {
	grid-template-columns: 2.2fr .85fr;
	align-items: stretch;
	min-height: 460px
} */

.hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center
}

/* .hero-stats {
	display: grid;
	grid-template-rows: repeat(3, 1fr);
	gap: 1rem;
	height: 100%
} */

.grid-2 {
	grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
	grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
	grid-template-columns: repeat(4, 1fr)
}

.eyebrow {
	display: inline-block;
	margin-bottom: .8rem;
	font-size: .86rem;
	font-weight: 800;
	letter-spacing: .08em;
	color: var(--brand-2);
	text-transform: uppercase
}

h1,
h2,
h3,
p,
li,
a,
span {
	overflow-wrap: anywhere
}

h1,
h2,
h3 {
	line-height: 1.08;
	margin: 0 0 .8rem
}

h1 {
	font-size: clamp(2.4rem, 4vw, 4.6rem);
	max-width: -webkit-fill-available;
}

h2 {
	font-size: clamp(1.8rem, 3vw, 3rem)
}

h3 {
	font-size: 1.5rem
}

.lead {
	font-size: 1.08rem;
	color: var(--muted);
	/* max-width: 64ch */
}

.section {
	padding: 84px 0
}

.section.alt {
	background: var(--surface)
}

.section-head {
	/* max-width: 920px; */
	margin-bottom: 2rem
}

.section-head p,
.muted {
	color: var(--muted)
}

.card,
.stat,
.panel,
.contact-card,
.calc-box,
.login-box,
.admin-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow)
}

.card,
.panel,
.contact-card,
.calc-box,
.login-box,
.admin-card {
	padding: 1.4rem
}

.soft-card {
	position: relative;
	overflow: hidden
}

.soft-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	/* background: linear-gradient(90deg, var(--brand), var(--brand-2)); */
	opacity: .9
}

.stat {
	padding: 1.15rem;
	/* background: linear-gradient(180deg, var(--brand) 0%, #3c6eb4 100%); */
	/* background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
	background: linear-gradient(180deg, var(--brand) 0%, #102344 100%); */
	/* background: radial-gradient(circle at 0% 0%, rgba(61, 108, 179, .18) 0%, rgba(61, 108, 179, .07) 28%, rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); */
	color: #17202d;
	background: #fff;
	border: none;
	display: flex;
	flex-direction: column;
	/* justify-content: center; */
	border-radius: 28px;
	/* box-shadow: 0 16px 40px rgba(16, 35, 68, .18) */
}

.stat strong {
	display: block;
	font-size: 20px;
}

.stack>*+* {
	margin-top: 1rem
}

ul.clean {
	margin: 0;
	padding-left: 1.1rem
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: .45rem .8rem;
	border-radius: 999px;
	/* border: 1px solid var(--line);
	background: #fff; */
	font-size: .92rem;
	font-weight: 700;
	max-width: 100%;
	background: #f7f8fc;
	border: 1px solid var(--line);
}

.hero-badges {
	display: flex;
	gap: .7rem;
	flex-wrap: wrap;
	margin-top: 1.4rem
}

.actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.6rem
}

.price {
	font-size: 22px;
	font-weight: 800;
	margin: .7rem 0;
	/* color: var(--brand) */
  color: var(--text);
  /* display: none; */
}

.packages-page .price-card .price {
	display: none;
}

.packages-page .price-card > p {
	margin: .7rem 0 1rem;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--text);
}

.price-card.featured {
	/* border: 2px solid rgba(61, 108, 179, .5); */
	/* transform: translateY(-6px) */
}

.price-card-summary{
	margin:0;
	color: var(--muted);
	line-height:1.65;
	max-width:34ch;
}

.list-check {
	list-style: none;
	padding: 0;
	margin: 0
}

.list-check li {
	position: relative;
	padding-left: 1.5rem;
	margin: .5rem 0
}

.list-check li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--brand-2);
	font-weight: 800
}

.cta {
	padding: 1.6rem;
	border-radius: 32px;
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
	color: #fff;
	border: none;
	box-shadow: 0 28px 80px rgba(20, 37, 73, .18)
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.2);
  font-weight: 400;
  font-size: 14px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr .95fr;
	gap: 1.3rem
}

label {
	display: grid;
	gap: .35rem;
	font-weight: 600
}

input,
textarea,
select {
	width: 100%;
	padding: .92rem 1rem;
	border-radius: 16px;
	border: 1px solid var(--line);
	font: inherit;
	background: #f6f8fc;
	min-width: 0
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: rgba(61, 108, 179, .55);
	box-shadow: 0 0 0 4px rgba(61, 108, 179, .12)
}

textarea {
	resize: vertical
}

.form-note,
#admin-status {
	min-height: 1.4rem 22.4px;
    color: #ffffff;
    font-weight: 700;
    background: #63ac1a;
    padding: 10px;
    border-radius: 18px;
}

#admin-status:empty{
  display:none;
}

.form-note:empty{
  display:none;
}

.site-footer {
	background: var(--brand);
	color: #d7dff0;
	padding: 28px 0
}

.footer-wrap {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: center
}

.footer-links {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap
}

.admin-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 1.2rem
}

.admin-sidebar {
	position: sticky;
	top: 100px;
	height: max-content
}

.admin-sidebar a {
	text-decoration: none;
	display: block;
	padding: .55rem 0;
	color: var(--muted);
	font-weight: 600
}

.table-like {
	display: grid;
	gap: 1rem
}

hr.sep {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 1.2rem 0
}

.card,
.panel,
.contact-card,
.calc-box,
.login-box,
.admin-card {
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease
}

.card:hover,
.panel:hover,
.contact-card:hover,
.calc-box:hover,
.login-box:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(8, 23, 51, .12)
}

.badge-popular {
	position: absolute;
    top: 0px;
    right: 0px;
    background: #1c3a6e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 20px;
    letter-spacing: 0.5px;
    border-bottom-left-radius: 24px;
}

.card-action {
	margin-top: 1rem
}

.text-link {
	color: var(--brand);
	font-weight: 700;
	text-decoration: none;
}

.text-link:hover {
	text-decoration: underline
}

.text-link::before {
  content: "→";
  margin-right: 6px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.text-link:hover::before {
  transform: translateX(3px);
}

.section-link-row {
	display: flex;
	justify-content: flex-start;
	margin-top: 1.5rem;
}

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hero-copy>* {
	animation: heroFade .7s ease both;
}

.hero-copy>*:nth-child(2) {
	animation-delay: .08s
}

.hero-copy>*:nth-child(3) {
	animation-delay: .16s
}

.hero-copy>*:nth-child(4) {
	animation-delay: .24s
}

.hero-copy>*:nth-child(5) {
	animation-delay: .32s
}

@keyframes heroFade {
	from {
		opacity: 0;
		transform: translateY(18px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.nav-toggle {
	width: 46px;
	height: 46px;
	border-radius: 16px;
	border: 1px solid rgba(61, 108, 179, .25);
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 8px 20px rgba(8, 23, 51, .06);
}

.nav-menu a:not(.kp-menu) {
	transition: color .18s ease;
}

.hero-stats .stat {
	transition: transform .22s ease, box-shadow .22s ease;
}

.hero-stats .stat:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 48px rgba(16, 35, 68, .22);
}

.stat-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 50px;
    height: 40px;
    background: #1c3a6d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-bottom-left-radius: 24px;
    border-top-right-radius: 24px;
}

.stat-icon i {
  width: 18px;
  height: 18px;
  color: #fff;
}

.center-head {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.contact-head {
	max-width: 760px;
	margin-bottom: 2rem;
}

.detail-grid {
	align-items: stretch;
}

.service-detail-hero {
	padding-top: 74px;
}

.service-detail-hero .section-head {
	margin-bottom: 1.4rem;
}

html {
	scroll-padding-top: 110px;
}

section[id],
main[id] {
	scroll-margin-top: 110px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.contactDataBlock {
	background: #f7f8fc;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.contact-save-card{
	display:grid;
	grid-template-columns:1.25fr auto;
	gap:18px;
	align-items:center;
	margin-top:1.3rem;
	background:#ffffff;
	border:1px solid rgba(26, 58, 109, .12);
	border-radius:20px;
	padding:18px;
  box-shadow: var(--shadow);
}

.contact-save-copy strong{
	display:block;
	margin-bottom:6px;
	font-size:1rem;
	color:#102341;
}

.contact-save-copy p{
	margin:0;
	color:#566782;
	line-height:1.55;
}

.contact-save-link{
	margin-top:14px;
}

.contact-qr-frame{
	display:flex;
	align-items:center;
	justify-content:center;
	width:170px;
	/* height:132px; */
	padding:10px;
	background:#fff;
	border:1px solid rgba(26, 58, 109, .12);
	border-radius:18px;
	box-shadow:0 16px 32px rgba(16, 35, 65, .08);
}

.contact-qr-frame img{
	display:block;
	width:100%;
	height:100%;
	object-fit:contain;
}

.form-head{
  margin-bottom:1.2rem;
}

.form-head h3{
  margin:.2rem 0 .4rem;
  /* font-size:1.3rem; */
}

.form-head p{
  /* font-size:.95rem; */
}

.honeypot-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.contact-map {
	margin-top: 1rem;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 260px;
}

.pricing-switch {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.pricing-tab {
	/* border: 1px solid var(--line); */
	border: 1px solid #1a3a6d;
	background: #fff;
	color: var(--text);
	padding: .85rem 1.1rem;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s ease;
}

.pricing-tab.active {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
}

.footer-links-legal {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1rem;
}

.footer-links-legal a {
	color: #ffffff !important;
	text-decoration: none;
	font-size: 16px;
}

.footer-links-legal a:hover {
	text-decoration: underline;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:1.5rem;
}

.gallery-grid-large{
  margin-top:2rem;
}

.gallery-item{
  border:0;
  padding:0;
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
  width:100%;
}

.gallery-item:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(8,23,51,.12);
}

.gallery-item img{
  display:block;
  width:100%;
  height:240px;
  object-fit:cover;
}

.gallery-modal{
  position:fixed;
  inset:0;
  background:rgba(8,16,32,.7);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:2000;
}

.gallery-modal.open{
  opacity:1;
  pointer-events:auto;
}

.gallery-modal-inner{
  width: auto;
  /* width:min(1000px,100%); */
  background:#fff;
  border-radius:28px;
  padding:18px;
  box-shadow:0 28px 80px rgba(8,23,51,.24);
}

.gallery-modal-inner img{
  width:100%;
  max-height:75vh;
  object-fit:contain;
  border-radius:18px;
  display:block;
}

.gallery-modal-inner p{
  margin:12px 4px 0;
  color:var(--muted);
  font-weight:600;
}

.gallery-modal-close{
  position:absolute;
  top:18px;
  right:18px;
  width:48px;
  height:48px;
  border-radius:999px;
  border:0;
  background:#fff;
  color:var(--brand);
  font-size:30px;
  cursor:pointer;
  box-shadow:var(--shadow);
}

.hero h1,
.hero-title,
[data-bind="home.heroTitle"]{
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
	line-height: 0.92;
	letter-spacing: -0.05em;
}

.footer-center{
  text-align:center;
  padding:40px 0;
}

.footer-copyright{
	font-size: 14px;
	color: #dfe7f670;
	/* margin-bottom: 25px; */
	/* margin-top: 30px; */
	padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 25px;
}

.footer-links-legal{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links-legal a{
  text-decoration:none;
  font-size:.95rem;
  color:inherit;
}

.footer-links-legal a:hover{
  text-decoration:underline;
}

.registration-box{
  margin-top:1.25rem;
  padding-top:1.25rem;
  border-top:1px solid var(--line);
}

.registration-head h4{
  margin:0 0 .5rem;
  font-size:1.05rem;
}

.registration-box form{
  display:grid;
  gap:1rem;
  margin-top:1rem;
}

.checkbox-row{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  margin:20px 0;
}

.checkbox-row input{
  flex:0 0 28px;        /* fixer Platz für Checkbox */
	width: 15px;
	height: 15px;
	margin-top: 5px;
  accent-color:var(--brand);
  transform:scale(1.5);
}

.checkbox-row span{
  flex:1;
  line-height:1.4;
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:40px;
}

.team-card{
  text-align:center;
  padding:30px;
}

.team-card img{ 
  width:100%;
  height:340px;
  border-radius:50px;
  object-fit:cover;
  object-position: top;
  margin-bottom:15px;
}

.team-card h3{
  margin:10px 0 5px 0;
  font-size: 20px;
  color: #17202d;
}

.team-card p{
  font-size: 16px;
}

.team-grid-single{
  grid-template-columns:minmax(280px, 100%);
  /* grid-template-columns:minmax(280px, 860px); */
  justify-content:center;
}

.team-card-featured{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(240px, 40%) 1fr;
  align-items:flex-start;
  gap:38px;
  text-align:left;
  background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.team-card-featured::after{
  content:"";
  position:absolute;
  top:-70px;
  right:-70px;
  width:220px;
  height:220px;
  border-radius:50%;
  /* background:radial-gradient(circle, rgba(28,58,110,.10) 0%, rgba(28,58,110,0) 72%); */
  pointer-events:none;
}

.team-card-media{
  position:relative;
  z-index:1;
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
}

.team-card-media::before{
  content:"";
  position:absolute;
  inset:18px -12px -18px 18px;
  border-radius:46px;
  /* background:linear-gradient(180deg, rgba(28,58,110,.16) 0%, rgba(28,58,110,.04) 100%); */
  z-index:-1;
}

.team-card-featured img{
  margin-bottom:0;
  border-radius:42px;
  box-shadow:0 24px 50px rgba(16, 35, 65, .12);
}

.team-card-content{
  display:grid;
  gap:12px;
  align-content:center;
  position:relative;
  z-index:1;
}

.team-card-kicker{
  display:inline-flex;
  width:max-content;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(28,58,110,.08);
  color:#1c3a6e;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.team-card-role{
  margin:0;
  color:#1c3a6e;
  font-size:1.02rem;
  font-weight:700;
}

.team-card-copy{
  margin:0;
  /* max-width:42ch; */
  color:#53627c;
  line-height:1.7;
}

.team-card-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}

.team-card-highlights span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(26, 58, 109, .10);
  color:#24364f;
  font-size:.92rem;
  font-weight:600;
  box-shadow:0 10px 20px rgba(12, 28, 55, .05);
}

.team-card-highlights span::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#1c3a6e;
}

.mobile-nav-overlay{
  position: fixed;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 0;
  background:rgba(8, 16, 32, .7);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 998;
}
 
.mobile-nav-overlay.open{
  opacity: 1;
  pointer-events: auto;
}

.portal-switch{
  margin-bottom: 1.5rem;
}

.admin-savebar{
  position: sticky;
  bottom: 0;
  z-index: 1000;
  background: #e2e6ed;
  padding: 20px;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(8,23,51,.06);
  justify-content: center;
}

.admin-topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #e2e6ed;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(8,23,51,.06);
}

.table-like{
  padding-bottom: 100px;
}

.admin-card{
  scroll-margin-top: 350px;
}

.hero-stats-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  height:auto;
  margin: 25px 0 32px 0;
}

.hero-stats-row .stat{
  height:auto;
  min-height:0;
}

.hero-bg{
  position:relative;
  padding:80px 0 80px;

  background:
    url("../img/hero-bg.jpg") center/cover no-repeat;
}

.services-grid{
  align-items:stretch;
}

.service-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.service-card-top{
  margin-bottom:.6rem;
}

.service-summary{
  color:var(--muted);
  margin-bottom:1rem;
}

.service-card .card-action{
  margin-top:auto;
  padding-top:1rem;
}

#scrollTopBtn{
  position:fixed;
  right:20px;
  bottom:20px;
  width:48px;
  height:48px;
  border-radius:20px;
  border:none;
  background:var(--brand);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(8,23,51,.2);
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:.25s ease;
  z-index:2000;
}

#scrollTopBtn.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

#scrollTopBtn:hover{
  background:var(--brand-2);
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center; /* oder space-between */
  gap: 2rem;
  flex-wrap: wrap; /* wichtig für mobile */
}

.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logos img {
  max-height: 60px; /* einheitliche Höhe */
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: 0.2s ease;
}

.partner-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.wkoLogo {
	display: flex;
	align-items: center;
	text-decoration: none;
	justify-content: center;
	margin-top: 20px;
	transition: all 0.25s ease;
}

.wkoLogo img {
    height: 55px;
    background: #2e4a7a;
    padding: 10px;
    border-radius: 15px;
}

.wkoLogo:hover {
  transform: translateY(-4px);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: all 0.25s ease;
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.footer-socials a:hover {
  background: #fff;
  transform: translateY(-4px);
}

.footer-socials a:hover svg {
  fill: #1c3a6d; /* deine Brand-Farbe */
}

.cookie-modal{
  position:fixed;
  inset:0;
  background:rgba(8,16,32,.55);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:3000;
} 

.cookie-modal.open{
  opacity:1;
  pointer-events:auto;
}
 
.cookie-modal-card{
  position:relative;
  width:min(760px,100%);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  /* border:1px solid var(--line); */
  border-radius:28px;
  box-shadow:0 28px 80px rgba(8,23,51,.24);
  padding:24px;
}

.cookie-modal-head h3{
  margin:.2rem 0 .5rem;
}

.cookie-options{
  display:grid;
  gap:12px;
  margin:18px 0 10px;
}

.cookie-option{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f8fbff;
}

.cookie-option p{
  margin:.3rem 0 0;
  color:var(--muted);
}

.cookie-option input{
  width:20px;
  height:20px;
  margin-top:2px;
  accent-color:var(--brand);
}

.cookie-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.cookie-links{
  margin:14px 0 0;
  font-size:.95rem;
}

.cookie-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:0;
  background:#fff;
  font-size:22px;
  cursor:pointer;
  box-shadow:var(--shadow);
}

.cookie-options[hidden],
#cookie-save-btn[hidden]{
  display:none !important;
}

.privacy-modal{
  position:fixed;
  inset:0;
  background:rgba(8,16,32,.7);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:4000;
}

.privacy-modal.open{
  opacity:1;
  pointer-events:auto;
}

.privacy-modal-card{
  position:relative;
  width:min(900px,100%);
  max-height:85vh;
  overflow:auto;
  background:#fff;
  border-radius:28px;
  padding:28px;
  box-shadow:0 28px 80px rgba(8,23,51,.24);
}

.privacy-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:0;
  background:#fff;
  color:var(--brand);
  font-size:26px;
  cursor:pointer;
  box-shadow:var(--shadow);
}

.privacy-modal-content{
  padding-top:20px;
}

.privacy-modal-content .section{
  padding:0px !important;
}

.privacy-modal-content .container{
  padding:0px !important;
}

.pull-refresh{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 5000;
  pointer-events: none;
  transition: height .18s ease;
}

.pull-refresh.show{
  height: 78px;
}

.pull-refresh.ready .pull-refresh-icon{
  transform: rotate(180deg);
}

.pull-refresh.loading .pull-refresh-icon{
  animation: pullRefreshSpin .9s linear infinite;
}

.pull-refresh-inner{
  margin-top: env(safe-area-inset-top, 0);
  min-width: 220px;
  padding: 10px 16px 14px;
  border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(231,236,243,.95);
  box-shadow: 0 10px 30px rgba(8,23,51,.10);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.pull-refresh-icon{
  display: inline-flex;
  transition: transform .18s ease;
}

@keyframes pullRefreshSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.page-loader{
  position:fixed;
  inset:0;
  background:rgba(255,255,255,.5);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:99999;
}

.page-loader.show{
  opacity:1;
  pointer-events:auto;
}

.page-loader-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:24px 28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.page-loader-inner p{
  margin:0;
  color:var(--muted);
  font-weight:700;
}

.page-loader-spinner{
  width:42px;
  height:42px;
  border-radius:999px;
  border:3px solid rgba(28,58,109,.15);
  border-top-color:var(--brand);
  animation:pageLoaderSpin .8s linear infinite;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:.65rem;
}

.portal-quick-btn{
  display:none;
  width:46px;
  height:46px;
  border-radius: 16px;
  align-items:center;
  justify-content:center;
  border:1px solid var(--brand);
  background:var(--brand);
  color:#fff !important;
  box-shadow:0 8px 20px rgba(28,58,109,.14);
  text-decoration:none;
}

.portal-quick-btn svg{
  width:18px;
  height:18px;
  color:#fff !important;
}

.kp-menu{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.72rem 1rem;
  border-radius:999px;
  border:1px solid var(--brand);
  background:var(--brand);
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 10px 24px rgba(28,58,109,.14);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  will-change: transform;
}

.kp-menu:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(28,58,109,.18);
}

.kp-menu::after{
  display:none !important;
}

.kp-menu svg{
  color:#fff !important;
  width:16px;
  height:16px;
  flex-shrink:0;
}

@keyframes pageLoaderSpin{
  to{ transform:rotate(360deg); }
}

/************************************************************************************/
/************************************************************************************/
/************************************************************************************/
/************************************************************************************/

@media (max-width:1100px){
  .portal-quick-btn{
    display:inline-flex;
  }

  .kp-menu{
    display:flex;
    align-items:center;
    gap:.6rem;
    background:transparent;
    color:var(--text) !important;
    padding:14px 0;
    border:0;
    border-radius:0;
    box-shadow:none;
    font-weight:600;
    transform:none !important;
  }

  .kp-menu:hover{
    background:transparent;
    box-shadow:none;
  }

  .kp-menu svg{
    color:var(--brand) !important;
    width:14px;
    height:14px;
  }
}

@media (max-width: 768px) {
  .partner-logos {
    flex-direction: column; /* untereinander */
    gap: 0rem;
  }
}

@media (max-width:1100px){
  .privacy-modal{
    align-items:flex-end;
    padding:0;
  }

  .privacy-modal-card{
    width:100%;
    max-height:88vh;
    border-radius:24px 24px 0 0;
    padding:22px 18px 18px;
  }
}

@media (max-width:1100px){
  .cookie-modal{
    align-items:flex-end;
    padding:0;
  }

  .cookie-modal-card{
    width:100%;
    max-height:80vh;
    overflow:auto;
    border-radius:24px 24px 0 0;
    padding:20px 18px 40px;
  }

  .cookie-actions{
    flex-direction:column;
  }

  .cookie-actions .button{
    width:100%;
  }

  .cookie-option{
    padding:12px 14px;
  }
}

@media (max-width: 760px){
  .admin-card{
    scroll-margin-top: 350px;
  }
}

@media (max-width:960px){
  .hero-stats-row{
    grid-template-columns:1fr;
  }
}

@media (max-width:1100px){

.nav-menu a{
  display:flex;
  padding:14px 0;
  border-bottom:1px solid rgba(0,0,0,0.09);
justify-content: center;
}

.nav-menu a:last-child{
  border-bottom:none;
}

}

@media (max-width: 760px){

  .admin-topbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    padding: 14px 16px;
    background: #e2e6ed;
  }

  .admin-savebar{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    padding: 14px 16px;
    background: #e2e6ed;
  }

  .table-like{
    padding-bottom: 120px;
  }

  .admin-page,
  .section{
    padding-top: 24px;
  }
}

@media (max-width:1100px){
  .nav-menu{
    z-index: 1001;
  }

  .site-header{
    z-index: 1002;
  }
}

@media (max-width: 760px){
	.team-grid{
		grid-template-columns:1fr;
	}

  .team-card-featured{
    grid-template-columns:1fr;
    gap:20px;
    text-align:center;
    padding:24px;
  }

  .team-card-media::before{
    inset:14px -8px -12px 14px;
  }

  .team-card-featured img{
    height:320px;
    margin-bottom:0;
  }

  .team-card-kicker{
    margin:0 auto;
  }

  .team-card-copy{
    max-width:none;
  }

  .team-card-highlights{
    justify-content:center;
  }

	.contact-save-card{
		grid-template-columns:1fr;
	}

	.contact-qr-frame{
		width:160px;
		height:160px;
		margin:0 auto;
	}
}

@media (max-width:1100px){

  .footer-links-legal{
    flex-direction:column;
    align-items:center;
    gap:10px;
  }

}

@media (max-width:1100px){
  .checkbox-row{
    gap:.65rem;
  }
}

@media (max-width:960px){
  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:1100px){
  .gallery-grid{
    grid-template-columns:1fr;
  }

  .gallery-item img{
    height:220px;
  }
}

@media (max-width:1100px) {
	.pricing-switch {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.pricing-tab {
		width: 100%;
		text-align: center;
	}
}

@media (max-width:960px) {

	.hero-grid,
	.grid-2,
	.grid-3,
	.grid-4,
	.contact-grid,
	.admin-layout {
		grid-template-columns: 1fr
	}

	.price-card.featured {
		transform: none
	}

	.admin-sidebar {
		position: static
	}

	h1,
	h2 {
		max-width: -webkit-fill-available;
	}

	.hero-grid {
		min-height: auto
	}

	.hero-stats {
		grid-template-rows: none
	}
}

@media (max-width:1100px) {
	.container {
		width: min(100% - 1rem, 1000px)
	}

	.nav {
		min-height: 72px
	}

	.logo img {
    height: auto;
    max-width: 220px;
	}

	.nav-toggle {
		display: block
	}

	.nav-menu {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		padding: 1rem;
		flex-direction: column;
		align-items: flex-start;
		border-radius: 0 0 22px 22px;
		box-shadow: 0 16px 40px rgba(8, 23, 51, .08)
	}

	.nav-menu.open {
		display: flex;
		border-bottom: 4px solid #1a3b6d20;
	}

	.footer-wrap {
		flex-direction: column;
		align-items: flex-start
	}

	.section {
		padding: 64px 0
	}

	.hero {
		/* padding: 40px 0 40px !important; */
	}

	h1 {
		font-size: clamp(1.85rem, 8vw, 2.55rem);
		line-height: 1.04
	}

	h2 {
		font-size: clamp(1.45rem, 6.1vw, 2rem);
		line-height: 1.08
	}

	h3 {
		font-size: 1.08rem
	}

	.lead {
		font-size: 1rem
	}

	.card,
	.panel,
	.contact-card,
	.calc-box,
	.login-box,
	.admin-card,
	.stat {
		padding: 1.1rem
	}

	.btn,
	.button {
		width: 100%
	}

	.pill {
		font-size: .85rem
	}

	.site-header {
		background: rgba(255, 255, 255, .7)
	}
}

@media (max-width:1100px) {
	.container {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}

	.hero-card h1 {
		line-height: 40px !important;
	}

	.hero,
	.section,
	.site-footer {
		overflow-x: hidden;
	}

	.hero-badges,
	.actions {
		gap: .75rem;
	}
}

@media (max-width:1100px) {
	.nav-menu {
		padding: 10px 20px;
		gap: .35rem;
	}

	.nav-menu a {
		width: 100%;
		padding: .50rem 1rem;
		border-radius: 16px;
	}

	.nav-menu a:not(.btn):hover,
	.nav-menu a:not(.btn):focus {
		background: #f4f7fc;
	}

	.nav-menu a:not(.btn):not(.kp-menu)::after {
		display: none;
	}

	.nav-menu .btn {
		margin-top: .4rem;
	}
}

@media (max-width:1100px){
  .form-row{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px) {
	.contact-map iframe {
		height: 320px;
	}
}

@media (max-width:1100px) {
	html {
		scroll-padding-top: 92px;
	}

	section[id],
	main[id] {
		scroll-margin-top: 92px;
	}
}

@media (max-width:1100px) {
	.contact-head {
		margin-bottom: 1.4rem;
	}
}

@media (min-width:1111px){
  .nav-menu svg{
    display:none;
  }
  .kp-menu svg{
    display:inline-flex;
  }
}

@media (max-width:1100px) {
	.nav-actions {
		gap: .5rem;
	}

	.lang-switch {
		padding: .2rem;
	}

	.lang-switch-select {
		min-width: 50px;
		/* padding: 0 1rem 0 1rem; */
		font-size: 16px;
	}

	.nav-lang-switch {
		margin-left: 0;
		width: 100%;
		align-items: center;
		padding: .5rem 1rem;
		border-radius: 16px;
    border:none;
	}

	.nav-lang-meta {
		display: inline-flex;
	}

	.nav-lang-switch .lang-switch-select {
		width: auto;
		max-width: 100%;
		/* min-width: 74px; */
	}
}

@media (max-width:420px) {
	.lang-switch-select {
		min-width: 50px;
		/* padding-left: .55rem; */
	}
}
