/* Arcane Code Consulting CSS – Warm & Friendly Flexbox Style */

/* =============================
   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 {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #193446;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #269488;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ca7e28;
  text-decoration: underline;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* =============================
   BRAND COLOR PALETTE
============================= */
:root {
  --color-primary: #193446;
  --color-secondary: #269488;
  --color-accent: #F5F7FA;
  --color-warm1: #FFF8F1;
  --color-warm2: #FFE6D7;
  --color-warm3: #FEF1E0;
  --color-warm4: #FFD7B3;
  --color-orange: #FFB04C;
  --color-orange-dark: #ca7e28;
  --color-card-bg: #fff;
  --color-shadow: 0 4px 20px rgba(38, 148, 136, 0.08), 0 1.5px 5px rgba(210, 112, 35, 0.04);
  --color-shadow-light: 0 2px 8px rgba(38, 148, 136, 0.08);
}

/* =============================
   TYPOGRAPHY
============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem; }
.subheadline {
  color: var(--color-secondary);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 15px;
  color: #193446;
  font-size: 1rem;
}
strong {
  font-weight: bold;
}
small {
  font-size: 14px;
  color: #9BBACD;
}

/* =============================
   LAYOUT CONTAINERS & FLEX
============================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.22s cubic-bezier(0.42,0,1,1);
}
.card:hover {
  box-shadow: 0 8px 28px rgba(38, 148, 136, 0.13), 0 1.5px 7px rgba(210, 112, 35, 0.06);
}
.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 {
  background: var(--color-warm3);
  border-radius: 16px;
  box-shadow: var(--color-shadow-light);
  border-left: 5px solid var(--color-orange);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  min-width: 0;
  transition: box-shadow .15s, border-color .2s;
  color: var(--color-primary);
}
.testimonial-card p {
  font-size: 1.08rem;
  margin-bottom: 0;
  color: var(--color-primary);
}
.testimonial-card span {
  color: var(--color-orange-dark);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 600;
  margin-left: auto;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(255,176,76,.13);
  border-left-color: #E57200;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
}

/* Feature Grid (Found on index main features & mitarbeiterentwicklung) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.feature {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: var(--color-shadow);
  padding: 28px 22px 20px 22px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.17s;
}
.feature img {
  width: 38px; height: 38px; margin-bottom: 7px;
}
.feature h3 {
  color: var(--color-secondary);
}
.feature:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 32px rgba(38, 148, 136, 0.13), 0 1.5px 8px rgba(255,176,76,0.07);
}

/* Service Grid (leistungen & unternehmensanalyse) */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service {
  background: var(--color-card-bg);
  border-radius: 20px;
  padding: 28px 22px 20px 22px;
  box-shadow: var(--color-shadow);
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.service img {
  width: 36px; height: 36px; margin-bottom: 7px;
}
.service h3 {
  color: var(--color-orange-dark);
  font-size: 1.17rem;
}
.service:hover {
  box-shadow: 0 8px 32px rgba(255,176,76,0.14), 0 1.5px 7px rgba(38,148,136,0.10);
  transform: translateY(-5px) scale(1.02);
}

/* =============================
   HEADER & NAVIGATION
============================= */
header {
  background: var(--color-warm1);
  box-shadow: 0 2px 9px rgba(25, 52, 70, 0.03);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 150;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 80px;
  padding: 10px 0;
}
.nav-bar img {
  height: 48px;
  min-width: 48px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  padding: 3px 8px;
  border-radius: 7px;
  transition: background 0.12s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-orange);
  color: #fff;
}
.cta-button {
  background: var(--color-secondary);
  color: #fff !important;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 13px 32px;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(38, 148, 136, 0.08);
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 13px;
  opacity: 1;
  transition: background 0.21s, transform 0.16s, box-shadow 0.18s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-orange-dark);
  color: #fff;
  box-shadow: 0 4px 15px rgba(202, 126, 40, 0.12);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-secondary);
  display: none;
  cursor: pointer;
  margin-left: 16px;
  z-index: 3000;
  border-radius: 10px;
  transition: background 0.18s;
  padding: 4px 5px 5px 12px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-warm2);
  color: var(--color-orange-dark);
}
/* Mobile Nav overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31, 54, 68, 0.97);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.22s, transform 0.34s cubic-bezier(0.77,0,0.18,1);
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--color-warm4);
  border-radius: 50%;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 22px;
  margin-right: 32px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  z-index: 5300;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-orange);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 48px;
  margin-right: 38px;
  gap: 18px;
  width: 90vw;
  max-width: 400px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-size: 1.19rem;
  padding: 14px 22px;
  border-radius: 15px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin-right: 0;
  background: transparent;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-orange);
  color: #fff;
}

/* =============================
   HERO & SPECIAL SECTIONS
============================= */
.hero {
  background: linear-gradient(107deg, #FFE6D7 60%, var(--color-accent) 100%);
  padding: 54px 0 44px 0;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.3rem;
  line-height: 1.23;
  font-family: 'Roboto Slab', Georgia, serif;
  margin-bottom: 12px;
}
.hero .cta-button {
  margin-top: 10px;
}

.cta {
  background: var(--color-warm2);
  border-radius: 22px;
  box-shadow: var(--color-shadow);
  margin-bottom: 50px;
  margin-top: 50px;
  position: relative;
  padding: 35px 0 38px 0;
}
.cta h2 {
  margin-bottom: 17px;
  color: var(--color-primary);
}
.cta .cta-button {
  font-size: 1rem;
  margin-top: 13px;
}

/* =============================
   UTILITIES & GENERAL STYLES
============================= */
.text-section {
  margin-bottom: 12px;
}
.text-section ul {
  margin-bottom: 12px;
}
.text-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.text-section img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-bottom: 0;
  border-radius: 0;
}

/* Danke / Thank-you Page */
.thank-you .subheadline {
  margin-bottom: 18px;
}

/* Datenschutz/GDPR/Terms/Cookie Policy */
.datenschutz, .gdpr, .terms, .cookie-policy {
  margin-top: 36px;
  margin-bottom: 56px;
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: var(--color-shadow-light);
  padding: 36px 22px 25px 22px;
}
.datenschutz h1, .gdpr h1, .terms h1, .cookie-policy h1 {
  color: var(--color-orange-dark);
}

/* =============================
   FOOTER
============================= */
footer {
  background: var(--color-warm1);
  box-shadow: 0 -2px 12px rgba(25, 52, 70, 0.03);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 34px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 5px;
  transition: background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-orange);
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-social img {
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--color-shadow-light);
  padding: 4px;
  transition: background 0.18s, box-shadow 0.18s;
}
.footer-social img:hover {
  background: var(--color-orange);
  box-shadow: 0 4px 14px rgba(255,176,76,0.13);
}
.footer-copy {
  text-align: center;
}

/* =============================
   COOKIE CONSENT BANNER
============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-warm2);
  color: var(--color-primary);
  box-shadow: 0 -4px 20px rgba(38, 148, 136, 0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  padding: 30px 16px 28px 16px;
  z-index: 7000;
  font-size: 1.02rem;
  transition: transform 0.35s cubic-bezier(.8, .01,.18,.99), opacity 0.21s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}
.cookie-consent-banner .cookie-text {
  flex: 5 1 62%;
  min-width: 160px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 17px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  margin-right: 4px;
  box-shadow: 0 2px 8px rgba(38, 148, 136, 0.09);
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
}
.cookie-btn.accept {
  background: var(--color-orange-dark);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-orange);
}
.cookie-btn.settings {
  background: var(--color-warm4);
  color: var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-orange);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffebd3;
  color: var(--color-primary);
  border-color: var(--color-orange-dark);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25, 52, 70, 0.75);
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--color-card-bg);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0px 26px 8px rgba(38,148,136,0.12);
  padding: 38px 24px 26px 24px;
  max-width: 414px;
  width: 100vw;
  min-height: 310px;
  animation: cookie-modal-in 0.32s cubic-bezier(.65,.02,.19,1.31);
}
@keyframes cookie-modal-in {
  from { transform: translateY(140px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 1.23rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7ea;
  padding: 10px 0 8px 0;
}
.cookie-modal .cookie-category label {
  font-size: 1.05rem;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 46px;
  height: 24px;
  display: inline-block;
}
.toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--color-warm3);
  border-radius: 22px;
  transition: background 0.18s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--color-orange);
}
.toggle-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(38,148,136,0.11);
  transition: transform 0.18s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-close:hover, .cookie-close:focus {
  color: var(--color-orange);
}
.cookie-modal .essential {
  font-weight: 600;
  color: var(--color-primary);
}

/* =============================
   RESPONSIVE BREAKPOINTS
============================= */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero, .section, .cta, .datenschutz, .cookie-policy, .terms, .gdpr {
    padding: 30px 9px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
  .feature, .service {
    min-width: 90vw;
    flex-basis: 90vw;
    padding: 19px 13px 16px 13px;
  }
  .main-nav {
    display: none;
  }
  .cta {
    padding: 25px 4px;
    border-radius: 14px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .nav-bar {
    min-height: 65px;
    gap: 12px;
    padding: 7px 0 7px 0;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .hero, .section, .cta, .datenschutz, .cookie-policy, .terms, .gdpr {
    padding: 20px 3px 25px 3px;
    margin-bottom: 32px;
    border-radius: 0;
  }
  .footer-social img {
    width: 28px; height: 28px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 16px 6px 12px 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  .feature, .service {
    min-width: 98vw;
    border-radius: 10px;
    padding: 11px 5px 10px 8px;
  }
  .cookie-consent-banner, .cookie-modal {
    font-size: 0.97rem;
    padding: 18px 3px 16px 3px;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
}

/* Ensure interactive elements are easy to use on touch devices */
button, .cta-button, .cookie-btn {
  touch-action: manipulation;
}

/* Accessibility: Focus States */
button:focus, .cta-button:focus, .cookie-btn:focus, a:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 3px;
}

/* =============================
   SCROLLBAR Customization
============================= */
body::-webkit-scrollbar {
  width: 10px;
  background: var(--color-warm3);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 7px;
}

/* =============================
   PRINT SUPPORT
============================= */
@media print {
  header, footer, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    color: #222;
    background: #fff;
  }
}
