/* Self-hosted Roboto (variable font, downloaded from Google Fonts).
   Served locally so that no requests or visitor data are sent to Google. */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/roboto-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/roboto-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --grey-950: #16181a;
  --grey-900: #212529;
  --grey-700: #495057;
  --grey-500: #868e96;
  --grey-300: #ced4da;
  --grey-100: #e9ecef;
  --grey-50: #f4f5f6;
  --white: #ffffff;
  --section-w: 100vw;
  --header-h: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  color: var(--grey-900);
  background: var(--grey-50);
  line-height: 1.6;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--grey-300);
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--grey-900);
  letter-spacing: 0.02em;
}

.logo span {
  font-weight: 300;
  color: var(--grey-500);
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
}

.site-header nav a {
  text-decoration: none;
  color: var(--grey-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-header nav a:hover {
  color: var(--grey-900);
}

/* ---------- Language selector ---------- */

.lang-select {
  display: flex;
  gap: 0.25rem;
  border: 1px solid var(--grey-300);
  border-radius: 4px;
  overflow: hidden;
}

.lang-select button {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border: none;
  background: var(--white);
  color: var(--grey-500);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-select button:hover {
  color: var(--grey-900);
}

.lang-select button.active {
  background: var(--grey-900);
  color: var(--white);
}

/* ---------- Sections ---------- */

main.sections {
  margin-top: var(--header-h);
}

.section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  scroll-margin-top: var(--header-h);
}

.section h2 {
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--grey-500);
  margin: 0.5rem auto 0;
}

.section-alt {
  background: var(--grey-100);
}

.section-intro {
  color: var(--grey-700);
  margin: -1rem 0 2rem;
  text-align: center;
}

/* ---------- Hero ---------- */

.section-hero {
  flex-direction: row;
  gap: 3rem;
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--grey-100) 100%);
}

.hero-text {
  max-width: 560px;
}

.hero-text h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--grey-900);
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--grey-700);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--grey-900);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--grey-700);
}

.hero-image figure,
.about-grid figure,
.gallery-grid figure {
  background: var(--white);
  padding: 0.6rem;
  border: 1px solid var(--grey-300);
  border-radius: 4px;
}

.hero-image img,
.about-grid img,
.gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.hero-image figure {
  max-width: 380px;
}

figcaption {
  font-size: 0.8rem;
  color: var(--grey-500);
  padding: 0.4rem 0.2rem 0.2rem;
  font-style: italic;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 960px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--grey-700);
}

.checklist {
  list-style: none;
}

.checklist li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--grey-700);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--grey-500);
  font-weight: 700;
}

/* ---------- Cards (services / testimonials) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  width: 100%;
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 6px;
  padding: 1.5rem;
}

.card h3 {
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--grey-900);
}

.card p {
  color: var(--grey-700);
  font-size: 0.95rem;
}

.price {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--grey-900) !important;
}

.testimonial p {
  font-style: italic;
}

.testimonial footer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--grey-500);
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  width: 100%;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 860px;
  width: 100%;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: var(--grey-700);
}

.contact-info a {
  color: var(--grey-900);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--grey-700);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--grey-300);
  border-radius: 4px;
  background: var(--white);
  color: var(--grey-900);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--grey-500);
  border-color: var(--grey-500);
}

.form-status {
  display: none;
}

.form-status.success {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #e8f4e8;
  border: 1px solid #b5d8b5;
  color: #2d6a2d;
}

.form-status.error {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #fdeeee;
  border: 1px solid #f0c0c0;
  color: #8a2b2b;
}

/* Honeypot field: invisible to humans, tempting for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Legal notice (Impressum) ---------- */

.legal-text {
  max-width: 720px;
  text-align: left;
  color: var(--grey-700);
}

.legal-text h3 {
  font-weight: 500;
  color: var(--grey-900);
  margin: 1.75rem 0 0.5rem;
}

.legal-text p {
  margin-bottom: 0.75rem;
}

.legal-text address {
  font-style: normal;
  margin-bottom: 0.75rem;
}

.legal-note {
  padding: 0.75rem 1rem;
  background: var(--grey-100);
  border-left: 3px solid var(--grey-500);
  font-size: 0.9rem;
}

.legal-text .pending {
  color: #b03030;
  font-weight: 500;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey-500);
  background: var(--grey-900);
  color: var(--grey-300);
}

.site-footer a {
  color: var(--grey-100);
}

/* ---------- Horizontal-scroll hint (mobile only) ---------- */

.mobile-hint {
  display: none;
}

/* =====================================================================
   MOBILE: sections lay out side-by-side and scroll horizontally.
   Pure CSS — scroll-snap, no JavaScript.
   ===================================================================== */

@media (max-width: 767px) {
  /* The body itself becomes the horizontal scroll container. <main> is
     unwrapped with display:contents so every section + the footer become
     direct flex items (snap panels) of body. No JavaScript needed. */
  body {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  main.sections {
    display: contents;
  }

  .site-header {
    /* stays position: fixed, so it keeps covering the viewport top
       while the page scrolls sideways underneath it */
    padding: 0 0.75rem;
  }

  .logo {
    font-size: 1rem;
  }

  .site-header nav {
    gap: 0.55rem;
  }

  .site-header nav a {
    font-size: 0.7rem;
  }

  .lang-select button {
    font-size: 0.7rem;
    padding: 0.25rem 0.45rem;
  }

@media (max-width: 480px) {
  .site-header nav {
    display: none; /* anchor links don't fit; sections are one swipe apart */
  }
}

  .section,
  .site-footer {
    flex: 0 0 var(--section-w);
    width: var(--section-w);
    scroll-snap-align: start;
    margin-top: var(--header-h);
    height: calc(100vh - var(--header-h));
  }

  .section {
    min-height: 0;
    overflow-y: auto; /* sections taller than the screen scroll internally */
    padding: 3rem 1.5rem;
    scroll-margin-top: 0;
  }

  .section-hero {
    flex-direction: column-reverse;
    gap: 2rem;
    justify-content: flex-start;
  }

  .hero-image figure {
    max-width: 240px;
    margin: 0 auto;
  }

  .hero-text {
    text-align: center;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cards,
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }

  .mobile-hint {
    display: block;
    position: fixed;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(33, 37, 41, 0.75);
    color: var(--grey-100);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    z-index: 200;
    pointer-events: none;
  }
}
