/* ============================================
   BODOC – Global Styles
   Inspired by dieraumpiraten.de design system
   Colors: #000 (black), #fff (white), #fd2504 (red)
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 65ch;
}

/* === LAYOUT UTILITIES === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-pad--sm {
  padding: 3rem 0;
}

/* === ROUGH/UNEVEN SECTION BORDERS (SVG wave) === */
.wave-bottom {
  position: relative;
}
.wave-bottom::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0,20 C150,40 300,0 450,20 C600,40 750,0 900,20 C1050,40 1150,10 1200,20 L1200,40 L0,40 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  z-index: 1;
}

.wave-top {
  position: relative;
}
.wave-top::before {
  content: '';
  display: block;
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0,20 C150,0 300,40 450,20 C600,0 750,40 900,20 C1050,0 1150,30 1200,20 L1200,0 L0,0 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat top;
  background-size: cover;
  z-index: 1;
}

/* === DASHED / DOTTED BORDERS === */
.border-dashed-top {
  border-top: 3px dashed #000;
  padding-top: 2rem;
  margin-top: 2rem;
}
.border-dotted-top {
  border-top: 3px dotted #000;
  padding-top: 2rem;
  margin-top: 2rem;
}
.border-dashed-bottom {
  border-bottom: 3px dashed #000;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.border-dashed-red {
  border: 3px dashed #fd2504;
}
.border-dotted-red {
  border: 3px dotted #fd2504;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 3px solid transparent;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fd2504;
  color: #fff;
  border-color: #fd2504;
}

.btn-primary:hover {
  background: #c91e03;
  border-color: #c91e03;
}

.btn-outline {
  background: transparent;
  color: #000;
  border-color: #000;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-white:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* === ICONS === */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* === HEADER / NAV === */
header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #fd2504;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.logo span {
  color: #fd2504;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li a {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links li a:hover {
  color: #fd2504;
  border-bottom-color: #fd2504;
}

.nav-links .nav-cta a,
a.nav-cta {
  background: #fd2504;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-bottom: none !important;
}

.nav-links .nav-cta a:hover,
a.nav-cta:hover {
  background: #c91e03;
}

/* Mobile nav toggle */
.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 2px solid #fd2504;
    padding: 1rem 1.5rem;
  }

  .nav-toggle-checkbox:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px dotted #333;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    font-size: 1rem;
  }
}

/* === FOOTER === */
footer {
  background: #000;
  color: #fff;
  border-top: 3px solid #fd2504;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fd2504;
  margin-bottom: 1rem;
}

.footer-col nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col nav ul li a {
  color: #aaa;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col nav ul li a:hover {
  color: #fff;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: #fd2504;
}

.footer-desc {
  color: #aaa;
  font-size: 0.875rem;
  max-width: 260px;
}

.footer-bottom {
  border-top: 1px dashed #333;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #666;
  font-size: 0.8rem;
  max-width: none;
}

.footer-bottom a {
  color: #666;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fd2504;
}

/* === FAQ ACCORDION === */
details {
  border-top: 2px dotted #000;
}

details:last-child {
  border-bottom: 2px dotted #000;
}

details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  user-select: none;
  gap: 1rem;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary .faq-arrow {
  flex-shrink: 0;
  color: #fd2504;
  transition: transform 0.2s;
}

details[open] summary .faq-arrow {
  transform: rotate(180deg);
}

details .faq-answer {
  padding: 0 0 1.5rem;
  color: #333;
  font-size: 0.975rem;
  line-height: 1.7;
}

/* === TABLES === */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  background: #000;
  color: #fff;
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  padding: 0.875rem 1rem;
  border-bottom: 1px dotted #ddd;
}

tr:nth-child(even) td {
  background: #f8f8f8;
}

/* === UTILITY CLASSES === */
.text-red { color: #fd2504; }
.text-white { color: #fff; }
.text-center { text-align: center; }
.bg-black { background: #000; color: #fff; }
.bg-red { background: #fd2504; color: #fff; }
.bg-light { background: #f5f5f5; }

/* Rough border utility */
.rough-border {
  outline: 3px solid #000;
  outline-offset: 4px;
}

.rough-border-red {
  outline: 3px solid #fd2504;
  outline-offset: 4px;
}
