/*
Theme Name: Sigi Rupp – Netlify Match
Theme URI: https://sigirupp.de/
Description: WordPress theme matching the supplied Netlify design, with editable portfolio and working booking/legal pages.
Version: 3.2.0
*/


:root{
  --cream:#f3f3f1;
  --paper:#fafaf8;
  --ink:#3f3f3d;
  --muted:#6b6b68;
  --wine:#4a4a48;
  --wine-dark:#30302f;
  --rose:#e2e2df;
  --line:#d5d5d1;
  --gold:#777774;
  --max:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"DM Sans",sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  font-size:16px;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{width:min(var(--max),calc(100% - 48px));margin:auto}
h1,h2,h3{
  font-family:"Playfair Display",serif;
  font-weight:500;
  line-height:1.12;
}
h1{font-size:clamp(48px,6vw,82px);letter-spacing:-.035em}
h2{font-size:clamp(38px,4.2vw,58px);letter-spacing:-.025em}
h3{font-size:25px}
p{color:var(--muted)}
.small-label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--wine);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:600;
}
.small-label:before{content:"";width:30px;height:1px;background:var(--gold)}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:50px;
  padding:0 24px;
  background:var(--wine);
  color:white;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  transition:.25s ease;
  box-shadow:0 12px 28px rgba(63,63,61,.14);
}
.btn:hover{background:var(--wine-dark);transform:translateY(-2px)}
.btn.light{
  background:transparent;
  color:var(--ink);
  border:1px solid var(--ink);
  box-shadow:none;
}
.btn.light:hover{background:var(--ink);color:white}
/* Logo-matched grayscale theme */
header{backdrop-filter:none;-webkit-backdrop-filter:none}
.logo img{display:block}
.btn{letter-spacing:.01em}
.card,.reference,.contact-item{background:#fff}
header{
  position:absolute;
  top:0; left:0; right:0;
  z-index:100;
  background:rgba(250,250,248,.97);
  border-bottom:1px solid rgba(213,213,209,.65);
  box-shadow:0 4px 18px rgba(63,63,61,.06);
}
.header-inner{
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.logo img{height:92px;width:auto;object-fit:contain}
nav{display:flex;align-items:center;gap:30px}
nav a{
  font-size:13px;
  color:#4a4a48;
  transition:.2s;
  text-shadow:0 1px 4px rgba(255,255,255,.45);
}
nav a:hover{color:#2f2f2e}
.header-book{white-space:nowrap}
.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 25%,rgba(234,216,216,.7),transparent 25%),
    linear-gradient(120deg,var(--cream),var(--paper));
}
.hero-inner{
  min-height:720px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:70px;
  padding:78px 0;
}
.hero-copy{max-width:650px}
.hero-copy .small-label{margin-bottom:25px}
.hero-copy h1{margin-bottom:28px}
.hero-copy h1 em{font-style:normal;color:var(--wine)}
.hero-copy .lead{
  max-width:590px;
  font-size:18px;
  line-height:1.8;
  margin-bottom:35px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:13px}
.hero-note{
  margin-top:28px;
  font-size:12px;
  color:#777773;
}
.hero-image{
  position:relative;
  max-width:540px;
  justify-self:end;
}
.hero-image:before{
  content:"";
  position:absolute;
  inset:18px -18px -18px 18px;
  border:1px solid var(--gold);
  border-radius:250px 250px 14px 14px;
  opacity:.55;
}
.hero-image img{
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:250px 250px 14px 14px;
  box-shadow:0 35px 70px rgba(57,39,35,.18);
}
.hero-badge{
  position:absolute;
  left:-32px;
  bottom:34px;
  z-index:2;
  background:white;
  padding:18px 20px;
  box-shadow:0 18px 40px rgba(42,31,27,.14);
  border-radius:12px;
}
.hero-badge strong{display:block;font-family:"Playfair Display",serif;font-size:22px;font-weight:500}
.hero-badge span{font-size:11px;color:var(--muted)}
.section{padding:110px 0}
.section.soft{background:var(--cream)}
.section-head{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:end;
  margin-bottom:58px;
}
.section-head p{max-width:470px;font-size:16px}
.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.card{
  padding:38px 32px;
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  transition:.25s ease;
}
.card:hover{transform:translateY(-5px);box-shadow:0 22px 45px rgba(51,37,32,.08)}
.card-number{font-size:11px;color:var(--gold);letter-spacing:.14em;margin-bottom:34px}
.card h3{margin-bottom:13px}
.card p{font-size:14px}
.experience{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  align-items:center;
}
.experience-photo{
  position:relative;
}
.experience-photo-frame{
  position:relative;
  padding:12px;
  border:1px solid rgba(174,139,86,.55);
  border-radius:22px;
  background:rgba(255,255,255,.72);
  box-shadow:0 24px 55px rgba(51,37,32,.10);
}
.experience-photo-frame:before{
  content:"";
  position:absolute;
  inset:-10px 28px 28px -10px;
  border:1px solid rgba(174,139,86,.35);
  border-radius:24px;
  z-index:-1;
}
.experience-photo-frame img{
  display:block;
  width:100%;
  aspect-ratio:1/1.08;
  object-fit:cover;
  border-radius:15px;
}
.experience-photo-note{
  position:absolute;
  left:-18px;
  bottom:24px;
  padding:9px 14px;
  background:rgba(250,247,242,.94);
  color:var(--gold);
  font-family:"Playfair Display",serif;
  font-style:italic;
  font-size:15px;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(51,37,32,.08);
}
.experience-photo img{
  width:100%;
  aspect-ratio:1/1.08;
  object-fit:cover;
  border-radius:16px;
}
.experience-copy{position:relative;z-index:1}
.experience-copy .small-label{margin-bottom:20px}
.experience-copy h2{margin-bottom:25px}
.experience-copy p{font-size:17px;line-height:1.85;margin-bottom:18px}
.quote{
  margin-top:28px;
  padding:24px 0 0 24px;
  border-left:2px solid var(--wine);
  font-family:"Playfair Display",serif;
  font-size:23px;
  line-height:1.45;
  color:var(--ink);
}
.wedding-section{background:var(--cream)}
.wedding-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}
.wedding-layout h2{margin-top:14px}
.wedding-layout p{max-width:650px;margin-bottom:18px}
.wedding-layout .btn{margin-top:12px}
@media(max-width:800px){.wedding-layout{grid-template-columns:1fr;gap:25px}}

.price-layout{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:80px;
}
.price-intro p{margin-top:20px;max-width:330px}
.price-list{display:grid;grid-template-columns:1fr 1fr;gap:55px}
.price-group{margin-bottom:18px}
.price-group h3{font-size:24px;margin-bottom:8px}
.price-note{font-size:12px;margin-bottom:16px}
.price-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:14px;
}
.price-row span:first-child{color:var(--muted)}
.price-row span:last-child{font-weight:600;white-space:nowrap}
.banner{
  position:relative;
  min-height:430px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#343432;
  color:white;
}
.banner img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.45;
}
.banner:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(52,52,50,.92),rgba(52,52,50,.35));
}
.banner-content{position:relative;z-index:1;max-width:620px}
.banner-content .small-label{color:#e1e1dd}
.banner-content h2{font-size:clamp(40px,5vw,66px);margin:18px 0 20px}
.banner-content p{color:#eeeeeb;max-width:550px;margin-bottom:28px}
.portfolio{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  width:68%;
  max-width:700px;
  margin:0 auto;
}
.portfolio figure{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:4/5;
  margin:0;
  overflow:hidden;
  border-radius:16px;
  background:var(--cream);
  box-shadow:0 8px 24px rgba(45,45,43,.11);
  border:1px solid rgba(45,45,43,.06);
}
.portfolio img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .55s ease;
}
.portfolio figure:hover img{transform:scale(1.025);filter:saturate(1.03) contrast(1.01)}
.portfolio figure::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:32%;
  background:linear-gradient(to top,rgba(35,35,33,.42),transparent);
  pointer-events:none;
}
.portfolio-caption{
  position:absolute;
  left:14px;
  bottom:12px;
  z-index:2;
  color:#fff;
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-shadow:0 1px 8px rgba(0,0,0,.35);
}
@media(max-width:760px){
  .portfolio{width:78%;gap:14px;}
}
@media(max-width:900px){
  .price-highlight{grid-template-columns:1fr;gap:28px;padding:42px 32px}
}

@media(max-width:560px){
  .portfolio{grid-template-columns:repeat(2,minmax(0,1fr));width:94%;gap:10px;}
  .portfolio figure{border-radius:13px}
}
.references{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}
.reference{
  background:white;
  border:1px solid var(--line);
  padding:30px;
  border-radius:16px;
}
.reference h3{font-size:23px;margin-bottom:15px}
.reference p{font-size:14px;line-height:1.8}
.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.contact h2{margin:18px 0}
.contact p{font-size:17px;max-width:520px}
.contact-details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
}
.contact-item{
  padding:25px;
  background:var(--cream);
  border-radius:14px;
}
.contact-item span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:10px;
  color:var(--wine);
  margin-bottom:8px;
  font-weight:600;
}
.contact-item strong{font-size:14px;line-height:1.6}
/* Price highlight */
.price-highlight{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
  padding:54px 58px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:22px;
}
.price-highlight h2{margin-top:14px}
.price-highlight-copy{max-width:520px}
.price-highlight-copy p{font-size:16px;line-height:1.75;margin-bottom:25px}

footer{
  background:#343432;
  color:white;
  padding:65px 0 25px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr;
  gap:50px;
  margin-bottom:55px;
}
.footer-logo img{height:64px;filter:brightness(0) invert(1);opacity:.94}
footer h4{font-family:"Playfair Display",serif;font-size:20px;font-weight:500;margin-bottom:15px}
footer p,footer a{color:#c8c8c4;font-size:13px}
.footer-links a{display:block;margin-bottom:9px}
.footer-links a:hover{color:white}
.footer-bottom{
  border-top:1px solid #555552;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#9a9a96;
  font-size:11px;
}
.mobile-toggle{display:none;background:none;border:0;font-size:24px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.3)}
@media(max-width:900px){
  nav{display:none}
  .mobile-toggle{display:block}
  .header-book{display:none}
  .hero-inner,.experience,.price-layout,.contact{grid-template-columns:1fr}
  .hero-inner{padding:65px 0;min-height:auto}
  .hero-image{justify-self:stretch;max-width:620px;margin:15px auto 0}
  .section-head{grid-template-columns:1fr;gap:16px}
  .services{grid-template-columns:1fr}
  .price-list{grid-template-columns:1fr;gap:25px}
  .portfolio{width:100%}
  .references{grid-template-columns:1fr}
  .contact-details{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .experience-photo-note{left:8px;bottom:18px;font-size:13px}
  .container{width:min(var(--max),calc(100% - 32px))}
  .header-inner{height:76px}
  header{background:#fafaf8;backdrop-filter:none;-webkit-backdrop-filter:none}
  .logo{display:flex;align-items:center;background:#fafaf8}
  .logo img{height:76px}
  .hero-copy h1{font-size:48px}
  .section{padding:75px 0}
  .hero-image:before{inset:10px -8px -8px 8px}
  .hero-badge{left:10px;bottom:18px}
  .portfolio figure{width:100%;border-radius:18px}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}

/* Full-width hero photo - larger canvas so the complete portrait is visible */
.hero-photo-bg{
  position:relative;
  min-height:1200px;
  color:var(--ink);
  overflow:hidden;
  background:var(--cream);
}
.hero-photo-bg .hero-background{
  position:absolute;
  top:88px;
  right:0;
  bottom:0;
  left:0;
  z-index:0;
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
}
.hero-photo-bg .hero-background img{
  display:block;
  width:min(70vw,1050px);
  height:auto;
  max-width:none;
  object-fit:contain;
  object-position:center top;
}
.hero-photo-bg .hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(247,243,238,.98) 0%,rgba(247,243,238,.94) 38%,rgba(247,243,238,.58) 58%,rgba(247,243,238,.08) 78%,rgba(247,243,238,0) 100%),
    linear-gradient(0deg,rgba(247,243,238,.08),transparent 45%);
}
.hero-photo-bg .hero-inner{
  position:relative;
  z-index:2;
  min-height:1200px;
  display:flex;
  align-items:center;
  padding:90px 0;
}
.hero-photo-bg .hero-copy{max-width:640px}
.hero-photo-bg .small-label{color:var(--wine)}
.hero-photo-bg .small-label:before{background:var(--gold)}
.hero-photo-bg .hero-copy h1{text-shadow:none}
.hero-photo-bg .hero-copy h1 em{color:var(--wine)}
.hero-photo-bg .hero-copy .hero-intro{
  color:var(--ink);
  max-width:600px;
  font-size:20px;
  line-height:1.65;
  margin-bottom:18px;
}
.hero-photo-bg .hero-copy .hero-text{
  color:#555552;
  max-width:610px;
  font-size:16px;
  line-height:1.7;
  margin-bottom:13px;
}
.hero-photo-bg .hero-note{color:var(--muted)}
.hero-photo-bg .btn.light{
  color:var(--ink);
  border-color:rgba(32,28,27,.7);
  background:rgba(255,255,255,.45);
}
.hero-photo-bg .btn.light:hover{background:#fff;color:var(--ink)}

@media(max-width:1100px){
  .hero-photo-bg,.hero-photo-bg .hero-inner{min-height:1050px}
  .hero-photo-bg .hero-inner{padding:75px 0}
  .hero-photo-bg .hero-background img{width:72vw}
}

@media(max-width:900px){
  .hero-photo-bg{
    min-height:0;
    background:#241d1d;
  }
  .hero-photo-bg .hero-background{
    position:relative;
    margin-top:76px;
    inset:auto;
    height:auto;
    min-height:0;
    justify-content:center;
    align-items:flex-start;
  }
  .hero-photo-bg .hero-background img{
    width:100%;
    height:auto;
    max-width:none;
    object-fit:contain;
    object-position:center top;
  }
  .hero-photo-bg .hero-overlay{
    top:0;
    bottom:auto;
    height:100%;
    background:linear-gradient(180deg,rgba(24,18,18,.05) 0%,rgba(24,18,18,.08) 45%,rgba(24,18,18,.90) 100%);
  }
  .hero-photo-bg .hero-inner{
    min-height:0;
    margin-top:-2px;
    padding:55px 0 70px;
    display:block;
  }
  .hero-photo-bg .hero-copy{max-width:650px}
}

@media(max-width:560px){
  .hero-photo-bg .hero-inner{padding:45px 0 60px}
  .hero-photo-bg .hero-copy h1{font-size:48px}
}


@media(max-width:800px){
  /* Mobile: show the hero photo clearly above the text instead of washing it out */
  .hero-photo-bg{
    min-height:0;
    background:var(--cream);
    overflow:hidden;
  }
  .hero-photo-bg .hero-background{
    position:relative;
    inset:auto;
    width:100%;
    height:auto;
    display:block;
    background:var(--cream);
  }
  .hero-photo-bg .hero-background img{
    display:block;
    width:100%;
    height:auto;
    min-height:0;
    max-width:100%;
    opacity:1;
    object-fit:contain;
    object-position:center top;
  }
  .hero-photo-bg .hero-overlay{
    display:none;
  }
  .hero-photo-bg .hero-inner{
    min-height:0;
    margin-top:0;
    padding:42px 0 62px;
    display:block;
    background:var(--cream);
  }
  .hero-photo-bg .hero-copy{max-width:100%}
  .hero-photo-bg .hero-copy .hero-intro{font-size:18px}
  .hero-photo-bg .hero-copy .hero-text{font-size:15px}
}

/* Wedding photo gallery */
.wedding-gallery{
  margin-top:72px;
}
.wedding-gallery-head{
  text-align:center;
  max-width:680px;
  margin:0 auto 38px;
}
.wedding-gallery-head .small-label{
  justify-content:center;
}
.wedding-gallery-head h3{
  font-family:"Playfair Display",serif;
  font-size:clamp(30px,3vw,42px);
  font-weight:500;
  margin:14px 0 12px;
}
.wedding-gallery-head p{
  font-size:15px;
  line-height:1.8;
}
.wedding-gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:start;
}
.wedding-gallery-card{
  margin:0;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 18px 45px rgba(45,45,43,.10);
}
.wedding-gallery-card img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.wedding-gallery-card figcaption{
  padding:15px 18px 17px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}
@media(max-width:800px){
  .wedding-gallery{margin-top:55px}
  .wedding-gallery-grid{grid-template-columns:1fr;gap:20px}
  .wedding-gallery-card{border-radius:16px}
}



/* WordPress dynamic portfolio: any number of projects */
.portfolio { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.portfolio figure { min-width:0; overflow:hidden; border-radius:14px; background:#fff; }
.portfolio figure img { width:100%; height:100%; min-height:280px; aspect-ratio:4/5; object-fit:cover; }
.portfolio-caption { padding:12px 14px; font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:#6b6b68; }
@media (max-width:700px){
  .container{width:min(var(--max),calc(100% - 32px));}
  .portfolio{grid-template-columns:1fr;gap:16px;}
  .portfolio figure img{min-height:0;aspect-ratio:4/5;}
}

/* Responsive fix: keep the Faire Preise card and all its content inside the card.
   This block intentionally comes last so it overrides earlier duplicate rules. */
.price-highlight,
.price-highlight > *,
.price-highlight-copy,
.price-highlight-copy > * {
  min-width: 0;
  max-width: 100%;
}
.price-highlight {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.price-highlight h2 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.price-highlight-copy p,
.price-highlight-copy div {
  overflow-wrap: anywhere;
  word-break: normal;
}
.price-highlight-copy .btn {
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 900px) {
  .price-highlight {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 36px clamp(22px, 6vw, 34px);
    width: 100%;
  }
  .price-highlight-copy {
    width: 100%;
  }
  .price-highlight-copy p {
    font-size: 16px;
    line-height: 1.75;
  }
}
@media (max-width: 560px) {
  .price-section .container.price-highlight {
    width: calc(100% - 32px);
    padding: 28px 22px;
    gap: 18px;
    border-radius: 20px;
  }
  .price-highlight h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.08;
  }
  .price-highlight-copy .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto;
    max-width: 100%;
  }
}
