/* Fotoidee Minden — CSS from scratch */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Source+Sans+Pro:wght@400;600&display=swap');

:root {
  --primary:   #222222;  /* nav / header bg */
  --secondary: #333333;  /* footer bg */
  --accent:    #a07090;  /* pink-purple (logo / highlights) */
  --nav-hover: #fff3ca;  /* nav link hover */
  --text:      #444444;  /* body text */
  --bg:        #ffedd2;  /* page background (cream-peach) */
  --content-bg:#ffffff;  /* content card panels */
  --border:    #e0c9b2;  /* borders */
  --muted:     #9d9e9e;  /* muted text */
}

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

html { font-size: 16px; }

body {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .25s; }
a:hover { color: #7a5070; text-decoration: underline; }
p { margin-bottom: 1em; }
ul, ol { margin: .75em 0 1em 1.5em; }
h1, h2, h3, h4 {
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  color: #282828;
  line-height: 1.15;
  margin-bottom: .6em;
}


/* ── HEADER ─────────────────────────────────── */
.fi-header {
  background: var(--primary);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  min-height: 110px;
}
.fi-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.fi-logo img {
  max-height: 64px;
  width: auto;
}
/* Fallback text logo if img fails */
.fi-logo-text {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.fi-logo-text span {
  color: var(--accent);
  font-style: italic;
}


/* ── NAV ─────────────────────────────────────── */
.fi-nav {
  background: var(--primary);
  width: 100%;
  border-top: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.fi-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.fi-nav__inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.fi-nav__inner > ul > li {
  position: relative;
}
.fi-nav__inner a {
  display: block;
  padding: 14px 13px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.fi-nav__inner a:hover,
.fi-nav__inner li.active > a {
  color: var(--nav-hover);
  text-decoration: none;
}

/* Dropdown */
.fi-nav__inner .has-sub > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary);
  min-width: 200px;
  z-index: 9999;
  border-top: 2px solid var(--accent);
}
.fi-nav__inner .has-sub:hover > ul {
  display: block;
}
.fi-nav__inner .has-sub > ul > li > a {
  padding: 11px 18px;
  font-size: 12px;
  border-bottom: 1px solid #333;
}
.fi-nav__inner .has-sub > ul > li:last-child > a {
  border-bottom: none;
}

/* Mobile toggle */
.fi-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  color: #fff;
  font-size: 22px;
}

@media (max-width: 1000px) {
  .fi-nav__toggle { display: block; }
  .fi-nav__inner {
    flex-direction: column;
    padding: 0;
  }
  .fi-nav__inner > ul {
    display: none;
    flex-direction: column;
  }
  .fi-nav__inner > ul.open { display: flex; }
  .fi-nav__inner a { padding: 12px 24px; }
  .fi-nav__inner .has-sub > ul {
    position: static;
    display: none;
    border-top: none;
    padding-left: 16px;
  }
  .fi-nav__inner .has-sub.open > ul { display: block; }
}


/* ── BREADCRUMB ──────────────────────────────── */
.fi-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px 0;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.fi-breadcrumb a { color: var(--muted); }
.fi-breadcrumb a:hover { color: var(--text); text-decoration: none; }


/* ── CONTENT ─────────────────────────────────── */
.fi-content {
  background: var(--bg);
  width: 100%;
  min-height: 60vh;
}
.fi-content__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}


/* ── PAGE TITLE ──────────────────────────────── */
.fi-page-title {
  text-align: center;
  padding: 32px 20px 8px;
}
.fi-page-title h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #282828;
}
.fi-page-title .subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
  margin-top: .25em;
}


/* ── MASONRY GALLERY (columns) ───────────────── */
.fotoidee-galerie {
  columns: 3;
  column-gap: 12px;
  padding: 24px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.fotoidee-galerie img {
  width: 100%;
  margin-bottom: 12px;
  break-inside: avoid;
  border-radius: 4px;
  display: block;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.fotoidee-galerie img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

@media (max-width: 900px) { .fotoidee-galerie { columns: 2; } }
@media (max-width: 500px) { .fotoidee-galerie { columns: 1; } }


/* ── TEXT + GALLERY PAGE ─────────────────────── */
.fi-text-block {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.fi-text-block h1 {
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3em;
}
.fi-text-block h2 {
  font-size: 1.5rem;
  margin: 1.6em 0 .5em;
  color: var(--accent);
  font-weight: 400;
}
.fi-text-block p { font-size: 1.05rem; }


/* ── PREISE PAGE ─────────────────────────────── */
.preise-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}
.preise-notice {
  background: #fff5e6;
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 32px;
  font-size: .95rem;
  border-radius: 2px;
}
.preise-kategorie {
  margin-bottom: 40px;
}
.preise-kategorie h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 16px;
}
.preise-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .97rem;
}
.preise-table tr {
  border-bottom: 1px solid var(--border);
}
.preise-table tr:last-child { border-bottom: none; }
.preise-table td {
  padding: 11px 8px;
  vertical-align: top;
}
.preise-table td:last-child {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  color: var(--primary);
  min-width: 80px;
}
.preise-note {
  font-size: .88rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 6px;
}


/* ── ÜBER MICH PAGE ──────────────────────────── */
.ueber-mich-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.ueber-mich-block h1 { font-size: 2.2rem; text-transform: uppercase; letter-spacing:.08em; }


/* ── KONTAKT PAGE ────────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 680px) { .kontakt-grid { grid-template-columns: 1fr; } }

.kontakt-form h2, .kontakt-address h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  border: 2px solid var(--border);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  border-radius: 2px;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.kontakt-form textarea { height: 130px; resize: vertical; }
.kontakt-form .fi-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .2s;
  border-radius: 2px;
}
.kontakt-form .fi-btn:hover { background: #3a3a3a; }
.kontakt-address address {
  font-style: normal;
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
}
.kontakt-address .kontakt-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}


/* ── 404 PAGE ────────────────────────────────── */
.error-404 {
  text-align: center;
  padding: 80px 20px;
}
.error-404 .big-404 {
  font-size: 140px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-family: 'Lato', sans-serif;
}
.error-404 h2 { font-size: 2rem; margin: 16px 0 8px; }
.error-404 p { color: var(--muted); margin-bottom: 24px; }
.btn-back {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 13px 32px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .9rem;
  transition: background .2s;
}
.btn-back:hover { background: #3a3a3a; color: #fff; text-decoration: none; }


/* ── DOCX / ARTICLE PAGE ─────────────────────── */
.article-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.article-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: .4em; letter-spacing: 0; }
.article-page h2 { font-size: 1.4rem; font-weight: 700; margin: 1.8em 0 .6em; color: #282828; letter-spacing: 0; }
.article-page h3 { font-size: 1.1rem; font-weight: 700; margin: 1.4em 0 .4em; color: #444; letter-spacing: 0; }
.article-page p { font-size: 1rem; margin-bottom: 1em; }
.article-page ul { margin: .5em 0 1em 1.4em; }
.article-page li { margin-bottom: .4em; font-size: 1rem; }

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .92rem;
}
.article-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  letter-spacing: .5px;
}
.article-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.article-table tr:nth-child(even) td { background: #faf6f0; }

.faq-section h3 {
  background: #f5ede4;
  padding: 13px 18px;
  border-left: 4px solid var(--accent);
  margin: 0 0 3px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.faq-section p {
  padding: 12px 18px;
  background: #fdfaf7;
  border-left: 4px solid var(--border);
  margin-bottom: 16px;
}


/* ── FOOTER ─────────────────────────────────── */
.fi-footer {
  background: var(--secondary);
  color: #aaa;
  padding: 32px 20px;
  text-align: center;
  font-size: .88rem;
}
.fi-footer a { color: #ccc; text-decoration: underline; }
.fi-footer a:hover { color: #fff; }
.fi-footer .fi-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.fi-footer__copy { color: #666; font-size: .82rem; margin-top: 10px; }
