/* --- 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;
}

html {
  /* Prevent mobile horizontal scroll */
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F3F6F9;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #232323;
  font-size: 16px;
  line-height: 1.6;
  -webkit-tap-highlight-color: rgba(0,0,0,0.08);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E57C25;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1F5673;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 22px;
}
strong, b {
  font-weight: 700;
}

/* --- ROOT BRAND COLORS AND FONTS --- */
:root {
  --color-primary: #1F5673;
  --color-secondary: #E57C25;
  --color-accent: #F3F6F9;
  --color-dark: #232323;
  --color-light: #fff;
  --color-contrast: #1F5673;
  --shadow-1: 0px 4px 16px rgba(31,86,115,0.07), 0px 1.5px 4px rgba(229,124,37,0.08);
  --shadow-card: 0 4px 20px rgba(31,86,115,0.10);
  --shadow-elevate: 0 8px 32px rgba(229,124,37,0.10);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
}
p, .p {
  margin-bottom: 15px;
  color: var(--color-dark);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.35rem;
  }
  h3, .h3 {
    font-size: 1.07rem;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 10px;
  }
}

/* --- GENERAL CONTAINERS & UTILITIES --- */
.container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 22px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
}

/* --- HEADER & NAVIGATION --- */
header, footer {
  background: var(--color-light);
  box-shadow: 0 2px 14px 0 rgba(31,86,115,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
}
header img {
  height: 52px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: color 0.18s, background 0.16s;
  padding: 6px 2px;
  border-radius: var(--radius-sm);
  position: relative;
}
nav.main-nav a.cta-button {
  color: var(--color-light);
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 11px 32px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.14rem;
  box-shadow: var(--shadow-1);
  margin-left: 18px;
  transition: background 0.15s, transform 0.17s, box-shadow 0.17s;
}
nav.main-nav a.cta-button:hover, nav.main-nav a.cta-button:focus {
  background: var(--color-primary);
  color: var(--color-light);
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-elevate);
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--color-secondary);
  background: rgba(229,124,37,0.11);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  margin-left: 10px;
  z-index: 2200;
  transition: color 0.18s, transform 0.15s;
}
.mobile-menu-toggle:active {
  color: var(--color-primary);
  transform: scale(0.95);
}

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

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  z-index: 4000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  padding-top: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 50px 12px rgba(31,86,115,0.18);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-light);
  position: absolute;
  top: 22px;
  right: 32px;
  cursor: pointer;
  z-index: 4500;
  transition: color 0.15s, transform 0.14s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 90vw;
  margin-left: 34px;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--color-light);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 0;
  border-radius: var(--radius-md);
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a.cta-button {
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 13px 32px;
  margin-top: 16px;
  font-size: 1.21rem;
  text-align: center;
  box-shadow: var(--shadow-1);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.09);
  color: var(--color-secondary);
}
.mobile-nav a.cta-button:hover, .mobile-nav a.cta-button:focus {
  background: var(--color-light);
  color: var(--color-primary);
  box-shadow: var(--shadow-elevate);
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(110deg, #F3F6F9 65%, #E57C25 100%);
  border-bottom: 4px solid var(--color-primary);
  padding: 64px 0 48px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: -1.2px;
  text-shadow: 0 2px 12px rgba(229,124,37,0.13);
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 6px;
  text-align: center;
}

/* --- FEATURES & CARDS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  padding: 32px 18px 23px 18px;
  box-shadow: var(--shadow-card);
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: transform 0.16s, box-shadow 0.19s;
  min-height: 230px;
}
.features-grid > div span {
  font-size: 2.15rem;
  margin-bottom: 3px;
  color: var(--color-secondary);
  background: rgba(229,124,37,0.10);
  padding: 8px 15px;
  border-radius: 40px;
}
.features-grid > div:hover{
  transform: scale(1.045) translateY(-2px);
  box-shadow: var(--shadow-elevate);
  z-index: 5;
}
.features-grid h3 {
  margin-bottom: 4px;
}
@media (max-width:1024px) {
  .features-grid > div {
    max-width: 48vw;
    min-width: 180px;
    padding: 21px 10px 20px 10px;
  }
}
@media (max-width:640px) {
  .features-grid {
    flex-direction: column;
    gap: 22px;
  }
  .features-grid > div {
    max-width: 97vw;
    min-width: none;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  flex: 1 1 290px;
  min-width: 220px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover {
  box-shadow: var(--shadow-elevate);
  transform: scale(1.03) translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 25px 18px;
}

/* --- SERVICES & OFFERS --- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.services-list li {
  background: var(--color-light);
  border-left: 5px solid var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 18px 18px 15px 20px;
  box-shadow: var(--shadow-1);
  margin-bottom: 6px;
  transition: border-color 0.15s, box-shadow 0.16s;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.services-list li a {
  font-weight: 700;
  margin-left: 12px;
  color: var(--color-primary);
}
.services-list li:hover {
  border-left: 5px solid var(--color-primary);
  box-shadow: var(--shadow-card);
}

.service-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  min-width: 225px;
  flex: 1 1 240px;
  min-height: 175px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 18px 19px 18px;
  gap: 11px;
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-elevate);
  transform: scale(1.04) translateY(-2px);
  z-index: 4;
}
@media (max-width: 980px) {
  .service-cards-grid {
    gap: 16px;
  }
  .service-card {
    min-width: 155px;
    padding: 16px 12px 13px 12px;
  }
}
@media (max-width: 640px) {
  .service-cards-grid {
    flex-direction: column;
    gap: 18px;
  }
  .service-card {
    width: 100%;
    min-width: unset;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-width: 265px;
  min-height: 145px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-secondary);
  transition: border-color 0.18s, box-shadow 0.16s;
  color: var(--color-primary);
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
}
.testimonial-card p {
  color: #232323;
  font-style: italic;
  font-size: 1.04rem;
}
.testimonial-card:hover {
  border-left: 5px solid var(--color-primary);
  box-shadow: var(--shadow-elevate);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 640px) {
  .testimonials-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: unset;
  }
}

/* --- TEXT-IMAGE/FEATURE-ITEM SECTION --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- CONTENT GRID (eg Datenschutz etc) --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- CTA BUTTON --- */
.cta-button {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--color-light)!important;
  background: var(--color-secondary);
  padding: 14px 38px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.17s, color 0.13s, box-shadow 0.15s, transform 0.12s;
  font-size: 1.16rem;
  border: none;
  margin-top: 7px;
  margin-bottom: 15px;
  cursor: pointer;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-light)!important;
  box-shadow: var(--shadow-elevate);
  transform: scale(1.04) translateY(-2px);
  text-decoration: none;
}

/* --- LISTS & INFO --- */
ul.info-list, ul {
  list-style: disc inside;
  margin-bottom: 18px;
}
ul.info-list li, ul li {
  margin-bottom: 6px;
}

/* --- FOOTER --- */
footer {
  padding: 36px 0;
  border-top: 4px solid var(--color-secondary);
  background: var(--color-light);
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px 44px;
  align-items: flex-start;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 50px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  transition: color 0.17s;
  margin-bottom: 4px;
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.97rem;
  color: #363c40;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #363c40;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-logo img {
    height: 44px;
  }
}

/* --- CONTACT PAGE --- */
.text-section {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 18px 22px 17px 22px;
  margin-bottom: 20px;
}
.text-section ul {
  margin-top: 10px;
  margin-left: 14px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.text-section img {
  width: 24px;
  height: 24px;
}
.text-section a {
  color: var(--color-secondary);
}
.text-section a:hover { color: var(--color-primary); }

/* --- THANK-YOU PAGE (Splash CTA) --- */
.thankyou-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  justify-content: center;
  min-height: 40vh;
  text-align: center;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 600px) {
  .container, .content-wrapper {
    padding: 0 4px;
  }
  h1, h2, h3 {
    text-align: left;
  }
  .footer-contact img { width: 20px; height: 20px; }
}

/* --- ANIMATIONS --- */
.cta-button, .card, .service-card, .testimonial-card,
nav.main-nav a, .mobile-nav a {
  transition: box-shadow 0.16s, transform 0.15s, color 0.15s, background 0.15s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3999;
  background: var(--color-light);
  box-shadow: 0 -4px 26px 0 rgba(31,86,115,0.08);
  padding: 28px 18vw 28px 18vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
  min-height: 82px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.28s, transform 0.34s;
  font-size: 1.04rem;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner__content {
  flex: 1 1 300px;
  color: var(--color-primary);
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: var(--color-primary);
  color: var(--color-light);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.04rem;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  margin-right: 7px;
  transition: background 0.14s, color 0.13s, transform 0.14s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
}
.cookie-btn.reject {
  background: #999;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-light);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.09) saturate(1.08);
  outline: none;
  transform: scale(1.04);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-light);
  border-color: var(--color-secondary);
}
@media (max-width: 900px) {
  .cookie-banner {
    padding: 24px 6vw 24px 6vw;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 17px 2vw 17px 2vw;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-direction: row;
    justify-content: flex-start;
    gap: 11px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed; left:0; right:0; top:0; bottom:0;
  background: rgba(40,40,40,0.40);
  z-index: 4100;
  display: none;
  justify-content: center;
  align-items: center;
  animation: modal-fadein 0.22s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes modal-fadein {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevate);
  padding: 32px 22px 28px 22px;
  min-width: 320px;
  max-width: 94vw;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-popfade 0.24s;
  position: relative;
}
@keyframes modal-popfade {
  from { opacity: 0; transform: scale(0.96);
  } to { opacity:1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.13s, transform 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-primary);
  transform: scale(1.09);
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.01rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 13px;
  background: #ddd;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 4px 0 rgba(31,86,115,0.15);
  transition: transform 0.17s cubic-bezier(0.38,1.45,0.54,1);
}
.cookie-toggle:checked:before {
  transform: translateX(17px);
}
.cookie-category label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-category.essential label {
  color: #999;
}
.cookie-category.essential .cookie-toggle {
  background: #bbb;
  cursor: not-allowed;
}
.cookie-category.essential .cookie-toggle:before {
  background: #f9f9f9;
}

/* --- UTILITY CLASSES --- */
.hide { display: none !important; }
.show { display: block !important; }
.no-scroll {
  overflow: hidden;
}
.text-center {
  text-align: center;
}
.flex { display: flex; }
.flex-center { justify-content: center; align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-16 { gap: 16px; }
.mt-32 { margin-top: 32px; }

/* --- HIGH CONTRAST FOR ACCESSIBILITY (esp. testimonials) --- */
.testimonial-card, .cookie-banner, .service-card, .features-grid > div, .card {
  background: #fff;
  color: #232323;
}

/******* END ******/