/* ==========================================================================
   Meyn Foto | München — meyn-foto.de
   Style based on the original Jimdo site (Dolphin "Natural" theme)
   ========================================================================== */

:root {
  --main: #bdcebe;        /* sage green (MainColor) */
  --shade-1: #8cb0a3;
  --shade-2: #577f70;
  --secondary: #82a384;
  --black: #000000;
  --white: #ffffff;
  --font-headline: "News Cycle", "Arial Narrow", sans-serif;
  --font-copy: "Catamaran", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-copy);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

/* --- image download deterrents (not bulletproof, see README) --- */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }

p { margin: 0 0 1em; }

ul { margin: 0 0 1em; padding-left: 1.2em; }

a { color: var(--black); }

@media (max-width: 1280px) {
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
  p, li { font-size: 16px; }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 16px;
  color: var(--black);
  padding-bottom: 2px;
}

.site-nav a:hover { text-decoration: underline; }

.site-nav a.active { text-decoration: underline; text-underline-offset: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

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

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.open { display: block; }

  .site-header .inner { flex-wrap: wrap; }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 8px 0 16px;
  }

  .site-nav a { display: block; padding: 8px 0; font-size: 18px; }
}

/* --------------------------------------------------------------------------
   Sections & layout
   -------------------------------------------------------------------------- */

.section-main { background: var(--main); }
.section-white { background: var(--white); }

.section {
  padding: 56px 24px 88px;
}

.section.first { padding-top: 120px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container.narrow {
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   Buttons (Jimdo "rounded" style: radius 5px)
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-copy);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-solid {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}

.btn-solid:hover { background: var(--shade-2); border-color: var(--shade-2); }

/* --------------------------------------------------------------------------
   Home: offer cards
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card .image-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--shade-1);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 { margin: 20px 0 4px; }

.card p { margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   Portfolio gallery
   -------------------------------------------------------------------------- */

.gallery-section { margin-bottom: 72px; scroll-margin-top: 90px; }

.gallery-section h2 { margin-bottom: 24px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--shade-1);
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Angebote & Preise
   -------------------------------------------------------------------------- */

.price-rows { display: flex; flex-direction: column; gap: 56px; }

.price-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.price-row .img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--shade-1);
}

.price-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-row h3 { margin-bottom: 8px; }

.price-row ul { margin: 0; }

.price-note {
  margin-top: 56px;
  max-width: 640px;
}

@media (max-width: 800px) {
  .price-row { grid-template-columns: 1fr; gap: 16px; }
  .price-row .img-wrap { max-width: 320px; }
}

/* --------------------------------------------------------------------------
   Über mich
   -------------------------------------------------------------------------- */

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.about-row .img-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.about-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--shade-1);
}

.about-row p { margin: 0; }

@media (max-width: 800px) {
  .about-row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-cta {
  max-width: 640px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal h1 { margin-bottom: 32px; }

.legal p { white-space: pre-line; }

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

.site-footer {
  background: var(--main);
  padding: 40px 24px;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  font-size: 14px;
}

.site-footer a { text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }
