/* ============================
   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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F1F3F7;
  color: #274356;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #274356;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #C4931E;
}
a:hover {
  color: #C4931E;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 18px;
}
ul ul, ol ol {
  margin-bottom: 0;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1a2d3a;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1rem;
}
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.section {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 18px 0 rgba(39,67,86,0.05);
}
/* =====================
   HEADER & NAVIGATION
==================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(39,67,86,0.06);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  min-height: 76px;
}
header img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #274356;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 8px 10px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta {
  background: #C4931E;
  color: #fff;
  margin-left: 14px;
  padding: 10px 24px;
  border-radius: 24px;
  box-shadow: 0 4px 10px 0 rgba(196,147,30,0.06);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #b07d06;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(196,147,30,0.15);
}
.main-nav a:hover:not(.cta), .main-nav a:focus:not(.cta) {
  background: #F1F3F7;
  color: #C4931E;
}
/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
}
/* =====================
   HERO SECTION
===================== */
.hero {
  background: #F1F3F7;
  padding: 64px 0 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  gap: 18px;
}
.subheadline {
  font-size: 1.25rem;
  color: #274356;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
/* =====================
   FLEXBOX LAYOUT COMPONENTS
===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 10px 0 rgba(39,67,86,0.07);
  transition: box-shadow 0.2s, background 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(39,67,86,0.21);
  background: #F1F3F7;
}
.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: #F1F3F7;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(39,67,86,0.05);
  margin-bottom: 20px;
  min-width: 0;
  color: #1a2d3a;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #274356;
  flex: 1 1 auto;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-weight: 500;
  color: #274356;
}
.testimonial-card div {
  display: flex;
  gap: 4px;
  align-items: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div, .service-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(39,67,86,0.06);
  padding: 30px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 8px 22px 0 rgba(196,147,30,0.10);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img, .service-grid img {
  margin-bottom: 12px;
  height: 44px;
  width: 44px;
}
/* ================
   BUTTONS & LINKS
================ */
.cta, .card a.cta {
  background: #C4931E;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 26px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 16px 0 rgba(196,147,30,0.08);
  letter-spacing: 0.01em;
  margin-top: 18px;
  transition: background 0.2s, box-shadow 0.18s, transform 0.14s;
}
.cta:hover, .cta:focus {
  background: #b07d06;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(39,67,86,0.13);
  transform: translateY(-2px) scale(1.02);
}
.card a.cta {
  margin-top: 0;
}
/* ===============
   FOOTER
============== */
footer {
  background: #fff;
  border-top: 2px solid #F1F3F7;
  padding: 0 0 36px 0;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding: 36px 0 0 0;
}
.footer-content > a img {
  height: 34px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 24px;
}
.footer-nav a {
  color: #274356;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C4931E;
}
footer address {
  font-style: normal;
  color: #274356;
  font-size: 1rem;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer address a {
  color: #1a2d3a;
  transition: color 0.18s;
  word-break: break-word;
}
footer address a:hover, footer address a:focus {
  color: #C4931E;
}
footer img[alt="Telefon"], footer img[alt="E-Mail"] {
  height: 1.15em;
  margin-right: 6px;
  vertical-align: text-bottom;
}
/* ================
   FORMS
================ */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 1px solid #C4931E;
  border-radius: 7px;
  padding: 10px 15px;
  transition: border-color 0.15s, box-shadow 0.19s;
  margin-bottom: 18px;
  background: #fff;
  outline: none;
}
input:focus, textarea:focus {
  border-color: #B07D06;
  box-shadow: 0 2px 8px 0 rgba(196,147,30,0.09);
}
/* ================
   MOBILE NAVIGATION
================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 52;
  background: #274356;
  color: #fff;
  font-size: 2rem;
  border: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(39,67,86,0.11);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #C4931E;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,67,86,0.92);
  box-shadow: -1px 0 36px 2px rgba(39,67,86,0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.84,.03,.18,1);
  z-index: 70;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: transparent;
  border: none;
  margin: 24px 26px 0 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 90;
  transition: color 0.19s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #C4931E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 34px 40px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 10px;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C4931E;
  color: #1a2d3a;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 0 18px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 16px 12px;
  }
  .main-nav a {
    font-size: 0.95rem;
    padding: 7px 8px;
  }
}
@media (max-width: 780px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 8vw;
  }
  .footer-content {
    gap: 12px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav, footer address {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 22px 10px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  .hero {
    padding: 36px 0 18px 0;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  h1 {
    font-size: 1.55rem;
    margin-bottom: 10px;
  }
  .content-wrapper {
    padding: 0;
  }
  .feature-grid > div, .service-grid > div {
    padding: 20px 10px;
    min-width: 150px;
  }
}
/* Responsive layouts for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
/* Flex wrap on testimonial cards for small widths */
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }
  .footer-content {
    gap: 10px;
  }
}
/*=======================
   COOKIE CONSENT BANNER
======================*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #274356;
  box-shadow: 0 -2px 18px 0 rgba(39,67,86,0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 18px 12px;
  z-index: 120;
  gap: 24px;
  transition: transform 0.36s cubic-bezier(.81,.12,.16,1), opacity 0.36s;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner p {
  flex: 1 1 0;
  margin: 0 16px 0 0;
  color: #274356;
}
.cookie-consent-banner button, .cookie-consent-banner .consent-settings {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: #C4931E;
  padding: 9px 20px;
  margin-left: 8px;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  outline: none;
  box-shadow: 0 2px 6px 0 rgba(196,147,30,0.07);
  display: inline-block;
}
.cookie-consent-banner button:focus, .cookie-consent-banner button:hover {
  background: #b07d06;
}
.cookie-consent-banner .reject-btn {
  background: #fff;
  color: #274356;
  border: 1.4px solid #C4931E;
}
.cookie-consent-banner .reject-btn:focus, .cookie-consent-banner .reject-btn:hover {
  background: #F1F3F7;
  color: #b07d06;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
  }
  .cookie-consent-banner p {
    margin-right: 0;
  }
  .cookie-consent-banner button {
    margin-left: 0;
    margin-right: 7px;
  }
}
/* Cookie modal overlay and popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,67,86, 0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.33s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px 0 rgba(39,67,86,0.16);
  max-width: 420px;
  width: 98vw;
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal h3 {
  margin: 0 0 18px 0;
  font-size: 1.3rem;
  color: #1a2d3a;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.6rem;
  background: transparent;
  color: #1a2d3a;
  border: none;
  cursor: pointer;
  z-index: 9999;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
  color: #C4931E;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.cookie-category label {
  color: #274356;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category input[type='checkbox'] {
  accent-color: #C4931E;
  width: 22px;
  height: 22px;
}
.cookie-category.essential label {
  font-weight: bold;
  color: #b07d06;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: #C4931E;
  padding: 10px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  outline: none;
}
.cookie-modal-actions button:focus, .cookie-modal-actions button:hover {
  background: #b07d06;
}
.cookie-modal-actions .reject-btn {
  background: #fff;
  color: #274356;
  border: 1.4px solid #C4931E;
}
.cookie-modal-actions .reject-btn:focus, .cookie-modal-actions .reject-btn:hover {
  background: #F1F3F7;
  color: #b07d06;
}
@media (max-width: 520px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 18px 8px 14px 8px;
  }
}
/* ====== General Utility Classes for Spacing ===== */
.mt-24 { margin-top: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-12 { margin-top: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pt-24 { padding-top: 24px !important; }
.pb-32 { padding-bottom: 32px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ===============
   TYPOGRAPHY
=============== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --primary: #274356;
  --accent: #C4931E;
  --secondary: #F1F3F7;
  --dark: #1a2d3a;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--secondary);
  color: var(--primary);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
@media (max-width: 600px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.1rem; }
}
/* ===============
   MISC STYLE
=============== */
::-webkit-scrollbar {
  width: 12px;
  background: #F1F3F7;
}
::-webkit-scrollbar-thumb {
  background: #e7eaea;
  border-radius: 6px;
}
@media (max-width:380px) {
  .cookie-modal {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}
