(don't know what I did to get the strange formatting, much less how to fix it, sorry!)
I don't know if this will be helpful or not, but I'll paste in from another post what my teenager and I did last summer. We were there a few more days than you but also added some locations, so I think the time/sites breakdown would still be similar:
We recently did a 14 day trip in Spain starting in Madrid and ending in Barcelona and had a fabulous time! Our agenda, of course, reflected our own interests but since it worked so well for us I'm pasting it here as one example of what's possible. We packed a lot in, but we're pretty energetic and the schedule fit us well.
Day 0: arrive Madrid in the evening, explore Sol
Day 1: Madrid: am El Escorial, pm Madrid (Renia Sofia, the Prado, Parque Retiro)
Day 2: Madrid: had planned to go to Toledo but enjoyed Madrid so much we decided to spend a second day exploring (Museo Cerralbo, back to the Prado, etc.)
Day 3: Madrid to Cordoba on AVE train in the morning, afternoon/evening exploring Cordoba
Day 4: Cordoba to Granada: am more exploring in Cordoba, afternoon bus to Granada, pm Granada (Royal Chapel and evening Alhambra tour)
Day 5: Granada to Sevilla: am Alhambra and Generalife, afternoon bus to Seville, pm explore Seville
Day 6: Sevilla (Royal Alcazar, Palace of the Countess of Lebrija, Palacio de las Dueñas, Archivo General de Indias, and pm Flamenco show, sunset carriage ride in the park)
Day 7: Sevilla to Madrid: am Cathedral and Basilica de la Macarena in Seville, afternoon AVE to Madrid, late afternoon tour of Royal Palace in Madrid
Day 8: Madrid to Costa Brava: am AVE to Barcelona, walk in Barcelona, short bus to our Costa Brava town, pm walks along old city and beach
Day 9: Costa Brava
Day 10: Costa Brava to Barcelona: am swimming, early afternoon bus to Barcelona, pm tickets to Park Guell
Day 11: Barcelona: organized tour surrounding historic towns
Day 12: Barcelona: Sagrada Familia, Casa Pedrera, Palace of Music tour, evening train to Tarragona (we were going to spend the rest of our time in Barcelona but weren't really loving it like some people do)
Day 13: Tarragona: am exploring sites and wading in the sea, pm train to Barcelona and airport, late evening flight out of Spain
Different travel forums have different "personalities" and I'm sure you've noticed this one, I think, tends to lean toward 1) slow "hanging out" type of travel itineraries and 2) a general preference for Barcelona and less love for Madrid. For my daughter and I, our busy trip was just perfect and Madrid was a favorite location. Of course it's your trip and only you know what will be best for you and yours. That's something to take in with suggestions, what makes one person's great vacation may be the opposite for another person. To each his own!
If any of this is helpful and you'd like more info on anything we did, just ask! I know just because my daughter is a teen and you're traveling with teens doesn't mean the same trip would be a wonderful for yours as it was for mine, but for what it's worth, this trip to Spain was a glorious vacation for her and me, just fabulous!