/* 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  background: #E8EAF1;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #153260;
  background: #E8EAF1;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #153260;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9A21B;
  outline: none;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}
/* FONT FACE --------------------------- */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700&display=swap');

/* VARIABLES & CORE COLORS --------------- */
:root {
  --primary: #153260;
  --secondary: #E8EAF1;
  --accent: #F9A21B;
  --grey: #F5F7FA;
  --border: #D1D6E0;
  --shadow: rgba(21,50,96,0.07);
}

/* UTILITY SPACING ---------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .content-wrapper { gap: 18px; }
}

/* TYPOGRAPHY ---------------------------- */
h1, .hero-section h1, .thankyou-hero-section h1 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
}
h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-section .subheadline, .thankyou-hero-section .subheadline, .subheadline {
  font-size: 1.25rem;
  color: #395081;
  font-weight: 400;
  margin-bottom: 12px;
}
p, ul, ol {
  font-size: 1rem;
  color: #26334D;
  margin-bottom: 0.6em;
}
strong, b {
  font-weight: 700;
}
.footer-contact p {
  font-size: 0.95rem;
}

.label, label {
  font-size: 1rem;
  color: #26334D;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  h1, .hero-section h1, .thankyou-hero-section h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* HEADER & NAVIGATION ------------------- */
header {
  width: 100%;
  background: linear-gradient(90deg, #153260 0%, #28497d 100%);
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 16px var(--shadow);
}
header > a img {
  height: 48px;
  margin: 18px 0 10px 20px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0 0 10px 20px;
}
.main-nav a {
  color: #fff;
  opacity: 0.93;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 4px;
  padding: 6px 10px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
  background: rgba(249,162,27,0.09);
}
.cta-btn-primary {
  background: linear-gradient(90deg, var(--accent) 40%, #FCCB7B 100%);
  color: var(--primary);
  font-size: 1.09rem;
  font-weight: 700;
  text-shadow: 0 0 1px #fff8;
  border-radius: 32px;
  padding: 10px 32px;
  margin: 10px 20px 10px 10px;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 12px var(--shadow);
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-btn-primary:hover, .cta-btn-primary:focus {
  background: linear-gradient(90deg, #ffb431 20%, #ffd99f 100%);
  color: #153260;
  box-shadow: 0 4px 28px 0 rgba(249,162,27,0.13);
}
.cta-btn-link {
  color: var(--accent);
  font-weight: 600;
  background: none;
  padding: 0 10px;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.13s, color 0.17s;
}
.cta-btn-link:hover, .cta-btn-link:focus {
  background: #fff2;
  color: var(--primary);
}
.footer-cta-btn {
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  border-radius: 20px;
  padding: 7px 18px 7px 18px;
  margin: 0 0 0 14px;
  transition: background 0.2s, color 0.16s;
}
.footer-cta-btn:hover, .footer-cta-btn:focus {
  background: #ffb74d;
  color: #153260;
}

/* MOBILE MENU - BURGER ------------------- */
.mobile-menu-toggle {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 320;
  padding: 6px 10px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(249,162,27,0.07);
  color: var(--accent);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(90deg, #153260 75%, #2674ad 100%);
  z-index: 1110;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 30px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  position: absolute;
  right: 28px;
  top: 22px;
  cursor: pointer;
  z-index: 1130;
  padding: 2px 10px;
  opacity: 0.92;
  transition: opacity 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  opacity: 1;
  color: var(--accent);
  background: rgba(249,162,27,0.14);
}
.mobile-nav {
  margin-top: 82px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 9px 0;
  display: block;
  border-radius: 7px;
  width: 92%;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff1;
  color: var(--accent);
}
@media (max-width: 1160px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
    margin-left: 10px;
  }
}
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .cta-btn-primary {
    margin-right: 60px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
}

/* HERO & SECTIONS ------------------------ */
.hero-section, .thankyou-hero-section {
  background: linear-gradient(90deg, #153260 0%, #28497d 100%);
  color: #fff;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 60px;
}
.hero-section .container, .thankyou-hero-section .container {
  display: flex;
  min-height: inherit;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-section .content-wrapper, .thankyou-hero-section .content-wrapper {
  color: #fff;
  gap: 18px;
  align-items: flex-start;
}
.hero-section h1, .thankyou-hero-section h1 { color: #fff; }
@media (max-width: 768px) {
  .hero-section, .thankyou-hero-section {
    min-height: 140px;
    padding: 0;
    margin-bottom: 36px;
  }
  .hero-section .container, .thankyou-hero-section .container {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* CARDS & FLEX CONTAINERS ---------------- */
.features-section, .about-teaser-section, .testimonials-section, .services-section, .newsletter-section, .partners-section, .legal-section, .comparison-section, .contact-section {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 22px var(--shadow);
  margin-bottom: 44px;
  padding: 44px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features-section .container, .newsletter-section .container, .about-teaser-section .container, .partners-section .container, .comparison-section .container, .contact-section .container, .testimonials-section .container, .services-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.features-section .content-wrapper,
.newsletter-section .content-wrapper,
.about-teaser-section .content-wrapper,
.comparison-section .content-wrapper,
.contact-section .content-wrapper,
.partners-section .content-wrapper,
.testimonials-section .content-wrapper,
.services-section .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 14px;
}
.feature-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  border-radius: 20px;
  box-shadow: 0 1px 8px var(--shadow);
  padding: 26px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.feature-box img {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
}
.feature-box:hover, .feature-box:focus-within {
  box-shadow: 0 8px 32px 0 rgba(21,50,96,0.12);
  transform: translateY(-4px) scale(1.03);
}
@media (max-width: 1024px) {
  .features-grid {
    gap: 18px;
  }
  .feature-box {
    min-width: 180px;
    padding: 18px 12px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* CARD AND FLEXBOX SCHEMAS ------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 12px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* TABLES - COMPARISON OVERVIEW (FOR UNTERNEHMENSVERGLEICHE) ---------- */
.comparison-table {
  width: 100%;
  border-radius: 14px;
  background: #fbfbff;
  box-shadow: 0 1px 10px var(--shadow);
  margin-bottom: 32px;
  overflow-x: auto;
}
.comparison-table th, .comparison-table td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid #e2e5ef;
  font-size: 1rem;
  color: #26334D;
}
.comparison-table th {
  color: var(--primary);
  font-weight: 700;
  background: #F2F4F7;
}
.comparison-table tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 600px) {
  .comparison-table th, .comparison-table td {
    padding: 8px 6px;
    font-size: 0.92rem;
  }
}

/* NEWSLETTER/SIGNUP ----------------------- */
.newsletter-signup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.newsletter-signup label {
  min-width: 112px;
}
.newsletter-signup input[type="email"] {
  border: 1px solid #D1D6E0;
  border-radius: 24px;
  background: #F9FAFC;
  padding: 10px 20px;
  font-size: 1rem;
  box-shadow: 0 1px 5px #15326011;
  width: 230px;
  transition: border 0.15s;
}
.newsletter-signup input[type="email"]:focus {
  border: 1.5px solid var(--accent);
}
@media (max-width: 600px) {
  .newsletter-signup {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .newsletter-signup input[type="email"] {
    width: 100%;
  }
}

/* TESTIMONIALS ---------------------------- */
.testimonials-section {
  background: #F9FAFC;
  box-shadow: 0 2px 22px var(--shadow);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px var(--shadow);
  margin-bottom: 24px;
  color: #1C2543;
  font-size: 1.09rem;
  transition: box-shadow 0.17s, transform 0.16s;
}
.testimonial-card p {
  color: #1C2543;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(21,50,96,0.11);
  transform: translateY(-4px) scale(1.02);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    font-size: 1rem;
    padding: 10px 10px;
  }
}

/* FOOTER ---------------------------------- */
footer {
  background: #153260;
  color: #fff;
  padding: 32px 0 0 0;
  margin-top: 40px;
  position: relative;
  flex-shrink: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.82;
  font-size: 1rem;
  transition: color 0.18s, opacity 0.16s;
}
.footer-nav a:hover,.footer-nav a:focus { color: var(--accent); opacity: 1; }
.social-media-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.social-media-links a img {
  width: 28px;
  height: 28px;
  opacity: 0.9;
  transition: opacity 0.14s, filter 0.28s;
  filter: grayscale(0.2);
}
.social-media-links a:hover img,
.social-media-links a:focus img {
  opacity: 1;
  filter: drop-shadow(0 2px 16px #F9A21B33);
}
.footer-contact {
  text-align: center;
  margin-bottom: 14px;
  color: #e1eaf9;
}
.footer-copyright {
  text-align: center;
  font-size: 0.98rem;
  color: #bdc7e2;
  padding-bottom: 16px;
}
@media (max-width: 768px) {
  .footer-nav { gap: 12px; }
}

/* COOKIE CONSENT BANNER ------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21450;
  background: linear-gradient(90deg,#fff 70%,#fef6ea 100%);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -2px 24px 0 #40406022;
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.cookie-banner__text {
  font-size: 1.05rem;
  color: #26334D;
  flex: 1 1 180px;
  min-width: 140px;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--accent);
  color: #153260;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.1s, box-shadow 0.18s;
  box-shadow: 0 1px 7px #F9A21B15;
  font-size: 1rem;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffb74d;
  color: #153260;
  box-shadow: 0 3px 15px #F9A21B33;
}
.cookie-settings-btn {
  background: #e4eefa;
  color: #153260;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 14px;
  font-size: 1rem;
  transition: background 0.13s, color 0.15s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #E8EAF1;
  color: var(--accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner__actions { gap: 8px; }
}

/* COOKIE MODAL ---------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 21500;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,50,96,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 44px 0 #22222236;
  min-width: 340px;
  max-width: 95vw;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.cookie-modal-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  color: #153260;
  font-size: 1.05rem;
  font-weight: 600;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 1.6rem;
  color: #bcc2d6;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn { min-width: 90px; }

/* LEGAL, ABOUT, PARTNERS, CONTACT --------- */
.legal-section {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 22px var(--shadow);
  margin-bottom: 44px;
  padding: 44px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.legal-section ul, .about-section ul {
  list-style-type: disc;
  margin-left: 26px;
  margin-bottom: 18px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.contact-info a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
.contact-info a:hover, .contact-info a:focus { color: #FFB300; }

/* THANK YOU PAGE SECTION ----------------- */
.thankyou-hero-section {
  background: linear-gradient(90deg, var(--primary) 0%, #28497d 100%);
}

/* UI MICRO-INTERACTIONS ------------------ */
input:focus, a:focus, button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button, a {
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}

/* SCROLLBAR STYLE ------------------------ */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e4eefa;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}

/* GENERAL RESPONSIVENESS ----------------- */
@media (max-width: 1024px) {
  .container { max-width: 99vw; }
  .section { padding: 32px 8px; margin-bottom: 36px; }
  .features-section, .about-teaser-section, .testimonials-section, .services-section, .newsletter-section, .partners-section, .legal-section, .comparison-section, .contact-section {
    padding: 28px 0;
  }
}
@media (max-width: 600px) {
  .section { padding: 16px 0; margin-bottom: 22px; }
  .features-section, .about-teaser-section, .testimonials-section, .services-section, .newsletter-section, .partners-section, .legal-section, .comparison-section, .contact-section {
    padding: 14px 0;
    border-radius: 12px;
  }
  .feature-box { border-radius: 12px; padding: 12px 7px; }
}
