/* 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,
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: #F8F8F2; color: #1E3143; }
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 {
  --primary: #1E3143;
  --secondary: #51A6A6;
  --accent: #F8F8F2;
  --text-dark: #1E3143;
  --text-light: #FAFAFC;
  --bg-light: #F8F8F2;
  --shadow-lg: 0 6px 24px rgba(30, 49, 67, 0.10);
  --shadow-sm: 0 2px 8px rgba(30,49,67, 0.07);
  --radius: 12px;
  --radius-lg: 24px;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}

/* TYPOGRAPHY */
body { font-family: var(--font-body); font-size: 16px; color: var(--text-dark); background: var(--bg-light); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; line-height: 1.15; }
h2 { font-size: 1.8rem; line-height: 1.22; }
h3 { font-size: 1.3rem; }
h4, h5, h6 { font-size: 1.15rem; }
p, li, label, input, button, a { font-family: var(--font-body); font-size: 1rem; }
strong { font-weight: 700; color: var(--secondary); }

/* CONTAINER & STRUCTURE */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .content-wrapper { padding: 24px 12px; }
  .container { padding: 0 8px; }
}

/* HEADER & NAVIGATION */
header {
  background: white;
  border-bottom: 3px solid var(--secondary);
  position: relative;
  z-index: 10;
  width: 100vw;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
header img {
  height: 44px; width: auto; display: block;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
  font-family: var(--font-display);
  font-size: 1rem;
}
nav a.cta {
  background: var(--secondary);
  color: var(--accent);
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(81,166,166,0.10);
  letter-spacing: 0.12em;
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--primary);
  color: var(--accent);
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  background: #E0F7F6;
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  font-size: 2rem;
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 24px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
}

@media (max-width: 1000px) {
  header .container { flex-direction: row; gap: 0; }
  nav { gap: 16px; }
}
@media (max-width: 860px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 4px 24px rgba(30,49,67,0.12);
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 18px 22px 12px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 40px;
  gap: 22px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 10px;
  width: 100vw;
  box-sizing: border-box;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}

/* SECTION, FLEX UTILITY CLASSES & LAYOUT */
section { margin-bottom: 60px; padding: 40px 20px; }
@media (max-width: 768px) {
  section { padding: 22px 4px; margin-bottom: 36px; }
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container { flex-direction: column; gap: 16px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAFC;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(30,49,67,0.06);
  margin-bottom: 24px;
  flex: 1 1 350px;
  min-width: 220px;
  color: #212a36;
  position: relative;
}
.testimonial-card strong { color: var(--primary); font-size: 1.1em; }
.testimonial-card span {
  font-size: 1.2rem;
  color: var(--secondary);
}
@media (max-width: 768px) {
  .testimonial-card { flex-direction: column; gap: 12px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

/* BUTTONS & CTAS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--accent) !important;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  margin-top: 20px;
  font-size: 1.12rem;
  box-shadow: 0 2px 8px rgba(81,166,166,0.15);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.17s;
  text-decoration: none;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--accent) !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(30,49,67,0.13);
}

button, input[type="submit"] {
  font: inherit;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 7px;
  padding: 10px 18px;
  transition: background 0.17s, color 0.17s,box-shadow 0.19s;
  cursor: pointer;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--secondary);
  color: var(--accent);
  box-shadow: 0 2px 12px rgba(81,166,166,0.11);
}

/* PRICING TABLE */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.pricing-table > div {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 38px 28px 32px 28px;
  min-width: 200px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  margin-bottom: 20px;
}
.pricing-table .badge {
  background: var(--secondary);
  color: var(--accent);
  border-radius: 10px;
  padding: 3px 12px;
  font-size: 0.93em;
  font-weight: 700;
  margin-left: 5px;
  letter-spacing: 0.08em;
}
@media (max-width: 900px) {
  .pricing-table { flex-direction: column; gap:16px; }
  .pricing-table > div { width: 100%; min-width: 0; }
}

/* FAQ */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.faq > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  flex: 1 1 270px;
  min-width: 200px;
  margin-bottom: 16px;
}

/* BLOG LIST */
input[type="text"] {
  border: 1.5px solid var(--secondary);
  border-radius: 7px;
  padding: 10px 16px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 22px;
  margin-right: 10px;
}
input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(30,49,67,0.07);
}
.blog-categories span {
  display: inline-block;
  background: var(--secondary);
  color: var(--accent);
  border-radius: 7px;
  padding: 4px 12px;
  font-weight: 600;
  margin-right: 6px;
  font-size: 0.95em;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 44px 0 30px 0;
  font-size: 1rem;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  gap: 16px;
  margin-top: 10px;
}
footer nav a {
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
footer .contact-info {
  color: var(--accent);
  font-size: 0.97rem;
  margin-top: 10px;
  line-height: 1.5;
}
footer img {
  height: 33px;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  footer { padding: 32px 0 22px 0; }
}

/* TEXT-IMAGE SECTION & FEATURE LISTS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section img { height: 24px; width: auto; margin-right: 6px; vertical-align: middle; }
ul li {
  margin-bottom: 11px;
  padding-left: 0;
  position: relative;
  font-size: 1.02rem;
}
ul li strong { color: var(--secondary); font-weight: 700; }

/* BADGES, HIGHLIGHTS & MICRO-ELEMENTS */
.badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--accent);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 8px;
  font-size: 0.92em;
  letter-spacing: 0.06em;
}

/* MICRO INTERACTIONS, TRANSITIONS */
a, button, .cta, input[type="text"] {
  transition: all 0.17s cubic-bezier(.4,.7,.17,1);
}

/* GEOMETRIC/STRUCTURED EXTRAS */
.content-wrapper, .card, .feature-item, .testimonial-card, .faq > div, .pricing-table > div {
  border: 2.5px solid #E0F7F6;
  /* subtle, flat border accent for geometric/structured look */
}

/* Decorative geometric accent for section headings */
h2::before {
  content: '';
  display: inline-block;
  width: 30px; height: 7px;
  background: var(--secondary);
  vertical-align: middle;
  border-radius: 1px 16px 1px 1px;
  margin-right: 14px;
}
@media (max-width: 500px) {
  h2::before { width: 18px; margin-right: 7px; }
}

/* COOKIES: BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -3px 24px rgba(30,49,67,0.12);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1500;
  padding: 18px 2vw 18px 2vw;
  gap: 20px;
  transition: transform 0.35s, opacity 0.2s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: .98rem;
  line-height: 1.46;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-size: .98rem;
  border-radius: 8px;
  font-family: var(--font-body);
  border: 2px solid var(--secondary);
  background: var(--secondary);
  color: var(--accent);
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 2px;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
  min-width: 95px;
}
.cookie-btn.secondary {
  background: none;
  color: var(--secondary);
}
.cookie-btn.settings {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 12px;
    gap: 13px;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
    gap: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,49,67,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 52px rgba(30,49,67,0.22);
  max-width: 420px;
  width: 90vw;
  padding: 36px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.24rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.06em;
}
.cookie-modal .cookie-toggle {
  width: 36px; height: 20px;
  background: #E7EDEE;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  margin-left: 16px;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .cookie-toggle-switch {
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.19s cubic-bezier(.72,0,.28,1);
}
.cookie-modal .cookie-toggle input:checked + .cookie-toggle-switch {
  left: 19px;
  background: var(--primary);
}
.cookie-modal .cookie-category.essential .cookie-toggle { opacity: .5; pointer-events: none; }
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 14px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
}
.cookie-modal-actions {
  display: flex; gap: 12px; margin-top: 11px;
}

@media (max-width: 420px) {
  .cookie-modal { padding: 18px 6px 12px 8px; }
}

/* FORMS (Kontakt, Inputs) */
input, textarea {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1.5px solid #d6e2e7;
  font-family: var(--font-body);
  padding: 10px 15px;
  margin-bottom: 14px;
  background: #fff;
  font-size: 1rem;
  color: var(--primary);
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
}

/* GENERAL UTILITY MARGINS/SPACING */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* ----------- ANIMATIONS ----------- */
@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.content-wrapper, .testimonial-card, .card, .faq > div, .pricing-table > div {
  animation: fadeInUp 0.5s cubic-bezier(.42,0,.58,1) both;
  animation-delay: .08s;
}

/* SCROLLBAR (Stylish for desktops) */
::-webkit-scrollbar { width: 8px; background: #f4f4f4; }
::-webkit-scrollbar-thumb { background: #d7e5ea; border-radius: 14px; }

/* ACCESSIBILITY: FOCUS STATES */
a:focus, button:focus, .cta:focus, input:focus {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 2px;
}

/* RESPONSIVE TYPOGRAPHY SIZES */
@media (max-width:600px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.15rem; }
  nav a, .mobile-nav a, button, input, .cta { font-size: 0.96rem; }
}

/* GEOMETRIC DECORATION FOR HERO */
.content-wrapper.hero {
  background: linear-gradient(100deg, #E0F7F6 70%, #fff 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.content-wrapper.hero::after {
  content: '';
  position: absolute;
  bottom: 18px; right: 24px;
  width: 87px; height: 54px;
  background: var(--secondary);
  opacity: 0.12;
  border-radius: 13px 30px 11px 23px;
  z-index: 0;
  pointer-events: none;
}

/* ---------------------- END CSS ---------------------- */
