/* == CSS RESET & NORMALIZE START == */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

:root {
  --ss-primary: #1A2229;
  --ss-secondary: #2992E4;
  --ss-accent: #F2F4F8;
  --ss-white: #fff;
  --ss-black: #14171A;
  --ss-grey-dark: #464A4F;
  --ss-grey-mid: #B5BEC9;
  --ss-grey-light: #E9EDF2;
  --ss-shadow: 0 2px 16px 0 rgba(22,30,44,0.06);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  color: var(--ss-primary);
  background: var(--ss-white);
  min-height: 100vh;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

strong, b {
  font-weight: 600;
  color: var(--ss-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ss-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 28px; }
h2 { font-size: 2rem; line-height: 1.17; margin-bottom: 20px; }
h3 { font-size: 1.375rem; line-height: 1.22; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 12px; }

p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Spacing tokens for minimalist white space */
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* == HEADER & NAVIGATION == */
header {
  background: var(--ss-white);
  box-shadow: 0 1px 12px 0 rgba(22,30,44,0.04);
  z-index: 1001;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ss-primary);
  line-height: 1.2;
  padding: 6px 2px;
  transition: color 0.16s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--ss-secondary);
}

/* CTA Button */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s;
  border: 1.5px solid var(--ss-secondary);
  color: var(--ss-secondary);
  background: var(--ss-white);
  box-shadow: none;
  margin-left: 16px;
  cursor: pointer;
}
.cta.primary {
  background: var(--ss-secondary);
  color: var(--ss-white);
  border: none;
  box-shadow: 0 2px 12px 0 rgba(41,146,228,0.05);
}
.cta:hover, .cta:focus {
  box-shadow: 0 3px 18px 0 rgba(41,146,228,0.11);
  background: var(--ss-accent);
  color: var(--ss-secondary);
  border-color: var(--ss-secondary);
}
.cta.primary:hover,
.cta.primary:focus {
  background: #167ccb;
  color: var(--ss-white);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--ss-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: background .19s;
  z-index: 1003;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--ss-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--ss-white);
  box-shadow: 0 5px 36px 0 rgba(26,34,41,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  z-index: 1100;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.66,.04,.45,1.01);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--ss-primary);
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 1200;
  transition: background .2s;
  padding: 4px 7px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--ss-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 74px;
  padding: 40px 32px 0;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.17rem;
  color: var(--ss-primary);
  text-decoration: none;
  padding: 13px 0 12px 0;
  border-bottom: 1px solid var(--ss-grey-light);
  transition: color .17s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--ss-secondary);
  background: var(--ss-accent);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 10px;
  }
  nav.main-nav {
    display: none;
  }
  .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* == HERO SECTION (index only) == */
.hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 340px;
  background: var(--ss-accent);
  border-radius: 0 0 28px 28px;
  box-shadow: var(--ss-shadow);
  margin-bottom: 60px;
  padding: 60px 0 48px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
.hero p {
  font-size: 1.22rem;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero .cta {
  margin: 0;
}

/* == FEATURES SECTION == */
.features {
  background: var(--ss-white);
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 28px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ss-accent);
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(41,146,228,0.03);
  padding: 32px 24px 28px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  gap: 15px;
  transition: box-shadow .20s, background .16s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  object-fit: contain;
}
.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 1rem;
  color: var(--ss-grey-dark);
}
.feature-item:hover,
.feature-item:focus-within {
  background: var(--ss-white);
  box-shadow: 0 5px 28px 0 rgba(26,34,41,0.09);
}

/* == SERVICES/INFORMATIVE SECTIONS == */
.services ul, .features ul, .steps ul, .steps ol, .text-section ul, .text-section ol {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services ul li span, .dienstleistungen ul li span {
  color: var(--ss-secondary);
  font-weight: 700;
}
.text-section {
  margin-top: 8px;
  color: var(--ss-grey-dark);
}
.text-section strong {
  font-weight: 500;
  color: var(--ss-primary);
}

/* == CARD/SECTION LAYOUTS == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--ss-white);
  box-shadow: var(--ss-shadow);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .16s;
  min-width: 260px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(41,146,228,0.13);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 840px) {
  .feature-grid { gap: 16px; }
  .card { padding: 23px 14px; }
  .feature-item { padding: 16px 10px 16px 10px; min-width: 140px; }
}
@media (max-width: 768px) {
  .section, section {
    padding: 22px 7px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 50px 0 34px 0;
  }
  .feature-item { min-width: 140px; padding: 12px 8px 12px 8px; }
  .features .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container { flex-direction: column; gap: 16px; }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column; gap: 14px; }
}

/* == CTA BLOCKS == */
.cta {
  background: var(--ss-white);
  box-shadow: 0 1px 4px 0 rgba(41,146,228,0.02);
  border-radius: 18px;
  padding: 34px 22px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta h2 {
  margin-bottom: 12px;
}

/* == PRICING TABLE == */
table {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--ss-shadow);
  background: var(--ss-white);
  overflow: hidden;
  font-size: 1rem;
  margin-bottom: 30px;
}
thead {
  background: var(--ss-accent);
}
th, td {
  padding: 16px 12px;
  text-align: left;
}
th {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--ss-primary);
}
td {
  border-bottom: 1px solid var(--ss-grey-light);
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody td:last-child { color: var(--ss-secondary); font-weight: 700; }

/* == TESTIMONIALS == */
.testimonials {
  background: var(--ss-accent);
  border-radius: 22px;
  margin-bottom: 70px;
  padding: 40px 0 54px 0;
  box-shadow: var(--ss-shadow);
}
.testimonials .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--ss-white);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 3px 18px 0 rgba(41,146,228,0.10);
  min-width: 250px; max-width: 350px;
  flex: 1 1 220px;
  font-size: 1.08rem;
  color: var(--ss-black);
  transition: box-shadow .18s;
}
.testimonial-card strong {
  font-family: var(--font-display);
  color: var(--ss-grey-dark);
  font-weight: 600;
  font-size: .96rem;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 26px 0 rgba(41,146,228,0.15);
}
@media (max-width: 768px) {
  .testimonials .testimonial-grid { flex-direction: column; gap: 15px; }
  .testimonial-card { max-width: 100%; min-width: 0; padding: 18px 10px; }
}

/* == FOOTER == */
footer {
  padding: 40px 0 20px 0;
  background: var(--ss-white);
  border-top: 1.5px solid var(--ss-grey-light);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-logo img {
  height: 46px;
}
.quick-links h3,
.contact-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--ss-primary);
}
.quick-links nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-links a, .legal-links a {
  color: var(--ss-grey-dark);
  text-decoration: none;
  font-size: .99rem;
  transition: color .14s;
}
.quick-links a:hover, .legal-links a:hover {
  color: var(--ss-secondary);
}
.legal-links {
  margin-top: 18px;
  font-size: .92rem;
  color: var(--ss-grey-dark);
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.contact-info {
  font-size: .96rem;
  color: var(--ss-grey-dark);
}
.contact-info a {
  color: var(--ss-secondary);
  text-decoration: underline;
}
@media (max-width: 900px) {
  .footer-content { flex-wrap: wrap; gap: 28px; }
}
@media (max-width: 768px) {
  footer .container { padding: 0 7px; }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-logo img { height: 38px; }
}

/* == LEGAL, TEXT SECTIONS, MISC == */
.legal {
  background: var(--ss-accent);
  border-radius: 18px;
  box-shadow: var(--ss-shadow);
  padding: 28px 24px;
}
.legal h1, .legal h2, .legal h3 {
  margin-bottom: 14px;
}
.text-section ul, .text-section ol {
  margin-bottom: 6px;
  gap: 6px;
}
.text-section {
  margin-bottom: 20px;
}

/* == THANK-YOU & MISC CTAs == */
.thank-you .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* == COOKIE BANNER & MODAL == */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  box-shadow: 0 6px 32px 0 rgba(41,146,228,0.15);
  background: var(--ss-white);
  border-radius: 15px;
  z-index: 1300;
  padding: 18px 26px 18px 24px;
  max-width: 96vw;
  width: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  color: var(--ss-primary);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 7px;
  border: none;
  background: var(--ss-accent);
  color: var(--ss-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-btn.accept {
  background: var(--ss-secondary);
  color: var(--ss-white);
  margin-right: 7px;
}
.cookie-btn.reject {
  background: var(--ss-grey-light);
  color: var(--ss-primary);
  border: 1px solid var(--ss-grey-mid);
}
.cookie-btn.settings {
  background: none;
  color: var(--ss-secondary);
  text-decoration: underline;
  border: none;
  padding-left: 0;
  padding-right: 0;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #167ccb;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--ss-accent);
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1) translateZ(0);
  background: var(--ss-white);
  border-radius: 17px;
  box-shadow: 0 5px 46px 0 rgba(41,146,228,0.16);
  z-index: 1350;
  max-width: 98vw;
  width: 480px;
  padding: 35px 32px 26px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s, transform .22s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1.03) translateZ(0);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 14px;
  gap: 10px;
  color: var(--ss-primary);
}
.cookie-modal input[type=checkbox]:disabled + span {
  color: var(--ss-grey-mid);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px; right: 22px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--ss-primary);
  cursor: pointer;
  transition: background .14s;
  border-radius: 4px;
  padding: 1px 7px;
}
.cookie-modal .cookie-close:hover,
.cookie-modal .cookie-close:focus {
  background: var(--ss-accent);
}
@media (max-width: 530px) {
  .cookie-banner { max-width: 97vw; width: 97vw; padding: 11px 7px; font-size: .96rem; left: 50%; }
  .cookie-modal { width: 94vw; padding: 15px 5vw 9vw 5vw; }
  .cookie-modal h2 { font-size: 1.09rem; }
}

/* == FORM ELEMENTS == */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--ss-grey-light);
  border-radius: 7px;
  padding: 10px;
  transition: border .16s, box-shadow .16s;
  background: var(--ss-white);
  color: var(--ss-primary);
  margin-bottom: 16px;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--ss-secondary);
  box-shadow: 0 2px 12px 0 rgba(41,146,228,0.07);
}
label {
  color: var(--ss-primary);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  font-size: .98rem;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* == MICROINTERACTIONS & GENERAL EFFECTS == */
a, button, .card, .feature-item, .testimonial-card {
  transition: box-shadow .17s, color .16s, background .16s;
}

/* == FOCUS VISIBLE == */
:focus-visible {
  outline: 2px solid var(--ss-secondary);
  outline-offset: 3px;
}

/* == ADJUSTMENTS FOR LARGE HEADINGS == */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

/* == GENERAL UTILITIES == */
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }

/* == END OF STYLES == */
