/* --- 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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F8FA;
  color: #17304A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #17304A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #F7B500;
  outline-offset: 2px;
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* --- ROOT VARIABLES FOR BRAND COLORS --- */
:root {
  --primary: #17304A;
  --secondary: #F7B500;
  --accent: #F6F8FA;
  --vibrant1: #EA4335;
  --vibrant2: #21D3C9;
  --vibrant3: #7668FB;
  --card-shadow: 0 4px 20px rgba(23,48,74,0.08), 0 1.5px 5px rgba(235,103,64,0.05);
  --border-radius: 18px;
  --main-gap: 24px;
}

/* --- GENERAL STYLES --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 10px;
}
h1 { font-size: 2.8rem; line-height: 1.12; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p, ul li, ol li, span, label {
  font-size: 1rem;
  color: #17304A;
  font-family: 'Roboto', Arial, sans-serif;
}
.subtitle {
  font-size: 1.33rem;
  color: var(--vibrant3);
  font-weight: 500;
}
strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: #17304A;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(23,48,74,0.06);
  padding: 0;
  z-index: 100;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
  padding: 0 20px;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.main-nav li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav li a:hover,
.main-nav li a:focus {
  background: var(--secondary);
  color: #fff;
}
.cta-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  background: linear-gradient(90deg, #F7B500 0%, #21D3C9 90%);
  color: #17304A;
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 1.11rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(247,181,0,0.18), 0 1px 6px rgba(23,48,74,0.05);
  transition: box-shadow 0.18s, transform 0.15s, background 0.2s;
  outline: none;
  margin-left: 18px;
  letter-spacing: 0.5px;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  color: #fff;
  background: linear-gradient(90deg, #21D3C9 0%, #F7B500 100%);
  box-shadow: 0 7px 24px rgba(33,211,201,0.25);
  transform: translateY(-3px) scale(1.04);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-right: 8px;
  z-index: 105;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fff23b;
  color: #EA4335;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,48,74,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.67,1.34,.34,.91);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  align-self: flex-end;
  margin: 20px 24px 0 0;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F7B500;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0 36px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  padding: 10px 0;
  border-left: 4px solid transparent;
  transition: color 0.2s, border 0.22s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F7B500;
  border-left: 4px solid #21D3C9;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 18px;
  }
  .cta-button {
    padding: 11px 20px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- SECTION SPACING & FLEXBOX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.26s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 36px #21D3C966, 0 2px 12px #F7B50055;
  transform: translateY(-4px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 34px;
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  box-shadow: 0 5px 25px #21D3C928, 0 1.5px 7px #F7B50022;
  min-width: 0;
  max-width: 540px;
}
.testimonial-card p {
  color: #17304A;
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card span {
  color: #17304A;
  font-weight: 700;
  font-size: 1.05rem;
}
.review-stars {
  font-size: 1.5rem;
  color: #F7B500;
  letter-spacing: 2px;
  text-shadow: 0 0 4px #fff;
}

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

/* --- FEATURE & SERVICE GRIDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2.5px 12px #21D3C91c;
  padding: 26px 22px;
  max-width: 220px;
  gap: 9px;
  font-size: 1rem;
  min-width: 160px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.feature-grid li:hover {
  box-shadow: 0 7px 24px #F7B50036, 0 1px 6px #21D3C933;
  transform: translateY(-3px) scale(1.03);
  background: #F7B50022;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 14px 0 0 0;
}
.category-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 11px 23px;
  font-weight: 700;
  color: var(--vibrant2);
  font-family: 'Montserrat',sans-serif;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px #21D3C914;
}
.service-grid,
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.service-grid > div, .service-cards > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 19px #17304A17, 0 1px 6px #F7B50019;
  padding: 24px 22px 30px;
  min-width: 200px;
  flex: 1 1 260px;
  max-width: 280px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.23s, transform 0.21s;
}
.service-grid > div:hover, .service-cards > div:hover {
  box-shadow: 0 8px 32px #21D3C955, 0 2px 10px #EA433528;
  background: #21D3C925;
  transform: translateY(-5px) scale(1.04);
}
.service-cards img {
  height: 40px;
  width: 40px;
  margin-bottom: 8px;
}
.service-grid a, .service-cards a {
  margin-top: 13px;
  text-align: left;
}

/* --- BLOG GRID --- */
.blog-teaser-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 17px;
  justify-content: flex-start;
}
.blog-teaser {
  background: #fff;
  border-radius: 15px;
  padding: 22px 20px 30px;
  min-width: 230px;
  flex: 1 1 280px;
  max-width: 350px;
  box-shadow: 0 2.5px 12px #F7B50017;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.blog-teaser:hover {
  box-shadow: 0 12px 38px #17304A2c, 0 3px 16px #F7B50018;
  transform: translateY(-6px) scale(1.05);
}
.blog-teaser h3 {
  font-size: 1.22rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--vibrant3);
  margin-bottom: 5px;
}
.blog-teaser a {
  color: #EA4335;
  font-weight: 700;
  margin-top: 6px;
  transition: color 0.18s;
}
.blog-teaser a:hover { color: #F7B500; }

.category-filter {
  display: flex;
  gap: 13px;
  margin-bottom: 22px;
}
.category-filter button {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  background: #F7B500;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 8px #EA433513;
  transition: background 0.14s, color 0.17s, transform 0.12s;
}
.category-filter button:hover, .category-filter button:focus { 
  background: #21D3C9;
  color: #fff;
  transform: translateY(-2px) scale(1.06);
}

/* --- VALUES & FAQ --- */
.values-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.values-list li {
  background: #21D3C9;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion h3 {
  font-family: 'Montserrat',sans-serif;
  color: #F7B500;
  font-size: 1.11rem;
  margin-bottom: 6px;
}
.faq-accordion p {
  background: #fff;
  border-radius: 13px;
  padding: 12px 20px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #17304A;
  box-shadow: 0 1.5px 8px #21D3C911;
}

/* --- AWARDS/BADGES --- */
.awards {
  background: #21D3C91a;
  padding: 19px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 6px #F7B50014;
  margin-top: 16px;
  color: #17304A;
}

.prozesse {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 20px;
}
.prozesse img {
  width: 55px; height: 55px;
}
@media (max-width: 700px) {
  .prozesse { flex-direction: column; gap: 10px; }
  .prozesse img { width: 41px; height: 41px; }
}

/* --- CONTACT FORM BLOCK --- */
.contact-form-block {
  background: #fff;
  padding: 24px 22px;
  border-radius: 14px;
  box-shadow: 0 2.5px 12px #21D3C912;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 420px;
}
.contact-form-block a {
  color: #21D3C9;
  font-weight: 700;
  text-decoration: underline;
}
.kontaktinfos {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* --- LIST STYLES --- */
ul, ol {
  margin: 0 0 12px 0;
  padding: 0;
}
ul li, ol li {
  margin-left: 0;
  margin-bottom: 8px;
}

/* --- FOOTER --- */
footer {
  background: #17304A;
  padding: 36px 0 24px 0;
  color: #fff;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-menu li a {
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-menu li a:hover { color: #F7B500; }
footer p, footer a { color: #fff; font-size: 0.95rem; }
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  background: #fff;
  border-radius: 50%;
  transition: box-shadow 0.13s, transform 0.13s;
  box-shadow: 0 1.5px 8px #F7B50017;
}
.social-links a:hover { box-shadow: 0 5px 18px #21D3C933; transform: scale(1.06); }
.social-links img { height: 20px; width: 20px; }

/* --- MODALS & OVERLAYS (Cookie Consent) --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #17304A;
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -2px 20px #21D3C922;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 26px 22px 26px;
  animation: slideup-in 0.42s cubic-bezier(.62,1.7,.55,1);
}
#cookie-banner p { color: #fff; max-width: 730px; font-size: 1.08rem; }
.cookie-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 30px;
  border-radius: 22px;
  background: #F7B500;
  color: #17304A;
  font-weight: 800;
  font-family: 'Montserrat',sans-serif;
  border: none;
  font-size: 1rem;
  box-shadow: 0 1px 7px #F7B50022;
  cursor: pointer;
  margin: 0;
  transition: background 0.14s, color 0.14s, transform 0.13s;
}
.cookie-btn.settings {
  background: #21D3C9;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #EA4335;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #fff23b;
  color: #17304A;
  transform: translateY(-2px) scale(1.06);
}
.cookie-btn.reject:hover {
  background: #EA4335;
  color: #fff;
}

@keyframes slideup-in {
  0% { transform: translateY(100%); opacity: 0.6; }
  100% { transform: translateY(0); opacity: 1; }
}

#cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,48,74,0.9);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s;
}
#cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}
#cookie-modal {
  background: #fff;
  color: #17304A;
  padding: 44px 30px 30px 30px;
  border-radius: 18px;
  max-width: 430px;
  width: 96vw;
  box-shadow: 0 8px 40px #EA433533, 0 2px 18px #21D3C933;
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: fadeIn 0.33s cubic-bezier(.55,0,1,1);
  position: relative;
  z-index: 3333;
}
#cookie-modal h3 {
  color: var(--primary);
  font-size: 1.24rem;
  font-family: 'Montserrat',sans-serif;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}
.cookie-switch input[type="checkbox"] {
  width: 38px; height: 22px;
  accent-color: #21D3C9;
}
.cookie-switch .label {
  font-weight: 700;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
}
.cookie-switch.essential input[type="checkbox"] {
  accent-color: #F7B500;
}
.cookie-switch.essential .label {
  color: #F7B500;
}
#cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 18px;
}
#cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #EA4335;
}
#cookie-modal-close:focus, #cookie-modal-close:hover { color: #17304A; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container { max-width: 960px; }
}
@media (max-width: 900px) {
  .container { max-width: 730px; }
}
@media (max-width: 800px) {
  .container { max-width: 98vw; }
  .section { padding: 26px 7px; }
  .content-wrapper { gap: 17px; }
  .testimonial-card { padding: 16px 10px; }
  .service-grid > div, .service-cards > div, .blog-teaser, .feature-grid li {
    min-width: unset;
    max-width: unset;
    flex: 1 1 97vw;
  }
  .feature-grid, .service-grid, .service-cards, .category-list, .blog-teaser-grid {
    gap: 13px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  .container { padding: 0 5px; }
  .testimonial-card, .card, .contact-form-block, .service-grid > div, .service-cards > div, .blog-teaser, .feature-grid li {
    padding: 14px 7px 18px 9px;
    gap: 10px;
    margin-bottom: 13px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 15px 7px 12px 7px;
  }
  .cookie-buttons {
    flex-wrap: wrap;
    gap: 11px;
  }
  #cookie-modal { padding: 22px 5.5vw 18px 5.5vw; }
}

/* --- UTILITY: Spacing/Alignment Helpers --- */
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* --- HIGHLIGHTS AND ACCENTS --- */
.bg-accent {
  background: #F7B500;
  color: #fff;
}
.bg-primary {
  background: #17304A;
  color: #fff;
}
.bg-secondary {
  background: #21D3C9;
  color: #fff;
}

/* --- ANIMATIONS & TRANSITIONS --- */
*:focus {
  outline: 2px solid #21D3C9;
  outline-offset: 2px;
}
button, input[type="button"], input[type="submit"], .cta-button {
  transition: box-shadow 0.17s, background 0.13s, color 0.13s, transform 0.09s;
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1px solid #17304A23;
  border-radius: 8px;
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
  width: 100%;
  background: #fff;
  color: #17304A;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid #21D3C9;
}

input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #21D3C9;
  vertical-align: middle;
}

/* --- Misc (for expats, badges, special elements) --- */
.badge {
  display: inline-block;
  background: #EA4335;
  color: #fff;
  font-size: 0.93rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 6px 14px;
  margin-left: 9px;
}

/* --- END OF CSS --- */
