/* ---- 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, 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { line-height: 1; }
body {
  background-color: #161a20;
  color: #F6F2ED;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  background: none;
}
button {
  background: none;
  border: none;
  outline: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

/* ---- ROOT VARIABLES ---- */
:root {
  --primary: #264653;
  --secondary: #67B178;
  --accent: #F6F2ED;
  --bg-dark: #161a20;
  --bg-gradient: linear-gradient(110deg,#1B222A 0%, #264653 100%);
  --neon: #30FFC4;
  --shadow: 0 4px 28px 0 rgba(38, 70, 83, 0.18);
  --radius: 18px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --transition: .24s cubic-bezier(.42,0,.58,1);
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-gradient);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 8px; }
h3 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 2px; }
h4, h5 { font-size: 1.05rem; }
p, ul, ol, li, a, div, input, label, strong {
  font-family: var(--font-body);
  color: var(--accent);
}
strong {
  font-weight: 600;
}
p, ul, ol, li, div {
  font-size: 1rem;
  line-height: 1.7;
}
ul, ol { margin-left: 0; padding-left: 0; }
ul li, ol li { margin-bottom: 8px; }

.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-section ul li {
  margin-bottom: 6px;
}

/* ---- MAIN LAYOUT ---- */
main {
  flex: 1 1 auto;
  min-height: 60vh;
}

/* ---- HEADER ---- */
header {
  width: 100%;
  background-color: #20242b;
  box-shadow: 0 0 22px -8px #01211C2a;
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
}
.logo {
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: filter .17s;
}
.logo img {
  max-height: 36px;
}

/* MAIN NAVIGATION */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition), background var(--transition);
  z-index: 1;
}
.main-nav a:hover, .main-nav a:focus {
  background: #25324a44;
  color: var(--neon);
}

.cta-primary {
  background-color: var(--secondary);
  color: #10251f !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  border-radius: 25px;
  box-shadow: 0 2px 12px 0 #90e5c8a1;
  padding: 12px 32px;
  border: none;
  outline: none;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--neon);
  color: #18302e !important;
  box-shadow: 0 0 0 3px #30FFC455;
}
.cta-secondary {
  background: transparent;
  color: var(--neon) !important;
  box-shadow: 0 0 0 2px var(--neon) inset;
  border-radius: 25px;
  font-family: var(--font-display);
  font-size: 1.13rem;
  padding: 10px 32px;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #30FFC422;
  color: #18302e !important;
  box-shadow: 0 0 0 3px #30FFC455;
}

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--neon);
  background: none;
  border-radius: 50%;
  padding: 8px;
  border: none;
  z-index: 41;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #30FFC42b;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #18232f;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 48px #01171e99;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--neon);
  align-self: flex-end;
  background: none;
  border: none;
  margin: 18px 23px 10px 0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #30FFC42b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: 42px;
  padding-left: 38px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.19rem;
  font-weight: 700;
  padding: 16px 0;
  margin-bottom: 0;
  width: 100%;
  border-bottom: 1px solid #23364c44;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--neon);
}

@media (max-width: 990px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .cta-primary { padding: 10px 20px; font-size: 1rem; }
  header .container { gap: 14px; }
}

@media (max-width: 768px) {
  .container { max-width: 99vw; padding-inline: 9px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.32rem; }
  .section { padding: 22px 7px; margin-bottom: 36px; }
  .content-wrapper { gap: 18px; }
  header .container { gap: 7px; }
}

/* ---- HERO SECTIONS, FEATURE GRIDS, CARDS ---- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.features-grid > div {
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 275px;
  background: #243646cc;
  border-radius: var(--radius);
  padding: 28px 18px 18px 18px;
  box-shadow: 0 2px 16px #202a3760;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid #1da69941;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.features-grid > div:hover {
  box-shadow: 0 4px 28px #30FFC425, 0 1px 1px #30FFC410;
  border: 1.5px solid var(--neon);
  transform: translateY(-4px) scale(1.017);
}
.features-grid img {
  max-width: 38px; max-height: 38px; margin-bottom: 3px;
}
.features-grid h3 { color: var(--neon); font-size: 1.1rem; }
.features-grid p { color: var(--accent); }

@media (max-width: 900px) {
 .features-grid {
   flex-direction: column;
   gap: 18px;
 }
 .features-grid > div { max-width: 100%; min-width: 0; width: 100%; }
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.service-list li {
  background: #222f33cc;
  border-radius: var(--radius);
  box-shadow: 0 1px 10px #26465333;
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 7px solid var(--secondary);
  position: relative;
  transition: border var(--transition), box-shadow var(--transition);
}
.service-list li:hover {
  border-left: 7px solid var(--neon);
  box-shadow: 0 4px 17px #30ffc43a;
}
.service-list strong {
  color: var(--neon);
  font-size: 1.09rem;
}

/* -- Cards for Angebote.html -- */
.service-card {
  background: #1c242b f0;
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 28px 21px 21px 21px;
  box-shadow: 0 4px 18px #13203524;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 2px solid #67B17855;
  position: relative;
  transition: border var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card strong {
  color: var(--secondary);
  font-size: 1.08rem;
}
.service-card:hover {
  border: 2px solid var(--neon);
  box-shadow: 0 8px 20px #30ffc425;
  transform: translateY(-3px) scale(1.017);
}

/* ---- TESTIMONIALS ---- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 20px;
  border-radius: var(--radius);
  background: #F6F2ED;
  color: #264653;
  box-shadow: 0 2px 26px #26465318;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 2px solid #67B17855;
  font-size: 1.13rem;
  transition: border var(--transition), box-shadow var(--transition), transform var(--transition);
}
.testimonial-card strong, .testimonial-card p {
  color: #18302e;
}
.testimonial-card:hover {
  border: 2px solid var(--neon);
  box-shadow: 0 3px 20px #30ffc431;
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 900px) {
 .testimonial-slider {
   flex-direction: column;
   gap: 14px;
 }
 .testimonial-card { max-width: 100%; min-width: 0; }
}

/* ---- TEXT/IMAGE & CONTENT FLEX SECTIONS ---- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #1B222A;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px #1B222A44;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition), border var(--transition);
}
.card:hover {
  box-shadow: 0 5px 20px #67B17844, 0 1px 2px #67B17823;
}

@media (max-width: 900px) {
  .text-image-section,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 15px;
  }
}

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

/* ---- FOOTER ---- */
footer {
  background: #142025;
  color: var(--accent);
  padding: 40px 0 15px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.logo-footer img {
  max-height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--neon);
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  font-size: 0.98rem;
  color: var(--accent);
  line-height: 1.5;
}
.footer-contact img {
  height: 17px;
  width: 17px;
  filter: brightness(0.85) contrast(1.2);
  margin-right: 7px;
  vertical-align: middle;
}
.footer-contact a { color: var(--secondary); text-decoration: underline; }
.footer-contact a:hover { color: var(--neon); }

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
  }
  .logo-footer { margin-bottom: 10px; }
}

/* --- BUTTONS --- */
button, .cta-primary, .cta-secondary {
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), border var(--transition);
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #1a2330ee;
  color: var(--accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 18px 24px;
  z-index: 10021;
  box-shadow: 0 -2px 24px #20707040;
  border-radius: 18px 18px 0 0;
  transition: transform 0.42s cubic-bezier(.61,0,.4,1), opacity .28s;
}
.cookie-banner.hide { transform: translateY(120%); opacity:0; }
.cookie-banner__text {
  flex: 1 1 0;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: linear-gradient(90deg, var(--secondary) 50%, var(--neon) 100%);
  color: #1e342a;
  padding: 9px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 17px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  font-size: 1.07rem;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: linear-gradient(90deg, var(--neon) 40%, var(--secondary) 100%);
  color: #152d23;
}
.cookie-btn--secondary {
  background: transparent;
  color: var(--neon);
  border: 2px solid var(--neon);
  box-shadow: 0 2px 10px #30ffc435;
}
.cookie-btn--secondary:hover, .cookie-btn--secondary:focus {
  background: #30FFC422;
  color: #1f3626;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 19px 6px 25px 6px;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #02141faf;
  z-index: 10101;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
  opacity:1;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal__dialog {
  background: #1b212d;
  color: var(--accent);
  border-radius: 22px;
  box-shadow: 0 6px 32px #30ffc421;
  padding: 38px 30px 32px 30px;
  min-width: 310px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: stretch;
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-modal__close {
  font-size: 1.55rem;
  background: none;
  color: var(--neon);
  border: none;
  border-radius: 50%;
  padding: 3px 7px;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal__close:hover { background: #30FFC42b; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  line-height: 1.45;
  color: var(--accent);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 16px;
  height: 16px;
  margin-right: 3px;
}
.cookie-category--essential input {
  accent-color: #aaa;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 460px) {
  .cookie-modal__dialog {
    padding: 18px 4vw 17px 4vw;
  }
  .cookie-modal__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 1px;
  }
  .cookie-modal__footer {
    flex-direction: column;
    gap: 9px;
  }
}

/* ---- ACCESSIBILITY & FOCUS ---- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  z-index: 2;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(23px); }
  to { opacity: 1; transform: none; }
}
.section, .card, .service-card, .testimonial-card {
  animation: fadeIn .88s cubic-bezier(.46,0,.66,1);
}

/* ---- RESPONSIVE UTILITY ---- */
@media (max-width: 600px) {
  .footer-nav, .footer-contact {
    font-size: 0.93rem;
  }
  .content-wrapper {
    gap: 11px;
  }
  .service-list li, .service-card {
    padding: 14px 9px;
  }
}

/* ---- SCROLLBAR STYLE ---- */
::-webkit-scrollbar {
  width: 10px; background: #14181c; border-radius: 10px;}
::-webkit-scrollbar-thumb {
  background: #26465355; border-radius: 10px;}
/* ---- END ---- */
