/* =====================================================
   FreshSkill Renovierung – Vintage Retro CSS Theme
   Modern, responsive, unmistakably vintage/retro look
   Flexbox-only layouts, mobile-first, brand colors/fonts
   ===================================================== */

/* ========== FONT IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Archivo:wght@400;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #2B4C6F;
  --secondary: #89A87D;
  --accent: #F1F3F7;
  /* Vintage Retro Palette */
  --retro-yellow: #F6C667;
  --retro-orange: #E07A5F;
  --retro-brown: #7C5E3C;
  --retro-cream: #FFF8E1;
  --retro-blue: #3B6C8E;
  --retro-green: #A3B18A;
  --retro-red: #C44536;
  --retro-shadow: rgba(44, 36, 24, 0.12);
  /* Typography */
  --font-display: 'Montserrat', 'Archivo', Arial, sans-serif;
  --font-body: 'Archivo', Arial, sans-serif;
  /* Spacing */
  --section-margin: 60px;
  --section-padding: 40px 20px;
  --card-gap: 24px;
  --card-margin-bottom: 20px;
  --content-gap: 20px;
  --text-image-gap: 30px;
  --testimonial-gap: 20px;
  --feature-gap: 15px;
  /* Border radius */
  --radius: 12px;
  --radius-lg: 22px;
  /* Shadows */
  --shadow: 0 4px 16px var(--retro-shadow);
  --shadow-hover: 0 8px 28px var(--retro-shadow);
  /* Transitions */
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-body);
  background: var(--retro-cream);
  color: var(--retro-brown);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  /* Subtle retro paper texture */
  background-image: repeating-linear-gradient(135deg, #fff8e1 0 2px, transparent 2px 20px), repeating-linear-gradient(45deg, #f6c66711 0 4px, transparent 4px 24px);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.7em;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 0 #fff8e1, 2px 2px 0 #f6c66733;
}
h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--retro-blue);
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--retro-orange);
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--retro-brown);
}
p, ul, ol, li, dl, dt, dd {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--retro-brown);
}
strong {
  color: var(--retro-red);
  font-weight: 700;
}
a {
  color: var(--retro-blue);
  text-decoration: underline dotted;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--retro-orange);
  text-decoration: underline wavy;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--retro-yellow);
  border-bottom: 4px solid var(--retro-orange);
  box-shadow: 0 2px 12px #e07a5f22;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  background: none;
  border-radius: 6px;
  padding: 6px 14px;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}
header nav a.cta {
  background: var(--retro-orange);
  color: #fff;
  border-radius: 20px;
  font-weight: 900;
  box-shadow: 0 2px 8px #e07a5f33;
  margin-left: 10px;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 0 #c44536aa;
}
header nav a.cta:hover {
  background: var(--retro-red);
  color: #fff8e1;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-red);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px #e07a5f33;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: var(--retro-red);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--retro-yellow) 60%, var(--retro-orange) 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 0 100vw #2b4c6f33;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--retro-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px #c4453633;
  transition: background 0.2s;
}
.mobile-menu-close:hover {
  background: var(--retro-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--retro-cream);
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  box-shadow: 0 2px 8px #f6c66733;
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-orange);
  color: #fff;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(120deg, var(--retro-yellow) 60%, var(--retro-orange) 100%);
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: var(--section-margin);
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: var(--retro-blue);
  font-size: 2.4rem;
  text-shadow: 2px 2px 0 #fff8e1, 4px 4px 0 #f6c66733;
}
.hero p {
  font-size: 1.2rem;
  color: var(--retro-brown);
  margin-bottom: 1.2em;
}
.hero .cta {
  margin-top: 10px;
}

/* ========== FLEXBOX LAYOUTS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
  justify-content: space-between;
  margin-top: 20px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--retro-cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: var(--card-margin-bottom);
  border: 2px solid var(--retro-yellow);
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--retro-orange);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: sepia(0.4) hue-rotate(-10deg) saturate(0.7);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
}
.card {
  margin-bottom: var(--card-margin-bottom);
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--content-gap);
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: var(--text-image-gap);
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.text-image-section > div {
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.text-image-section img {
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px #2b4c6f22;
  background: #fff8e1;
  border: 2px solid var(--retro-yellow);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: var(--testimonial-gap);
  padding: 20px;
  background: var(--retro-cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 6px solid var(--retro-orange);
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-left: 6px solid var(--retro-red);
}
.testimonial-card p {
  color: var(--retro-brown);
  font-size: 1.1rem;
  font-style: italic;
  margin: 0 0 0.5em 0;
}
.testimonial-card span {
  color: var(--retro-blue);
  font-weight: 700;
  font-size: 1rem;
  margin-left: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--feature-gap);
}

/* ========== BUTTONS & CTA ========== */
.cta, .btn, button, input[type="submit"] {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  background: var(--retro-orange);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  box-shadow: 0 2px 8px #e07a5f33;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-top: 10px;
  margin-bottom: 10px;
  outline: none;
  position: relative;
}
.cta:hover, .btn:hover, button:hover, input[type="submit"]:hover {
  background: var(--retro-red);
  color: #fff8e1;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.03);
}

/* ========== TABLES ========== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--retro-cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}
thead {
  background: var(--retro-yellow);
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--retro-yellow);
  font-family: var(--font-body);
}
th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--retro-brown);
}
tr:last-child td {
  border-bottom: none;
}

/* ========== LISTS & FAQ ========== */
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  position: relative;
}
ul li::before {
  content: '\25A0';
  color: var(--retro-orange);
  font-size: 0.8em;
  margin-right: 0.6em;
  vertical-align: middle;
}

ol li::marker {
  color: var(--retro-red);
  font-weight: bold;
}
dl {
  margin-bottom: 1em;
}
dt {
  font-weight: 700;
  color: var(--retro-blue);
  margin-top: 1em;
}
dd {
  margin-left: 0;
  margin-bottom: 0.7em;
}

/* ========== FOOTER ========== */
footer {
  background: var(--retro-yellow);
  border-top: 4px solid var(--retro-orange);
  box-shadow: 0 -2px 12px #e07a5f22;
  padding: 32px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
footer nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}
footer nav a:hover {
  background: var(--retro-orange);
  color: #fff;
}
footer img {
  height: 36px;
  width: auto;
}
footer p {
  color: var(--retro-brown);
  font-size: 0.95rem;
  margin: 0;
}

/* ========== GALLERY ========== */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: var(--retro-yellow);
  color: var(--retro-brown);
  box-shadow: 0 -2px 16px #e07a5f33;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookieBannerIn 0.6s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: var(--retro-brown);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  margin: 0;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px #e07a5f33;
}
.cookie-banner .accept {
  background: var(--retro-green);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: var(--retro-blue);
}
.cookie-banner .reject {
  background: var(--retro-red);
  color: #fff;
}
.cookie-banner .reject:hover {
  background: var(--retro-brown);
}
.cookie-banner .settings {
  background: var(--retro-orange);
  color: #fff;
}
.cookie-banner .settings:hover {
  background: var(--retro-yellow);
  color: var(--retro-brown);
}

/* ========== COOKIE MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #2b4c6f88;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--retro-cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px #2b4c6f44;
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalPop 0.5s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--retro-orange);
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--retro-brown);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--retro-orange);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--retro-red);
  font-weight: 700;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--retro-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .close-modal:hover {
  background: var(--retro-brown);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .text-image-section img {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .feature-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }
  .gallery {
    gap: 18px;
  }
  footer {
    padding: 18px 0 8px 0;
    margin-top: 36px;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 18px 0 10px 0;
  }
  .section {
    padding: 14px 2px;
    margin-bottom: 18px;
  }
  .feature-grid > div, .card {
    padding: 14px 8px 10px 8px;
  }
  .cookie-modal {
    padding: 18px 6px 12px 6px;
    min-width: 0;
  }
}

/* ========== MICRO-INTERACTIONS ========== */
.cta:active, .btn:active, button:active, input[type="submit"]:active {
  transform: scale(0.97);
  box-shadow: 0 1px 4px #e07a5f33;
}

/* ========== RETRO DECORATIVE ELEMENTS ========== */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px; left: 24px;
  width: 60px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-yellow), var(--retro-yellow) 12px, var(--retro-orange) 12px, var(--retro-orange) 24px);
  border-radius: 8px;
  opacity: 0.25;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -18px; right: 24px;
  width: 60px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-yellow), var(--retro-yellow) 12px, var(--retro-orange) 12px, var(--retro-orange) 24px);
  border-radius: 8px;
  opacity: 0.18;
  z-index: 0;
}

/* ========== UTILITY CLASSES ========== */
.hide {
  display: none !important;
}

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