/*
 Theme Name:   Divi Child Theme
 Description:  Child Theme for Divi
 Author:       iloweb e.U.
 Author URI:   https://www.iloweb.at
 Template:     Divi
 Version:      1.1.0
 Text Domain:  divi-5-child
*/

/* Helpers */
.flexCenter {
	display: flex;
	align-items: center;
}

/* === AndreArt (generiert, divi-toolkit) === */
/* AndreArt 5D – Präfix aa- */
@font-face { font-family: "AA Cinzel"; src: url("aa-cinzel-400.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "AA Lato"; src: url("aa-lato-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "AA Lato"; src: url("aa-lato-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "AA Lato"; src: url("aa-lato-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --aa-ink: #2c3a4f;
  --aa-text: #4a5464;
  --aa-gold: #b5834a;
  --aa-gold-dark: #94683a;
  --aa-peach: #f6e3d3;
  --aa-cream: #fbf8f4;
  --aa-mist: #eef2f6;
  --aa-serif: "AA Cinzel", Georgia, serif;
  --aa-sans: "AA Lato", Helvetica, Arial, sans-serif;
  --aa-shadow: 0 14px 40px rgba(44, 58, 79, .10);
}

/* Grundschrift in eigenen Sektionen */
.aa-sec, .aa-sec p, .aa-sec li, .aa-sec a, .aa-sec blockquote, .aa-sec figcaption { font-family: var(--aa-sans) !important; }
.aa-sec p, .aa-sec blockquote { font-size: 18px; line-height: 1.7; color: var(--aa-text); }
.aa-sec h1, .aa-sec h2, .aa-sec h3 {
  font-family: var(--aa-serif) !important; color: var(--aa-ink); font-weight: 400; line-height: 1.2;
  letter-spacing: .02em; padding-bottom: .45em; overflow-wrap: anywhere; hyphens: auto;
}
.aa-sec h1 { font-size: 54px; }
.aa-sec h2 { font-size: 38px; }
.aa-sec h3 { font-size: 22px; }
.aa-sec a { overflow-wrap: anywhere; }
.aa-sec .et_pb_row { width: 90%; max-width: 1140px; }
.aa-center { text-align: center; }
.aa-kicker {
  color: var(--aa-gold) !important; text-transform: uppercase; letter-spacing: .22em;
  font-size: 14px !important; font-weight: 700; padding-bottom: 8px !important;
}
.aa-intro { max-width: 680px; margin: 0 auto; }

.aa-btn {
  display: inline-block; background: var(--aa-gold); color: #fff !important; text-decoration: none;
  padding: 15px 34px; border-radius: 40px; font-weight: 700; letter-spacing: .04em; font-size: 17px;
  box-shadow: 0 8px 22px rgba(181, 131, 74, .30); transition: background .2s, transform .2s;
}
.aa-btn:hover { background: var(--aa-gold-dark); transform: translateY(-2px); }

/* Kopfzeile */
.aa-head { padding: 14px 0 !important; background: #fff; box-shadow: 0 1px 0 rgba(44, 58, 79, .08); }
.aa-head .et_pb_row { padding: 0 !important; width: 90%; max-width: 1140px; }
.aa-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.aa-head-logo img { display: block; height: 34px; width: auto; }
.aa-nav { display: flex; align-items: center; gap: 28px; }
.aa-nav a {
  white-space: nowrap; overflow-wrap: normal !important; hyphens: none;
  color: var(--aa-ink) !important; text-decoration: none; font-family: var(--aa-sans); font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase;
}
.aa-nav a:hover { color: var(--aa-gold) !important; }
.aa-social { display: inline-flex; gap: 14px; align-items: center; }
.aa-social a { color: var(--aa-ink) !important; display: inline-flex; line-height: 0; }
.aa-social a:hover { color: var(--aa-gold) !important; }
.aa-social svg { fill: currentColor; }

/* Hero */
.aa-hero {
  min-height: 88vh; display: flex !important; flex-direction: column !important; justify-content: flex-end !important;
  padding: 0 0 6vh !important; background-position: center 30% !important;
}
.aa-hero .et_pb_row { padding: 0 !important; margin: 0 auto !important; }
.aa-hero-text h1, .aa-hero-text p { text-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 0 4px rgba(255, 255, 255, .9); }
.aa-hero-text .aa-btn { text-shadow: none; }
.aa-center, .aa-center p, .aa-center h2, .aa-hero-text, .aa-hero-text p, .aa-hero-text h1 { text-align: center !important; }
.aa-hero-text .aa-lead { font-size: 21px; color: var(--aa-ink); max-width: 640px; margin: 0 auto; }
.aa-hero-cta { padding-top: 26px !important; }

/* Angebot */
.aa-angebot { background: #fff; padding: 90px 0 70px !important; }
.aa-cards { padding-top: 40px !important; gap: 30px; }
.aa-cards .et_pb_column { margin-right: 0 !important; }
.aa-card { height: 100%; }
.aa-card .et_pb_text_inner {
  height: 100%; background: var(--aa-cream); border-radius: 18px; overflow: hidden; box-shadow: var(--aa-shadow);
}
.aa-card-img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.aa-card-art {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f3c9a4 0%, #e8b6b0 35%, #a9b7cf 75%, #eef2f6 100%);
}
.aa-card-art span { font-family: var(--aa-serif); font-size: 64px; color: rgba(255, 255, 255, .9); letter-spacing: .08em; }
.aa-card-body { padding: 26px 28px 30px; }
.aa-card-body p { font-size: 17px; }

/* Über mich */
.aa-ueber { background: var(--aa-mist); padding: 90px 0 !important; }
.aa-row-ueber { align-items: center; gap: 60px; }
.aa-row-ueber > .et_pb_column:first-child { flex: 0 0 34% !important; max-width: 34%; margin-right: 0 !important; }
.aa-row-ueber > .et_pb_column:last-child { flex: 1 1 auto !important; }
.aa-portrait { display: block; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 50%; box-shadow: var(--aa-shadow); border: 8px solid #fff; }

/* Stimmen */
.aa-stimmen { background: #fff; padding: 90px 0 !important; }
.aa-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin-top: 36px; text-align: left; }
.aa-quote { margin: 0; background: var(--aa-cream); border-radius: 18px; padding: 28px 28px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.aa-quote blockquote { margin: 0 0 18px; padding: 0; border: 0; font-style: italic; font-size: 17px; }
.aa-quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--aa-text); line-height: 1.4; }
.aa-quote figcaption strong { color: var(--aa-ink); }
.aa-quote-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; }

/* Kontakt */
.aa-kontakt { background: linear-gradient(180deg, var(--aa-peach) 0%, var(--aa-cream) 100%); padding: 90px 0 !important; }
.aa-contact-mail { padding-top: 26px !important; }
.aa-contact-meta { font-size: 16px !important; padding-top: 14px !important; }
.aa-contact-follow { padding-top: 26px !important; text-transform: uppercase; letter-spacing: .2em; font-size: 13px !important; font-weight: 700; }
.aa-social-lg { gap: 22px; padding-top: 8px; }
.aa-social-lg svg { width: 28px; height: 28px; }

/* Fußzeile (Vorlage) */
.aa-foot { background: var(--aa-ink); }
.aa-foot, .aa-foot p, .aa-foot a, .aa-foot .et-menu a { color: rgba(255, 255, 255, .85) !important; font-family: var(--aa-sans) !important; font-size: 14px; }

/* Rechtstexte */
.aa-legal { padding: 70px 0 !important; }
.aa-legal .et_pb_row { max-width: 820px; }
.aa-legal h2 { font-size: 26px; padding-top: 1em; }
.aa-todo { background: #fff3a0; padding: 0 4px; }

@media (max-width: 980px) {
  .aa-sec .et_pb_row { flex-wrap: wrap !important; }
  .aa-cards > .et_pb_column, .aa-row-ueber > .et_pb_column { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
  .aa-row-ueber > .et_pb_column:first-child { max-width: 100% !important; }
  .aa-portrait { max-width: 260px; }
  .aa-row-ueber { gap: 30px; }
}
@media (max-width: 767px) {
  .aa-sec h1 { font-size: 36px; }
  .aa-sec h2 { font-size: 28px; }
  .aa-sec p, .aa-sec blockquote { font-size: 17px; }
  .aa-hero { min-height: 78vh; background-position: 58% 15% !important; }
  .aa-hero-text .aa-lead { font-size: 18px; }
  .aa-sec h1 { font-size: 32px; }
  .aa-nav { gap: 16px; }
  .aa-nav .aa-nav-link, .aa-head .aa-social { display: none; }
  .aa-foot .et_pb_menu__menu { display: flex !important; }
  .aa-foot .et_mobile_nav_menu { display: none !important; }
  .aa-foot .et_pb_menu__menu ul { flex-wrap: wrap; justify-content: flex-start; }
  .aa-head-logo img { height: 26px; }
  .aa-angebot, .aa-ueber, .aa-stimmen, .aa-kontakt { padding: 60px 0 !important; }
  .aa-quotes { grid-template-columns: 1fr; }
  .aa-btn { padding: 14px 24px; font-size: 16px; }
}
/* === Ende AndreArt === */
