/* === 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, main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F4F6F8;
  color: #233B5D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  font-size: 16px;
}
a {
  color: #233B5D;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.63,.01,.49,1.46);
}
a:hover, a:focus {
  color: #65A2B4;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #233B5D;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, dl {
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #233B5D;
}
p.subheadline {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #65A2B4;
  margin-bottom: 24px;
}
strong {
  font-weight: bold;
}
small {
  font-size: 0.9em;
}

/* === STRUCTURE === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(35,59,93,0.07);
}

.text-section {
  gap: 16px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(35, 59, 93, 0.09);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  justify-content: flex-start;
  position: relative;
}
nav .logo {
  margin-right: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 7px 14px;
  transition: background 0.18s, color 0.18s;
}
nav a.cta-btn {
  background: #233B5D;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(35,59,93,0.10);
  margin-left: auto;
  letter-spacing: 0.08em;
  font-size: 1.07rem;
  transition: background 0.17s, color 0.17s, box-shadow 0.24s;
}
nav a.cta-btn:hover, nav a.cta-btn:focus {
  background: #65A2B4;
  color: #fff;
  box-shadow: 0 4px 18px rgba(35, 59, 93, 0.15);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: #65A2B4;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 1302;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #233B5D;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #233B5D;
  color: #fff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.63,.01,.49,1.46), opacity 0.22s;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1311;
  padding: 0 0 8px 0;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #65A2B4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 44px 24px 0 40px;
  width: 85vw;
  max-width: 390px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  border-radius: 8px;
  padding: 11px 8px 13px 8px;
  letter-spacing: 0.07em;
  background: none;
  transition: background 0.19s, color 0.14s;
  text-transform: uppercase;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #65A2B4;
  color: #233B5D;
}
@media (max-width: 1050px) {
  nav {
    gap: 12px;
    padding: 14px 0 12px 0;
  }
  nav a {
    font-size: 0.93rem;
    padding: 5px 7px;
  }
  nav .logo {
    margin-right: 16px;
  }
}
@media (max-width: 900px) {
  nav a:not(.logo):not(.cta-btn) {
    display: none;
  }
  nav a.cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide desktop navigation in mobile */
@media (max-width: 768px) {
  nav {
    gap: 6px;
    padding: 8px 0;
  }
  nav .logo {
    margin-right: 10px;
  }
  nav a {
    font-size: 0.91rem;
    padding: 5px 6px;
  }
  .mobile-menu-toggle {
    padding: 7px 14px;
    font-size: 1.52rem;
  }
}

/* === HERO & CTA BUTTONS === */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #65A2B4;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 10px;
  padding: 16px 34px;
  margin-top: 18px;
  box-shadow: 0 2px 12px rgba(35, 59, 93, 0.14);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.22s, color 0.19s, transform 0.18s;
  text-transform: uppercase;
}
.cta-btn:hover, .cta-btn:focus {
  background: #233B5D;
  color: #fff;
  box-shadow: 0 6px 26px rgba(35,59,93,0.19);
  transform: translateY(-2px) scale(1.02) skew(-1deg);
}

/* === FLEXBOX PATTERNS (MANDATORY) === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,59,93,0.11);
  padding: 26px 22px;
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 2.5px solid #65A2B4;
  border-radius: 20px 8px 20px 8px;
  box-shadow: 0 2px 12px rgba(35,59,93,0.07);
  margin-bottom: 28px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURE & STEP GRIDS === */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature {
  flex: 1 1 210px;
  min-width: 220px;
  background: #F4F6F8;
  border-radius: 18px 4px 16px 8px;
  box-shadow: 0 2px 10px rgba(101,162,180,0.09);
  padding: 30px 18px 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, background 0.16s;
}
.feature img {
  width: 38px;
  height: 38px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 4px 22px 0 rgba(101,162,180,0.17);
  background: #fff;
}

.step_list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 22px;
}
.step {
  flex: 1 1 180px;
  min-width: 200px;
  background: #F4F6F8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,59,93,0.08);
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow 0.19s, background 0.16s;
}
.step img {
  width: 32px;
  height: 32px;
}
.step:hover, .step:focus-within {
  box-shadow: 0 4px 18px 0 rgba(101,162,180,0.14);
  background: #fff;
}

/* OLIST for steps in so-funktionierts.html */
ol.step_list, .step_list ol {
  padding-left: 0;
  list-style: none;
  gap: 26px;
}
.step_list li {
  display: flex;
  align-items: center;
  background: #F4F6F8;
  border-radius: 13px;
  box-shadow: 0 2px 7px rgba(35,59,93,0.07);
  padding: 16px 14px 16px 14px;
  margin-bottom: 12px;
  font-size: 1.11rem;
  gap: 18px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
  .feature_grid, .step_list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .step {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    width: 100%;
    max-width: 98vw;
    font-size: 1rem;
    padding: 16px 10px;
  }
}

/* === TESTIMONIALS SECTION === */
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #233B5D;
  margin-bottom: 10px;
  line-height: 1.4;
  quotes: "\201E" "\201C" "\201A" "\2018";
}
.testimonial-card blockquote:before {
  content: '';
}
.testimonial-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.testimonial-info span {
  font-size: 1rem;
  color: #233B5D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.testimonial-info img {
  width: 23px;
  height: 23px;
  margin-right: 0px;
}

/* === TABLES === */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px rgba(35,59,93,0.07);
  border-radius: 8px;
  overflow: hidden;
}
thead {
  background: #65A2B4;
  color: #fff;
}
th, td {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 14px 10px;
  text-align: left;
}
th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tbody tr {
  border-bottom: 1px solid #F4F6F8;
}
tbody tr:last-child {
  border-bottom: none;
}
tr:nth-child(even) td {
  background: #F7F9FA;
}

/* === FAQ & DL/UL LISTS === */
ul, ol {
  padding-left: 26px;
}
ul {
  list-style: square inside;
}
ol {
  list-style: decimal inside;
}
.text-section ul li, .service_list li, .included_services li {
  margin-bottom: 10px;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.08rem;
}
.text-section ul li img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  flex-shrink: 0;
}
.pricing_table {
  margin-bottom: 24px;
}
.faq dl, .text-section dl {
  margin-bottom: 18px;
}
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #233B5D;
  margin-bottom: 5px;
}
dd {
  margin-left: 0;
  margin-bottom: 13px;
}

/* === VISUAL TIMELINE for so-funktionierts.html === */
.visual_timeline {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #65A2B4;
  margin-top: 16px;
  margin-bottom: 10px;
}
.visual_timeline img {
  width: 26px;
  height: 26px;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: #233B5D;
  color: #fff;
  padding: 0 0 24px 0;
}
footer .container {
  padding-top: 30px;
  padding-bottom: 10px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer_menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.97rem;
  margin-bottom: 10px;
}
.footer_menu a {
  color: #65A2B4;
  transition: color 0.15s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.footer_menu a:hover, .footer_menu a:focus {
  color: #fff;
  text-decoration: underline;
}
.brand_statement {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  color: #F4F6F8;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.brand_statement img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.77;
  transition: opacity 0.16s, transform 0.13s;
  cursor: pointer;
}
.brand_statement img:hover,
.brand_statement img:focus {
  opacity: 1;
  transform: scale(1.12) rotate(-6deg);
}
.contact_summary {
  color: #A1C2DD;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 4px;
}
@media (max-width: 800px) {
  footer .container {
    padding-top: 14px;
    padding-bottom: 4px;
  }
  footer .content-wrapper {
    gap: 10px;
  }
  .brand_statement {
    font-size: 0.98rem;
    gap: 6px;
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 650px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 24px 5px;
  }
  .hero-content, .content-wrapper, .text-section, .card-container{
    padding-left: 0;
    padding-right: 0;
  }
  h1 { font-size: 1.55rem; margin-bottom: 15px; }
  h2 { font-size: 1.22rem; margin-bottom: 12px; }
  h3 { font-size: 1.09rem; }
}

/* === COOKIE CONSENT BANNER STYLE === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #233B5D;
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 18px 24px;
  box-shadow: 0 -2px 18px rgba(35,59,93,0.11);
  z-index: 2000;
  gap: 20px;
  opacity: 1;
  transition: transform 0.35s cubic-bezier(.7,0,.48,1.44), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #65A2B4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  margin-left: 0;
}
.cookie-banner button.cookie-settings { 
  background: #fff; 
  color: #233B5D;
  border: 2px solid #65A2B4;
  font-weight: 700;
  transition: background 0.18s, color 0.16s, border 0.17s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #233B5D;
  color: #fff;
  box-shadow: 0 2px 14px #65A2B422;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #65A2B4;
  color: #fff;
  border: 2px solid #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 12px 13px;
    font-size: 0.98rem;
    gap: 12px;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    gap: 10px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  z-index: 4000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,59,93,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #233B5D;
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(35,59,93,0.15);
  padding: 28px 20px 24px 28px;
  min-width: 320px;
  max-width: 90vw;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  animation: modalAppear 0.35s cubic-bezier(.6,1.7,.55,1) 1;
}
@keyframes modalAppear {
  0% { transform: translateY(80px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-toggle {
  width: 48px;
  height: 26px;
  background: #F4F6F8;
  border-radius: 20px;
  position: relative;
  margin-left: 8px;
  margin-right: 7px;
  transition: background 0.13s;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  display: inline-block;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #65A2B4;
  border-radius: 50%;
  transition: left 0.20s, background 0.19s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 25px;
  background: #233B5D;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal button {
  background: #233B5D;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.14s, color 0.17s;
}
.cookie-modal button.secondary {
  background: #fff;
  color: #233B5D;
  border: 2px solid #65A2B4;
}
.cookie-modal button.secondary:hover,
.cookie-modal button.secondary:focus {
  background: #65A2B4;
  color: #fff;
  border: 2px solid #233B5D;
}

/* === FORMS (future proof, in case of contact forms) === */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
input[type="text"], input[type="email"], textarea, select {
  border: 2px solid #65A2B4;
  border-radius: 7px;
  padding: 10px;
  background: #F7F9FA;
  color: #233B5D;
  margin-bottom: 16px;
  transition: border 0.15s, background 0.17s;
}
input[type="text"]:focus,
input[type="email"]:focus, textarea:focus, select:focus {
  border: 2px solid #233B5D;
  background: #fff;
}

/* === GEOMETRIC/STRUCTURED DECORATIVE SHAPES === */
.section {
  /* geometric accent */
  border-radius: 20px 8px 20px 8px;
  border-left: 4px solid #65A2B4;
  border-right: 2.5px solid #A1C2DD;
}
.feature, .step {
  border-radius: 17px 6px 14px 10px;
  border-left: 3px solid #65A2B4;
  border-bottom: 2px solid #A1C2DD;
}
@media (max-width:580px) {
  .section, .feature, .step {
    border-radius: 14px;
    border-left-width: 2px;
    border-bottom-width: 1.2px;
  }
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .feature, .step, .cta-btn, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.18s, background 0.18s, border 0.16s;
}
.card:hover, .feature:hover, .step:hover, .testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(35,59,93,0.10);
  transform: translateY(-3px) scale(1.01) skew(-0.5deg);
}

/* === UTILITY CLASSES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }

/* === ACCESSIBILITY === */
:focus {
  outline: 2.5px solid #65A2B4;
  outline-offset: 2px;
}

/* ==== END OF STYLE SHEET ==== */
