/* ===== CSS RESET & NORMALIZE ===== */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,main,menu,nav,output,ruby,section,summary,time,mark,audio,video{
  margin:0; padding:0; border:0; font-size:100%; font:inherit; vertical-align:baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{
  display:block;
}
body{
  line-height:1;
}
ol,ul{
  list-style:none;
}
a { text-decoration: none; color:inherit; }
img{ max-width:100%; height:auto; display:block; }
button { font-family:inherit; background:none; border:none; cursor:pointer; }
*,*::before,*::after{box-sizing:border-box;}

/* ===== VARS/BASE COLORS: Vibrant Energetic Theme adapted to Brand ===== */
:root {
  --primary: #1B4965;
  --primary-rgb: 27,73,101;
  --secondary: #00DDFF;
  --secondary-dark: #16C6E1;
  --secondary-alt: #CAE9FF;
  --accent: #FFBE0B;
  --error: #FA3252;
  --success: #3EC300;
  --background: #F8F9FA;
  --surface: #FFFFFF;
  --shadow: rgba(27,73,101,0.12);
  --shadow-strong: rgba(27,73,101,0.19);
  --brand-electric1: #00DDFF;
  --brand-electric2: #FF0077;
  --brand-lime: #D6FF00;
  --brand-orange: #FFBE0B;
  --text-dark: #17212B;
  --text-light: #FFFFFF;
  --text-muted: #5D789A;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height:100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.14;
  text-shadow: 0 2px 8px rgba(0,221,255,0.08);
}
h1 {
  font-size: 2.5rem;
  margin-bottom:24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom:20px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom:8px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}
strong { color: var(--brand-electric2); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ====== Header & Navigation ====== */
header {
  background: var(--surface);
  box-shadow: 0 4px 16px var(--shadow);
  position: relative;
  z-index: 15;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 18px;
  gap: 20px;
}
header a img {
  height:48px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.main-nav a {
  color: var(--primary);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-electric2);
}
.btn-primary {
  background: linear-gradient(90deg, var(--brand-electric2), var(--primary));
  color: var(--text-light);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 12px var(--shadow);
  letter-spacing: 0.03em;
  margin-left:16px;
  transition: background 0.15s, transform 0.1s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--primary), var(--brand-electric2));
  transform: scale(1.04);
}
.btn-secondary {
  background: var(--brand-lime);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 28px;
  box-shadow: 0 4px 10px var(--shadow);
  transition: background 0.12s, color 0.1s, transform 0.12s;
  font-size: 1rem;
  margin-top: 10px;
  border: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-electric1);
  color: var(--surface);
  transform: scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background:var(--accent);
  border-radius: 50%;
  width:48px; height:48px;
  align-items:center; justify-content:center;
  z-index:22;
  margin-left:16px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-electric2);
  color:#fff;
}

.mobile-menu {
  position: fixed;
  top:0; left:0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,73,101,0.97);
  color: var(--text-light);
  z-index:999;
  display:flex;
  flex-direction:column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.7,0,.3,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events:auto;
}
.mobile-menu-close {
  background: none;
  color: var(--brand-lime);
  font-size: 2.4rem;
  margin: 20px 0 0 20px;
  border:none;
  z-index:1010;
  transition: color 0.2s, transform 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color:var(--error);
  transform: scale(1.17);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-left: 5px solid var(--brand-lime);
  padding-left: 12px;
  transition: color 0.2s, border-left 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--brand-electric2);
  border-left: 5px solid var(--brand-electric2);
}

/* ==== HERO, SECTIONS, LAYOUTS ==== */
.hero {
  background: linear-gradient(90deg, var(--brand-electric1) 0%, var(--secondary-alt) 100%);
  color: var(--primary);
  padding-top:60px;
  padding-bottom:60px;
  margin-bottom: 60px;
  position:relative;
  min-height:220px;
}
.hero h1, .hero h2, .hero p {
  color: var(--primary);
}
.hero .btn-primary {
  margin-top: 12px;
}

.features, .services, .about-section, .faq-section, .gdpr-section, .terms-section, .cookie-section, .about-brand, .contact-details, .contact-teaser {
  background: var(--surface);
  border-radius: 32px;
  box-shadow: 0 3px 16px var(--shadow);
  margin-bottom: 60px;
  padding:40px 20px;
}
.contact-details {
  margin-bottom: 20px;
}

.features h2, .services h2, .about-section h2, .faq-section h2, .about-brand h2, .contact-details h2, .contact-teaser h2 {
  color: var(--brand-electric2);
}

.features ul, .about-section ul, .about-brand ul {
  margin:16px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features ul li, .about-section ul li, .about-brand ul li {
  padding-left: 0px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--text-dark);
}
.features ul li img {
  width:28px; height:28px;
}
.feature-icons {
  display:flex;
  flex-wrap:wrap;
  gap: 16px;
  margin-top:16px;
}
.feature-icons li {
  background: var(--accent);
  color: var(--primary);
  border-radius: 20px;
  padding:8px 18px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:1rem;
  box-shadow:0 3px 8px var(--shadow);
}

.unique-points-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.unique-points-grid > div {
  background: var(--secondary-alt);
  border-radius: 20px;
  padding:24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 6px var(--shadow);
  min-width:210px;
  width: 100%;
  max-width: 340px;
}
.unique-points-grid img {
  width:44px; height:44px;
  margin-bottom:10px;
}

.bericht-teaser-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom:18px;
}
.bericht-teaser-list > div {
  background: var(--secondary-alt);
  border-radius: 22px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 24px 18px;
  flex:1 1 250px;
  min-width:200px;
  max-width:340px;
  font-size:1.07rem;
}

/* Service Card-style Items */
.service-list, .angebot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 24px 0;
}
.service-item {
  background: var(--secondary-alt);
  border-radius: 24px;
  box-shadow: 0 4px 20px var(--shadow-strong);
  padding: 28px 20px;
  min-width: 240px;
  flex:1 1 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  justify-content: flex-start;
  position:relative;
}
.service-item h3 {
  color: var(--brand-electric2);
  font-size: 1.1rem;
  letter-spacing: 0.4px;
}
.price {
  background: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  padding: 6px 16px;
  font-weight:600;
  font-size: 0.97rem;
  margin-top:15px;
  box-shadow: 0 2px 6px var(--shadow);
}

ol {
  margin-left: 20px;
  padding-left: 8px;
  color: var(--primary);
}
ol li { margin-bottom: 8px; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 24px;
  min-width:220px;
  flex:1 1 220px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section .text, .text-image-section .image {
  flex: 1 1 250px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** Testimonial Cards & Stars *****/
.testimonials {
  background: var(--surface);
  border-radius: 32px;
  box-shadow: 0 3px 16px var(--shadow);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.testimonials h2 {
  color: var(--primary);
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 3px 14px var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 250px;
  min-width: 200px;
  max-width: 360px;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  position: relative;
}
.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 1.12rem;
  margin-bottom:6px;
}
.testimonial-card span {
  color: var(--brand-electric2);
  font-size: 0.98rem;
  font-weight: 600;
  align-self: flex-end;
}
.star-ratings {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight:500;
}
.star-ratings img {
  width: 24px;
  height: 24px;
  margin-right:2px;
}

/***** FAQ ACCORDION *****/
.faq-section {
  margin-bottom: 60px;
}
.faq-accordion {
  width:100%;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.faq-accordion dt {
  font-family:'Montserrat', Arial, Helvetica, sans-serif;
  font-weight:700;
  font-size:1.1rem;
  color:var(--brand-electric2);
  cursor:pointer;
  position:relative;
  background:var(--secondary-alt);
  border-radius:12px;
  padding:14px 18px;
}
.faq-accordion dt::after {
  content:'+';
  float:right;
  font-size:1.4rem;
  color:var(--brand-electric2);
  transition:.2s;
}
.faq-accordion dt.active::after {
  content:'−';
}
.faq-accordion dd {
  margin-top:-8px;
  margin-bottom:8px;
  background:var(--surface);
  border-left:3px solid var(--brand-electric2);
  border-radius:0 10px 10px 0;
  color:var(--text-dark);
  padding:12px 22px 8px 22px;
  font-size:1rem;
  display:none;
}
.faq-accordion dd.active {
  display:block;
}

/***** Contact Details & Info *****/
.contact-details .contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size:1.02rem;
}
.contact-details .contact-info img { width:24px; height:24px; margin-right:8px; vertical-align: middle; }

/***** Footer ******/
footer {
  background: var(--primary);
  color: var(--text-light);
  padding:34px 0 10px 0;
  box-shadow: 0 -2px 20px var(--shadow-strong);
  margin-top:65px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 34px;
  justify-content: space-between;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom:6px;
}
.footer-nav a, .legal-nav a {
  color: var(--brand-lime);
  font-size: 0.96rem;
  font-family:'Montserrat', Arial;
  font-weight:600;
  letter-spacing:0.4px;
  transition: color 0.15s;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: var(--brand-electric2);
}
.footer-meta p {
  color:var(--secondary-alt);
  font-size:0.99rem;
}
.social-media-icons {
  display:flex;
  gap: 16px;
  margin-top:8px;
}
.social-media-icons img {
  width:27px; height:27px;
  filter:drop-shadow(0 1px 6px var(--brand-electric1));
  transition: transform 0.1s;
  border-radius:50%;
  background:var(--surface);
  padding:3px;
}
.social-media-icons img:hover {
  transform:scale(1.13) rotate(-6deg);
}

/***** Cookie Consent Banner *****/
.cookie-banner {
  position: fixed;
  left: 0;
  right:0;
  bottom: 0;
  z-index: 1099;
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 -2px 22px var(--shadow-strong);
  padding: 22px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:22px;
  font-size:1.09rem;
  transition: transform 0.28s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-content {
  flex: 6 1 0px;
}
.cookie-banner-buttons {
  flex: 2 0 120px;
  display:flex;
  gap:16px;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: 18px;
  padding: 9px 22px;
  font-weight:700;
  font-family: 'Montserrat', Arial;
  border:none;
  font-size: 1rem;
  margin-left:0;
  box-shadow: 0 1px 5px var(--shadow);
  transition: background 0.15s, color 0.12s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-electric1);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}
.cookie-btn.settings {
  background: var(--secondary-alt);
  color: var(--primary);
  border:1.7px solid var(--brand-lime);
}
.cookie-btn.reject {
  background: var(--error);
  color: #fff;
}

/***** Cookie Modal (Preferences) *****/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0; right: 0; top: 0; bottom: 0;
  background:rgba(27,73,101,0.80);
  align-items:center;
  justify-content:center;
  transition: background 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background:var(--surface);
  color: var(--text-dark);
  border-radius:26px;
  box-shadow:0 8px 48px 0 rgba(27,73,101,0.18);
  max-width: 380px;
  min-width:260px;
  padding:38px 32px 22px 32px;
  display:flex;
  flex-direction:column;
  gap:18px;
  position:relative;
  animation: modalfadein 0.44s cubic-bezier(.62,.1,.57,1.29);
}
@keyframes modalfadein {
  from { transform: translateY(160px) scale(0.93) ; opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position:absolute;
  top:14px; right: 17px;
  background:none;
  color:var(--primary);
  border:none;
  font-size:1.6rem;
  cursor:pointer;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color:var(--error);
}
.cookie-modal h3 {
  font-size:1.29rem;
  margin-bottom: 7px;
  color: var(--brand-electric2);
}
.cookie-modal .cookie-category {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.cookie-modal label {
  font-size:1rem;
  color:var(--primary);
  font-weight:600;
}
.cookie-switch {
  appearance:none;
  width: 40px;
  height: 24px;
  background: var(--secondary-alt);
  border-radius: 14px;
  position: relative;
  outline: none;
  box-shadow:0 1px 4px var(--shadow);
  cursor:pointer;
  transition: background 0.17s;
}
.cookie-switch:checked {
  background: var(--brand-electric2);
}
.cookie-switch:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top:3px; left:3px;
  transition: left 0.2s;
  box-shadow:0 1px 6px var(--shadow);
}
.cookie-switch:checked:before {
  left: 19px;
}

.cookie-modal .cookie-desc {
  font-size:0.98rem;
  color:var(--text-muted);
  margin-bottom:13px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--success);
}
.cookie-modal .cookie-category.essential input {
  filter: grayscale(1) brightness(1.2);
  pointer-events:none;
}
.cookie-modal-actions {
  display:flex;
  justify-content: flex-end;
  gap:16px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 110px;
}

/***** Utility classes for spacing and layout *****/
.mt-20 { margin-top:20px !important; }
.mb-20 { margin-bottom:20px !important; }
.mt-40 { margin-top:40px !important; }
.mb-40 { margin-bottom:40px !important; }
.pt-20 { padding-top:20px !important; }
.pb-20 { padding-bottom:20px !important; }

/***** Transitions, Micro-interactions *****/
.card, .service-item, .testimonial-card, .unique-points-grid > div, .bericht-teaser-list > div {
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .service-item:hover, .testimonial-card:hover, .unique-points-grid > div:hover, .bericht-teaser-list > div:hover {
  box-shadow: 0 8px 32px var(--brand-electric1);
  transform: translateY(-3px) scale(1.03);
}

/********* RESPONSIVE DESIGN (MOBILE-FIRST) *********/
@media (max-width: 1280px){
  .container { max-width: 98vw; }
}

@media (max-width: 1024px){
  .main-nav { gap: 18px; font-size:0.94rem; }
  .service-item, .unique-points-grid > div, .bericht-teaser-list > div, .testimonial-card {
    min-width:180px; max-width:100%;
  }
}
@media (max-width: 900px){
  .main-nav { gap: 12px; font-size:0.91rem; }
  .services .angebot-tabs, .service-list, .bericht-teaser-list, .testimonial-slider, .unique-points-grid {
    gap: 12px;
  }
}
@media (max-width: 900px){
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items:flex-start;
  }
}
@media (max-width: 768px){
  .main-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  .container {
    max-width: 100vw;
    padding-left: 10px; padding-right: 10px;
  }
  .hero { padding-top:32px; padding-bottom:32px; min-height:140px; }
  .features, .services, .about-section, .faq-section, .gdpr-section, .terms-section, .cookie-section, .about-brand, .contact-details, .contact-teaser {
    padding: 22px 6px;
    border-radius: 18px;
  }
  .service-list, .angebot-tabs, .unique-points-grid, .bericht-teaser-list, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .about-section ul, .about-brand ul, .features ul { gap: 10px; }
  .footer-nav, .legal-nav { flex-direction: column; gap: 5px; }
  .testimonials { border-radius: 18px; padding:22px 8px; }
  .testimonial-card { max-width:100%; }
  .mobile-menu {
    padding-bottom:80px;
    font-size:1.1rem;
  }
}
@media (max-width:560px){
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.12rem;}
  .container { max-width:100vw; padding:0 3px; }
  .cookie-modal { max-width:94vw; min-width:unset; padding:22px 9px; border-radius:12px; }
  .cookie-banner { flex-direction:column; gap:13px; padding:14px 4px; font-size:1rem; }
  .cookie-banner-content { flex:unset; }
  .cookie-banner-buttons { flex:unset; gap:8px; }
}

/***** Remove scroll for open modal/menu *****/
body.menu-open, body.modal-open { overflow:hidden; }

/* === Focus Visibility === */
a:focus, .btn-primary:focus, .btn-secondary:focus, .mobile-nav a:focus, .cookie-btn:focus, .cookie-modal-close:focus { outline: 3px solid var(--brand-electric2); outline-offset:2px; }

/****** Hide visually but accessible: accessibility helper ******/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/****** Misc visuals ******/
hr {
  border:0; height:1px;
  background:var(--brand-electric2);
  margin: 20px 0;
  opacity:.14;
}
::-webkit-scrollbar { width:12px; background: var(--secondary-alt); }
::-webkit-scrollbar-thumb { background: var(--brand-electric2); border-radius:7px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

