/* ----------------------------------------------------
   CSS RESET & NORMALIZATION
---------------------------------------------------- */
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.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7FAFC;
  color: #1A3554;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A3554;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB11C;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-top: 8px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  color: #1A3554;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
::-webkit-input-placeholder { color: #97a3b4; }
::-moz-placeholder { color: #97a3b4; }
:-ms-input-placeholder { color: #97a3b4; }
::placeholder { color: #97a3b4; }

/* ----------------------------------------------------
   TYPOGRAPHY SCALE & HEADINGS
---------------------------------------------------- */
h1 { font-size: 2.1rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 14px; }
h3 { font-size: 1.17rem; margin-bottom: 10px; }
@media (min-width: 500px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.25rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.5rem; }
}
p, li, label { font-size: 1rem; color: #26364d; letter-spacing: 0;}
strong { font-weight: 600; }

/* ----------------------------------------------------
   GENERAL LAYOUT: Container, Section, Content
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1150px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(26,53,84,0.04);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* ----------------------------------------------------
   HEADER & NAVIGATION (Desktop & Mobile)
---------------------------------------------------- */
header {
  background: linear-gradient(90deg, #1A3554 60%, #D8E3EC 100%);
  box-shadow: 0 2px 14px rgba(26,53,84,0.06);
  padding: 0;
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  padding-bottom: 17px;
  gap: 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  color: #fff;
  position: relative;
  transition: color 0.25s;
}
header nav a:hover, header nav a:focus {
  color: #FFB11C;
}
.cta-button {
  background: linear-gradient(90deg, #FFB11C 60%, #FFD877 100%);
  color: #1A3554;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 27px;
  padding: 11px 32px;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(255,177,28,0.10);
  transition: background 0.18s, color 0.2s, box-shadow 0.22s, outline .15s;
  outline: none;
  display: inline-block;
  margin-left: 16px;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg,#FFD877 60%,#FFB11C 100%);
  color: #1A3554;
  box-shadow: 0 6px 18px 0 rgba(255,177,28,0.19);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  z-index: 40;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: rgba(255,177,28,0.09);
  color: #FFB11C;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(114deg,#1A3554 85%,#FFB11C 150%);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.87,-0.2,.19,1.02);
  padding: 0;
  min-height: 100vh;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFB11C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.45rem;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background .13s, color .16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255,177,28,0.18);
  color: #FFB11C;
}

@media (max-width: 1060px) {
  header .container nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1060px) {
  .mobile-menu { display: flex; }
  .mobile-menu:not(.open) { display: none; }
}
@media (min-width: 1061px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ----------------------------------------------------
   HERO & GRADIENT SECTIONS
---------------------------------------------------- */
.hero {
  min-height: 320px;
  display: flex;
  padding: 0;
  background: linear-gradient(110deg,#1A3554 65%,#D8E3EC 133%);
  color: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 14px 28px 0 rgba(26,53,84,0.12);
  margin-bottom: 60px;
  align-items: stretch;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 320px;
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero h1,
.hero p {
  color: #fff;
}
.hero .cta-button {
  margin-top: 24px;
}

/* ----------------------------------------------------
   FEATURE GRID & CARDS
---------------------------------------------------- */
.features {
  margin-bottom: 60px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  min-width: 230px;
  box-shadow: 0 2px 16px 0 rgba(26,53,84,0.07);
  margin-bottom: 20px;
  flex: 1 1 210px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item h3 {
  font-size: 1.13rem;
  color: #1A3554;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: bold;
}
.feature-item p {
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(26,53,84,0.13);
  transform: translateY(-3px) scale(1.025);
}

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
  }
}

/* Trust/Highlight Icons */
.trust-signs {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  font-weight: 500;
  color: #1A3554;
}
.trust-signs img {
  margin-right: 6px;
  height: 29px;
}
@media (max-width: 600px) {
  .trust-signs {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Content Cards Layout Example (not in base pages, but included if needed) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(26,53,84,0.07);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(26,53,84,0.15);
  transform: translateY(-3px) scale(1.017);
}

/* ----------------------------------------------------
   CONTENT GRIDS, FLEX & SPACING
---------------------------------------------------- */
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ----------------------------------------------------
   BENEFITS & LISTS
---------------------------------------------------- */
.benefits ul, .content-wrapper ul, .content-wrapper ol {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 24px;
}
.benefits ul li, .content-wrapper ul li {
  margin-bottom: 7px;
}

/* ----------------------------------------------------
   TESTIMONIALS
---------------------------------------------------- */
.testimonials {
  background: linear-gradient(95deg, #D8E3EC 70%, #fff 110%);
  border-radius: 24px;
  box-shadow: 0 2px 14px 0 rgba(26,53,84,0.04);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 16px 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(26,53,84,0.08);
  margin-bottom: 20px;
  min-width: 160px;
  max-width: 600px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.testimonial-card span {
  color: #1A3554;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0;
  align-self: flex-end;
}
.testimonial-card p {
  color: #26364d;
  font-size: 1.08rem;
  margin-bottom: 0!important;
  text-align: center;
  line-height: 1.5;
}
.testimonial-card:hover {
  box-shadow: 0 6px 34px 0 rgba(26,53,84,0.18);
  transform: translateY(-2px) scale(1.012);
}
@media (min-width: 1100px) {
  .testimonials .content-wrapper {
    flex-direction: row;
    gap: 28px;
    flex-wrap: wrap;
  }
  .testimonial-card {
    flex: 1 1 310px;
    max-width: 340px;
  }
}

/* ----------------------------------------------------
   CTA BANNER
---------------------------------------------------- */
.cta {
  background: linear-gradient(101deg, #FFB11C 71%, #D8E3EC 100%);
  border-radius: 18px;
  min-height: 120px;
  box-shadow: 0 4px 14px 0 rgba(255,177,28,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.cta .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta .cta-button {
  margin-top: 8px;
  font-size: 1.18rem;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
  background: linear-gradient(93deg, #1A3554 80%, #D8E3EC 108%);
  color: #fff;
  padding-top: 40px;
  padding-bottom: 18px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 6px;
}
.footer-brand img {
  height: 46px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: .01em;
  transition: color 0.16s;
  font-size: 1.01rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB11C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  background-color: #fff;
}
.footer-contact img {
  margin-right: 5px;
  vertical-align: middle;
}
.copyright {
  text-align: center;
  font-size: 0.92rem;
  color: #dde6f2;
  margin-top: 26px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .copyright {
    margin-top: 18px;
  }
}

/* ----------------------------------------------------
   FAQ & ACCORDION
---------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-item {
  background: #D8E3EC;
  border-radius: 16px;
  padding: 18px 22px 12px 22px;
  color: #1A3554;
  box-shadow: 0 1px 8px 0 rgba(26,53,84,0.05);
  transition: box-shadow 0.19s, background 0.16s;
}
.faq-item h2 {
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.faq-item p {
  font-size: 1rem;
  color: #26364d;
  margin-bottom: 0;
}
.faq-item:hover {
  box-shadow: 0 4px 12px 0 rgba(26,53,84,0.13);
  background: #E8EDF3;
}

/* Kontakt-CTA in FAQs */
.contact-cta, .faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
}
.contact-cta .cta-button, .faq-cta .cta-button {
  font-size: 1rem;
}

/* ----------------------------------------------------
   CONTENT FORMATTING & SECTIONS
---------------------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 24px;
}
.text-section li {
  margin-bottom: 7px;
  list-style: disc;
}

.step-list {
  margin-bottom: 18px;
}
.step-list li {
  margin-bottom: 9px;
}

.infographic-steps {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.project-highlights,
.confirmation-message,
.next-steps-info{
  margin-top: 18px;
}

/* ----------------------------------------------------
   CARDS
---------------------------------------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

/* ----------------------------------------------------
   CONTACT PAGE
---------------------------------------------------- */
.contact-details, .google-map {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.quick-contact {
  display: flex;
  align-items: center;
}
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* ----------------------------------------------------
   RESPONSIVE & MOBILE-FIRST
---------------------------------------------------- */
@media (max-width: 700px) {
  html { font-size: 15px; }
  .section, .testimonials, .cta {
    padding: 22px 7px;
    margin-bottom: 38px;
    border-radius: 12px;
  }
  .footer-brand img { height: 36px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .cta-button {
    width: 100%;
    min-width: unset;
    font-size: 1.12rem;
  }
  .footer-brand img { height: 29px; }
}

/* Ensure minimum 20px margin between content cards/sections on all screens */
section, .section, .testimonials, .cta {
  margin-bottom: 60px;
}
@media (max-width: 800px) {
  section, .section, .testimonials, .cta {
    margin-bottom: 34px;
  }
}

/* ---------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
--------------------------------------------- */
.cta-button, .feature-item, .testimonial-card, .faq-item, .card {
  transition: box-shadow 0.18s, background 0.17s, color 0.14s, transform 0.16s;
}
.cta-button:active {
  transform: scale(0.97);
}

/* ---------------------------------------------
   COOKIE CONSENT BANNER
--------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #1A3554;
  box-shadow: 0 -2px 24px 0 rgba(26,53,84,0.13);
  padding: 30px 18px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 95;
  font-size: 1rem;
  max-width: 100vw;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    font-size: 0.97rem;
    padding: 19px 9px 13px 9px;
  }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: linear-gradient(90deg,#FFB11C 60%,#FFD877 100%);
  color: #1A3554;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  padding: 7px 22px;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.17s, color 0.14s, box-shadow .14s;
  box-shadow: 0 2px 7px 0 rgba(255,177,28,0.13);
}
.cookie-btn.settings {
  background: linear-gradient(90deg,#D8E3EC 90%,#fff 100%);
  color: #1A3554;
  border: 1px solid #c6dbe9;
}
.cookie-btn:focus, .cookie-btn:active {
  outline: 2px solid #FFB11C;
  background: #FFD877;
  color: #1A3554;
}
.cookie-btn:hover {
  background: linear-gradient(90deg,#FFD877 40%,#FFB11C 100%);
  color: #1A3554;
}
@media (max-width: 500px) {
  .cookie-banner .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-btn { width: 100%; }
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,53,84, 0.44);
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s cubic-bezier(.64,0,.45,1.04);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #1A3554;
  border-radius: 20px;
  box-shadow: 0 2px 28px 0 rgba(26,53,84,0.19);
  width: 94vw;
  max-width: 370px;
  padding: 38px 22px 22px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popinCookie .45s cubic-bezier(.85,-0.13,.16,1.05);
}
@keyframes popinCookie {
  0% { transform: scale(.91) translateY(17px); opacity:0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.cookie-category .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #D8E3EC;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
  border: 1px solid #b4cde3;
}
.cookie-category .cookie-toggle:checked {
  background: #FFB11C;
  border-color: #ffbe43;
}
.cookie-category .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 rgba(26,53,84,0.12);
  transition: transform 0.15s;
}
.cookie-category .cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-category span {
  font-size: 1rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 26px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 7px 17px;
}
.cookie-modal .cookie-btn.settings {
  color: #1A3554;
  background: #D8E3EC;
}
.cookie-modal .cookie-btn.close-modal {
  position: absolute;
  top: 7px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #1A3554;
  padding: 0;
}
.cookie-modal .cookie-btn.close-modal:hover,
.cookie-modal .cookie-btn.close-modal:focus {
  color: #FFB11C;
}

/* ----------------------------------------------------
   MISC SUPPORTIVE STYLES
---------------------------------------------------- */
hr {
  border: none;
  border-bottom: 1px solid #e1e6eb;
  margin: 32px 0;
}
@media (max-width: 500px) {
  hr {
    margin: 24px 0;
  }
}

/* Utility Classes */
.d-none { display: none!important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mr-2 { margin-right:12px; }
.mb-1 { margin-bottom:8px; }
.mb-2 { margin-bottom:18px; }
.mt-2 { margin-top:18px; }

/* Hide scrollbars in modal when open */
html.cookie-modal-open, body.cookie-modal-open {
  overflow-y: hidden;
}

/* -----------------------------
   PRINT SUPPORT
----------------------------- */
@media print {
  header, footer, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body, html {
    background: #fff !important;
  }
}

/* END OF AutoScout Berlin Modern Gradient Style */
