/*
Theme Name: Fraucke Theme v2
Theme URI: https://fraukesophiefischer.de
Description: Child theme of Twenty Twenty-Five implementing the "Frauke Sophie Fischer" artist website — nordic reduction / Bauhaus-inspired, imported from Claude Design.
Author: Henning Fischer
Author URI: https://fraukesophiefischer.de
Template: twentytwentyfive
Version: 1.9.0
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fraucke-theme-v2
*/

/* =========================================================
   Fonts — Jost, lokal gehostet (DSGVO: kein Google-CDN)
   Variable Font, deckt die Gewichte 300–600 ab.
   ========================================================= */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/jost-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: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/jost-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;
}

/* =========================================================
   Globals
   ========================================================= */
* { box-sizing: border-box; }
html, body { margin: 0; }

body.fraucke-theme-v2,
body {
  background: #ffffff;
  font-family: 'Jost', sans-serif;
  color: #1a1a1a;
}

::selection { background: #1a1a1a; color: #f4f3ef; }

a { color: inherit; }

.fsf-site {
  background: #ffffff;
  min-height: 100vh;
}

/* Shared layout helpers ----------------------------------- */
.fsf-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 112px;
}

.fsf-rule-tb {
  border-top: 1px solid #8a8980;
  border-bottom: 1px solid #8a8980;
}

.fsf-imgbox { position: relative; }

.fsf-center-abs {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fsf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fsf-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px 36px; align-items: start; }
.fsf-grid-art { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 40px; }
.fsf-about-grid { display: grid; grid-template-columns: 0.42fr 1fr; }

/* Werkkachel: misst ihre eigene Breite, damit die Bildunterschrift
   darauf reagieren kann — unabhängig davon, wie breit der Bildschirm ist. */
.fsf-work { container-type: inline-size; }

/* Bildunterschrift: Titel links, Jahr/Technik rechts. Ist die Kachel zu
   schmal für beides nebeneinander, stehen sie untereinander — sonst läuft
   eine lange Technikangabe in den Titel (passiert auf Handys und auch in
   schmalen zweispaltigen Layouts). */
.fsf-work-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fsf-work-caption--lg { font-size: 14px; }
.fsf-work-caption > span + span { color: #8a8980; }

/* Werkkachel auf der Startseite: Bild und Unterschrift teilen sich denselben
   Kasten (85% der Spalte, mittig), damit der Text bündig am Bild beginnt. */
.fsf-work-card { width: 85%; margin: 0 auto; }

/* Bildunterschrift wie auf der Portfolio-Seite: Titel, darunter die Technik. */
.fsf-work-title {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.fsf-work-meta {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #8a8980;
}

@container (max-width: 470px) {
  .fsf-work-caption { flex-direction: column; gap: 4px; }
}

/* Werdegang (About): kompakte Typografie für Abschnittstitel + Listen */
.fsf-about-grid .fsf-content h3 {
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
  font-weight: 500;
  margin: 44px 0 16px;
}
.fsf-about-grid .fsf-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fsf-about-grid .fsf-content li {
  font-size: 15px;
  line-height: 1.6;
  color: #3a3a36;
}
.fsf-about-grid .fsf-content li strong { color: #1a1a1a; }
.fsf-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }

/* Zentrierter Seitentitel-Block (Portfolio, Available Art, About, Contact) */
.fsf-page-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #8a8980;
  padding: 64px 0 20px;
}
.fsf-page-title {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}
.fsf-page-sub {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8980;
  margin-top: 8px;
}

.fsf-h1 {
  font-weight: 500;
  font-size: clamp(28px, 5.4vw, 80px);
  line-height: 1;
  letter-spacing: 0.04em;
  word-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
  margin: 30px 0 0;
  text-align: center;
}

/* =========================================================
   Header
   ========================================================= */
.fsf-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #8a8980;
}

.fsf-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.fsf-brand {
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
}

.fsf-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.fsf-nav-link {
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: #8a8980;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.fsf-nav-link:hover { color: #1a1a1a; }
.fsf-nav-link.is-active { color: #1a1a1a; border-bottom-color: #1a1a1a; }

.fsf-nav-ig {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  color: #8a8980;
  text-decoration: none;
  transition: color 0.3s;
}
.fsf-nav-ig:hover { color: #1a1a1a; }

/* =========================================================
   Page (view) switching
   ========================================================= */
.fsf-page { display: none; }
.fsf-page.is-active { display: block; }

/* Call-to-action helpers ---------------------------------- */
.fsf-link-cta { cursor: pointer; }

.fsf-btn-outline {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border: none;
  border-bottom: 1px solid #8a8980;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8980;
  white-space: nowrap;
  flex: none;
  transition: color 0.3s, border-color 0.3s;
}
.fsf-btn-outline:hover { color: #1a1a1a; border-bottom-color: #1a1a1a; }

/* =========================================================
   Contact form
   ========================================================= */
.fsf-field-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.fsf-input,
.fsf-textarea {
  width: 100%;
  border: 1px solid #8a8980;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #1a1a1a;
  padding: 0 14px;
}
.fsf-input { height: 48px; }
.fsf-textarea { height: 180px; padding: 14px; resize: vertical; }
.fsf-input:focus,
.fsf-textarea:focus { outline: none; border-color: #1a1a1a; }

.fsf-btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1px solid #1a1a1a;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1a1a;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s, color 0.3s;
}
.fsf-btn-send:hover { background: #1a1a1a; color: #ffffff; }

/* =========================================================
   Footer
   ========================================================= */
.fsf-footer {
  border-top: 1px solid #8a8980;
  margin-top: 40px;
}
.fsf-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 112px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8980;
}
.fsf-footer-inner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a8980;
  text-decoration: none;
}
.fsf-social { display: flex; gap: 30px; align-items: center; }
.fsf-footer-link {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: #8a8980;
  transition: color 0.3s;
}
.fsf-footer-link:hover { color: #1a1a1a; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .fsf-container,
  .fsf-header-inner,
  .fsf-footer-inner { padding-left: 48px; padding-right: 48px; }
}

@media (max-width: 720px) {
  .fsf-container,
  .fsf-header-inner,
  .fsf-footer-inner { padding-left: 24px; padding-right: 24px; }

  .fsf-header-inner { height: auto; padding-top: 16px; padding-bottom: 16px; flex-direction: column; gap: 14px; }
  .fsf-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }

  .fsf-h1 { font-size: clamp(15px, 5.6vw, 34px); }

  .fsf-grid-2,
  .fsf-grid-3,
  .fsf-grid-art,
  .fsf-about-grid,
  .fsf-contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .fsf-footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .fsf-social { flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
  /* Rückfallebene für Browser ohne Container-Query-Unterstützung */
  .fsf-work-caption { flex-direction: column; gap: 4px; }
}

/* =========================================================
   Portfolio — klickbare Werke + Lightbox
   ========================================================= */
.fsf-work-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}
.fsf-work-open:disabled { cursor: default; }
.fsf-work-open:not(:disabled):hover { opacity: 0.92; }

.fsf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
.fsf-lightbox[hidden] { display: none; }
.fsf-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.93);
}
.fsf-lightbox-inner {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1100px, 94vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}
.fsf-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  display: block;
}
.fsf-lightbox-caption {
  margin-top: 22px;
  text-align: center;
  max-width: 640px;
  padding-bottom: 8px;
}
.fsf-lightbox-title {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4f3ef;
}
.fsf-lightbox-meta {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #b3b1a9;
  margin-top: 6px;
}
.fsf-lightbox-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #d8d6cf;
  margin: 14px 0 0;
}
.fsf-lightbox-close {
  position: fixed;
  top: 14px;
  right: 22px;
  z-index: 2;
  padding: 4px 10px;
  border: 0;
  background: none;
  color: #f4f3ef;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.fsf-lightbox-close:hover { color: #ffffff; }

/* Honeypot: für Menschen unsichtbar, Bots füllen es aus. */
.fsf-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* =========================================================
   Contact — left: form (+25%) | right: short text above image
   ========================================================= */
.fsf-contact-row { align-items: flex-start; gap: 48px; }
.fsf-contact-row .wpcf7 { font-size: 1.25em; }
.fsf-contact-row .wpcf7 input,
.fsf-contact-row .wpcf7 textarea,
.fsf-contact-row .wpcf7 select { font-size: 1em; width: 100%; }
.fsf-contact-photocol .fsf-contact-photo { margin: 24px 0 0; }
.fsf-contact-photocol .fsf-contact-photo img { width: 95%; height: auto; display: block; }

@media (max-width: 781px) {
  .fsf-contact-photocol .fsf-contact-photo img { width: 100%; }
}
