/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header,
hgroup, main, 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;
}
html { scroll-behavior: smooth; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img, picture, svg { display: block; max-width: 100%; height: auto; }

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

:root {
  --color-primary: #263240;
  --color-secondary: #F4D648;
  --color-accent: #FDF8F3;
  --color-dark: #1a222b;
  --color-grey: #dee2e6;
  --color-light: #fff;
  --text-dark: #222;
  --text-light: #fff;
  --border-radius: 18px;
  --shadow-md: 0 2px 14px 0 rgba(38,50,64,0.06), 0 1.5px 8px rgba(244,214,72, 0.06);
  --transition-base: all 0.22s cubic-bezier(.6,.2,.1,1);
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 16px;
  letter-spacing: 0.033em;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

main {
  padding-top: 24px;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #fdf8f3 0%, #f4d648 90%);
  box-shadow: 0 2px 14px 0 rgba(38,50,64,0.06);
  position: sticky;
  top: 0;
  z-index: 300;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
}
header nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 40px;
}
header nav > a img {
  height: 38px;
  width: auto;
  margin-right: 30px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 24px 0 0;
  align-items: center;
}
header nav ul li a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  padding: 9px 0;
  position: relative;
  transition: color 0.18s;
  font-size: 16px;
  border-bottom: 2px solid transparent;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #f4d648;
  border-bottom: 2px solid #f4d648;
}
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border:none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  padding: 12px 30px;
  border-radius: 28px;
  font-weight: 700;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
  margin-left: 15px;
  text-decoration: none;
  position: relative;
}
.cta-primary {
  background: linear-gradient(92deg, var(--color-primary) 0%, #3a4157 100%);
  color: var(--color-secondary);
  border: 2px solid var(--color-primary);
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(92deg, var(--color-secondary) 20%, #fff8c2 100%);
  color: var(--color-primary);
  border-color: #f4d648;
  transform: translateY(-2px) scale(1.025);
}
.cta-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: #f4d648;
}

/* ========== HERO SECTION ========== */
.hero {
  width: 100%;
  min-height: 380px;
  background: linear-gradient(95deg, #fdf8f3 0%, #f4d648 90%);
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 270px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 8px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.13;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.hero .subtitle {
  color: var(--color-dark);
  font-size: 1.28rem;
  max-width: 592px;
  font-weight: 400;
  margin-bottom: 16px;
}

/* ========== SECTION SPACING ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
section:last-child { margin-bottom: 0; }

/* ========== FEATURES & SERVICES FLEX ========== */
.features .content-wrapper, .services .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
  min-width: 240px;
  flex:1 1 260px;
  max-width: 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item:hover, .service-block:hover {
  box-shadow: 0 8px 32px rgba(244,214,72,0.10), 0 2.5px 14px rgba(38,50,64,0.09);
  transform: translateY(-4px) scale(1.021);
}
.feature-item img {
  width: 40px; min-height: 40px;
}
.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.20rem;
  color: var(--color-primary);
}
.feature-item p {
  font-size: 16px;
  color: #444;
}
/* SERVICES BLOCKS (for Dienstleistungen, Workshops, Shop) */
.service-block {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 24px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-block h3 {
  font-family: var(--font-display);
  font-size: 1.10rem;
  margin-bottom: 7px;
}
.service-block .price {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.02rem;
}

/* PRICING TABLES */
.pricing-table {
  width: 100%;
  margin-top: 34px;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 1rem;
}
.pricing-table caption {
  text-align: left;
  font-weight: 600;
  font-family: var(--font-display);
  color: #263240;
  font-size: 1.05em;
  margin: 12px 0;
  padding-left: 15px;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-grey);
}
.pricing-table thead th {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* TEXT-IMAGE/CONTENT GRID FLEXBOXES */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ========== TESTIMONIALS ========== */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  min-width: 288px;
  max-width: 390px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  color: #263240;
  font-size: 1.09rem;
  line-height: 1.45;
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.testimonial-meta {
  color: #8e7937;
  font-size: 1em;
  letter-spacing: 0.06em;
}

/* ---------- GENERAL SECTION TITLES ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.20rem;
  color: #222;
  margin-bottom: 8px;
}
.section h2 {
  margin-bottom: 24px;
}

section ul, .features ul {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
section ul li, .features ul li {
  font-size: 1rem;
  color: #444;
  padding-left: 20px;
  position: relative;
}
section ul li:before, .features ul li:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: linear-gradient(90deg, #263240 50%, #f4d648 100%);
  border-radius: 50%;
  position: absolute;
  left: 0px;
  top: 5px;
}

/* ---------- CTA SECTION ---------- */
.cta {
  background: linear-gradient(95deg, #263240 0%, #f4d648 100%);
  padding: 32px 20px;
  margin-bottom: 60px;
  border-radius: var(--border-radius);
}
.cta .content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTACT SECTION (KONTAKT + FOOTER) */
.contact .content-wrapper,
.contact-info .content-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.contact .cta-secondary {
  margin-top: 16px;
  min-width: 210px;
}

/* LEGAL PAGES */
.legal .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.legal .text-section {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
}
.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 26px;
}
.legal h2 {
  font-size: 1.18rem;
  margin-top: 1.3em;
  margin-bottom: 0.4em;
  color: var(--color-primary);
}
.legal ul li {
  font-size: 1rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 38px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 0;
}
footer nav ul li a {
  color: #fff8c2;
  font-size: 15px;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.18s;
}
footer nav ul li a:hover, footer nav ul li a:focus {
  color: #f4d648;
}
footer .footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}
footer .footer-branding img {
  height: 36px;
  margin-right: 10px;
}
footer .social-icons {
  display: flex;
  gap: 11px;
  align-items: center;
}
footer .footer-meta {
  color: #fff8c2;
  font-size: 15px;
  margin-top: 16px;
  opacity: 0.88;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.3rem;
  cursor: pointer;
  display: none;
  z-index: 1010;
  margin-left: 14px;
  transition: color 0.14s;
}
.mobile-menu-toggle:focus { outline: 2px solid #f4d648; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(110deg,#fff 75%, #f4d648 100%);
  transform: translateX(-105vw);
  transition: transform 0.36s cubic-bezier(.7,.1,.24,1);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--color-primary);
  position: absolute;
  top: 28px;
  right: 24px;
  cursor: pointer;
  z-index: 1310;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 70px 42px 28px 40px;
  gap: 22px;
  align-items: flex-start;
}
.mobile-nav a {
  padding: 14px 0 12px 0;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.16s, background 0.18s;
  border-radius: 9px;
  min-width: 180px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--color-primary);
  padding-left: 10px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2000;
  background: rgba(254, 251, 241, 0.99);
  border-top: 2.5px solid #f4d648;
  box-shadow: 0px -2px 36px rgba(38,50,64,0.09);
  padding: 20px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.06em;
  transition: transform 0.4s cubic-bezier(.8,.05,.09,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-message {
  color: #262626;
  max-width: 540px;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1em;
  border: none;
  outline: none;
  border-radius: 28px;
  padding: 9px 22px;
  cursor: pointer;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-weight: 700;
  margin: 0 2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(244,214,72,0.10);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #f4d648;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,50,64,0.55);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 20px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 6px 44px 0 rgba(38,50,64,0.17);
  padding: 38px 34px 30px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2510;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cookie-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #f4d64833;
  border-radius: 5px;
  border: 2px solid #26324066;
  vertical-align: middle;
  margin-top: 3px;
  cursor: pointer;
  transition: border 0.14s, background 0.18s;
}
.cookie-checkbox:checked {
  background: #f4d648;
  border: 2px solid #263240;
}
.cookie-category-label {
  font-size: 1em;
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
}
.cookie-modal .cookie-btn {
  min-width: 124px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 22px;
  font-size: 2.0rem;
  background: none;
  border: none;
  color: #9d9332;
  cursor: pointer;
}

/* ========== GENERAL ELEMENTS ========== */
a {
  color: var(--color-primary);
  text-decoration-skip-ink: auto;
  text-underline-offset: 2.5px;
  transition: color 0.20s;
}
a:hover, a:focus {
  color: #f4d648;
}
strong { font-weight: 700; }

/* CODE: TABLES */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-top: 16px;
}
th, td {
  text-align: left;
  padding: 14px 12px;
}
th {
  background: #fff8c2;
  color: #222;
  font-family: var(--font-display);
}
tr:nth-child(even) td {
  background: #fff8c2cc;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #f4d648aa;
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: #fdf8f3;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1100px) {
  .container {
    max-width: 99vw;
  }
  header nav ul, header nav {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .feature-item, .service-block {
    max-width: unset;
    min-width: 170px;
    flex: 1 1 170px;
  }
  .content-wrapper, .features .content-wrapper, .services .content-wrapper {
    gap: 15px;
  }
}

@media (max-width: 850px) {
  .container {
    padding: 0 8px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  section {
    padding: 28px 8px;
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 9px;
  }
  header .container, footer .container {
    padding: 0 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  header nav ul {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: 180px;
    padding: 30px 0;
  }
  .hero .content-wrapper {
    padding-bottom: 0;
  }
  .features .content-wrapper, .services .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feature-item, .service-block {
    max-width: 100%;
    min-width: unset;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    padding: 14px 13px 18px 13px;
  }
  .text-image-section, .contact .content-wrapper, .contact-info .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .pricing-table th, .pricing-table td {
    padding: 11px 7px;
    font-size: 0.99em;
  }
  .legal .text-section {
    padding: 19px 8px;
  }
  .cookie-modal {
    min-width: unset;
    padding: 20px 10px 14px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 6px;
    padding: 13px 7px 7px 7px;
  }
}

@media (max-width: 500px) {
  .hero .container {
    padding: 0 2px;
  }
  .hero {
    min-height: 120px;
    padding: 20px 0 13px 0;
  }
  section {
    margin-bottom: 34px;
    padding: 11px 3px;
  }
  .testimonial-card {
    padding: 10px 6px 12px 6px;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
}

/* ---- ANIMATION MICROINTERACTIONS ---- */
.cta-primary, .cta-secondary, .cookie-btn, .mobile-nav a {
  transition: background 0.22s, color 0.17s, box-shadow 0.18s, transform 0.19s;
}
.cta-primary:active, .cta-secondary:active, .cookie-btn:active, .mobile-nav a:active {
  transform: scale(0.96);
}

/* FOCUS STATES */
a:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus, .mobile-nav a:focus {
  outline: 2px dashed #f4d648;
  outline-offset: 2px;
}

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