/* ============================================================
   THEME:    pancake 25.10
   DESCR:    Pancake is a minimal pure HTML theme with stacked 
             content sections. The code does not depend on any 
             external libraries. Made for WebTyper CMS.
   AUTHOR:   Frank Leusing, 2025
   URL:      www.Leusing.de
   LICENSE:  Copyright Frank Leusing
   VERSION:  2025-11-14
   ============================================================ */



/* div, section, ul {border: 1px solid red;}  */

:root {
  --box-width: 1400px;
  --content-width: 1000px;
  
  /*  BASE COLORS  ------- */
  --brand: #ffc700;
  --complementary: #3943AA;
  --text: #444444;
  --background: #e7e7e3;
  --bg-white: #ffffff;

  --danger: #e63946;
  --warning: #ffb703;
  --success: #2a9d8f;
  --info: #3d5a80;

  /*  BRAND VARIATIONS  ------- */
  --brand-light: color-mix(in srgb, var(--brand) 60%, white 40%);
  --brand-dark: color-mix(in srgb, var(--brand) 90%, black 10%);

  /*  TEXT VARIATIONS  ------- */
  --text-muted: color-mix(in srgb, var(--text) 70%, var(--background) 30%);
  --text-light: color-mix(in srgb, var(--text) 50%, white 50%);
  --text-white: color-mix(in srgb, var(--text) 0%, white 100%);

  /*  BACKGROUND VARIATIONS  ------- */
  --bg-light: color-mix(in srgb, var(--background) 50%, white 50%);
  --bg-dark: color-mix(in srgb, var(--background) 95%, black 5%);
  --bg-tinted: color-mix(in srgb, var(--brand) 6%, var(--background) 94%);

  /*  BORDER COLORS  ------- */
  --border: color-mix(in srgb, var(--text) 50%, var(--background) 50%);
  --border-muted: color-mix(in srgb, var(--text) 30%, var(--background) 70%);

  /*  SIGNAL VARIATIONS  ------- */
  --danger-light: color-mix(in srgb, var(--danger) 80%, white 20%);
  --danger-dark: color-mix(in srgb, var(--danger) 80%, black 20%);

  --warning-light: color-mix(in srgb, var(--warning) 80%, white 20%);
  --warning-dark: color-mix(in srgb, var(--warning) 80%, black 20%);

  --success-light: color-mix(in srgb, var(--success) 80%, white 20%);
  --success-dark: color-mix(in srgb, var(--success) 80%, black 20%);

  --info-light: color-mix(in srgb, var(--info) 80%, white 20%);
  --info-dark: color-mix(in srgb, var(--info) 80%, black 20%);
}


@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik/Rubik-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}


@view-transition {
  navigation: auto;
}

/* Fade */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
}


/* slide-in from right side 
@keyframes slide-from-right {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(0);
  }
}

::view-transition-old(root) {
  animation: none;
}

::view-transition-new(root) {
  animation: slide-from-right 1s;
}
*/ 




* {
  margin:0;
  padding:0;
}


html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;  
}



html {
  font-family: Rubik, sans-serif;
  font-size:18px; 
  color: var(--text);
  line-height:1.5;
  background-color: var(--bg-white);

  @media (min-width: 1100px) { font-size:18px;  }
}

body {
  min-height:150vh;
}






/*  HEADER LAYOUT  -------------------------- */

header {
  width: 100%;
  max-width: 1700px; 
  margin: 2rem auto 2rem auto;
  padding: 0 20px;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.logo img {
  height: 20px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;

  @media (width >= 700px) { height: 35px; margin-top: 1rem; }
}








/*  NAVIGATION  -------------------------- */

ul.nav {
  list-style: none;
}

.nav-top { font-size: 0.8rem; text-transform: uppercase;}
.nav-main { margin-top:1rem; font-size: 0.9rem; }

.topnav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3rem;
  padding: 0.5rem 1rem;
}

.nav a {
  background: none;
  color: var(--text);
  padding: 0.4em 0.8em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background-color: var(--brand);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.nav a:active {
  background-color: var(--brand-dark);
  color: #000;
}

.nav-top a {
  color: var(--text);
}


/*  HAMBURGER  -------------------------- */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(2) {
  width: 100%;
}

.hamburger span:nth-child(3) {
  width: 100%;
}

/* Animate X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

/*  HAMBURGER BUTTON FOCUS  -------------------------- */
.hamburger.no-outline:focus {
  outline: none;
}




/*  OVERLAY NAV  -------------------------- */

.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--brand-light);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-200%);
  transition: transform 0.4s ease;
  z-index: 1000;
}

.nav-overlay.active {
  transform: translateY(0);
}

.nav-overlay ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.nav-overlay li {
  margin: 1rem 0;
}

.nav-overlay a {
  font-size: 1rem;
  color: var(--text);
  background-color: var(--brand-light);
  text-decoration: none;
  font-weight: 400;
  padding: 0.25em 0.5em;
  transition: color 0.2s ease;

  @media (min-width: 1100px) {
    font-size: 1.25rem;
  }
}

.nav-overlay a:hover {
  background-color: var(--brand);
}


.nav-top .langswitch {margin-left:1rem;}
.nav-overlay .langswitch {margin-top:2rem;}


/*  NAV BREAKPOINTS MOBILE FIRST -------------------------- */

.nav-top, .nav-main {
  display: none;
}

@media (width >= 700px) {
  .nav-top { display: none; }
  .nav-main { display: none;}
}

@media (width >= 1100px) {
  .nav-top { display: flex; justify-content: flex-start; }
  .nav-main { display: flex; justify-content: end; flex-wrap: wrap; }
  x.hamburger { display: none; }
  x.nav-overlay { display: none; }
}






/*  CONTENT SECTIONS  -------------------------- */

/* Base container styles for ALL classes on ALL screen sizes */
.content1600, .content1400, .content1200, .content1000, .content800, .content640 {
  width: 100%;
  margin: 0 auto 6rem auto;
  padding: 0 20px;
}

/* Specific Max-Widths apply for ALL screen sizes (mobile-first) */
.content1600 { max-width: 1600px; }
.content1400 { max-width: 1400px; }
.content1200 { max-width: 1200px; }
.content1000 { max-width: 1000px; }
.content800 { max-width: 800px; }
.content640 { max-width: 640px; }

section, header { margin-bottom: 6rem; }


/* Styles that CHANGE at 1100px+ */
@media (min-width: 1100px) {
  html { font-size: 18px; }
  .hero { padding: 6rem 0; margin-bottom: 6rem; }
  section, header { margin-bottom: 8rem; }
}








/* Inner div: mobile-first */
.cl80 {
  width: 100%;
  margin: 0 auto;
  padding: 0 ;
  box-sizing: border-box;

  /* Larger screens: 80% width, left aligned */
  @media (width >= 700px) {
    width: 80%;
    margin: 0;
  }
}







img.foto100 {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

figcaption {
  font-size: 0.86rem;
  text-align: right;
}

x.content img {
  box-shadow: -10px 30px 70px 0px rgba(0, 0, 0, .2);
}


/*  HERO  -------------------------- */
.hero {
  width:100%;
  background-color: var(--bg-light);
  padding:4rem 0;  
  margin-bottom:4rem;
}

.hero-content {
  width:100%;
  max-width: var(--content-width);
  margin:0 auto;
  padding:0 20px;
}




/*  TEXTURE ELEMENTS  -------------------------- */

.texture {
  position: relative;
  padding-left:3.5rem;
  margin: 2rem 8rem 0 0;
}

.texture::before {
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:0.75rem;
  height:100%;
  /*
  background-image: url('../textures/texture-07-yellow.webp');
  background-repeat: repeat;
  */
  background-color: var(--brand);
}

.hero .texture {
  margin: 2rem 1rem 0 0;
  @media (min-width: 700px) { margin: 2rem 8rem 0 0; }
}


.hero .texture::before {
  width:1.5rem;
}






/*  TYPOGRAPHY  -------------------------- */

.content640, p, h1, h2, pre {
  overflow-wrap: break-word;
}

p {margin-bottom:1.5rem;}

p.pre {
  /* Variation with black text on white */
  font-size:0.9rem;
  letter-spacing:0.1em;
  font-weight:400;
  text-transform:uppercase;
  padding-bottom: 0;
  margin-bottom: 0.75em;
}

xp.pre {
  /* Variation with white text on yellow */
  font-size:0.9rem;
  letter-spacing:0.1em;
  font-weight:400;
  text-transform:uppercase;
  padding: 0.25rem 0.5rem 0.15rem 0.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--text-white);
  background-color: var(--brand);
}


p.lead {
  font-size:1rem;
  font-weight:600;
}

p.small {
  font-size:0.86rem;
}


blockquote {
	font-style: italic;
}

h1 {
  font-size: 1.5rem;
  line-height:1.1;
  color: #444444;
  color: transparent;
  background-image: url('../textures/texture-07-black.webp');
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight:900;
  position: relative;
  padding-right:0;
  margin-bottom: 1rem;

  @media (width >= 700px) { 
  font-size: 4rem; 
  padding-right:20%;
  }
}



h1 b {
  color: transparent;
  background-image: url('../textures/texture-07-yellow.webp');
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
}



h2 {
  /* Variation with yellow text and texture */
  font-size: 2rem;
  font-weight: 900;
  color: #ffc700; /* fallback for browsers that don't support background-clip */
  background-image: url('../textures/texture-07-yellow.webp');
  background-repeat: repeat;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  line-height: 1.1;
}

x.h2 {
  /* Variation with black text and texture */
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  /* background-image: url('../textures/texture-07-black.webp');
  background-repeat: repeat;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  */
  margin-bottom: 1rem;
  line-height: 1.1;
}



h1, h2 {
  /* shifting background texture */
  --nh: 0; 
  background-position: calc(var(--nh) * 75px) calc(var(--nh) * 25px);
}


h3 {
  font-size: 1.5rem;
  line-height:1.1;
  color: var(--text);
  font-weight: 900;
  margin-bottom: 1rem;  
}


h4 {
  font-size: 1.25rem;
  line-height:1.1;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;  
}

h5 {
  font-size: 1.25rem;
  line-height:1.1;
  color: var(--text);
  font-weight: 900;
  margin-bottom: 1rem;  
}

h6 {
  font-size: 1rem;
  line-height:1.1;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;  
}

.col-brand {
  color: white;
}






/*  LINKS  -------------------------- */

main a {
  color: var(--text);
  background-color: var(--brand);
  padding: 0 0.2em;
  text-decoration:none;
  border-radius:2px;
  font-weight:400;
  transition: all 0.2s ease;
}

main a:hover {
  background-color: var(--brand-light);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset:2px;
}


main a:active {
  background-color: var(--brand-dark);
  color:#000;
  transform: translateY(0);
  box-shadow:0 1px 3px rgba(0,0,0,0.2);
}




/*  EXTERNAL LINK ICON  -------------------------- */
.content a[href^="http"]:not([href*="braingamesfactory."])::after {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 384' width='11' height='11' fill='none' stroke='currentColor' stroke-width='50' stroke-linecap='round' stroke-linejoin='round'><path d='M298 228v105c0 17-14 32-32 32H51c-18 0-32-15-32-32V123c0-18 14-32 32-32h104'/><path d='M148 238L363 23M249 23h114v114'/></svg>");
  display: inline-block;
  margin-left: 0.5em;
  font-size: 1em;
  line-height: 1;
  vertical-align: text-top;
  color: currentColor;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.content a[href^="http"]:not([href*="braingamesfactory."]):hover::after {
  opacity: 1;
}





/* BUTTONS  ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  border: 1px solid transparent;
  margin-bottom:2rem;
  margin-right:2rem;
}

/* Primary filled button */
.btn-primary {
  background: var(--brand);
  color: #111;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--brand) 30%, black 10%);
}
.btn-primary:hover { transform: translateY(-2px); }

/* Outline / secondary */
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 80%, var(--background) 20%);
}
.btn-outline:hover {
  background: color-mix(in srgb, var(--brand) 12%, var(--background) 88%);
  transform: translateY(-2px);
}




/*  SIGNAL COLORS  ----------- */
.button-danger {background-color: var(--danger); color: #fff;}
.button-danger:hover {background-color: var(--danger-light);}
.button-danger:active {background-color: var(--danger-dark);}

.button-warning {background-color: var(--warning); color:#000;}
.button-warning:hover {background-color: var(--warning-light);}
.button-warning:active {background-color: var(--warning-dark);}

.button-success {background-color: var(--success); color:#fff;}
.button-success:hover {background-color: var(--success-light);}
.button-success:active {background-color: var(--success-dark);}

.button-info {background-color: var(--info); color:#fff;}
.button-info:hover {background-color: var(--info-light);}
.button-info:active {background-color: var(--info-dark);}


pre {
  background: var(--bg-light);
  padding: 1rem;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-wrap: break-word; 
  overflow-x: auto;
}



/* LIST STYLE ----------- */
ul, ol {
  /* user-agent styles */
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
}


/* LIST STYLE CHECKMARK ----------- */
ul.checkmark {
  list-style: none; 
  padding: 0;
}

ul.checkmark li {
  position: relative;
  padding-left: 1.6em; 
  margin-bottom: 0.4em;
  line-height: 1.5;
  color: var(--text, #222);
}

ul.checkmark li::before {
  content: "\2713";    
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand, #d6b100); 
  font-weight: 900;
  font-size: 1.5em;
  line-height: 1;
}





::selection {
  background-color: var(--bg-dark);
  color: var(--text);
}











/*  CARD GRID  -------------------------- */

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr; /* Mobile first: one column */

  /*  2 columns  */
  @media (width >= 700px) { grid-template-columns: repeat(2, 1fr);  }

  /*  3 columns */
  @media (width >= 1100px) { grid-template-columns: repeat(3, 1fr); }

}


/*  CARD ELEMENT  -------------------------- */

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background-color: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  margin: 1rem 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/*  IMAGE  -------------------------- */
.card-img {
  min-width: 103%;
  height: 300px !important;
  /* 
  object-fit: cover;
  object-position: 0px center; */
  display: block;
  position: relative; 
}

.card-img::after {
  content: ''; 
  position: absolute; 
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%; 
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.05), 
    rgba(0, 0, 0, 0) 
  );
  pointer-events: none; 
}

.card-img.no-shadow::after {
  background: none;
}


.card-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 0px center;
  /* display: block; */
}


/*  TEXT  -------------------------- */
/* centered text
.card h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem 0;
  color: var(--text);
  text-align: left;
}

.card p {
  font-size: 0.9rem;
  padding: 0 1rem 1.5rem 1rem;
  color: var(--text-muted);
  line-height: 1.4;
}
*/

/* TEXT LEFT-ALIGNED */
.card .pre,
.card h3,
.card p {
  text-align: left;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0;
}

.card .pre {
  display: block;
  font-size: 0.9rem;
  color: var(--text, #444);
  margin-bottom: 0;
}

.card h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.4;
}



/*  BLOCK  -------------------------- */
/*  BLOCK GRID  -------------------------- */

.blog-list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr; /* Mobile first: one column */

  /*  2 columns  */
  @media (width >= 700px) { grid-template-columns: repeat(1, 1fr);  }

  /*  3 columns */
  @media (width >= 1100px) { grid-template-columns: repeat(2, 1fr); }
}






.blog-item {
  display: flex;
}

.blog-card-text {
  padding: 2rem 1.5rem;
}

.blog-card-text h3 {
  margin-top: 1rem;
}







/*  FAQ  -------------------------- */

.faq-section {
  margin-top: 4rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-muted);
}

.faq-question {
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text);
}

.faq-item.active .faq-answer {
  padding: 1rem 1.5rem;
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* turn + into × */
}









/*  CTA SECTION  -------------------------- */
.cta {
  margin-top: 8rem;
}

.cta-section {
  background: var(--background);
  padding: 2rem 1rem;
  margin-top: 8rem;
  border-radius: 10px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.cta h2 {
  font-size: 2rem;
  color: #444444;
  color: transparent;
  background-image: url('../textures/texture-07-black.webp');
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 1rem;  
}


.cta-lead {
  margin: 0 0 0.75rem 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 60ch;
}

/* small feature list (visual only) */
.cta-features {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.cta-features li { margin: 0.35rem 0; }


/* right column (buttons / contact) */
.cta-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}


/* small note under buttons */
.cta-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* focus styles for accessibility */
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, white 82%);
  border-color: color-mix(in srgb, var(--brand) 60%, black 40%);
}





/* CTA PHONE SECTION -------------------------- */
.cta-phone {
  display: flex;
  align-items: center;  
  justify-content: left;  
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.cta-phone svg {
  display: block;
  width: 80px;
  height: 80px;
  color: var(--brand);
}

.cta-phone .cta-tel a {
  font-size: 1.2rem;
  color: var(--brand, #ffc700);
  background-color: transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.7;
  display: inline-block;
  transition: color 0.2s ease;
}

.cta-phone .cta-tel a:hover {
  background-color: none;
  color: var(--text);
  box-shadow: none;
  transform: translateY(0);
}



@media (width >= 700px) {
  .cta-phone svg {
    width: 100px;
    height: 100px;
  }
  .cta-phone .cta-tel a {
    font-size: 1.5rem;
  }
}



/* Mobile-first: stack layout */
/* Tablet: two-column layout (text left, CTAs right) */
@media (width >= 700px) {
  .cta-inner {
    grid-template-columns: 1fr 360px;
    align-items: center;
    gap: 2rem;
  }

  .cta-right {
    align-items: flex-end;
    text-align: right;
  }

  .cta-lead { max-width: none; }
}

@media (width >= 1100px) {
  .cta-inner { max-width: var(--content-width); }
}





/*  FOOTER  -------------------------- */

footer {margin-top: 8rem;}

.footer-top {
  background: var(--bg-dark);
  color: var(--text);
  padding: 2rem 1rem;
}

/* Grid of 3 columns (mobile-first: stack) */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}


.footer-col h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin: 1rem 0 1rem 0;
}



.footer-col p,
.footer-col ul {
  margin: 0 0 0.75rem 0;
  color: var(--text-on-brand);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li { margin: 0 0 0.5rem 0; }

.footer-col a {
  color: var(--text-on-brand);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: color-mix(in srgb, var(--text-on-brand) 80%, black 20%);
  border-bottom-color: color-mix(in srgb, var(--text-on-brand) 50%, black 50%);
  outline: none;
}

/* ---------- BOTTOM: white single-line area ---------- */
.footer-bottom {
  background: var(--bg-white);
  padding: 0.75rem 1rem;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  box-sizing: border-box;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* make the left/right wrap nicely on very small screens */
.footer-bottom-inner > div {
  min-width: 0;
}

/*  FOOTER BOTTOM LINKS  -------------------------- */

.footer-bottom {
  background-color: #fff;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom p {
  margin: 0;
}



/* ---------- RESPONSIVE BREAKPOINTS ---------- */
/* from 700px and up: 3 columns, left-aligned block widths */
@media (width >= 700px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .footer-top {
    padding: 3rem 2rem;
  }

  .footer-bottom {
    padding: 1rem 2rem;
  }
}

/* from 1100px: widen container */
@media (width >= 1100px) {
  .footer-columns, .footer-bottom-inner {
    max-width: var(--box-width);
  }
}







/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

.page {
  color: var(--text, #444444);
  background: var(--bg-light, #fff);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 0 solid #ddd;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.page:hover {
  background: var(--brand, #ffc700);
}

.page.active {
  background: var(--brand, #ffc700);
  color: var(--text, #444444);
}

.page.prev,
.page.next {
  font-weight: 600;
}









/* TESTIMONIALS SECTION WITH 2 STYLES -------------------------- */

.testimonials {
  margin-bottom: 6rem;
  text-align: left;
}

.testimonials-header {
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.testimonial-grid {
  display: grid;
  gap: 2rem;

  /* responsive layout */
  @media (width >=700px) { grid-template-columns: repeat(2, 1fr);  }

  @media (width >=1100px) { grid-template-columns: repeat(3, 1fr); }
}






/* individual quote card */
.testimonial-style01 {
  position: relative;
  background: var(--bg-light, #fff);
  border-radius: 1rem;
  padding: 6rem 2rem 2rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.testimonial-style02 {
  position: relative;
  background: unset;
  border-radius: 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  padding: 6rem 2rem 2rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.2rem;
  left: 0.8rem;
  font-size: 8rem;
  font-weight: 900;
  color: var(--brand, #ffc700);
  line-height: 1;
  pointer-events: none;

  /* texture overlay 
  color: transparent;
  background-image: url('../textures/texture-07-yellow.webp');
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text; 
  display: inline-block;
  */
}

.testimonial-style01 blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text, #444);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.testimonial-style02 blockquote {
  font-style: normal;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--text, #444);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.testimonial figcaption {
  font-size: 0.86rem;
  color: var(--text-muted, #666);
  line-height: 1.4;
}

.testimonial strong {
  display: block;
  color: var(--text-dark, #111);
  font-weight: 600;
}















/* --- GALLERY STYLES --- */
.gallery {
  margin-bottom: 6rem;
  text-align: left;
}

.gallery-header {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
  cursor: pointer;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 75%;
  border-radius: 0.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 1rem;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s;
}

.lightbox-close { top: 20px; right: 30px; font-size: 2.5rem; }
.lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}






/* BACK TO TOP BUTTON -------------------------- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--brand, #ffc700);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
  z-index: 999;
}

/* Hover & active effects */
#back-to-top:hover {
  transform: translateY(-3px);
  background-color: var(--brand, #ffc700); 
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Visible when scrolling */
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top svg {
  width: 24px;
  height: 24px;
  display: block;
}





/* TYPOGRAPHY KITCHEN SINK - COLORS & FONTS ------------------ */
.style-guide {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto 6rem auto;
}

h3.style-guide {
  margin: 5rem 0 1rem 0;
  padding: 0;
}

.color-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.color-section h4 {
  margin-bottom: 0.5rem;
}

.swatches-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.color-hex {
  padding-bottom: 2rem;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
}

.color-swatch .swatch {
  width: 150px;
  height: 150px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  border: 1px solid #ccc;
}

.font-sample p {
  margin: 0;
  font-size: 3rem;
}






/* PARALLAX SECTION  ------------------ */
.parallax-section {
  position: relative;
  height: 60vh;
  background-image: url('../../_media/sudoku-raetsel-fuer-zeitung-von-raetselagentur-960x500.webp');
  background-attachment: fixed; /* creates the parallax effect */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.parallax-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* dark overlay for readability */
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.parallax-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--brand, #ffc700);
}

.parallax-section p {
  font-size: 1.25rem;
  color: #fff;
}








/* ============================
   Split Image + Text Section
   ============================ */

/* Container defaults: stack on mobile */
.split-container {
  display: block;
}

/* Image full width on mobile */
.split-image {
  width: 100%;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* border-radius: 8px; */
}

/* Text block below image (mobile) */
.split-text {
  width: 100%;
  padding: 1.5rem 0 0;
}

.split-text h1 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}

/* ============================
   Desktop layout (2 columns)
   ============================ */
@media (min-width: 800px) {
  .split-container {
    display: flex;
    align-items: stretch;     /* make columns equal height */
    gap: 2rem;
  }

  .split-image,
  .split-text {
    flex: 0 0 50%;
    min-width: 0;
  }

  .split-image {
    display: block;
    min-height: 360px;
  }

  .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .split-text {
    display: flex;
    flex-direction: column;   
    justify-content: flex-end;  
    align-items: flex-start;  
    padding: 2rem 1.5rem 0;
  }

  .split-text h1 {
    font-size: 2.6rem;
    line-height: 1.05;
  }
}






/* ============================
   Callout Box inside Paragraph
   ============================ */
.calloutbox-left, .calloutbox-right {
  display: block;
  background: var(--text, #444);
  color: var(--bg-white, #fff);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1.4;
  margin: 1rem 0;
}

/* On larger screens: float left or right */
@media (min-width: 800px) {
  .calloutbox-left, .calloutbox-right {
    width: 33%;
    margin: 0.5rem 1.5rem 1rem 0;
  }

  .calloutbox-right {
    float: right;
    margin: 0.5rem 0 1rem 1rem;
  }

  .calloutbox-left {
    float: left;
  }
}






/* Callout boxes */
.calloutbox-left,
.calloutbox-right {
  width: 40%;
  padding: 1rem;
  background-color: #333; /* dark background */
  color: #fff;
  border-radius: 0.5rem;
  margin: 1rem 0;
  display: block;
}

.calloutbox-left {
  float: left;
  margin-right: 1.5rem;
}

.calloutbox-right {
  float: right;
  margin-left: 1.5rem;
}

/* Out-shifted images */
.img-out-left,
.img-out-right {
  width: 200px;
  height: auto;
  display: block;
  position: relative;
  margin: 2rem 0;
}

.img-out-left {
  float: left;
  left: -220px;
}

.img-out-right {
  float: right;
  right: -220px;
}

/* Clear floats after section */
.content640::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .calloutbox-left,
  .calloutbox-right,
  .img-out-left,
  .img-out-right {
    width: 100%;
    float: none;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}





/* --- Image Shift Styles --- */
/* --- Base Styles for Out-Shifted Images --- */

.img-outside-left,
.img-outside-right {
    display: block;
    max-width: none; /* Allow image to exceed container max-width */
    height: auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* 1. Mobile-First (Viewport-Relative) Shift */

.img-outside-left {
    width: 90vw;
    margin-left: 0;
    margin-right: 0;
}

.img-outside-right {
    width: 90vw;
    margin-right: 0;
    margin-left: 0;
}

/* --- Desktop Shift (Fixed Pixel Breakout) --- */

@media (min-width: 1100px) {

    /* Set the amount to shift out */
    .img-outside-left {
        width: calc(100% + 200px); /* Column width + shift amount */
        margin-left: -200px;
        /* Reset the margin-right to auto */
        margin-right: auto; 
    }

    .img-outside-right {
        width: calc(100% + 200px); /* Column width + shift amount */
        /* Reset the margin-left to auto */
        margin-left: auto;
        margin-right: -200px;
    }
}







/* Swiper Slider NEW */

.swiper-container {
    width: 100%;
    max-width: 2800px;
    padding: 0 5%;
    margin-bottom: 3rem;
    box-sizing: border-box;
    cursor: pointer;
    position: relative; 
    user-select: none;
    -webkit-user-select: none;
}

.swiper-container:active {
    cursor: grabbing;
}

.swiper-wrapper {
    display: flex;
    align-items: flex-end;
}

.swiper-slide {
    width: 100%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out; 
}

.swiper-pagination-bullet {
    background-color: lightgrey;
}

.swiper-pagination-bullet-active {
    background-color: darkgrey;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    position: absolute !important;
    z-index: 99; 
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 3rem;
    font-weight:900;
    color: #fff;
}

.swiper-container:active .swiper-slide img {
    transform: scale(0.95);
}

.swiper-scrollbar-container {
    max-width: 800px;
    margin: 0 auto;
    position: absolute; 
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; 
}

.swiper-scrollbar {
    background-color: #ccc;
    height: 5px;
}

.swiper-scrollbar-drag {
    background-color: darkgrey;
}

