/* ===== 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #0a1216;
  color: #E8F2F8;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
  padding-left: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
strong { font-weight: bold; }

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #0a1216;
  color: #E8F2F8;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F0C620;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.25rem; margin-bottom: 8px; }
p, ul, ol, li { font-size: 1rem; color: #BBE1F5; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

/* ==== CONTAINER & SPACING ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #12202C;
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 rgba(35,51,60,0.18);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==== HEADER ==== */
header {
  background: #1A3642;
  box-shadow: 0 2px 18px 0 rgba(16,34,42,0.3);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 30px;
}
header img {
  height: 44px;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F0C620;
  font-size: 1rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
nav a:hover {
  color: #67A5B7;
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,#67A5B7 0,#F0C620 100%);
  transition: width 0.2s;
  border-radius: 2px;
}
nav a:hover::after {
  width: 100%;
}

/* ==== HERO SECTIONS ==== */
.hero {
  padding-top: 60px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #182634 50%, #22384a 100%);
  box-shadow: 0 2px 24px 0 rgba(45,90,118,0.09);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #F0C620;
  text-shadow: 0 2px 8px #07395c80;
}
.hero p {
  color: #C5E3F9;
}

/* ==== CTA BUTTONS ==== */
.cta {
  display: inline-block;
  padding: 16px 38px;
  border-radius: 80px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  background: #67A5B7;
  color: #111B21;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 16px 0 rgba(70,170,190,0.14);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.22s, color 0.2s, box-shadow 0.22s, transform 0.16s;
  margin-top: 8px;
}
.cta.primary {
  background: #F0C620;
  color: #11303C;
  box-shadow: 0 2px 24px 0 rgba(232, 203, 44, 0.27);
  text-shadow: 0 1px 12px #cabd558c;
}
.cta:hover, .cta:focus {
  background: #1A3642;
  color: #F0C620;
  box-shadow: 0 2px 32px 0 #67A5B744;
  transform: translateY(-3px) scale(1.05);
}
.cta.primary:hover, .cta.primary:focus {
  background: #67A5B7;
  color: #F0C620;
}

/* ==== FLEXBOX UTILITY CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #152540;
  color: #BBE1F5;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(60,130,170,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 32px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 2px 32px 0 #67A5B744, 0 0 0 3px #F0C62080;
  transform: translateY(-4px) scale(1.01);
  z-index: 2;
}
.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;
  background: #FEFEFE;
  color: #12202C;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(16,30,40,0.09);
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 260px;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  color: #182634;
  font-weight: 500;
  margin-right: 12px;
}
.testimonial-card span {
  color: #67A5B7;
  font-size: 1rem;
  margin-left: auto;
  font-family: 'Montserrat', sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURES & FAQ ACCORDIONS === */
.features ul {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.features ul li {
  line-height: 1.6;
  margin-bottom: 10px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-accordion > div {
  background: #152540;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 12px 0 rgba(70,160,170,0.07);
  transition: box-shadow 0.15s;
}
.faq-accordion > div:hover {
  box-shadow: 0 2px 24px 0 #F0C62029, 0 0 0 3px #67A5B769;
}

/* ==== TEAM/FEATURE GRID ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #20394b;
  color: #F0C620;
  border-radius: 13px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px 0 #1A36422b;
  margin-bottom: 20px;
  min-width: 200px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.feature-grid > div:hover,
.feature-grid > div:focus {
  box-shadow: 0 2px 30px 0 #F0C6203b, 0 0 0 2px #67A5B7;
  transform: translateY(-4px) scale(1.015);
  color: #67A5B7;
}

/* ==== SLIDER (Testimonials) ==== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* ===================== FOOTER ==================== */
footer {
  background: #1A3642;
  color: #A0D4E9;
  padding: 40px 0 24px 0;
  font-size: 0.98rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -2px 18px 0 rgba(16,34,42,0.18);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  gap: 20px;
}
footer nav a {
  color: #F0C620;
  font-size: 0.97rem;
  padding: 4px 0;
}
footer nav a:hover {
  color: #67A5B7;
}
footer img {
  height: 42px;
}
footer p {
  text-align: center;
  color: #D4EDFC;
  margin-top: 10px;
  font-size: 0.99rem;
}

/* ===================== MOBILE MENU ==================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 120;
  background: #0a1216;
  color: #F0C620;
  border: none;
  border-radius: 60px;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.14);
  transition: background 0.18s, box-shadow 0.18s, color 0.16s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1A3642;
  color: #67A5B7;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a1216ee;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.42,1.13,.79,.99);
  box-shadow: -4px 0 32px 6px #1A364280;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 36px;
  background: #22384a;
  color: #F0C620;
  font-size: 2.2rem;
  border-radius: 40px;
  border: none;
  width: 42px;
  height: 42px;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 #F0C62040;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F0C620;
  color: #20394b;
}
.mobile-nav {
  margin: 90px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-nav a {
  color: #F0C620;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.33rem;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 18px;
  min-width: 210px;
  text-align: center;
  background: none;
  transition: background 0.19s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F0C620;
  color: #1A3642;
}

/* =============== COOKIE BANNER & MODAL =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #152540;
  color: #E8F2F8;
  border-top: 5px solid #F0C620;
  box-shadow: 0 -1px 16px 0 #1A364299;
  z-index: 5000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 28px 32px 28px 20px;
  gap: 26px;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.37,.83,.78,.98), opacity 0.23s;
}
.cookie-banner.closed {
  opacity: 0;
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner p {
  flex: 2 1 200px;
  color: #F0C620;
  font-weight: 600;
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-banner button {
  padding: 10px 30px;
  border-radius: 90px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 #F0C62028;
  background: #67A5B7;
  color: #0a1216;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.15s;
}
.cookie-btn.accept {
  background: #F0C620;
  color: #12202C;
}
.cookie-btn.reject {
  background: #1A3642;
  color: #F0C620;
}
.cookie-btn.settings {
  background: #20394b;
  color: #F0C620;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #67A5B7; color:#F0C620;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F0C620; color: #20394b;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #67A5B7; color: #0a1216;
}

/* --- Cookie Modal --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 6000;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.95);
  min-width: 310px;
  max-width: 96vw;
  background: #14222e;
  color: #E8F2F8;
  border-radius: 17px;
  box-shadow: 0 8px 60px 3px #012121bb, 0 2px 18px #22384a77;
  padding: 36px 28px 28px 28px;
  transition: transform 0.36s cubic-bezier(.32,1.09,.7,1.06), opacity 0.27s;
  opacity: 0;
}
.cookie-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  color: #F0C620;
  margin-bottom: 20px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1.08rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 16px;
  color: #67A5B7;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F0C620;
  width: 19px; height: 19px;
}
.cookie-modal .category-info {
  margin-bottom: 8px;
  color: #F0C620;
  font-size: 0.98rem;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  padding: 12px 32px;
  font-size: 1.05rem;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 16px;
  right: 22px;
  color: #F0C620;
  background: #1A3642;
  border-radius: 80px;
  font-size: 1.4rem;
  border: none;
  padding: 0 0.55em;
  cursor: pointer;
}
.cookie-modal .close-modal-btn:hover, .cookie-modal .close-modal-btn:focus {
  background: #67A5B7; color: #0a1216;
}

/* =============== FORMS (Kontakt, Anfragen) =============== */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
input, textarea, select {
  border-radius: 9px;
  background: #bbecff1c;
  border: 2px solid #67A5B7;
  color: #F0C620;
  font-size: 1rem;
  padding: 14px 12px;
  transition: border 0.17s;
  outline: none;
  min-width: 0;
}
input:focus, textarea:focus, select:focus {
  border-color: #F0C620;
}
label {
  font-family: 'Montserrat', sans-serif;
  color: #67A5B7;
  font-size: 1.02rem;
  margin-bottom: 1px;
}

/* ========== MISCELLANEOUS ========== */
.map-placeholder {
  background: #1A3642;
  color: #F0C620;
  padding: 24px 20px;
  border-radius: 17px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.06rem;
  margin: 12px 0 0 0;
  box-shadow: 0 2px 12px rgba(100,186,202,0.09);
}
.text-section {
  margin-bottom: 12px;
}

/* ==== LEGAL SECTIONS ==== */
.legal {
  background: #12202C;
  color: #E8F2F8;
  border-radius: 22px;
  padding: 40px 22px;
  margin-bottom: 60px;
}
.legal ul {
  margin: 18px 0 12px 18px;
  color: #67A5B7;
  list-style: disc;
}
.legal h2, .legal h3 {
  color: #F0C620;
  margin-top: 28px;
}
.legal a { color: #F0C620; }
.legal a:hover { color: #67A5B7; }

/* =============== MEDIA QUERIES (RESPONSIVE) =============== */
@media (max-width: 1000px) {
  .container { max-width: 920px; }
  nav { gap: 18px; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; padding-left: 8px; padding-right: 8px; }
  header .container {
    flex-direction: row;
    gap: 18px;
    min-height: 64px;
  }
  nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  .section, .legal {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .hero { padding: 34px 0; }
  .content-grid, .feature-grid, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 20px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 18px; padding-bottom: 26px; }
  .section, .legal {
    padding: 16px 4px;
    margin-bottom: 26px;
  }
  .card, .feature-grid > div, .testimonial-card {
    padding: 18px 10px;
  }
  .cookie-banner {
    padding: 14px 8px 14px 7px;
    font-size: 0.98rem;
    gap: 10px;
  }
}

/* ==== ANIMATIONS ==== */
.cta, .card, .feature-grid > div, .testimonial-card, .faq-accordion > div {
  transition: box-shadow 0.23s cubic-bezier(.59,1.52,0,1), transform 0.15s cubic-bezier(.62,1.44,.31,1); 
}
.mobile-menu, .cookie-banner, .cookie-modal {
  transition: transform 0.3s cubic-bezier(.39,1.66,.36,1), opacity 0.2s cubic-bezier(.53,1.9,.4,1);
}
.content-wrapper, .feature-grid, .card-container, .testimonial-slider, .faq-accordion {
  gap: 20px;
}

/* ===== FINAL: SCROLLBAR (subtle, custom) ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #10232e;
}
::-webkit-scrollbar-thumb {
  background: #20394b;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #67A5B7;
}
