/* -------------------------------------------------------
  CSS RESET & NORMALIZE (mobile-first)
--------------------------------------------------------*/
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, html { width: 100%; min-height: 100%; }
img, svg { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; padding-left: 0; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }
button { background: none; border: none; font: inherit; cursor: pointer; }
:focus { outline: 2px solid #C2986F; outline-offset: 2px; }
html { font-size: 16px; }

/* -------------------------------------------------------
  BRAND COLORS & FONTS
--------------------------------------------------------*/
:root {
  --primary: #113943;
  --secondary: #F3ECE2;
  --accent: #C2986F;
  --electric-orange: #FF7B22;
  --electric-blue: #31C6FF;
  --electric-magenta: #E74CFF;
  --electric-lime: #C6FF4C;
  --neutral-100: #fff;
  --neutral-900: #22292F;
  --shadow-high: 0 6px 32px rgba(19,38,68, 0.24);
  --shadow-mid: 0 2px 8px rgba(19,38,68, 0.15);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Playfair Display'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Lato'), url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
}
body {
  font-family: 'Lato', Arial, sans-serif;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.68;
}

/* -------------------------------------------------------
  TYPOGRAPHY
--------------------------------------------------------*/
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6em;
  color: var(--electric-orange);
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  color: var(--primary);
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4em;
  color: var(--electric-blue);
}
h4 {
  font-size: 1rem;
  margin-bottom: 0.3em;
}
p, li, ul, ol, span {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--neutral-900);
}
strong {
  color: var(--primary);
  font-weight: 700;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-mid);
}

/* Responsive Typography */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.27rem; }
  h3 { font-size: 1rem; }
}

/* -------------------------------------------------------
  LAYOUT & CONTAINERS (FLEXBOX ONLY!)
--------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-mid);
  padding: 22px 20px 18px 20px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 250px;
  border-left: 6px solid var(--electric-orange);
  transition: box-shadow 0.26s;
}
.feature-item:hover {
  box-shadow: 0 4px 28px 0 rgba(49,198,255,0.14);
  border-left: 6px solid var(--electric-blue);
}

.card-container, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-high);
  border-radius: var(--radius-md);
}
.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;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 20px 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-mid);
  margin-bottom: 20px;
  border-left: 7px solid var(--electric-magenta);
  max-width: 520px;
  transition: transform 0.24s, box-shadow 0.22s;
}
.testimonial-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0px 8px 32px 0px rgba(230,76,255,0.08);
}
.testimonial-card p {
  color: #22292F;
  font-size: 1.13rem;
  font-family: 'Lato',Arial,sans-serif;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  font-style: italic;
}

.project-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 22px 16px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-mid);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
  max-width: 335px;
  border-left: 5px solid var(--electric-lime);
  transition: box-shadow 0.22s, border-color 0.25s;
}
.project-item:hover {
  box-shadow: 0 8px 32px 0 rgba(198,255,76,0.12);
  border-left: 5px solid var(--electric-orange);
}

/* Spacing between all major sections */
section { margin-bottom: 60px; padding: 40px 0 40px 0; }

/* ----------------------------------------
  HEADER/NAVIGATION
-----------------------------------------*/
header {
  width: 100%;
  background: var(--neutral-100);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0; left: 0; z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  min-height: 72px;
  gap: 16px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Lato';
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  padding: 2px 6px;
  transition: color 0.18s, border-bottom 0.19s;
  border-bottom: 2px solid transparent;
}
header nav a:hover,
header nav a:focus {
  color: var(--electric-blue);
  border-bottom: 2px solid var(--electric-blue);
}
.cta-btn {
  background: linear-gradient(90deg, var(--electric-orange) 60%, var(--accent) 100%);
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-mid);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  display: inline-block;
  vertical-align: middle;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, var(--accent) 60%, var(--electric-orange) 100%);
  color: var(--primary);
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 4px 24px 0 rgba(255,123,34,0.16), var(--shadow-high);
}

/* HEADER - Burger Icon (Mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--electric-orange);
  color: #fff;
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: var(--shadow-mid);
  align-items: center;
  justify-content: center;
  z-index: 52;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--electric-magenta);
  color: #fff;
}

/* Responsive NAVIGATION */
@media (max-width: 980px) {
  header .cta-btn { display: none; }
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none!important; }
}

/* ------------------------------------------------------
  MOBILE MENU OVERLAY - SLIDE IN
-------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,57,67, 0.98);
  display: flex;
  flex-direction: column;
  z-index: 1100;
  transform: translateX(-105vw);
  transition: transform 0.36s cubic-bezier(0.43, 1.23, 0.27, 1);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.34s cubic-bezier(0.51,1.46,0.21,1);
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  margin: 28px 32px 12px 0;
  font-size: 2.2rem;
  color: var(--secondary);
  background: none;
  border: none;
  z-index: 1111;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu .mobile-menu-close:hover,
.mobile-menu .mobile-menu-close:focus {
  color: var(--electric-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 38px 0 0 32px;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.28rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--electric-lime);
  background: rgba(49,198,255,0.10);
}

/* Ensures main content isn't scrollable when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* ------------------------------------------------------
  FOOTER
-------------------------------------------------------*/
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 28px 0 22px 0;
  width: 100%;
  border-top: 4px solid var(--accent);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: var(--secondary);
  font-family: 'Lato',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
footer nav a:hover {
  color: var(--electric-lime);
}
footer p {
  font-size: 1rem;
  color: var(--secondary);
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------
  BUTTONS & INTERACTIONS
-------------------------------------------------------*/
button, .cta-btn, .mobile-nav a {
  transition: all 0.19s cubic-bezier(.6,1.43,.24,1);
}
.cta-btn:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

/* Secondary Button (for cookies, settings) */
.btn-secondary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  font-size: 1rem;
  padding: 8px 22px;
  margin-right: 6px;
  transition: background 0.15s, border-color 0.16s, color 0.18s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--electric-blue);
  color: #fff;
  border-color: var(--electric-blue);
}
.btn-outline {
  background: none;
  color: var(--electric-magenta);
  border: 2px solid var(--electric-magenta);
  border-radius: var(--radius-md);
  font-size: 1rem;
  padding: 8px 22px;
  margin-left: 6px;
  font-weight: 700;
  transition: background 0.13s, color 0.14s, border-color 0.12s;
}
.btn-outline:hover,
.btn-outline:focus {
  background: var(--electric-magenta);
  color: #fff;
  border-color: var(--electric-magenta);
}

/* ------------------------------------------------------
  LISTS
-------------------------------------------------------*/
ul, ol {
  margin-bottom: 1.2em;
  margin-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.8em;
  font-size: 1rem;
  position: relative;
  padding-left: 2ch;
}
ul li:before {
  content: '\2022';
  color: var(--electric-orange);
  font-weight: bold;
  font-size: 1.3em;
  position: absolute;
  left: 0;
  top: 0.12em;
}
ol li:before {
  content: counter(item)'.';
  counter-increment: item;
  color: var(--electric-blue);
  position: absolute;
  left: 0;
  font-weight: 700;
}
ol {
  counter-reset: item;
  margin-left: 2em;
}

.feature-item ul, .feature-item ol {
  margin: 0;
}

/* ------------------------------------------------------
  SPECIAL STYLES
-------------------------------------------------------*/
/* For cards or icons inside sections */
.feature-item img, .feature-item svg {
  width: 36px; height: 36px;
  margin-bottom: 3px;
}

.project-list {
  margin-top: 16px;
  margin-bottom: 8px;
}

/* Links inside paragraphs */
p a, .content-wrapper a:not(.cta-btn) {
  color: var(--electric-magenta);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.14s;
}
p a:hover, .content-wrapper a:not(.cta-btn):hover {
  color: var(--electric-blue);
}

/* ------------------------------------------------------
  RESPONSIVE ADJUSTMENTS
-------------------------------------------------------*/
@media (max-width: 900px) {
  .container {max-width: 97vw;}
  .feature-grid,.card-container,.content-grid,.project-list {flex-direction: column; gap: 20px;}
  .feature-item, .project-item, .testimonial-card {max-width: 100%;}
}
@media (max-width: 600px) {
  .section, section, .card, .feature-item, .testimonial-card, .project-item {
    padding: 18px 10px 14px 10px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
  }
  .container {padding-left: 4px; padding-right: 4px;}
}

/* ------------------------------------------------------
  COOKIE CONSENT BANNER
-------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 32px 0 rgba(17,57,67,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  z-index: 1999;
  max-width: 100vw;
  min-width: 0;
  gap: 24px;
  transition: transform 0.39s cubic-bezier(0.47,1.36,0.22,1), opacity 0.22s;
}
.cookie-banner.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-banner p {
  font-size: 1rem;
  color: var(--primary);
  padding-right: 26px;
  flex: 1 1 240px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 7px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
}
.cookie-banner .accept-btn {
  background: var(--electric-lime);
  color: var(--neutral-900);
  transition: background 0.14s, color 0.15s;
}
.cookie-banner .accept-btn:hover,
.cookie-banner .accept-btn:focus {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-banner .reject-btn {
  background: var(--accent);
  color: #fff;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .reject-btn:hover,
.cookie-banner .reject-btn:focus {
  background: var(--electric-orange);
}
.cookie-banner .settings-btn {
  background: none;
  color: var(--electric-magenta);
  border: 2px solid var(--electric-magenta);
  font-weight: 700;
}
.cookie-banner .settings-btn:hover,
.cookie-banner .settings-btn:focus {
  background: var(--electric-magenta);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px 18px 8px;
  }
  .cookie-banner p { padding-right: 0; }
}

/* ---- Cookie Modal ---- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(17,57,67, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.25s cubic-bezier(.52,1.4,.19,1);
}
.cookie-modal-overlay.hidden { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  color: var(--primary);
  min-width: 320px;
  max-width: 93vw;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px 0 rgba(49,198,255,0.21);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2002;
  animation: popin .35s cubic-bezier(0.43,1.14,0.27,1) 1;
}
@keyframes popin {
  0% { transform: scale(0.94); opacity: 0; }
  89% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--electric-blue);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  flex: 1 1 100px;
  font-size: 1.08rem;
}
.cookie-modal-category .toggle {
  width: 42px; height: 22px;
  background: #eee;
  border-radius: 12px;
  position: relative;
  transition: background 0.13s;
  display: flex;
  align-items: center;
}
.cookie-modal-category input[type="checkbox"] {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-modal-category .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  transition: 0.2s;
}
.cookie-modal-category input:checked + .slider {
  background: var(--electric-lime);
  transform: translateX(20px);
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  font-size: 1.18rem;
  color: var(--electric-orange);
  border:none; cursor:pointer;
}
.cookie-modal .close-modal:hover {
  color: var(--electric-magenta);
}

/* ------------------------------------------------------
  MISC/UTILITY CLASSES
-------------------------------------------------------*/
.text-center { text-align: center; }
.mt16 { margin-top: 16px; }
.mb24 { margin-bottom: 24px; }
.elevate { box-shadow: var(--shadow-high); }

/* ------------------------------------------------------
  FORMATTING OF ICON/CONTACT DETAILS (KONTAKT PAGE)
-------------------------------------------------------*/
.content-wrapper ul img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.7em;
  list-style: none;
  position: relative;
  padding-left: 0;
  font-size: 1rem;
  background: none;
}

/* ------------------------------------------------------
  Animations
-------------------------------------------------------*/
@media (hover: hover) {
  .card, .project-item, .feature-item, .testimonial-card {
    transition: box-shadow 0.22s, transform 0.19s;
  }
  .card:hover, .feature-item:hover, .project-item:hover, .testimonial-card:hover {
    box-shadow: 0 8px 30px 0 rgba(17,57,67,0.11),var(--shadow-high);
    transform: translateY(-5px) scale(1.02);
  }
}

/* ------------------------------------------------------
  Thank You / Success States
-------------------------------------------------------*/
.content-wrapper .cta-btn {
  margin-top: 10px;
}

/* ------------------------------------------------------
  MISCELLANEOUS
-------------------------------------------------------*/
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: var(--secondary);
}

@media (max-width: 500px) {
  h1, h2, h3 { line-height: 1.1; }
  .cookie-modal { padding: 18px 6px; }
}

