:root {
  --primary: #b8872b;
  --primary-dark: #946d1f;
  --dark: #1f1f1f;
  --text: #2a2a2a;
  --text-soft: #666;
  --light: #ffffff;
  --bg: #f7f5f1;
  --card: #ffffff;
  --border: #e6dfd2;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.section{

padding:90px 0;

}

.center{

text-align:center;

}

.section-tag{

color:var(--primary);

font-weight:700;

letter-spacing:1px;

text-transform:uppercase;

}

.section-title{

font-size:2.6rem;

margin-bottom:40px;

}

.projects-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:24px;

}

.project-card{

background:white;

border-radius:var(--radius);

overflow:hidden;

box-shadow:var(--shadow);

border:1px solid var(--border);

transition:all .4s;

position:relative;

}

/* 🔥 NEU: Versetzte Karten */
.project-card.card1 {
  transform: translateY(0px);
}

.project-card.card2 {
  transform: translateY(40px);
}

.project-card.card3 {
  transform: translateY(80px);
}

/* Hover verbessert */
.project-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.project-card img {
  width: 100%;
  height: 200px; /* 🔥 kleiner gemacht */
  object-fit: cover;

  opacity: 1;
  transition: opacity 0.6s ease;
}

.project-card img.fade-out {
  opacity: 0;
}

.project-card img.fade-in {
  opacity: 1;
}

.project-card:hover img{

transform:scale(1.08);

}

.project-content{

padding:22px;

}

.project-content h3{

margin-top:0;

margin-bottom:10px;

}

.fade{

animation:fade .8s;

}

@keyframes fade{

from{opacity:0}

to{opacity:1}

}

@media(max-width:900px){

.projects-grid{

grid-template-columns:1fr;

}

}

.center {
  text-align: center;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 40px;
  color: var(--dark);
}

/* CONTACT FORM */

.contact-form{

background:white;
padding:28px;
border-radius:14px;
box-shadow:0 8px 30px rgba(0,0,0,0.08);

display:flex;
flex-direction:column;
gap:14px;

max-width:520px;

}

.form-row{
display:flex;
flex-direction:column;
}

.form-row.two{
flex-direction:row;
gap:12px;
}

.form-row.two input{
flex:1;
}

.form-row input,
.form-row textarea{

padding:12px 14px;
border-radius:8px;
border:1px solid #ddd;

font-size:14px;

transition:all .2s;

}

.form-row input:focus,
.form-row textarea:focus{

outline:none;
border-color:var(--primary);
box-shadow:0 0 0 2px rgba(184,135,43,0.15);

}

.form-row textarea{

min-height:110px;
resize:vertical;

}

.checkbox{

font-size:13px;
color:#555;

}

.checkbox input{

margin-right:6px;

}

.center{

align-items:center;

}

/* CONTACT SECTION */

.contact-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:30px;

  align-items:start; /* 🔥 FIX */
}

.contact-form{
  background:white;
  padding:30px;
  border-radius:14px;
  box-shadow:0 10px 35px rgba(0,0,0,0.08);

  display:flex;
  flex-direction:column;
  gap:16px;

  max-width:520px;

  /* 🔥 FIX */
  height:auto;
}

.contact-info{
  max-width:420px;
  padding-left:40px;

  display:flex;
  flex-direction:column;

  justify-content:flex-start; /* 🔥 FIX */
  gap:20px; /* optional schöner Abstand */
}

.contact-info h2{

margin-top:0;

}

.contact-details{

margin-top:25px;
line-height:1.8;

}

.contact-form:hover{
transform:translateY(-4px);
box-shadow:0 18px 45px rgba(0,0,0,0.12);
transition:all .3s ease;
}

/* Formular rechts ausrichten */

.contact-form{
margin-left:0;
}

/* MOBILE */

@media (max-width:900px){

.contact-grid{

grid-template-columns:1fr;

}

.contact-form{

margin-left:0;

}

}

/* BUTTON */

.form-btn{

background:var(--primary);
color:white;

padding:12px 26px;

border:none;
border-radius:30px;

font-weight:600;

cursor:pointer;

transition:all .25s;

width:auto;

}

.form-btn:hover{

background:var(--primary-dark);
transform:translateY(-2px);

}
/* SUCCESS POPUP */

.success-popup{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.6);

display:none;

align-items:center;
justify-content:center;

z-index:4000;

}

.success-content{

background:white;

padding:40px;

border-radius:12px;

text-align:center;

max-width:420px;

box-shadow:0 10px 30px rgba(0,0,0,0.2);

}

.success-content h3{

margin-top:0;

color:var(--primary);

}

.success-content button{

margin-top:20px;

padding:12px 25px;

border:none;

background:var(--primary);

color:white;

border-radius:8px;

cursor:pointer;

font-weight:600;

}

/* IMPRESSUM POPUP */

.modal {

display: none;

position: fixed;

z-index: 3000;

left: 0;
top: 0;

width: 100%;
height: 100%;

background: rgba(0,0,0,0.6);

align-items: center;
justify-content: center;

}

.modal-content {

background: white;

width: min(900px, 90%);
height: 80%;

border-radius: 10px;

position: relative;

overflow: hidden;

}

.modal-content iframe {

width: 100%;
height: 100%;

border: none;

}

.close-modal {

position: absolute;

top: 10px;
right: 15px;

font-size: 30px;

cursor: pointer;

color: #333;

z-index: 10;

}

/* SOCIAL MEDIA BUTTONS */

.social-buttons {

position: fixed;

top: 50%;

right: -60px;

transform: translateY(-50%);

display: flex;

flex-direction: column;

gap: 15px;

transition: right 0.3s ease-in-out;

z-index: 2000;

}

.social-buttons a {

width: 50px;

height: 50px;

border-radius: 50%;

color: white;

display: flex;

align-items: center;

justify-content: center;

text-decoration: none;

font-size: 24px;

transition: transform 0.2s, background-color 0.2s;

box-shadow: 0 4px 6px rgba(0,0,0,0.2);

}

.social-buttons a:hover {

transform: scale(1.2);

filter: brightness(1.2);

}

.facebook { background-color: #1877f2; }

.instagram { background-color: #e1306c; }

.youtube { background-color: #ff0000; }

.whatsapp { background-color: #25D366; }

.visible {

right: 10px;

}
/* HEADER */

.site-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);

  border-top: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;

  align-items: center;

  justify-content: center;

  min-height: 70px;

  gap: 40px;
}

.logo img {
  height: 56px;
  width: auto;
}

.main-nav ul {

display: flex;

justify-content: center;

gap: 40px;

list-style: none;

margin: 0;

padding: 0;

}

.main-nav a {
  font-weight: 600;
  color: var(--dark);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.9rem;
  cursor: pointer;
  color: var(--dark);
}

/* HERO */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("image/logo.jpg");
  background-repeat: no-repeat;
  background-position: center;
  border-radius:20px;
  overflow:hidden;

  /* Logo skaliert automatisch */
  background-size: min(90%);

  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;

  /* Buttons tiefer positionieren */
  margin-top: 45vh;
}

.hero-subtitle {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin: 10px 0 20px;
}

.hero-text {
  font-size: 1.15rem;
  max-width: 640px;
  margin: auto;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--light);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(0,0,0,0.08);
  color: var(--dark);
  border: 1px solid rgba(0,0,0,0.1);
}

.btn-secondary:hover {
  background: rgba(0,0,0,0.15);
}

/* INTRO */

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0;
  width:100%;
  line-height: 1.15;
}

.intro-left{
max-width:700px;
}

.intro-text{
margin-top:18px;
margin-left:20px;

max-width:600px;

font-size:1.05rem;
line-height:1.7;

color:var(--text-soft);
}
/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card);
  padding: 30px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.service-card img{

width:100%;
height:180px;
object-fit:cover;

border-radius:16px;

margin-bottom:15px;

}

.service-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--dark);
}

/* PROJECTS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.project-content {
  padding: 22px;
}

.project-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 460px;
  object-fit: cover;
}

.about-text h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.about-list {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.impressum-section {

padding: 120px 0;
background: #f8f8f8;

}

.impressum-section h1 {

text-align: center;
margin-bottom: 60px;

}

.impressum-block {

background: white;
padding: 30px;
margin-bottom: 25px;
border-radius: 8px;
box-shadow: 0 5px 20px rgba(0,0,0,0.05);

}

.impressum-block h2 {

margin-bottom: 15px;
font-size: 20px;

}

.impressum-block p {

margin-bottom: 15px;
line-height: 1.6;

}


/* RESPONSIVE */

@media (max-width: 1000px) {

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

}

/* SERVICE LIST (anklickbar) */

/* SERVICE LIST WRAPPER – Abstand zum Rand */
/* SERVICE LIST – PREMIUM VERSION */

.service-list {
  list-style: none;
  margin-top: 35px;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;

  max-width: 700px;
}

/* EINTRAG */
.service-list li a {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 1.15rem;
  font-weight: 700;

  color: var(--dark);
  transition: all 0.25s ease;
}

/* ICON VOR TEXT */
.service-list li a::before {
  content: "›";
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

/* HOVER */
.service-list li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.service-list li a:hover::before {
  transform: translateX(4px);
}

/* MOBILE */
@media (max-width: 600px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}

/* =========================
   KUNDENSTIMMEN FIX + FADE
========================= */

.review-slider.single {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  height: 180px;
}

/* Alle Reviews übereinander */
.review-slider.single .review {
  position: absolute;
  inset: 0;

  opacity: 0;
  transform: translateY(10px);

  transition: opacity 0.8s ease, transform 0.8s ease;

  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Nur aktive sichtbar */
.review-slider.single .review.active {
  opacity: 1;
  transform: translateY(0);
}

/* Dein Stil leicht verbessert */
.review p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.review strong {
  margin-top: 10px;
  color: var(--text);
}

.stars {
  color: var(--primary);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* Buttons minimal aufwerten */
.review-controls button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
}

.review-controls button:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* =========================
   NEWS SECTION
========================= */

/* =========================
   NEWS – KOMPLETTES BILD (KEIN CROP)
========================= */

.news-section .about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-section .about-image img {
  max-height: 260px;
  width: auto;              /* 🔥 wichtig */
  max-width: 100%;

  object-fit: contain;      /* 🔥 GANZES BILD sichtbar */
  
  border-radius: var(--radius);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.news-section .about-image img:hover {
  transform: scale(1.03);
}

/* klickbarer Text */
.news-section a {
  display: inline-block;
}

.news-section a:hover {
  color: var(--primary);
}

/* =========================
   NEWS DETAIL SEITE
========================= */

.news-image {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.news-image img {
  max-width: 800px;
  width: 100%;
  height: auto;

  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 🔥 CONTACT BOX – GEMEINSAMES DESIGN */

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;

  background: white;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);

  align-items: stretch;
}

/* LINKS */

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: center;
}

.contact-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-item p {
  margin: 0;
  color: var(--text-soft);
}

/* RECHTS */

.contact-right {
  display: flex;
}

.contact-form {
  width: 100%;
  box-shadow: none; /* wichtig – sonst doppelt */
  padding: 0;
}

/* MOBILE */

@media (max-width: 900px) {
  .contact-box {
    grid-template-columns: 1fr;
    padding: 25px;
  }
}

/* PARTNER LOGO – CLEAN */

.partner-section {
  padding: 20px 0 40px; /* weniger Abstand oben/unten */
}

.partner-card {
  max-width: 360px; /* 🔥 kleiner */
  margin: 0 auto;
}

.partner-link {
  display: block;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden; /* wichtig für saubere Rundungen oben UND unten */
  transition: all 0.3s ease;
}

.partner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.partner-image.full {
  height: 110px; /* 🔥 kleiner & dezenter */
}

.partner-image.full img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ganzes Logo sichtbar */
  display: block;
}