/* RESET + BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: 'Urbanist', system-ui, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
}

:root {
  --accent: #504CEA;
  --bg-light: #f7f6ff;
  --text: #111;
}
html {
  font-size: 62.5%; /* 62.5% von 16px = 10px */
}
body {
  margin: 0;
  font-size: 1.8rem;
  font-family: 'Urbanist', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

:root {
  --to-top-size: 56px;
  --to-top-bg: color-mix(in oklab, canvas, white 8%);
  --to-top-fg: oklch(45% 0.05 250); /* dezentes Grau/Blau */
  --to-top-shadow: 0 10px 30px rgba(0,0,0,.15);
  --to-top-border: color-mix(in oklab, currentColor 20%, transparent);
}
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: var(--to-top-size);
  height: var(--to-top-size);
  display: grid;
  place-items: center;
  color: var(--to-top-fg);
  background: var(--to-top-bg);
  border: 1px solid var(--to-top-border);
  border-radius: 999px;
  box-shadow: var(--to-top-shadow);
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(.96);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, border-color .2s ease;
  z-index: 9990;
}

.to-top svg{
  width: 54px;
  height: 54px;
  display: block;
}
.to-top:hover { transform: translateY(0) scale(1); }
.to-top:active { transform: translateY(0) scale(.98); }
.to-top--visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

.grid-image{
  position: absolute;
  top: 0%;
  left: 0%;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: none;
  display: flex
}
.grid-image svg{
  width: 100%;
  height: 100%;
}


.blur-ellipse {
  position: absolute;
  top: 0%;
  right: 0%;
  width: 600px;
  height: 100%;
  background: #504CEA;
  opacity: 0.5; /* 22 % Deckkraft */
  filter: blur(150px); /* weicher Glow */
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: wanderEllipse 16s ease-in-out infinite;
}
@keyframes wanderEllipse {
  0%   { right: 0; }
  45%  { right: calc(100% - 600px); }
  55%  { right: calc(100% - 600px); } /* kurze Pause rechts */
  100% { right: 0; }                  /* zurück nach links */
}

#form-message {
  margin-top: 1.5rem;
  font-size: 1.6rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  display: none; /* wird durch JS sichtbar gemacht */
}

form a{
  
  color: var(--accent);
}
/* Erfolg */
#form-message.success {
  display: block;
  background-color: #e0f8e9;
  color: #2e7d32;
  border: 1px solid #b2dfdb;
}

/* Fehler */
#form-message.error {
  display: block;
  background-color: #ffe0e0;
  color: #b00020;
  border: 1px solid #f8bcbc;
}


.main-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
  background-color: transparent;
}
.main-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.main-header.scrolled .main-nav ul a{
	color: #111
}
.main-header .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-header .logo img.dark{
  display: none;
}

.main-header.scrolled .logo img.light{
  display: none;
}
.main-header.scrolled .logo img.dark{
  display: block;
  height: 70px;
  margin-bottom: 10px;
}
.contentData .main-header{
  padding-bottom: 10px;
  border-bottom: 1px solid #dadada;
}
.contentData .main-header .main-nav a{
  color: #111
}
.contentData .logo img.light{
  display: none;
}
.contentData .logo img.dark{
  display: block;
  height: 70px;
  margin-bottom: 20px;
}

.contentData .section-head h2{
  margin-top: 3rem;
}
.contentData .section-head h3{
  margin-top: 3rem;
}
.contentData .section-head p{
  margin-bottom: 2rem;
}
.contentData .features {
  padding-top: 20rem;
}



.main-header .logo img {
  height: 140px;
}
.main-header .main-nav{
	margin-right: 2rem;
}
.main-header .main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-header .main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.cta-button {
  background-color: #4B49F2;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-button:hover {
  background-color: #3736d0;
}

.button-group{
  display: flex;
  margin-top: 6rem;
  justify-content: center;
}
.hero {
  position: relative;
  display: flex;
  background: #0d0d0d;
  overflow: hidden;
  color: #fff;
  max-height: 1000px;
  padding: 0;
  font-family: 'Urbanist', sans-serif;
}
.section.odd{
  background: #EBF4FF
}
.hero-image, .hero-bottom-spacer {
  flex: 1.2;
  z-index: 10;
  position: relative;
 
}
.hero-image img {
  width:88%;
  height: auto;
  display: block
}
.hero-bottom-image{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
      display: flex
  ;
  z-index: 1;
      justify-content: flex-end;
}

.hero-bottom-image img {
  width:88%;
  height: auto;
  display: block
}
.hero-content {
  flex: 1;
  padding: 4rem 3rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;	
  align-items: flex-start;
}

.hero h1 {
  font-size: 6rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.hero h1 .sub {
  font-weight: 700;
  color: #fff;
  line-height: 1.2;display: block;  font-size: 3rem;
}
.hero p {
  max-width: 500px;
  font-size: 1.8rem;
  color: #aaa;
  margin-bottom: 4rem;
}
.hero-buttons {
  display: flex;
  gap: 2rem;
}
.btn-primary {
  background-color: #4B49F2;
  color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
	display: flex;
	
	align-items: center;
}
.btn-outline {
  border: 1px solid #ccc;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}
section{
  
  scroll-margin-top: 80px;
}

/* SECTION HEADER */
.section-head {
  margin: 0 0 7rem 0;
  text-align: center;
}


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

.section-head.align-left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
#teaser {

}
#teaser .section-head{
  margin-bottom: 0;
}
.section-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-teaser {
  color: #444;
  font-size: 1.8rem;
  max-width: 60ch;
  margin: 0 auto;
}
section{
	position: relative;
	padding: 8rem 0;
}
.head-items{
	
		display: flex
	;
		align-items: center;
}
.row{
	position: relative;
	  max-width: 1280px;
	  margin: 0 auto;
}
/* FEATURES GRID */
.features {
}
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.features-row {
  display: grid;
  gap: 2rem;
}

.features-row.row-1 {
  grid-template-columns: 60% 40%;
}

.features-row.row-2 {
  grid-template-columns: 40% 60%;
}

.feature-card {
  background: var(--bg-light, #f7f6ff);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-card.card-1,
.feature-card.card-4{
	background: #F7F9FC
}


.feature-card.card-2,
.feature-card.card-3{
	background: #F3F0FF
}

/* Bildplatzhalter */
.feature-image {
	width: 100%;
}

.feature-image.right{
	max-width: 420px;
	width: auto;
	flex-shrink: 0
}

.feature-image.right img{
	max-width: 100%
}
.image-bottom .feature-image {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center
}
.feature-card.image-bottom{
	
	flex-direction: column;
}
.feature-card.image-bottom .feature-image img{
	height: 140px;
	max-width: auto;
	width: auto;
}
.feature-image.right {
  order: 1;
  margin-left: auto;
}

.feature-content {
  flex: 1;
}

.feature-card h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111;
}

.feature-card p {
  font-size: 1.8rem;
  color: #333;
}

/* Responsive */
@media (max-width: 800px) {
  .features-row {
	grid-template-columns: 1fr !important;
  }

  .feature-card {
	flex-direction: column;
  }

  .feature-image {
	align-self: flex-start;
	margin-left: 0 !important;
  }
}

section.dark{
	
	  background: #0D0D0D;
	  color: white;
}


.image-text {
  display: flex;
  position: relative;
  min-height: 600px;
}

.hero-content {
  flex: 1;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero-label {
  text-transform: uppercase;
  color: #504CEA;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-text {
  color: #ccc;
  margin-bottom: 2rem;
  max-width: 50ch;
}



/* Bildbereich */


/* Overlay-Welle */
.image-overlay {
  position: absolute;
  top: 0;
  left: -100px;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at left, transparent 60%, #0D0D0D 90%);
  z-index: 1;
  pointer-events: none;
}

.faq {
  max-width: 1000px;
  margin: 4rem auto;
}

.faq-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 5rem;
}

.faq-tab {
  background: transparent;
  border: 2px solid #504CEA;
  color: #504CEA;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.6rem;
  transition: all 0.2s;
}
.faq-tab.active {
  background: #504CEA;
  color: white;
}

.faq-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  color: #888;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.2rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}



.contact-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: #444;
  font-size: 1.6rem;
  max-width: 60ch;
  margin: 0 auto 2rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1;
  font-size: 1.6rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  display: flex;
  
  align-items: center;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  border: none;
}
.btn.primary:hover {
  background: #3e39d6;
}

.btn.outline {
  border: 2px solid #504CEA;
  color: #504CEA;
}
.btn.outline:hover {
  background: #f0f0ff;
}

.btn.full {
  width: 100%;
  margin-top: 1.5rem;
}

/* Formular-Styling */
form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.form-radio-group {
  display: flex;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.form-radio-group input[type="radio"] {
  margin-right: 0.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}
form button{
  margin-top: 2rem;
}
.form-row input {
  flex: 1;
  min-width: 140px;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 1.25rem 2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1.6rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-checkbox {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}




.footer {
	background: #111;
  color: #fff;
  padding: 8rem 0;
  position: relative
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul a {
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  transition: opacity 0.2s;
}
.footer-column ul a:hover {
  opacity: 0.8;
}

/* Logo + Text + Social */
.footer-logo {
  width: 60px;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 1.6rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  max-width: 80%;
  line-height: 1.5;
}

.footer-social a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s;
}
.footer-social a:hover {
  transform: scale(1.1);
}

/* Unterer Bereich */
.footer-bottom {
  text-align: center;
  font-size: 1.4rem;
  color: #999;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
}

/* Icons mit FontAwesome o.ä. */
.icon-facebook::before  { content: "📘"; }
.icon-instagram::before { content: "📸"; }
.icon-twitter::before   { content: "🐦"; }
.icon-linkedin::before  { content: "💼"; }

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
	grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-inner {
	grid-template-columns: 1fr;
  }
}



.testimonial-section {
  background: #0D0D0D;
  color: #fff;
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
  font-family: 'Urbanist', sans-serif;
}

.testimonial-header {
  text-align: center;
  margin: 0 auto 3rem;
}



.section-subtitle {
  color: #bbb;
  font-size: 1.6rem;
  max-width: 60ch;
  margin: 1rem auto 0;
}

.testimonial-slider {
	width: 100%;
  margin: 0 auto;
}

.testimonial-slide {
  background: #1e1e2f;
  border-radius: 20px;
  padding: 2rem;
  margin: 0 1rem;
  opacity: 0.4;
  transition: all 0.3s;
}
.testimonial-slide.slick-center  {
  background: #504CEA;
  color: white;
  opacity: 1;
}

blockquote {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Auslauf-Effekt */
.testimonial-fade-overlay::before,
.testimonial-fade-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-fade-overlay::before {
  left: 0;
  background: linear-gradient(to right, #0D0D0D 0%, transparent 100%);
}
.testimonial-fade-overlay::after {
  right: 0;
  background: linear-gradient(to left, #0D0D0D 0%, transparent 100%);
}



@media (max-width: 1340px){
  .row, .main-header .container, .footer-inner {
      max-width: 96%;
  }
  
  .hero-bottom-image{
    
    width: 55%;
  }
} 

@media(max-width: 1220px){
  .hero-content{
    
    padding-top: 16rem;
  }
}

@media(max-width: 1100px){
  .main-header .logo img {
      height: 110px;
  }
}
section{
  overflow-x: hidden;
}

@media(max-width: 900px){
  .image-text, .hero{
    flex-direction: column
  }
  .hero-content{
    
    padding-top: 4rem;
  }
  .section-title{
    font-size: 3rem;
  }
  .feature-card.image-bottom .feature-image img{
    height: 100px;
  }
  .blur-ellipse{
    animation: inherit;
    width: 100%
  }
  .hero h1 .sub{
    font-size: 2rem;
  }
  .hero h1{
    font-size: 5rem;
  }
  .main-header .main-nav ul{
    display: none;
  }
  .contact-form, .row, .main-header .container, .footer-inner {
  
    max-width: 90%;
  }
  .hero{
    max-height: inherit
  }
 .feature-card.card-1{
    flex-direction: column;
  }
}

@media(max-width: 767px){
  .main-header .cta-button{
    display: none;
  }
  
  .hero .hero-content{
    padding-bottom: 12rem;
  }
  .blur-ellipse{
    filter: blur(75px);
  }
  .hero-bottom-image {
      position: relative;
      width: 100%;
      display: flex
  ;
      z-index: 1;
      justify-content: flex-end;
  }
  #kommunen{
    padding-bottom: 0;
  }
}
