/* ===================================================
   RESET & BASE STYLES
=================================================== */
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, center,
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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #162b32;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  color: #F7EFE7;
  background: linear-gradient(120deg,#1b3440 0%,#274B59 50%,#1b2f3b 100%);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #48e6b5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #81ffdb;
  outline: none;
}

strong {
  font-weight: 700;
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.15; letter-spacing: -1px; }
h2 { font-size: 2rem;  letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.15rem; }
p, ul, ol {font-size: 1rem;margin-bottom: 1.15em;}
ul, ol {padding-left:24px;}


/*
==================
CONTAINER & LAYOUT
==================
*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display:flex;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 6px;
    margin-bottom: 44px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/*
==================
HEADER
==================
*/
header {
  position: relative;
  width: 100%;
  z-index: 101;
  background: rgba(24,41,48, 0.97);
  box-shadow: 0 2px 16px 0 rgba(18,72,95,.14);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 7px #65ffe7cc);
}

/*
==================
NAVIGATION
==================
*/
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #F7EFE7;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #9DC6B8;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-size: 1.05rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 10px 28px;
  border: none;
  cursor: pointer;
  min-width: 170px;
  margin-left: 12px;
  transition: all 0.18s cubic-bezier(.39,.5,.55,1.08);
  box-shadow: 0 2px 16px 0 rgba(18,72,95,.10);
  text-shadow: 0 1px 8px #0004;
  outline: none;
}
.btn-primary {
  background: linear-gradient(95deg, #274B59 0%, #9DC6B8 100%);
  color: #fff;
  border: 1.8px solid #65ffe7;
  box-shadow: 0 0 12px 1px #81ffdb5a;
}
.btn-primary:hover, .btn-primary:focus {
  background: #48e6b5;
  color: #222;
  border-color: #9DC6B8;
  box-shadow: 0 0 24px 2px #65ffe7cc;
}
.btn-secondary {
  background: #F7EFE7;
  color: #274B59;
  border: 1.5px solid #9DC6B8;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #9DC6B8;
  color: #fff;
  box-shadow: 0 0 16px #9DC6B8;
}

/* =========================
  MOBILE MENU 
========================= */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #93fff9;
  font-size: 2.1rem;
  line-height: 1;
  padding: 6px 16px 6px 6px;
  margin-left: 8px;
  cursor: pointer;
  display: none;
  z-index: 105;
  transition: color .18s;
}
.mobile-menu-toggle:hover {
  color: #48e6b5;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #192932fa;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.39,.5,.55,1.08);
  z-index: 2000;
  padding: 18px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #ffe0d0;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 6px 24px 8px 24px;
  margin-bottom: 10px;
  align-self: flex-end;
  outline: none;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: #81ffdb;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  padding: 16px 28px;
}
.mobile-nav a {
  color: #F7EFE7;
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  padding: 12px 0;
  border-radius: 7px;
  background: none;
  transition: background .18s, color .18s, box-shadow .18s;
  margin: 0 0 4px 0;
  outline: none;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #48e6b611;
  color: #81ffdb;
  box-shadow: 0 0 12px 0 #274B59aa;
}

/* Ensure nav elements don't overlap */
@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ================
 MAIN
================== */
main {
  min-height: 60vh;
  width: 100%;
  margin-top: 0;
}

.subheadline {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.25rem;
  color: #acefd4;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* Feature Grid and Lists (Index, Leistungen, etc.) */
.feature-grid,
.usp-list,
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 12px;
  margin-bottom: 8px;
}
.feature-grid li,
.usp-list li,
.services-list li {
  background: rgba(18,31,44,0.92);
  border-radius: 18px;
  color: #f7efe7;
  box-shadow: 0 4px 22px 0 #02242040;
  padding: 26px 22px 18px 22px;
  min-width: 256px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1.2px solid #335e52cc;
  position: relative;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feature-grid li:hover,
.usp-list li:hover,
.services-list li:hover {
  box-shadow: 0 8px 36px 0 #48e6b533, 0 0 14px #65ffe7bb;
  border-color: #81ffdb;
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img {
  width: 38px; height: 38px; margin-bottom: 0.7em;
  filter: drop-shadow(0 0 18px #9DC6B8cc);
  transition: filter .2s;
}

.services-list li span,
.service-price {
  color:#65ffe7;
  font-weight:700;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1rem;
  margin-left:5px;
}

@media (max-width: 768px) {
  .feature-grid, .usp-list, .services-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .usp-list li, .services-list li {
    min-width: 0;
    width: 100%;
  }
}

/* ===========
   FAQ/Process
============= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}
.faq-item {
  background: rgba(37,54,70,0.89);
  border: 1.2px solid #335e52cc;
  border-radius: 12px;
  padding: 22px 20px 14px 26px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 #2ba38922;
  transition: box-shadow .18s, border-color .18s;
}
.faq-item h3 {
  font-size: 1.12rem;
  color: #9DC6B8;
  margin-bottom: 6px;
}
.faq-item:hover {
  box-shadow: 0 4px 18px 0 #78ffc033, 0 0 10px #65ffe7bb;
  border-color: #81ffdb;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
}
.process-steps li {
  padding: 18px 24px;
  background: rgba(36,70,78,0.69);
  border-radius: 12px;
  border: 1px solid #344;
  margin-bottom: 20px;
  min-width: 220px;
  box-shadow: 0 2px 8px 0 #48e6b511;
  font-size: 1.07rem;
  color: #fff;
  transition: box-shadow .18s, border-color .18s;
}
.process-steps li:hover {
  border-color: #9DC6B8;
  box-shadow: 0 2px 18px #48e6b522;
}
.process-steps h3 {
  color: #81ffdb;
  font-size: 1.08rem;
}

@media (max-width: 600px) {
  .faq-item, .process-steps li {
    padding: 14px 12px;
  }
}

/* ===========
   TESTIMONIALS
=============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F7EFE7;
  color: #1d222a;
  border-radius: 20px;
  border: 1.5px solid #9DC6B8;
  box-shadow: 0 4px 30px 0 #9DC6B880, 0 0 7px #65ffe71c;
  font-size: 1.1rem;
  position: relative;
  max-width: 650px;
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 42px #81ffdb65, 0 0 12px #274B591c;
  border-color: #81ffdb;
}
.testimonial-card .author {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: #274B59;
  font-size:1rem;
  background: none;
}
.testimonial-card .stars {
  color: #FFD700;
  font-size: 1.3rem;
  font-family: 'Lato', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #19353a;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 15px;
  }
}

/* Extra: testimonial contrast fix */
.testimonial-card, .testimonial-card p, .testimonial-card .author {
  color: #2b3038;
}
.testimonial-card .author {
  color: #274B59;
}

/* ===========
   FOOTER
============ */
footer {
  width: 100%;
  background: #1e3844;
  color: #F7EFE7;
  border-top: 2px solid #9DC6B8;
  box-shadow: 0 -2px 16px #65ffe74f;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 32px 20px 16px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav.main-footer {
  flex-direction: row;
  gap: 18px;
}
.footer-nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #F7EFE7;
  font-size: 1rem;
  opacity: .93;
  transition: color .18s, opacity .18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #9DC6B8;
  opacity: 1;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.footer-brand img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 7px #81ffdb88);
}
.footer-tagline {
  color: #9DC6B8;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow:0 1px 8px #1cd4c044;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.footer-social a img {
  height: 26px;
  width: auto;
  filter: grayscale(0%) drop-shadow(0 0 10px #65ffe7ad);
  transition: filter 0.2s, transform .16s;
}
.footer-social a:hover img {
  filter: brightness(120%) drop-shadow(0 0 18px #48e6b5e0);
  transform: scale(1.16) rotate(-7deg);
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    padding: 22px 8px 10px 8px;
    gap: 18px;
  }
  .footer-nav.main-footer {
    flex-direction: column;
    gap:8px;
  }
}

/* ===============
  GRID-CONTAINERS
================*/
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: space-between;
}
.card, .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(18,31,44,0.86);
  padding: 30px 24px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 #48e6b521;
  border: 1.2px solid #335e52cc;
  position: relative;
  gap: 15px;
  overflow: hidden;
  transition: box-shadow .18s;
}
.card:hover, .card-content:hover {
  box-shadow: 0 4px 32px 0 #65ffe733, 0 0 13px #48e6b5bb;
}

/* ================
  TEXT-IMAGE SECTIONS
====================*/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =============
  Feature Items
===============*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
 Section / Utility
=================*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA STYLES */
.main-footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
@media (max-width:480px){
  .main-footer-nav{gap:10px; flex-direction: column;}
}

/* Animations and effects */
.btn-primary,
.btn-secondary,
.main-nav a,
.mobile-nav a,
.card, .feature-grid li, .usp-list li, .services-list li,
.testimonial-card, .faq-item,
footer .footer-social a img {
  transition: all 0.18s cubic-bezier(.55,.04,.14,1.14);
}

/* ==============================
   Cookie Consent Banner/Modal
============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #142934;
  color: #F7EFE7;
  z-index: 9998;
  border-top: 2px solid #9DC6B8;
  box-shadow: 0 -7px 20px #65ffe780;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 6vw 18px 6vw;
  flex-direction: row;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  animation: cookie-bar-slidein 0.45s cubic-bezier(.38,.62,.49,1.51);
}
@keyframes cookie-bar-slidein {
  from {transform: translateY(100%);} to {transform: translateY(0);}
}
.cookie-banner p {
  font-size: 1.05rem;
  margin:0 0 0 0;
  color: #F7EFE7;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-direction: row;
}
.cookie-btn {
  background: #274B59;
  color: #fff;
  border-radius: 20px;
  padding: 8px 24px;
  border: 1.5px solid #9DC6B8;
  font-family: 'Playfair Display',serif;
  font-size: 1.05rem;
  cursor: pointer;
  margin-left: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #65ffe7;
  color: #184859;
}
.cookie-settings-btn {
  background: #9DC6B8;
  color: #274B59;
  border: 1.5px solid #fff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #48e6b5;
  color: #192932;
  border: 1.5px solid #65ffe7;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 13px 2vw 15px 2vw;
  }
  .cookie-banner .cookie-btns {
    gap: 10px;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left:0; top:0; width:100vw; height:100vh;
  background: rgba(19,45,57,.93);
  z-index: 10011;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .23s, visibility .23s;
}
.cookie-modal.open {
  visibility: visible; opacity: 1;
}
.cookie-modal-inner {
  min-width: 320px;
  max-width: 94vw;
  background: #F7EFE7;
  color: #183541;
  border-radius: 22px;
  border: 2px solid #9DC6B8;
  padding: 38px 32px 24px 32px;
  box-shadow: 0 10px 60px 0 #48e6b5aa, 0 0 7px #65ffe71c;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-fade 0.3s cubic-bezier(.38,.62,.49,1.51);
  position: relative;
}
@keyframes cookie-modal-fade {
  from {opacity:0;transform:scale(0.9);} to {opacity:1;transform:scale(1);}
}
.cookie-modal-inner h3{
  font-family:'Playfair Display',serif;
  font-size:1.18rem;
  color:#274B59;
  margin-bottom:8px;
}
.cookie-modal-inner .cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  font-size:1rem;
}
.cookie-modal-inner .toggle {
  width: 46px; height: 26px;
  display:inline-block; position:relative;
}
.cookie-modal-inner .toggle input {
  opacity:0; width:0; height:0; position: absolute; left:-9999px;
}
.cookie-modal-inner .slider {
  position:absolute; cursor:pointer;
  left:0;top:0;right:0;bottom:0;
  background:#9DC6B8;
  border-radius:22px;
  transition:.18s;
}
.cookie-modal-inner .toggle input:checked + .slider {
  background:#48e6b5;
}
.cookie-modal-inner .slider:before{
  content:''; position:absolute; height:20px; width:20px; left:3px; bottom:3px;
  background:#fff; border-radius:50%; transition:.18s;
  box-shadow:0 1px 5px #48e6b522;
}
.cookie-modal-inner .toggle input:checked + .slider:before {
  left:22px;
}
.cookie-modal-inner .toggle[aria-disabled='true'], .cookie-modal-inner .toggle[aria-disabled='true'] .slider {
  background:#D0D3CD!important; opacity:0.7; pointer-events:none;
}
.cookie-modal-close {
  position: absolute; right: 18px; top: 17px;
  background: none; border: none;
  font-size: 1.9rem; color:#274B59;
  cursor:pointer;
  transition:color .13s,transform .18s;
}
.cookie-modal-close:hover {
  color:#48e6b5;
}
.cookie-modal-actions {
  display:flex;
  flex-direction:row;
  gap:18px;
  justify-content: flex-end;
  margin-top: 5px;
}
.cookie-modal-actions .cookie-btn {
  min-width:100px;
}

@media (max-width:480px){
  .cookie-modal-inner{
    max-width:96vw;
    padding:20px 7vw 15px 7vw;
  }
}

/* =======================
MEDIA QUERIES RESPONSIVE
======================= */
@media (max-width:1024px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width:768px) {
  h1{font-size:2rem;}
  h2{font-size:1.44rem;}
}
@media (max-width:600px){
  h1{font-size:1.35rem;}
  h2{font-size:1.16rem;}
  .section{padding:20px 6px;}
}

/* =======
Scrollbar
=========*/
::-webkit-scrollbar {
  width: 10px;
  background: #1b3440;
}
::-webkit-scrollbar-thumb {
  background: #274B59;
  border-radius: 12px;
}
/* ===============
 Selection highlight
===================*/
::selection {
  color: #1a2c31;
  background: #81ffdbc1;
}

/* =====================
 A little neon deco border
====================== */
.card::before, .feature-grid li::before, .usp-list li::before, .services-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  border: 1.5px solid #48e6b544;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 18px #81ffdb99, 0 0 5px #65ffe7cc;
  opacity: 0.25;
  z-index: 0;
  transition: box-shadow .18s, opacity .18s;
}
.card:hover::before, .feature-grid li:hover::before, .usp-list li:hover::before, .services-list li:hover::before {
  opacity: 0.42;
  box-shadow: 0 0 22px #65ffe7bb, 0 0 13px #48e6b5cc;
}

/* Hide deco on testimonials (light background) */
.testimonial-card::before { display: none !important; }

/* ===================
 ACCESSIBILITY FOCUS
===================*/
:focus-visible {
  outline: 2px dashed #65ffe7;
  outline-offset: 2px;
}

/* ===============
  PRINT (minimal)
=================*/
@media print {
  body, html { background: #fff; color: #181a1c; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  a, a:visited { color: #19353a !important; }
}
