/* === CSS RESET & BASE STYLES === */
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,
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.6;
  background: #fff;
  color: #181818;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* === BRAND FONTS & GLOBAL === */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700&display=swap');
:root {
  --primary: #181818;
  --secondary: #fff;
  --grey-100: #f7f7f7;
  --grey-200: #ededed;
  --grey-300: #d6d7d9;
  --grey-700: #232425;
  --brand-blue: #15466B;
  --brand-accent: #CC7B00;
  --brand-light: #ffffff;
  --brand-mid: #888888;
  --brand-dark: #101010;
  --radius: 10px;
  --shadow-sm: 0 2px 8px 0 rgba(20,24,34,0.08);
  --shadow-md: 0 4px 24px 0 rgba(11,12,13,0.11);
  --transition: 0.2s cubic-bezier(.4,.01,.165,.99);
}

body {
  background: var(--secondary);
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  max-width: 800px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
  text-rendering: optimizeLegibility;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; line-height: 1.13; }
h2 { font-size: 1.7rem; margin-bottom: 12px; line-height: 1.22; }
h3 { font-size: 1.17rem; margin-bottom: 12px; line-height: 1.25; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; line-height: 1.28; }
p {
  font-size: 1rem;
  color: var(--brand-dark);
  margin-bottom: 8px;
  line-height: 1.6;
}

strong {
  font-weight: bold;
}
.tagline {
  display: inline-block;
  font-style: italic;
  color: var(--brand-accent);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  margin-top: 6px;
}
.text-section {
  margin-bottom: 32px;
}
small {
  font-size: 0.9rem;
  color: var(--brand-mid);
}

/* === GLOBAL SPACING === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 900px) {
  .section { padding: 36px 10px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}

.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 28px;
  background: #f1f1f1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  color: #1c1c1c;
  max-width: 560px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card .stars {
  margin-top: 6px;
  color: var(--brand-accent);
  letter-spacing: 2px;
  font-size: 1.3em;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === BUTTONS & CTAs === */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: var(--radius);
  background: #181818;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  box-shadow: none;
  border: 2px solid #181818;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.cta.primary {
  background: #181818;
  border-color: #181818;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}
.cta.secondary {
  background: #fff;
  color: #181818;
  border-color: #181818;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--grey-200);
  color: #181818;
  border-color: var(--brand-blue);
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

nav a, .mobile-nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 16px 0 0;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
  line-height: 2;
}
nav a:last-child, .mobile-nav a:last-child { margin-right: 0; }
nav a:hover, nav a:focus,
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #181818;
  color: #fff;
}

/* === HEADER & FOOTER === */
header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(24,24,24,0.09);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img { height: 44px; }
header nav {
  display: flex;
  align-items: center;
  gap: 0;
}
footer {
  background: #181818;
  color: #fff;
  padding: 32px 0 18px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 52px;
}
footer img {
  height: 35px;
  margin-right: 18px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 0;
}
footer nav a {
  color: #fff;
  border-radius: 5px;
  background: transparent;
  font-size: 1rem;
  margin-right: 12px;
  padding: 4px 10px;
  transition: background var(--transition), color var(--transition);
}
footer nav a:last-child { margin-right: 0; }
footer nav a:hover, footer nav a:focus {
  background: #fff;
  color: #181818;
}
footer .text-section {
  flex: 1 1 100%;
  margin-top: 10px;
  text-align: right;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  footer .text-section {
    text-align: left;
    margin-top: 8px;
  }
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 100;
  background: #181818;
  color: #fff;
  border-radius: 6px;
  padding: 10px 17px;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.mobile-menu-toggle:active {
  transform: scale(0.97);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,.01,.165,.99);
  box-shadow: 0 2px 80px 0 rgba(24,24,24,0.22);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #181818;
  position: absolute;
  top: 18px;
  right: 26px;
  border: none;
  cursor: pointer;
  z-index: 300;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 70px;
}
.mobile-nav a {
  width: 100%;
  padding: 19px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #181818;
  background: none;
  border-bottom: 1px solid #e9e9e9;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #181818;
  color: #fff;
}
@media (max-width: 950px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none!important;
  }
  nav {
    display: flex!important;
  }
}

/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.faq-accordion h3 {
  font-size: 1.15rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #181818;
  margin-bottom: 4px;
  cursor: pointer;
  background: #f1f1f1;
  padding: 13px 18px;
  border-radius: 8px;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  background: #e1e1e1;
  color: var(--brand-blue);
}
.faq-answer {
  background: #fff;
  border-left: 4px solid #181818;
  padding: 17px 22px;
  margin-top: 0;
  border-radius: 0 8px 8px 0;
  color: #101010;
  font-size: 1rem;
  display: block;
  transition: background var(--transition), color var(--transition);
}

/* === CARD GRID, FEATURE ITEMS === */
.card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === SECTIONS, LAYOUT === */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* === REFERENZEN / TESTIMONIALS === */
.testimonial-card p {
  font-size: 1.10rem;
  color: #1b1b1b;
  margin-bottom: 5px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #474747;
  font-style: normal;
}

/* === RESPONSIVE DESIGN BREAKPOINTS === */
@media (max-width: 768px) {
  .container,
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
    max-width: 96vw;
  }
  .section,
  main > section {
    padding: 22px 0 16px 0;
    margin-bottom: 38px;
  }
  .card-container, .card-grid, .features, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 13px 10px;
    font-size: 1rem;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer {
    flex-direction: column;
  }
  .content-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* === COOKIE BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #181818;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  box-shadow: 0 -2px 14px 0 rgba(18,18,18,0.14);
  z-index: 400;
  gap: 24px;
  font-size: 1.05rem;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner span {
  flex: 1 1 70%;
  color: #fff;
}
.cookie-banner .cookie-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  margin-right: 0;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  background: #fff;
  color: #181818;
  border: 2px solid #181818;
  border-radius: 6px;
  min-width: 98px;
  padding: 7px 17px;
  font-weight: 600;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.2s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #fff;
  color: var(--brand-accent);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-md);
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #181818;
  border-color: #181818;
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: var(--grey-100);
  color: #181818;
  border-color: #181818;
  box-shadow: var(--shadow-sm);
}
.cookie-banner .cookie-btn.settings {
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #fff;
  color: #181818;
  box-shadow: var(--shadow-md);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 12px;
    font-size: 1rem;
  }
  .cookie-banner .cookie-btn {
    width: 100%;
    min-width: initial;
    margin: 3px 0 0 0;
    padding: 10px 8px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,30,30,0.78);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  padding: 36px 28px;
  border-radius: 18px;
  box-shadow: 0 6px 48px rgba(24,24,24,0.13);
  min-width: 330px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-modal h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.19rem;
  margin-bottom: 10px;
  color: #181818;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 42px; height: 24px;
  background: #c7c7c7;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--brand-accent);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(24,24,24,0.03);
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  color: #181818;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 25;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-accent);
}
.cookie-modal-action-row {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin: 0;
  min-width: 105px;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 16px 6px 20px 10px;
    min-width: 0;
  }
}

/* === FORM FIELDS === */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 11px 15px;
  border-radius: 7px;
  border: 1.5px solid #bbb;
  background: #fff;
  color: #181818;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 2px var(--brand-blue);
}

/* === MISC === */
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

hr {
  border: none;
  border-top: 1px solid #e6e6e6;
  margin: 24px 0;
}

/* === HIGH CONTRAST FOR MONOCHROME LOOK === */
.section, .content-wrapper, .card, .testimonial-card, .faq-answer {
  background: #fff;
}
header, footer {
  background: #181818;
}

/* === SCROLLBAR (optional for style) === */
body {
  scrollbar-color: #232425 #e0e0e0;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-thumb {
  background: #bbbbbb;
  border-radius: 3px;
}
::-webkit-scrollbar-track {
  background: #efefef;
}

/* === TRANSITION MICRO-INTERACTIONS === */
a, .cta, button, .card, .testimonial-card, .faq-accordion h3, input, textarea {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

/* ========== END ========== */
