/* style.css – sandige Pastellfarben & responsive Design */

:root {
/*  --sand: #EADFCF;*/  
  --beige: #F6F4EF;
/*  --light: #FFF9F6;*/
  --brown: #6E5B4B;
  --taupe: #8F8270;
  --stone: #A89B8C;
  
  --sand: #DBC5B5;
  --black: #000000;
  --darkbrown: #54413C;
  --light: #FFF9F6;
  
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
/*  font-family: "Helvetica Neue", sans-serif;*/
  font-family: "Optima", normal;
  background: linear-gradient(to bottom, var(--beige), var(--light));
  color: var(--darkbrown);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  text-decoration: none; /* entfernt Unterstreichung */
  color: inherit;        /* übernimmt die normale Textfarbe */
}

.logo:hover {
  text-decoration: none; /* auch beim Hover keine Unterstreichung */
  color: inherit;
}

.logo-icon {
  background: var(--sand);
  color: var(--black);
  font-weight: bold;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}


.nav-links a {
  color: var(--black);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}
.nav-links a:hover {
  color: var(--darkbrown);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 6rem 2rem;
  
  /* Hintergrundbild */
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #333;
}

/* Overlay für bessere Lesbarkeit */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.4); /* Transparenz anpassen */
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2; /* Text über Overlay */
}

.hero-text h1 {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* ART-BLOCK (angepasst für echtes Bild) */
.hero-art {
  position: relative;
  z-index: 2; /* über Overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-art .art-placeholder {
  max-width: 600px;       /* Breite ähnlich wie vorheriges SVG */
  width: 100%;
  aspect-ratio: 4/3;       /* Seitenverhältnis wie vorher */
  overflow: hidden;
  border-radius: 1rem;
  background: #FFF7EE;     /* optional, wie vorher */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.hero-art .art-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* skaliert Bild ohne Verzerrung */
}

.hero-art figcaption {
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 0.5rem;
  text-align: center;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

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

.btn.secondary {
  background: white;
  border: 1px solid var(--sand);
  color: var(--black);
}

/* SECTIONS */
.section {
  padding: 3rem 0;
}

.section h2,
.section h3,
.section h4 {
  color: var(--black);
  margin-bottom: 1rem;
}

/* GRID WORKS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.card-image {
  background: #F8F2EC;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* sorgt dafür, dass das Bild den Platz füllt */
  display: block;
}

.card-body {
  padding: 1rem;
}
.card-body h3 {
  color: var(--black);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.card-body p {
  font-size: 0.8rem;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  background: #FFFAF6;
  border-radius: 12px;
  padding: 2rem;
}





.about-image .portrait {
  width: 160px;         /* feste Breite */
  height: auto;         /* Höhe passt sich proportional an */
  border-radius: 12px;
  display: center;
}


/* CONTACT */
.contact .contact-grid {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--stone);
}
.footer a {
  color: var(--stone);       /* gleiche Farbe wie der restliche Footer-Text */
  text-decoration: none;     /* Unterstreichung entfernen */
}

.footer a:hover {
  color: var(--brown);       /* z.B. etwas dunkler beim Hover */
  text-decoration: underline; /* oder: underline, wenn du Hover-Effekt willst */
}





/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
