/* =============================================================
   LUMINO SOMMERFEST – ELEGANT CLASSIC CSS (Mobile first, Flexbox only)
   ============================================================= */
/* ========================= RESET & BASE ========================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  color: #252521;
  background: #FAFAF6;
  line-height: 1.65;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1B2D50;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #63C7B2;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin: 1.1em 0 1.1em 0;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.8em 0;
  font-family: 'Playfair Display', Georgia, serif;
  color: #1B2D50;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.22;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1.3em 0;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.94em;
  color: #86816B;
}
label {
  font-size: 1em;
  margin-bottom: 0.5em;
  display: block;
}
input, button, textarea {
  font-family: inherit;
  font-size: 1em;
}

/* ========================= BRAND COLORS ========================= */
:root {
  --lumino-primary: #1B2D50;
  --lumino-secondary: #F4D35E;
  --lumino-accent: #63C7B2;
  --lumino-bg: #FAFAF6;
  --lumino-card-bg: #FDFCF9;
  --lumino-section-bg: #F7F6F2;
  --lumino-footer-bg: #23233a;
  --lumino-footer-color: #e7e4d0;
  --lumino-shadow: 0 2px 16px 0 rgba(27, 45, 80, 0.03);
  --lumino-border-color: #e7e7e2;
  --lumino-muted: #86816B;
  --lumino-testimonial-bg: #f2efea;
  --lumino-focus: #F4D35E;
}

/* =================== CONTAINER, SPACING, LAYOUT =================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  background: var(--lumino-section-bg);
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--lumino-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--lumino-card-bg);
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(38,40,59,0.05);
  padding: 32px 24px;
  margin-bottom: 20px;
  min-width: 270px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.23s cubic-bezier(.5,.02,.16,1), box-shadow 0.23s cubic-bezier(.5,.02,.16,1);
  border: 1px solid var(--lumino-border-color);
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 24px rgba(38,40,59,0.10);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--lumino-testimonial-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: var(--lumino-shadow);
  margin-bottom: 20px;
  border: 1px solid var(--lumino-border-color);
  color: #232323;
  font-size: 1.1em;
}
.testimonial-card span {
  font-style: italic;
  color: var(--lumino-muted);
  margin-left: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========== TEAM CARD (About Page) ============ */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.team-profile {
  background: var(--lumino-card-bg);
  border-radius: 10px;
  box-shadow: var(--lumino-shadow);
  border: 1px solid var(--lumino-border-color);
  padding: 22px 20px;
  min-width: 210px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== HEADER, NAV & MOBILE MENU ==================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--lumino-border-color);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 24px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1em;
  color: var(--lumino-primary);
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  position: relative;
}
header nav a.cta.primary {
  background: var(--lumino-secondary);
  color: var(--lumino-primary);
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(27,45,80,0.08);
  padding: 7px 16px;
  border-radius: 5px;
  transition: background .2s, color .2s, box-shadow .25s cubic-bezier(.5,.02,.16,1);
}
header nav a.cta.primary:hover,
header nav a.cta.primary:focus {
  background: var(--lumino-primary);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(27,45,80,0.13);
}
header nav a.active {
  background: var(--lumino-accent);
  color: #fff;
}

/* Hide Mobile Menu Toggle by default for desktop */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--lumino-primary);
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 5px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--lumino-accent);
  color: #fff;
}

/* ==================== MOBILE NAV OVERLAY ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27, 45, 80, 0.98);
  z-index: 100;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.72, .05, .10, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  background: none;
  color: #fff;
  font-size: 2rem;
  padding: 22px 18px 16px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--lumino-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 0 30px 30px 30px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #fff;
  padding: 12px 4px;
  border-radius: 3px;
  margin-bottom: 4px;
  width: 100%;
  font-family: 'Merriweather', Georgia, serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--lumino-secondary);
  color: var(--lumino-primary);
}

/* ============= BUTTONS ============= */
.cta {
  display: inline-block;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 6px;
  background: var(--lumino-secondary);
  color: var(--lumino-primary);
  padding: 10px 28px;
  cursor: pointer;
  box-shadow: 0 3px 16px rgba(27, 45, 80, 0.07);
  transition: background .18s, color .18s, box-shadow .2s cubic-bezier(.5,.02,.16,1), transform .2s;
}
.cta.primary {
  background: var(--lumino-secondary);
  color: var(--lumino-primary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--lumino-primary);
  color: #fff;
}
.cta.secondary {
  background: var(--lumino-primary);
  color: #fff;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--lumino-accent);
  color: var(--lumino-primary);
}

button, input[type='submit'] {
  transition: background .17s, color .17s, box-shadow .2s, transform .18s;
}
button:active, input[type='submit']:active {
  transform: scale(0.96);
}

/* ============== FORMS ============== */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
input[type="email"],
input[type="text"],
input[type="password"] {
  border: 1px solid var(--lumino-border-color);
  border-radius: 5px;
  padding: 11px 13px;
  background: #fff;
  width: 100%;
  font-size: 1em;
  margin-bottom: 8px;
  transition: border 0.16s, box-shadow 0.18s;
}
input[type="email"]:focus,
input[type="text"]:focus {
  border-color: var(--lumino-accent);
  outline: none;
  box-shadow: 0 0 0 2px #63c7b243;
}

/* ======= Note Block (Kontakt) ======= */
.note {
  background: #ffeab6;
  color: #795600;
  border-left: 4px solid var(--lumino-secondary);
  border-radius: 6px;
  padding: 16px 19px;
  margin: 15px 0 0 0;
  font-size: 1.04em;
  font-family: 'Merriweather', Georgia, serif;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--lumino-footer-bg);
  color: var(--lumino-footer-color);
  padding: 54px 0 20px 0;
  font-size: 1rem;
  border-top: 1px solid #272742;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-branding img {
  width: 56px;
  margin-bottom: 9px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.footer-nav a {
  font-size: 1em;
  color: var(--lumino-footer-color);
  padding: 5px 3px;
  transition: color .18s;
  border-radius: 3px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--lumino-accent);
  background: rgba(99,199,178,0.09);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 17px;
  align-items: center;
}
.footer-social a img {
  width: 30px;
  filter: grayscale(20%) brightness(1.1);
  opacity: 0.85;
  transition: filter .2s, opacity .18s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  opacity: 1;
  filter: none;
}
.footer-newsletter form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-newsletter label {
  color: #dedebe;
  font-size: 1em;
  margin-bottom: 0;
  margin-right: 12px;
}
.footer-newsletter input[type="email"] {
  background: #23233a;
  color: #fff;
  border: 1px solid #423f67;
  padding: 8px 11px;
}
.footer-newsletter input[type="email"]::placeholder {
  color: #b5b2c2;
}
.footer-newsletter .cta.secondary {
  font-size: 1rem;
  border-radius: 5px;
  padding: 7px 18px;
  background: var(--lumino-accent);
  color: var(--lumino-primary);
}
.footer-newsletter .cta.secondary:hover {
  background: var(--lumino-secondary);
  color: var(--lumino-footer-bg);
}
.footer-copy {
  margin-top: 24px;
  color: #bab6b7;
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbea;
  color: #232323;
  border-top: 1.5px solid #f0e7cd;
  box-shadow: 0 -2px 27px rgba(38,40,59,.08);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  flex-wrap: wrap;
  animation: cookie-fadein 0.7s cubic-bezier(.5,.3,.14,1);
}
@keyframes cookie-fadein {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1em;
  flex: 2 1 180px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button, .cookie-modal button {
  padding: 9px 24px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background: var(--lumino-primary);
  color: #fff;
  cursor: pointer;
  transition: all .17s cubic-bezier(.5,.02,.16,1);
}
.cookie-banner button.accept {
  background: var(--lumino-accent);
  color: var(--lumino-primary);
}
.cookie-banner button.reject {
  background: #d5b770;
  color: #603c00;
}
.cookie-banner button.settings {
  background: transparent;
  color: var(--lumino-primary);
  border: 1px solid var(--lumino-primary);
}
.cookie-banner button:hover, .cookie-modal button:hover {
  opacity: .9;
  box-shadow: 0 3px 11px 0 rgba(99,199,178,.16);
}
.cookie-banner button:focus {
  outline: 2px solid var(--lumino-accent);
}

/* ========== COOKIE MODAL ========== */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3000;
  width: 100vw;
  height: 100vh;
  background: rgba(27, 45, 80, 0.67);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: cookie-modal-fade .42s cubic-bezier(.7,0,.18,1);
}
@keyframes cookie-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  color: #232323;
  border-radius: 12px;
  box-shadow: 0 9px 60px rgba(27,45,80,0.26);
  padding: 36px 24px 24px 24px;
  min-width: 310px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Merriweather', Georgia, serif;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-top: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 7px 0 13px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category strong {
  width: 160px;
  display: inline-block;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--lumino-accent);
  margin-right: 8px;
}
.cookie-modal-close {
  border: none;
  background: transparent;
  color: #555;
  font-size: 1.7rem;
  position: absolute;
  right: 13px;
  top: 16px;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 4px;
}

/* ============== TYPOGRAPHY SCALE ============== */
@media (max-width: 850px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.12rem; }
  .card, .team-profile {
    min-width: 100%;
    padding: 20px 12px;
  }
}

/* ============== RESPONSIVE FLEXBOX ADJUSTMENTS ============== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 6px;
  }
  .card-container, .team-grid, .content-grid {
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 15px 10px;
  }
}

@media (max-width: 620px) {
  header .container {
    padding: 10px 10px;
    gap: 11px;
  }
  .footer-newsletter form {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
}

/* =============== MOBILE NAVIGATION SHOW/HIDE =============== */
@media (max-width: 1020px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .section {
    padding: 18px 4px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .footer-social {
    gap: 9px;
  }
  .footer-contact {
    gap: 4px;
  }
  .footer-newsletter form {
    gap: 7px;
  }
}
@media (max-width: 460px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 11px 7px;
    font-size: 0.92em;
  }
  .cookie-banner .cookie-buttons {
    gap: 7px;
    flex-wrap: wrap;
  }
  .cookie-modal-content {
    min-width: 86vw;
    padding: 20px 9px 16px 9px;
  }
}

/* ======== MICRO-INTERACTIONS & TRANSITIONS ======== */
.card, .team-profile, .testimonial-card {
  transition: box-shadow .27s cubic-bezier(.5,.02,.16,1), transform .2s cubic-bezier(.5,.02,.16,1);
}
.card:hover, .team-profile:hover {
  box-shadow: 0 16px 32px -6px rgba(34,50,60,0.12);
  transform: translateY(-3px) scale(1.01);
  z-index: 1;
}

input:not([type='checkbox']):focus, textarea:focus, select:focus {
  outline: 2px solid var(--lumino-focus);
  border-color: var(--lumino-accent);
  box-shadow: 0 0 0 2px var(--lumino-accent);
}

/* =================== ELEGANT SPACING SYSTEM ===================== */
.section, .card, .footer-branding, .footer-contact, .footer-nav, .footer-social, .testimonials-card, .feature-item {
  margin-bottom: 24px;
}
.card-container, .team-grid, .content-grid, .testimonials {
  gap: 24px;
}

/* =============== CUSTOM SCROLLBARS (Elegant, subtle) =============== */
::-webkit-scrollbar {
  width: 9px;
  background: #ececec;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #d3c8b3;
  border-radius: 6px;
}

/* =============== UTIL CLASSES =============== */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ================= FONTS =================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Merriweather:wght@400;700&display=swap');

body {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  background: var(--lumino-bg);
  color: #232323;
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ================== Accessible Focus ================== */
a:focus, button:focus, .cta:focus, input:focus {
  outline: 2px solid var(--lumino-accent);
  outline-offset: 2px;
}

/* =================== END OF STYLE =================== */
