/* style.css – Darkling Bite Consulting – Creative Artistic theme */

/* 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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #16202a;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
}
a {
  color: #5ebe68;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #16202a;
  text-decoration: underline;
}
button {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}

/* TYPOGRAPHY - Creative artistic, vibrant */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: #16202a;
  text-shadow: 1px 2px 0 #ffdd85, 2px 4px 8px #5ebe6820;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
p, li, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  font-weight: 400;
  line-height: 1.7;
}
strong {
  color: #16202a;
}

/* COLORS (Brand Colors + Artistic Pops) */
:root {
  --primary: #16202a;
  --secondary: #5ebe68;
  --accent: #ffdd85;
  --highlight: #ff7373;
  --soft: #eef7f2;
  --background: #fff8e6;
  --card: #fff;
  --shadow: rgba(22,32,42,0.07);
  --text-dark: #16202a;
  --text-light: #f6f6f9;
}

/* CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background);
  border-radius: 24px;
  box-shadow: 0 5px 24px 0 var(--shadow);
}

/* HEADER + NAVIGATION */
header {
  background: var(--primary);
  color: var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
header nav > a img {
  height: 44px;
}
header nav ul {
  display: flex;
  gap: 16px;
  align-items: center;
}
header nav ul li {
  list-style: none;
}
header nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--accent);
  padding: 7px 18px;
  border-radius: 16px;
  transition: background .18s, color .18s;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}
header nav ul li .cta {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 4px 16px 0 #5ebe6820;
  border-radius: 30px;
  font-size: 1.1rem;
  transition: background .18s, color .18s, transform .15s;
}
header nav ul li .cta:hover,
header nav ul li .cta:focus {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 6px 20px 0 #ffdd8530;
}
/* Burger menu - hidden on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 26px;
  top: 18px;
  transition: background .2s, color .2s;
  z-index: 500;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffef7;
  box-shadow: 0 8px 50px 0 #5ebe6840;
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--highlight);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  align-self: flex-end;
  margin: 20px;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 26px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 13px 0;
  border-radius: 14px;
  width: 100%;
  transition: background .19s, color .19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--text-light);
}

/* Hide nav on mobile */
@media (max-width: 990px) {
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* GLOBAL SPACING & FLEX LAYOUTS (MANDATORY PATTERNS) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 3px 18px 0 var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #fffdfb;
  border-left: 7px solid var(--secondary);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 var(--shadow);
  font-size: 1.07rem;
  max-width: 580px;
  transition: box-shadow .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 #ffdd8522, 0 2px 12px 0 var(--shadow);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 11px;
  padding: 22px;
  box-shadow: 0 1.5px 8px var(--shadow);
  font-size: 1rem;
  min-width: 200px;
}

/* Feature grid layouts */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  min-width: 210px;
  max-width: 300px;
  flex: 1 1 200px;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .16s;
  border-left: 4px solid var(--secondary);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 2px #5ebe6825);
}
.feature:hover {
  box-shadow: 0 7px 32px 0 #5ebe6820, 0 2px 14px 0 var(--shadow);
  transform: translateY(-8px) rotate(-1.5deg);
}
.feature h3 {
  color: var(--primary);
  margin-bottom: 0;
  font-size: 1.17rem;
}

/* Blog cards */
.blog-card {
  background: #fff7ee;
  border-left: 6px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 var(--shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .16s, border-left .15s;
}
.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}
.blog-card:hover {
  box-shadow: 0 8px 28px 0 #ffdd8540;
  border-left: 6px solid var(--secondary);
}
.blog-card a {
  font-weight: 600;
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  text-decoration: underline;
  transition: color .15s;
}
.blog-card a:hover { color: var(--highlight); }

/* Address card, tag cloud, etc. */
.address-card {
  background: var(--soft);
  border-radius: 14px;
  box-shadow: 0 1px 6px var(--shadow);
  padding: 22px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.tag {
  background: var(--secondary);
  color: #fff;
  padding: 7px 14px;
  border-radius: 18px;
  font-size: 0.97rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background .13s;
}
.tag:hover {
  background: var(--primary);
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 10px;
}
.category-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  padding: 7px 16px;
  background: #ffeeb0;
  border-radius: 13px;
  box-shadow: 0 1px 4px #ffdd8525;
}
.category-list img {
  width: 22px;
  height: 22px;
}

/* Buttons & CTAs */
.cta {
  background: linear-gradient(95deg, var(--secondary) 45%, var(--accent) 100%);
  color: var(--primary) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  padding: 12px 36px;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 16px 0 #5ebe6820;
  letter-spacing: 0.02em;
  transition: background .22s, color .22s, box-shadow .13s, transform .11s;
  border: 0;
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: linear-gradient(100deg, var(--accent) 55%, var(--secondary) 100%);
  color: var(--primary) !important;
  box-shadow: 0 8px 32px 0 #5ebe6830;
  outline: none;
  transform: scale(1.05) rotate(-1deg);
}

/* STAR RATING */
.star-rating {
  color: #fcc84b;
  font-size: 1.25rem;
  letter-spacing: 0.13em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.testimonial-meta {
  font-size: 0.99rem;
  color: var(--secondary);
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* FAQ & TextSections */
.text-section {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 6px var(--shadow);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 0 0 0 0;
}
footer .container {
  padding: 20px 20px 0 20px;
}
.footer-brand img {
  height: 40px;
  margin-right: 12px;
}
.footer-contact > div, .footer-contact a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #ffdd85;
  font-size: 0.99rem;
  margin-bottom: 4px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 14px;
}
.footer-nav a, .footer-legal a {
  color: #ffdd85;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  transition: color .18s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-bottom {
  width: 100%;
  background: #172330;
  color: #ffe2aa;
  text-align: center;
  font-size: 0.94rem;
  font-family: 'Open Sans', sans-serif;
  padding: 14px 0 8px 0;
  margin-top: 22px;
  letter-spacing: 0.01em;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fffaf3;
  color: var(--primary);
  box-shadow: 0 -5px 38px #5ebe682f;
  border-top: 3.5px solid var(--secondary);
  z-index: 99999;
  padding: 24px 16px 16px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  font-family: 'Open Sans', sans-serif;
}
.cookie-banner p {
  flex: 1 1 220px;
  font-size: 1.07rem;
}
.cookie-banner .cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 18px;
  font-size: 1rem;
  margin: 0 5px;
  transition: background .18s, color .18s;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  margin-left: 0;
}
.cookie-banner .cookie-btn.reject {
  background: var(--highlight);
  color: #fff;
  font-weight: 800;
}

/* Cookie modal settings */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(22,32,42,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fffef6;
  color: var(--primary);
  border-radius: 20px;
  padding: 40px 32px 32px 32px;
  min-width: 300px;
  max-width: 90vw;
  box-shadow: 0 8px 48px 0 #16202a40;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Open Sans', sans-serif;
  animation: popUp .4s cubic-bezier(.68,-0.6,0,1.5);
}
@keyframes popUp {
  0%{transform: scale(0.87) translateY(90px); opacity:0;}
  90%{transform: scale(1.05) translateY(-12px); opacity:1;}
  100%{transform: scale(1) translateY(0); opacity:1;}
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.07rem;
}
.cookie-category label {
  font-size: 1.07rem;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 21px; height: 21px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--highlight);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  text-align: center;
  line-height: 33px;
  transition: background .18s, color .18s;
}
.cookie-modal-close:hover {background: var(--secondary); color: #fff;}

/* Responsive Design (Mobile First) */
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .section {
    padding: 22px 7px;
    margin-bottom: 35px;
    border-radius: 13px;
  }
  header nav > a img {
    height: 34px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  h3 { font-size: 1.05rem; }
  .feature-grid,
  .card-container,
  .content-grid,
  .category-list,
  .tag-cloud,
  .footer-nav,
  .footer-legal {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .feature, .blog-card, .address-card, .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 7px;
  }
  .cookie-modal-content {
    padding: 26px 10px 20px 10px;
    max-width: 97vw;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1rem; }
  .footer-brand img {
    height: 26px;
  }
}

/* FORM STYLES (for Kontakt, etc.) */
input, textarea, select {
  font-family: 'Open Sans', sans-serif;
  border: 1.5px solid #ececec;
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 9px 14px;
  font-size: 1rem;
  background: #fffef7;
  outline: none;
  transition: border .17s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 2px 8px 0 #5ebe6825;
}
label {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-size: 0.96rem;
  font-weight: 700;
}

/* Accessibility improvements */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 1.5px;
}

/* Decorative artistic highlight corner for cards */
.card::after, .feature::after {
  content: "";
  display: block;
  position: absolute;
  right: 0; top: 0;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--accent) 80%, transparent 100%);
  border-radius: 0 18px 0 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}
.card, .feature { overflow: hidden; }

/* Artistic headline underline effect */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 6px;
  background: var(--secondary);
  border-radius: 6px;
  margin-top: 8px;
  opacity: 0.22;
}

/* Visual feedback for cards */
.card:active, .feature:active {
  transform: scale(0.99);
  box-shadow: 0 2px 8px 0 #5ebe6840;
}

/* List styles for about, datenschutz, etc. */
ul, ol {
  margin-left: 16px;
  margin-bottom: 12px;
  list-style-position: outside;
}
ul li::before {
  content: '•';
  color: var(--secondary);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.1rem;
  vertical-align: middle;
}
ol li {
  counter-increment: myCounter;
  position: relative;
  margin-bottom: 6px;
}
ol li::before {
  content: counter(myCounter)'. ';
  color: var(--secondary);
  font-weight: 700;
  position: absolute;
  left: -2em;
}
ol {
  counter-reset: myCounter;
}

/* ARTISTIC HOVER SHADOWS (Micro interactions) */
.card, .blog-card, .feature, .testimonial-card, .address-card {
  transition: box-shadow .16s, transform .14s;
}
.card:hover, .address-card:hover {
  box-shadow: 0 10px 30px 0 #5ebe6840,0 3px 18px 0 var(--shadow);
  transform: translateY(-4px);
}

/* Ensure CARD/MODULE MARGIN SEPARATION */
.card, .blog-card, .feature, .testimonial-card, .address-card, .text-section {
  margin-bottom: 20px !important;
}

/* Card container - flex only */
.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

/* Remove paddings in text-section for small devices */
@media (max-width:600px){
  .text-section, .address-card, .card, .feature, .testimonial-card {
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* SPECIAL: Prevent absolute position for content blocks, only for decorations */
.card, .feature, .testimonial-card, .blog-card, .address-card, .text-section {
  position: relative;
  z-index: 2;
}

/* Hide after pseudo for testimonial-card to avoid accidental overlay */
.testimonial-card::after { display: none; }

/* Z-index corrections for overlays */
.mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 99999;
}

/* Table styles for legal pages */
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 12px 14px;
  border: 1px solid #eee3c0;
}
th {
  background: var(--accent);
  color: var(--primary);
}

/* Custom artistic scrollbar */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) #efefe0;
}
body::-webkit-scrollbar {
  width: 10px;
  background: #efefe0;
}
body::-webkit-scrollbar-thumb {
  border-radius: 11px;
  background: linear-gradient(120deg,var(--secondary) 40%, #ffdd85 95%);
}

/* Accessibility for visually-hidden elements (for modals etc.) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* END OF STYLE.CSS for CREATIVE_ARTISTIC (Darkling Bite Consulting) */
