/* ====================================================================== */
/*               CSS RESET & BASELINE NORMALIZATION                      */
/* ====================================================================== */
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, caption,
table, 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: #FFF;
  color: #1e2127;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
*, *:before, *:after { box-sizing: border-box; }

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --gp-primary: #243123;
  --gp-secondary: #FFFFFF;
  --gp-accent: #CB7A2D;
  --gp-accent-light: #F5E8CE;
  --electric-fuchsia: #FF47AE;
  --electric-orange: #FF681F;
  --electric-blue: #2F9DF7;
  --electric-citrus: #FFE922;
  --electric-green: #17EB8C;
  --text-dark: #243123;
  --text-light: #FFFFFF;
}

/* ====================================================================== */
/*           LAYOUT HELPERS & UTILITY CLASSES                             */
/* ====================================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--gp-secondary);
  border-radius: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--gp-accent-light);
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(44,36,70,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: transform 0.18s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 8px 40px 0 rgba(44,36,70,.18); }

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--gp-accent-light);
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 rgba(202,125,45,0.13);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Specific flex for grids on homepage/services etc. */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin: 32px 0 0 0;
}
.feature-grid > div, .service-list > div {
  background: var(--gp-accent-light);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(203,122,45, 0.09);
  flex: 1 1 260px;
  padding: 28px 20px 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  min-width: 210px;
  transition: box-shadow 0.15s, transform 0.16s;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 6px 32px rgba(255,104,31,0.15);
  transform: translateY(-4px) scale(1.01);
}

/* ====================================================================== */
/*                        TYPOGRAPHY                                      */
/* ====================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--gp-primary);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  color: var(--electric-orange);
  text-shadow: 0 3px 16px rgba(255,104,31,0.08);
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--electric-blue);
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--electric-fuchsia);
}
h4 {
  font-size: 1.1rem;
}
p, li, a, ul, ol, strong, b, label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--gp-primary);
  font-size: 1rem;
  font-weight: 400;
}
p {
  margin-bottom: 16px;
  font-size: 1.07rem;
}
strong, b {
  font-weight: 700;
  color: var(--gp-primary);
}

ul, ol { margin-left: 22px; margin-bottom: 18px; }
ul li, ol li { margin-bottom: 6px; }

/* Links */
a {
  color: var(--electric-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: var(--electric-orange);
  text-decoration: underline;
  outline: none;
}

/* ====================================================================== */
/*                         BUTTONS & CTA                                 */
/* ====================================================================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--electric-orange);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1.22rem;
  border: none;
  border-radius: 40px;
  padding: 16px 38px;
  text-transform: uppercase;
  margin: 10px 0 0 0;
  box-shadow: 0 2px 12px rgba(255,104,31,0.18);
  cursor: pointer;
  transition: background 0.16s, transform 0.13s, box-shadow 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--electric-fuchsia);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255,71,174,0.18);
  transform: scale(1.045);
  outline: none;
}

/* Secondary/alternative button style for cookie/modal */
.btn-secondary {
  background: var(--electric-blue);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 14px 28px;
  margin: 4px 10px 4px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s, color 0.13s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--electric-green);
  color: var(--gp-primary);
}

.btn-light {
  background: var(--electric-citrus);
  color: var(--gp-primary);
  border: none;
  border-radius: 32px;
  padding: 14px 28px;
  font-weight: 700;
  margin-left: 0.5rem;
  transition: background 0.15s, color 0.13s;
}
.btn-light:hover, .btn-light:focus {
  background: var(--electric-blue);
  color: #fff;
}

/* ====================================================================== */
/*                       HEADER & NAVIGATION                             */
/* ====================================================================== */
header {
  width: 100%;
  background: var(--gp-secondary);
  box-shadow: 0 2px 16px 0 rgba(44,36,70,0.13);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 12px 20px;
  background: transparent;
}
header img {
  height: 45px;
  width: auto;
  margin-right: 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
}
header nav a {
  color: var(--gp-primary);
  font-weight: 700;
  font-family: 'Open Sans', Arial, sans-serif;
  text-decoration: none;
  margin-right: 4px;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.16s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: var(--electric-citrus);
  color: var(--electric-orange);
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: var(--electric-orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.05rem;
  padding: 6px 16px 5px 16px;
  margin-left: 14px;
  cursor: pointer;
  z-index: 101;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--electric-fuchsia);
  color: var(--electric-citrus);
  box-shadow: 0 0 16px 2px var(--electric-fuchsia);
}

/* Hide burger on desktop, show nav */
@media (max-width: 990px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta-btn { margin-left: 0; }
}
@media (min-width: 991px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ====================================================================== */
/*                    MOBILE SLIDE MENU                                   */
/* ====================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,49,35,0.98);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.83, 0.06, 0.58, 0.98), opacity 0.29s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  padding: 16px 30px 0 0;
  cursor: pointer;
  appearance: none;
  margin-bottom: 0;
  align-self: flex-end;
  transition: color 0.15s;
  z-index: 1110;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--electric-orange);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 36px;
  margin-left: 44px;
  gap: 16px;
  width: 85vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.34rem;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 12px 26px;
  transition: background 0.15s, color 0.13s;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--electric-fuchsia);
  color: #fff200;
  outline: none;
}

/* ====================================================================== */
/*                               HERO SECTION                             */
/* ====================================================================== */
.hero {
  background: linear-gradient(90deg, var(--electric-citrus) 0%, var(--electric-orange) 80%, var(--electric-fuchsia) 100%);
  background-size: 300% 300%;
  animation: heroGradient 8s ease-in-out infinite alternate;
  border-radius: 0 0 48px 48px;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  padding-top: 25px;
  box-shadow: 0 10px 48px -8px rgba(255,71,174,0.11);
}
@keyframes heroGradient {
  0% {
    background-position: 0% 60%;
  }
  100% {
    background-position: 100% 40%;
  }
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 20px 0;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 4px 34px var(--electric-fuchsia);
  font-size: 3rem;
  max-width: 760px;
}
.hero p {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 0 2px 10px var(--electric-orange);
  margin-bottom: 22px;
}
.hero .cta-btn {
  background: var(--electric-green);
  color: var(--gp-primary);
  box-shadow: 0 0 18px 2px var(--electric-green);
}
.hero .cta-btn:hover {
  background: var(--electric-blue);
  color: #fff;
}

/* ====================================================================== */
/*                         CARDS & FEATURES                               */
/* ====================================================================== */
/* Already handled above with card, testimonial-card, feature-grid etc */

/* Adds pop neon outline on hover for major sections */
.section:hover {
  box-shadow: 0 0 44px 0 rgba(255,71,174,0.07);
  border: 2px solid var(--electric-blue);
}

/* Icon sizes in feature/service blocks */
.feature-grid img, .service-list img, .card img {
  width: 48px;
  height: 48px;
}

/* ====================================================================== */
/*                       TESTIMONIALS/REVIEWS CARDS                       */
/* ====================================================================== */
.testimonial-card {
  min-width: 210px;
  color: var(--gp-primary);
  background: var(--gp-accent-light);
  font-size: 1.09rem;
  border-left: 4px solid var(--electric-fuchsia);
  transition: box-shadow 0.18s, border 0.13s;
}
.testimonial-card strong {
  color: var(--electric-orange);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(255,71,174,0.12);
  border-left: 4px solid var(--electric-orange);
}

/* ====================================================================== */
/*          COOKIE CONSENT BANNER & MODAL                                 */
/* ====================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--electric-blue);
  color: #fff;
  box-shadow: 0 -4px 36px 0 rgba(44,36,70,0.13);
  padding: 28px 24px 24px 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: slideUpBanner 0.5s cubic-bezier(0.54, 0.2, 0.33, 0.98);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner .cookie-btns button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,49,35,0.86);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.31s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--gp-secondary);
  border-radius: 24px;
  padding: 48px 35px 40px 35px;
  min-width: 320px;
  width: 95vw;
  max-width: 430px;
  box-shadow: 0 7px 40px 8px rgba(39,48,66,0.22);
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: fadeInModal 0.4s cubic-bezier(0.35, 0.88, 0.43, 1.01);
}
@keyframes fadeInModal {
  from { transform: scale(0.85) translateY(36px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--electric-orange);
  font-size: 1.44rem;
  margin-bottom: 14px;
}
.cookie-modal label, .cookie-modal p {
  color: var(--gp-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.category input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--electric-blue); }
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 5px;
}
.cookie-modal .modal-actions button {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Close modal button */
.cookie-modal .modal-close {
  position: absolute;
  right: 19px; top: 15px;
  background: none;
  border: none;
  color: var(--electric-fuchsia);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--electric-orange);
  outline: none;
}

/* ====================================================================== */
/*                     FOOTER STYLES                                      */
/* ====================================================================== */
footer {
  background: var(--gp-primary);
  color: #fff;
  margin-top: 70px;
  box-shadow: 0 -3px 22px 0 rgba(44,36,70,0.14);
  border-radius: 40px 40px 0 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 20px 24px 20px;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.08rem;
  color: #fff;
}
.footer-brand img {
  width: 40px; height: 40px;
  margin-right: 7px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.95;
  text-decoration: underline;
  transition: color 0.16s, opacity 0.15s;
  font-weight: 600;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--electric-citrus); opacity: 1; }
.footer-contact {
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.6;
}
.footer-contact a {
  color: var(--electric-fuchsia);
  font-weight: 700;
  word-break: break-all;
}
.footer-contact a:hover { color: var(--electric-blue); }

/* ====================================================================== */
/*                  RESPONSIVE DESIGN: MOBILE FIRST                       */
/* ====================================================================== */
@media (max-width: 990px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .footer-brand img { width: 34px; height: 34px; }
  footer .container { flex-direction: column; gap: 22px; padding: 24px 10px; }
  .footer-contact, .footer-brand, .footer-nav { align-items: flex-start; }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
  .content-grid, .feature-grid, .card-container, .service-list {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .testimonial-card { flex-direction: column; }
  .hero .content-wrapper { padding: 12px 0 10px 0; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 220px; padding-top: 10px; border-radius: 0 0 24px 24px; }
}
@media (max-width: 540px) {
  .container { padding: 0 2vw; }
  .footer-brand img { width: 26px; height: 26px; }
  .footer-contact { font-size: 0.92rem; }
  .cookie-modal { min-width: 92vw; padding: 20px 6px; }
}

/* Text-image section vertical align on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* ====================================================================== */
/*               ADDITIONAL MICRO-INTERACTIONS/ANIMATIONS                 */
/* ====================================================================== */
.cta-btn, .btn-secondary, .btn-light {
  transition: background 0.19s, color 0.17s, box-shadow 0.17s, transform 0.16s;
}
.cta-btn:active, .btn-secondary:active, .btn-light:active {
  transform: scale(0.97);
}
.feature-grid > div:active, .service-list > div:active, .card:active {
  transform: translateY(2px) scale(0.99);
}

/* ====================================================================== */
/*                ENSURE NO OVERLAPPING OR GRID USAGE                     */
/* ====================================================================== */
/* (All layout with flexbox, no grid, no column-*, no position: absolute for content) */

/* ====================================================================== */
/*               FORM ELEMENTS (for Kontakt page)                         */
/* ====================================================================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--gp-primary);
  padding: 12px 14px;
  border-radius: 9px;
  border: 1.5px solid var(--electric-blue);
  background: #fffefa;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color 0.14s, box-shadow 0.14s;
}
input:focus, textarea:focus {
  border-color: var(--electric-fuchsia);
  box-shadow: 0 2px 12px var(--electric-fuchsia);
  outline: none;
}
label { display: block; margin-bottom: 7px; color: var(--gp-primary); font-weight: 600; }

/* ====================================================================== */
/*                    SCROLLBAR FOR DESKTOP                               */
/* ====================================================================== */
::-webkit-scrollbar { width:12px; background: var(--gp-accent-light); }
::-webkit-scrollbar-thumb {
  background: var(--electric-orange);
  border-radius: 6px;
  border: 2px solid var(--gp-accent-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--electric-fuchsia);
}

/* ====================================================================== */
/*                       Z-INDEX LAYERS                                   */
/* ====================================================================== */
header   { z-index:50; }
.mobile-menu { z-index:1100; }
.cookie-banner { z-index:2000; }
.cookie-modal-overlay { z-index:2100; }

/* ====================================================================== */
/*             MISC. ENERGETIC STYLES FOR HIGHLIGHTING                    */
/* ====================================================================== */
.feature-grid > div::after, .service-list > div::after {
  content: '';
  display: block;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg,var(--electric-fuchsia),var(--electric-orange),var(--electric-blue));
  position: absolute;
  left: 20px;
  bottom: 14px;
  border-radius: 6px;
  transition: width 0.19s;
}
.feature-grid > div:hover::after, .service-list > div:hover::after {
  width: 70%;
}

/* ====================================================================== */
/*       Visually hidden accessible utility class for ARIA                */
/* ====================================================================== */
.visually-hidden { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

/* ====================================================================== */
/*                         END OF CSS FILE                                */
/* ====================================================================== */
