/* === 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #201B2C;
  color: #F2F2F2;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
button { cursor: pointer; }

/* === BRAND COLOR VARIABLES === */
:root {
  --primary: #2C2735;
  --secondary: #E3732C;
  --accent: #F2F2F2;
  --bg-main: #201B2C;
  --text-main: #F2F2F2;
  --card-bg: #231F2B;
  --card-bg-light: #262134;
  --testimonial-bg: #F2F2F2;
  --testimonial-text: #2C2735;
  --border-radius: 16px;
  --shadow: 0 4px 24px 0 rgba(40,25,48,0.10), 0 1.5px 4px rgba(40,25,48,0.15);
  --transition: 0.2s cubic-bezier(.55,.1,.35,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* === TYPOGRAPHY & HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.2; }
h4 { font-size: 1.125rem; line-height: 1.3; }
.subheadline {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1.125rem;
  margin-bottom: 24px;
  font-weight: 500;
}
p, ul, ol, li, dl, dd, dt {
  font-family: var(--font-body);
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.7;
}
strong { color: var(--secondary); font-weight: bold; }
a {
  color: var(--secondary);
  transition: color var(--transition);
}
a:hover { color: #fff2e6; text-shadow: 0 0 8px var(--secondary); }

/* === LAYOUT SPACING & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  background: var(--card-bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px;
  gap: 24px;
}
@media (max-width: 600px) {
  .container { padding: 0 12px; }
  .text-section { padding: 18px; }
  .content-wrapper { gap: 20px; }
}

/* FLEXBOX LAYOUTS & PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow var(--transition), transform var(--transition);
  z-index: 1;
}
.card:hover {
  box-shadow: 0 4px 32px 0 var(--secondary), var(--shadow);
  transform: translateY(-2px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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; gap: 18px; }
  .content-grid { flex-direction: column; gap: 16px; }
  .card-container { flex-direction: column; gap: 18px; }
}

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

/**** Testimonial Card (Tech Futuristic Style) ****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 1px 12px 0 rgba(236,130,44,0.09), 0 0.5px 2px rgba(40,25,48,0.18);
  border: 1.5px solid var(--secondary);
  font-size: 1.08rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  background: #FFF8F3;
  border-color: #ff9841;
  box-shadow: 0 6px 26px 0 rgba(236,130,44,0.13), 0 1.5px 8px rgba(44,39,53,0.14);
}
.testimonial-card strong { color: var(--primary); }
.testimonial-card p {
  color: var(--testimonial-text);
  margin-bottom: 0;
}

/* === BUTTONS & CTA === */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: var(--border-radius);
  padding: 14px 38px;
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 16px 0 rgba(236,130,44,0.09);
  text-shadow: 0 0 6px rgba(227,115,44,0.1);
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  z-index: 2;
  margin-top: 12px;
}
.cta.primary {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary);
  box-shadow: 0 2px 28px #e3732c55;
}
.cta:hover, .cta.primary:hover {
  background: linear-gradient(90deg, #E3732C 80%, #ffac59 100%);
  color: #FFF;
  box-shadow: 0 2px 28px #ebbb9155, 0 0.5px 12px #1e1e36;
  transform: scale(1.04);
  border-color: #fff2e6;
}
.cta:active { transform: scale(0.98); }

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 2px 16px 0 rgba(44,39,53,0.08);
  position: relative;
  z-index: 30;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
nav > a img {
  height: 42px;
  max-width: 130px;
  margin-right: 24px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
nav ul li a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: var(--accent);
  background: none;
  position: relative;
  padding: 4px 0;
  font-size: 1rem;
  transition: color var(--transition); 
}
nav ul li a:hover, nav ul li a.active {
  color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary), 0 0 4px #fff2e6;
}
nav .cta.primary {
  margin-left: 18px;
  padding: 10px 26px;
  font-size: 1rem;
}
@media (max-width: 1024px) {
  nav ul {
    gap: 12px;
  }
  nav .cta.primary { margin-left: 8px; }
}
@media (max-width: 900px) {
  nav ul, nav .cta.primary {
    display: none;
  }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--secondary);
  font-size: 2.3rem;
  border-radius: 12px;
  border: 2px solid transparent;
  padding: 2px 10px;
  position: absolute;
  right: 30px;
  top: 22px;
  z-index: 31;
  transition: border var(--transition), background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border: 2px solid var(--secondary);
  background: #fff2e611;
}
@media (max-width: 900px) {
  .mobile-menu-toggle { display: block; }
  nav {
    flex-wrap: wrap;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(12,9,20,0.98);
  z-index: 98;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.55,.1,.35,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  box-shadow: -4px 0 32px #2c27354d;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(.43,.07,.43,1.11);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  line-height: 1;
  margin: 28px 32px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 100;
}
.mobile-menu-close:hover { color: #fff2e6; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 48px 0 38px;
  width: 100vw;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  padding: 18px 0;
  letter-spacing: 0.04em;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover {
  color: var(--secondary);
  background: #fff7f311;
  border-radius: 8px;
}

@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* === HERO SECTION (Tech Futuristic) === */
section:first-of-type, .hero-section {
  background: linear-gradient(96deg, #231f2b 70%, #2c2735 100%);
  box-shadow: 0 6px 54px 0 rgba(44,39,53,0.14);
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
  min-height: 290px;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  section:first-of-type, .hero-section { border-radius: 0 0 22px 22px; min-height: 180px; }
}

/* === FEATURE LISTS, DL, OL === */
.content-wrapper > ul, .content-wrapper > ol, .text-section ul, .text-section ol, dl {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
dt {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
}
dl span {
  font-weight: 400;
  color: #fff2e6;
}
dd {
  color: var(--accent);
  margin-bottom: 14px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 0 0 12px 0;
  border-top: 2px solid #291f38;
  box-shadow: 0 -2px 16px 0 rgba(40,25,48,0.06);
  font-size: 0.95rem;
}
footer .content-wrapper {
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 36px 0 16px 0;
}
footer .footer-logo img {
  height: 50px;
  margin-bottom: 12px;
}
.footer-contact, .footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links {
  margin-top: 6px;
  gap: 9px;
}
.footer-links a {
  color: #fff2e6;
  font-family: var(--font-body);
  transition: text-shadow var(--transition), color var(--transition);
}
.footer-links a:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary);
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  height: 28px;
  width: 28px;
  filter: grayscale(0.5) brightness(1.3);
  transition: filter var(--transition), transform var(--transition);
}
.footer-social a:hover img {
  filter: none;
  transform: scale(1.17);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .footer-social { margin-top: 8px; }
}

/* === SPACING MANAGEMENT === */
section:not(:last-child) { margin-bottom: 60px; }
section { padding-top: 24px; padding-bottom: 24px; }
@media (max-width: 600px) {
  section { padding-top: 18px; padding-bottom: 18px; margin-bottom: 40px; }
}

/* === SHADOWS & ACCENT NEON GLOW === */
.neon-glow {
  box-shadow: 0 0 12px 0 var(--secondary), 0 0 36px 0 var(--secondary);
}
.card, .card-container > * {
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
}
.card:hover {
  box-shadow: 0 2px 28px var(--secondary), 0 0 7px #ffac59;
}

/* === MICRO-INTERACTIONS === */
.cta, .footer-links a, .mobile-nav a {
  transition: all 0.19s cubic-bezier(.55,.1,.35,1);
}
.cta:focus, .cta.primary:focus,
.footer-links a:focus,
.mobile-nav a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2.5px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--card-bg-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  padding: 18px 24px;
  box-shadow: 0 -4px 40px #2c273566;
  border-radius: 18px 18px 0 0;
  border-top: 2px solid var(--secondary);
  gap: 22px;
  animation: cookie-slide-in 0.6s cubic-bezier(.65,.1,.35,1);
  font-size: 1rem;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 200px;
  margin: 0 22px 0 0;
  color: var(--accent);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-left: 2px;
}
.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
  box-shadow: 0 1px 10px #fac08a27;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #fff2e6;
  color: var(--primary);
}
.cookie-reject {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid #f2f2f278;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #31283e;
  color: #e5732c;
  border-color: var(--secondary);
}
.cookie-settings {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #2C2735;
  color: #ffe5d1;
  border-color: #ffb36b;
}
@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; gap: 13px; align-items: flex-start; padding: 13px 10px; font-size: 0.98rem; }
  .cookie-banner p { margin: 0 0 6px 0;}
}

/* Cookie Modal (Preferences) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(40, 32, 52, 0.87);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.43,.07,.43,1.11);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: var(--card-bg-light);
  border-radius: 20px;
  padding: 38px 29px 27px 29px;
  box-shadow: 0 8px 42px #2c273570;
  min-width: 320px;
  max-width: 94vw;
  color: var(--accent);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: modal-pop-in 0.25s cubic-bezier(.55,.1,.35,1);
}
@keyframes modal-pop-in {
  from { opacity: 0; transform: scale(0.93) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal .modal-content h3 {
  color: var(--secondary);
  margin-bottom: 14px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 21px;
  color: var(--secondary);
  font-size: 1.45rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 3px 7px;
  transition: background var(--transition);
}
.cookie-modal .close-modal:hover {
  background: #fff2e610;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-modal .category label {
  font-size: 1rem;
  color: var(--accent);
  font-family: var(--font-body);
}
.cookie-toggle {
  width: 40px; height: 22px;
  background: #1e1529;
  border-radius: 12px;
  position: relative;
  transition: background var(--transition);
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #ddd1fd;
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
  pointer-events: none;
}
.category input:checked + .cookie-toggle-slider {
  left: 21px;
  background: var(--secondary);
  box-shadow: 0 0 8px #e3732c;
}
.cookie-modal .category.essential label {
  color: var(--secondary);
  font-weight: 700;
}
.cookie-modal .category.essential .cookie-toggle {
  background: #80623a;
}
.cookie-modal .category.essential .cookie-toggle-slider {
  background: #e3732c;
}

.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 8px 23px;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .modal-actions button:last-child {
  background: #312e40;
  color: var(--accent);
  border: 1.5px solid #fff2e6;
}
.cookie-modal .modal-actions button:hover {
  filter: brightness(1.13);
}

@media (max-width: 400px) {
  .cookie-modal .modal-content { min-width: 80vw; font-size: 0.95rem; }
}

/* === RESPONSIVE FONTS & DETAILS === */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.19rem; }
  h3 { font-size: 1rem; }
  .cta, .cta.primary { font-size: 1rem; padding: 12px 18px; }
}

/* === CUSTOM SCROLLBAR (Tech Touch) === */
body, .mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #e3732c #231f2b;
}
body::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: #201b2c;
}
body::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb,
.cookie-modal::-webkit-scrollbar-thumb {
  background: #e3732c;
  border-radius: 8px;
}

/* === FORM STYLES (if implemented in Kontakt/Newsletter) === */
input, textarea, select {
  background: #231f2b;
  color: var(--accent);
  border: 1.6px solid #44365f;
  border-radius: 9px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 18px;
  font-size: 1rem;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 8px 0 var(--secondary);
}

/* === NEON ACCENTS & DECORATIVE STRIPES (tech_futuristic touch) === */
.neon-accent {
  color: var(--secondary) !important;
  text-shadow: 0 0 7px #ffb274, 0 0 20px #fbab66af;
}
.neon-line {
  display: block;
  height: 4px;
  width: 64px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 16px 0;
  box-shadow: 0 0 16px #e3732caa;
}

/* === TRANSITIONS (Tech Futuristic) === */
*, *:before, *:after {
  box-sizing: border-box;
  transition: box-shadow 0.17s cubic-bezier(.55,.1,.35,1), color var(--transition), background var(--transition), border var(--transition), outline var(--transition), transform 0.13s cubic-bezier(.55,.1,.35,1);
}

/* === HIDE/SHOW UTILITIES FOR JS */
.hidden { display: none !important; }

/* === MISC UTILITIES === */
.mt-32 { margin-top: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-12 { margin-top: 12px !important; }

/* === END === */
