/*
Theme Name:        mavu
Theme URI:         https://mavu.at
Author:            mavu | Magdalena Vukovic
Author URI:        https://mavu.at
Description:       Individuelles Theme für mavu – Grafikdesign aus dem Pinzgau. Alle Inhalte (Texte, Bilder, Kontaktdaten, Menü) lassen sich bequem über "Design → Customizer" und "Design → Menüs" bearbeiten – ohne zusätzliche Plugins.
Version:           1.0.0
Requires at least: 6.0
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:       mavu
Tags:              portfolio, one-page, custom-colors, custom-logo, custom-menu, threaded-comments
*/

/* =========================================================
   FARBPALETTE
   Werte können auch im Customizer überschrieben werden.
   ========================================================= */
:root {
  --color-rose:   #B97A7E;
  --color-rose-2: #C68A8A;
  --color-navy:   #1F3A4D;
  --color-cream:  #E8DDC9;
  --color-bg:     #FBF8F2;
  --color-text:   #2A2A2A;
  --color-muted:  #6B6B6B;
  --font-serif:   'Cormorant Garamond', 'Times New Roman', serif;
  --font-script:  'Allura', cursive;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ========================  RESET  ======================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-weight: 300;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ========================  HERO  ========================= */
.hero {
  background: var(--color-rose);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 2px;
}
.logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 4px;
  text-align: center;
  margin-top: -6px;
  opacity: 0.85;
}
.logo img { max-height: 64px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 0.7; }

.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px 60px;
}
.hero-script {
  font-family: var(--font-script);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  margin-bottom: 18px;
}
.hero-arrow {
  margin-top: 40px;
  width: 28px;
  height: 28px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); }
  50%      { transform: rotate(45deg) translate(6px,6px); }
}

/* ====================  ALLGEMEIN  ====================== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 40px;
  position: relative;
}
h2.title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--color-rose);
  margin-bottom: 40px;
}
.vertical-text {
  position: absolute;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-serif);
  font-size: 56px;
  letter-spacing: 8px;
  color: var(--color-rose);
  opacity: 0.9;
}

/* =====================  ABOUT  ========================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 440px;
}
.about-image {
  background: var(--color-cream);
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about .vertical-text {
  right: -10px;
  top: 50%;
  transform: rotate(180deg) translateY(50%);
}

/* ===================  THINGS I DO  ===================== */
.services h2.title { text-align: left; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  border: 1px solid var(--color-rose);
  border-radius: 60px;
  padding: 32px 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: background .25s, color .25s;
}
.service-card:hover { background: var(--color-rose); color: #fff; }
.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--color-rose);
  margin-bottom: 12px;
  transition: color .25s;
}
.service-card:hover h3 { color: #fff; }
.service-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-muted);
  transition: color .25s;
}
.service-card:hover p { color: #fff; }

/* ====================  WERDEGANG  ====================== */
.werdegang-wrap {
  position: relative;
  max-width: 1100px;
  margin: 80px auto 120px;
  padding: 0 40px;
}
.werdegang-wrap .vertical-text { left: 10px; top: 30px; }
.werdegang {
  background: var(--color-navy);
  color: #fff;
  padding: 60px 60px 60px 140px;
  border-radius: 4px;
}
.werdegang p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 18px;
  font-weight: 300;
}
.werdegang p:last-child { margin-bottom: 0; }

/* =====================  PROJECTS  ====================== */
.projects-intro {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 60px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 240px;
  gap: 24px;
}
.project {
  background: #fff;
  border: 1px solid #E5DFD5;
  transition: transform .3s;
  overflow: hidden;
  position: relative;
}
.project img { width: 100%; height: 100%; object-fit: cover; }
.project:hover { transform: translateY(-4px); }
.project.tall { grid-row: span 2; }
.project.wide { grid-column: span 2; }

/* =====================  CTA BAR  ======================= */
.cta-bar {
  background: var(--color-navy);
  color: #fff;
  text-align: center;
  padding: 28px 20px;
  font-family: var(--font-serif);
  letter-spacing: 8px;
  font-size: 22px;
  text-transform: uppercase;
}

/* =====================  CONTACT  ======================= */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  max-width: 820px;
  margin-top: 40px;
}
.field { display: flex; align-items: center; gap: 14px; }
.field label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-rose);
  min-width: 70px;
}
.field input,
.field textarea {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--color-rose);
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  outline: none;
}
.field input:focus,
.field textarea:focus { border-color: var(--color-navy); }
.field.full { grid-column: span 2; align-items: flex-start; }
.field textarea { resize: vertical; min-height: 120px; }
.submit-row { grid-column: span 2; text-align: right; }
.btn {
  background: var(--color-rose);
  color: #fff;
  border: none;
  padding: 14px 38px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
}
.btn:hover { background: var(--color-navy); }

/* Honeypot (Spam-Schutz) – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}

.form-message {
  grid-column: span 2;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
}
.form-message.success { background: #E5F1E5; color: #1E5A1E; }
.form-message.error   { background: #F4DCDC; color: #7A1E1E; }

/* =====================  FOOTER  ======================== */
.site-footer {
  background: var(--color-rose);
  color: #fff;
  text-align: center;
  padding: 70px 20px 40px;
  margin-top: 80px;
}
.site-footer .script {
  font-family: var(--font-script);
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 28px;
}
.site-footer .info {
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 300;
}
.site-footer .legal {
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 26px;
  opacity: 0.85;
}
.site-footer .legal a { margin: 0 8px; }
.site-footer .legal a:hover { text-decoration: underline; }

/* =====================  SUB PAGE (Impressum, Datenschutz)  ===================== */
.subpage {
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}
.subpage h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--color-rose);
  margin-bottom: 30px;
  font-weight: 400;
}
.subpage h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-navy);
  margin: 40px 0 14px;
  font-weight: 500;
}
.subpage p, .subpage li {
  color: var(--color-muted);
  margin-bottom: 14px;
  font-size: 15px;
}
.subpage ul, .subpage ol { padding-left: 22px; margin-bottom: 18px; }
.subpage a { color: var(--color-rose); }
.subpage a:hover { text-decoration: underline; }

/* Header für Unterseiten kompakter */
body.subpage-body .hero { min-height: 0; }
body.subpage-body .hero-center { display: none; }

/* WordPress Standardklassen */
.alignleft   { float: left; margin: 0 20px 14px 0; }
.alignright  { float: right; margin: 0 0 14px 20px; }
.aligncenter { display: block; margin: 0 auto 14px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ====================  RESPONSIVE  ===================== */
@media (max-width: 820px) {
  .nav { padding: 20px 24px; flex-direction: column; gap: 14px; }
  .nav-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .section { padding: 80px 24px; }
  .about { grid-template-columns: 1fr; }
  .about .vertical-text { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .werdegang { padding: 40px 28px; }
  .werdegang-wrap .vertical-text { display: none; }
  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .project.tall, .project.wide { grid-row: auto; grid-column: auto; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full { grid-column: span 1; }
  .submit-row { grid-column: span 1; text-align: center; }
  .form-message { grid-column: span 1; }
  .cta-bar { font-size: 14px; letter-spacing: 4px; }
  .subpage { padding: 60px 24px; }
}
