/* ----------------------------------------
   crawler.css | Stand: 08.07.2025
   Layout für SEO-Seiten im Gutachtenstil
   Struktur: OZ-Prinzip by SirPW & Kai
------------------------------------------- */

/* 000: Logo-Bild – Galerie Scholz */
.header-logo {
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 0.5rem; /* Einheitlicher linker Rand */
}

.header-logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* 001: Grundstruktur und Schriftbild */
html, body {
  height: 100%;                /* 001.1: Für Sticky-Footer erforderlich */
  margin: 0;                   /* 001.2: Kein Außenabstand */
  font-family: Georgia, "Times New Roman", serif; /* 001.3: Klassisches Erscheinungsbild */
  font-size: 1.1rem;           /* 001.4: Lesbare Grundschriftgröße */
  line-height: 1.75;           /* 001.5: Guter Zeilenabstand */
  background-color: #fffdf7;   /* 001.6: Papierähnlicher Hintergrund */
  color: #222;                 /* 001.7: Neutrale Textfarbe */
}

/* 002: Wrapper für Sticky-Footer-Layout */
.wrapper {
  display: flex;               /* 002.1: Flexbox-Struktur */
  flex-direction: column;     /* 002.2: Elemente untereinander */
  min-height: 100vh;          /* 002.3: Gesamtstruktur mindestens Viewport-Höhe */
}

/* 003: Hauptinhalt */
main {
  flex: 1;                     /* 003.1: Füllt vertikal den Platz */
  padding: 2rem;              /* 003.2: Innenabstand */
  max-width: 1200px;          /* 003.3: Einheitliche Breite */
  margin: 0 auto;             /* 003.4: Zentriert auf Seite */
}

/* 004: Überschriften */
h1, h2, h3 {
  color: #1a1a1a;
  margin-top: 2rem;
  font-weight: normal;
}

h1 {
  font-size: 2rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.3rem;
}

h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.2rem;
}

h3 {
  font-size: 1.2rem;
}

/* 005: Bildcontainer */
.image-container {
  margin: 2rem 0;
  text-align: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  padding: 4px;
  background: #f9f9f9;
}

/* 006: Links */
a {
  color: #c89a40;              /* 006.1: Ockerton als Akzent */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 007: Footer */
footer {
  background-color: transparent;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: #555;
}

.footer-box {
  max-width: 1200px;           /* 007.1: Gleiche Breite wie Hauptinhalt */
  margin: 0 auto;              /* 007.2: Zentrierung */
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-note {
  margin: 0.3rem 0;
}

/* 008: Druckansicht */
@media print {
  body {
    background: none;
    color: #000;
    font-size: 11pt;
    max-width: 100%;
    padding: 0;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
  }

  footer {
    display: none;             /* 008.1: Kein Footer im Ausdruck */
  }
}
