/* ==========================================================================
   radierlack.de – Stylesheet
   Nachbau des Site.pro-Layouts
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variablen
   -------------------------------------------------------------------------- */
:root {
  --color-bg:            #efefef;
  --color-bg-white:      #ffffff;
  --color-text:          #3c3c3c;
  --color-text-soft:     #555555;
  --color-heading:       #333333;
  --color-accent:        #f57c00;   /* Orange */
  --color-topbar:        #4d4d4d;
  --color-footer:        #3d3d3d;
  --color-nav-active-bg: #2b2b2b;

  --container:           760px;     /* Textbreite Inhalt */
  --container-wide:      940px;     /* Breite für Bilder / Galerie */

  --font-base: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Roboto – lokal gehostet unter /fonts, kein Aufruf an Google-Server.
   Variable Font, Zeichensätze latin + latin-ext, Apache License 2.0
   (Lizenztext: fonts/LICENSE.txt). */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-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;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-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: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-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;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-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: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-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;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/roboto-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;
}

/* --------------------------------------------------------------------------
   2. Reset / Grundlagen
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

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

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

p { margin: 0 0 1.6em; }

/* --------------------------------------------------------------------------
   3. Layout-Container
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: var(--container-wide);
}

.section        { padding: 60px 0; }
.section--tight { padding: 30px 0; }
.section--flush { padding-top: 0; }

/* --------------------------------------------------------------------------
   4. Kopfbereich / Navigation
   -------------------------------------------------------------------------- */
.topbar {
  height: 10px;
  background: var(--color-topbar);
}

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

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 20px;
  margin: 0;
  list-style: none;
}

.nav__link {
  display: inline-block;
  padding: 8px 18px;
  color: var(--color-heading);
  font-size: 17px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: color .15s ease, background-color .15s ease;
}

.nav__link:hover { color: var(--color-accent); }

.nav__link.is-active {
  background: var(--color-nav-active-bg);
  color: #ffffff;
}

.nav__link.is-active:hover { color: #ffffff; }

/* Optional: Rahmen-Variante wie im Builder (Menüpunkte hervorheben)
   Klasse "nav__link--framed" im HTML ergänzen. */
.nav__link--framed {
  border-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  max-width: var(--container-wide);
  margin: 60px auto 0;
  padding: 0 20px;
}

.hero__media { position: relative; }

/* Der Schriftzug „radierlack.de“ ist fest im Bild enthalten – kein Text-Overlay nötig. */
.hero__image { width: 100%; }

/* Für Screenreader/Suchmaschinen sichtbar, optisch ausgeblendet */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   6. Überschriften / Textbausteine
   -------------------------------------------------------------------------- */
.headline {
  margin: 0 0 28px;
  color: var(--color-heading);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.headline--brand {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 50px 0 30px;
}

.headline--small {
  font-size: 32px;
  margin-bottom: 24px;
}

.lead {
  text-align: center;
  color: var(--color-text-soft);
  margin-bottom: 0;
}

.text-center { text-align: center; }
.text-strong { font-weight: 700; }

.quote {
  text-align: center;
  font-style: italic;
  margin-bottom: .4em;
}

.quote__source {
  text-align: center;
  margin-bottom: 2.2em;
}

/* --------------------------------------------------------------------------
   7. Produkt-Teaser (Bild + Text nebeneinander)
   -------------------------------------------------------------------------- */
.teaser {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.teaser__body {
  border-top: 2px dotted #7a7a7a;
  border-bottom: 2px dotted #7a7a7a;
  padding: 22px 0;
}

.teaser__title {
  margin: 0;
  color: var(--color-heading);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .5px;
}

.teaser__subtitle {
  margin: 0 0 2em;
  color: var(--color-text-soft);
  font-size: 17px;
}

.teaser__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   8. Eigenschaften-Liste
   -------------------------------------------------------------------------- */
.feature-list {
  margin: 0 0 1.6em;
  padding-left: 22px;
}

.feature-list li { margin-bottom: .9em; }

.feature-list b,
.feature-list strong {
  font-style: italic;
  font-weight: 700;
}

/* Einfache Aufzählung im Fließtext (Preise, Kontaktwege) */
.content-list {
  margin: 0 0 1.6em;
  padding-left: 22px;
}

.content-list li { margin-bottom: .7em; }

.content-list a { text-decoration: none; }

.content-list a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   9. Bildergalerie mit Bildunterschriften
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px 40px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.gallery figure {
  margin: 0;
  background: var(--color-bg-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

/* Einheitliche Kacheln mit mittigem Beschnitt – die Originale haben sehr
   unterschiedliche Formate (von 1200x801 bis 813x2099). */
.gallery img {
  width: 100%;
  aspect-ratio: 40 / 43;
  object-fit: cover;
  object-position: center;
}

.gallery a {
  display: block;
  line-height: 0;
  cursor: zoom-in;
}

.gallery a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   9d. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(20, 20, 20, .94);
}

.lightbox.is-open {
  display: grid;
  grid-template-rows: 1fr auto;
}

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 60px 70px 10px;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.lightbox__bar {
  padding: 16px 70px 26px;
  color: #e8e8e8;
  text-align: center;
}

.lightbox__caption {
  margin: 0 auto;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.5;
}

.lightbox__counter {
  margin: 8px 0 0;
  font-size: 14px;
  color: #9d9d9d;
}

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease;
}

.lightbox__btn:hover { background: var(--color-accent); }

.lightbox__btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.lightbox__btn--prev { left: 14px; }
.lightbox__btn--next { right: 14px; }

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  transform: none;
}

@media (max-width: 620px) {
  .lightbox__stage { padding: 60px 12px 8px; }
  .lightbox__bar   { padding: 12px 16px 20px; }

  .lightbox__btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .lightbox__btn--prev { left: 6px; }
  .lightbox__btn--next { right: 6px; }
}

.gallery figcaption {
  padding: 14px 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   9a. Download-Listen (PDFs)
   -------------------------------------------------------------------------- */
.download-group {
  margin: 34px 0;
}

.download-group__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
}

.download-list {
  margin: 0;
  padding-left: 22px;
}

.download-list li { margin-bottom: .7em; }

.download-list a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 124, 0, .45);
}

.download-list a:hover { border-bottom-color: var(--color-accent); }

.download-list .hint {
  color: var(--color-text-soft);
  font-size: 15px;
}

.signature {
  margin: 2.4em 0 0;
  color: var(--color-text-soft);
}

/* --------------------------------------------------------------------------
   9b. Vita / Lebenslauf
   -------------------------------------------------------------------------- */
.cv {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.55;
}

.cv__name {
  margin: 30px 0 60px;
  color: #222;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

.cv__section-title {
  margin: 42px 0 26px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
}

.cv__intro { margin: 0 0 .5em; }

/* Jahreszahl links, Eintrag rechts – Folgezeilen ohne Jahr bleiben bündig */
.cv__list {
  margin: 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 12px;
  row-gap: 0;
}

.cv__year {
  margin: 0;
  font-weight: 400;
  white-space: nowrap;
}

.cv__entry { margin: 0; }

/* Zeile über beide Spalten (z. B. „1974 / 1975 / 1976 Preis der Akademie“) */
.cv__row--full {
  grid-column: 1 / -1;
  margin: 0;
}

/* Einfache Aufzählung ohne Jahresspalte (Ankäufe, Firmen) */
.cv__plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv__note { color: #3f51b5; }

/* --------------------------------------------------------------------------
   9c. Rechtstexte (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 16px;
}

.legal__title {
  margin: 20px 0 40px;
  color: var(--color-heading);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}

.legal h2 {
  margin: 44px 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading);
}

.legal h3 {
  margin: 30px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
}

.legal ul,
.legal ol { padding-left: 22px; }

.legal li { margin-bottom: .6em; }

.legal a {
  color: var(--color-accent);
  word-break: break-word;
}

.legal address {
  font-style: normal;
  margin-bottom: 1.6em;
}

.legal__toc {
  list-style: disc;
  margin: 0 0 1.6em;
}

.legal__toc li { margin-bottom: .2em; }

.legal__meta {
  color: var(--color-text-soft);
  font-size: 15px;
}

.legal__generator {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #d5d5d5;
  color: var(--color-text-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   10. Fußbereich
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-footer);
  color: #ffffff;
  padding: 55px 0 65px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.footer-nav a {
  display: block;
  padding: 10px 20px;
  color: #d8d8d8;
  text-decoration: none;
  border: 2px solid transparent;
}

.footer-nav a:hover { color: var(--color-accent); }

/* Rahmen-Variante wie im Builder */
.footer-nav--framed a { border-color: var(--color-accent); }
.footer-nav--framed a + a { border-top: none; }

.footer-contact__title {
  margin: 0 0 22px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
}

.footer-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact__list li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.footer-contact__list a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact__list a:hover { color: var(--color-accent); }

.icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .teaser {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 480px;
  }

  .gallery { grid-template-columns: 1fr; }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .nav { gap: 4px; padding: 10px; }
  .nav__link { padding: 7px 12px; font-size: 15px; }

  .hero { margin-top: 30px; }

  .section { padding: 40px 0; }

  .headline { font-size: 30px; }
  .headline--brand { font-size: 32px; }
  .headline--small { font-size: 26px; }

  .footer-contact__title { font-size: 36px; }

  .cv__name { font-size: 34px; margin-bottom: 40px; }
  .cv__list { grid-template-columns: 52px 1fr; column-gap: 8px; }
  .cv { font-size: 15px; }
}
